This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: NEWBIE Question: Generating Source Files
- To: Tracy dot Kuhrt at microchip dot com
- Subject: Re: NEWBIE Question: Generating Source Files
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- Date: Wed, 4 Oct 2000 10:46:13 -0400
- Cc: cgen at sourceware dot cygnus dot com
- References: <OFAEF83263.677237D9-ON0725696E.005079D0@microchip.com>
Hi -
On Wed, Oct 04, 2000 at 07:47:53AM -0700, Tracy.Kuhrt@microchip.com wrote:
> [...]
> The problem that I am having is generating the source files. I have modified
> my opcodes/Makefile.am file to duplicate the m32r setup. When I do a `make
> dep` in the opcodes directory, I am receiving the error:
> make: *** No rule to make target `xx-asm.c', needed by `DEP'. Stop.
> [...]
Perhaps you missed adding a copy of the dependency portions in Makefile.in:
$(srcdir)/m32r-desc.h $(srcdir)/m32r-desc.c $(srcdir)/m32r-opc.h $(srcdir)/m32r-opc.c $(srcdir)/m32r-ibld.c $(srcdir)/m32r-opinst.c $(srcdir)/m32r-asm.c $(srcdir)/m32r-dis.c: $(M32R_DEPS)
@true
stamp-m32r: $(CGENDEPS) $(CGENDIR)/m32r.cpu $(CGENDIR)/m32r.opc
$(MAKE) run-cgen arch=m32r prefix=m32r options=opinst extrafiles=opinst
You could configure with "--enable-cgen-maint", or else use "make stamp-TARGET"
to rebuild opcodes/ by hand.
- FChE
PGP signature