From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Frank Ch. Eigler" To: Tracy.Kuhrt@microchip.com Cc: cgen@sourceware.cygnus.com Subject: Re: NEWBIE Question: Generating Source Files Date: Wed, 04 Oct 2000 07:46:00 -0000 Message-id: <20001004104613.D13212@redhat.com> References: X-SW-Source: 2000-q4/msg00003.html 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 -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.2 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE520K1VZbdDOm/ZT0RAspRAJ957rbjCuySYPih/LGh/CMNb06TlgCePmTO aGfqIGl6ZXvnFm02VrEIoVU= =R5Rt -----END PGP SIGNATURE-----