This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: NEWBIE Question: Generating Source Files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]