public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* PATCH: fix sim/i960/Makefile.in for CGEN
@ 2000-11-15 13:37 Greg McGary
  2000-11-15 14:08 ` Dave Brolley
  0 siblings, 1 reply; 3+ messages in thread
From: Greg McGary @ 2000-11-15 13:37 UTC (permalink / raw)
  To: gdb-patches; +Cc: cgen

The `@true' commands defeat VPATH and render sim/i960 uncompilable
when $(srcdir) != $(builddir).  fr30 and m32r already have this fix,
though it's done by commenting-out the `@true' line (IMO, those should
be removed entirely).


2000-11-15  Greg McGary  <greg@mcgary.org>

	* Makefile.in: remove `@true' commands for rules that have
	$(CGEN_MAINT) as a prerequisite.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/sim/i960/Makefile.in,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile.in
--- Makefile.in	2000/08/21 15:52:39	1.2
+++ Makefile.in	2000/11/15 21:27:09
@@ -110,14 +110,12 @@ stamp-arch: $(CGEN_READ_SCM) $(CGEN_ARCH
 	  FLAGS="with-scache with-profile=fn"
 	touch stamp-arch
 arch.h arch.c cpuall.h: $(CGEN_MAINT) stamp-arch
-	@true
 
 stamp-cpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(srccgen)/i960.cpu
 	$(MAKE) cgen-cpu-decode $(CGEN_FLAGS_TO_PASS) \
 	  cpu=i960base mach=i960:ka_sa,i960:ca SUFFIX= FLAGS="with-scache with-profile=fn" EXTRAFILES="$(CGEN_CPU_SEM) $(CGEN_CPU_SEMSW)"
 	touch stamp-cpu
 cpu.h sem.c sem-switch.c model.c decode.c decode.h: $(CGEN_MAINT) stamp-cpu
-	@true
 
 stamp-desc: $(CGEN_READ_SCM) $(CGEN_DESC_SCM) \
 		$(srccgen)/sparc.cpu $(srccgen)/sparccom.cpu $(srccgen)/i960.cpu $(srccgen)/i960.cpu
@@ -125,4 +123,3 @@ stamp-desc: $(CGEN_READ_SCM) $(CGEN_DESC
 		cpu=i960 mach=all
 	touch stamp-desc
 i960-desc.c i960-desc.h i960-opc.h: $(CGEN_MAINT) stamp-desc
-	@true

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-11-15 14:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-15 13:37 PATCH: fix sim/i960/Makefile.in for CGEN Greg McGary
2000-11-15 14:08 ` Dave Brolley
2000-11-15 14:28   ` Greg McGary

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).