Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 1999 09:34:10 -0400 (EDT)
From:      Luoqi Chen <luoqi@watermarkgroup.com>
To:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, obrien@FreeBSD.org
Subject:   Re:  cvs commit: src/gnu/usr.bin/cc/cc_tools Makefile
Message-ID:  <199904081334.JAA03291@lor.watermarkgroup.com>

next in thread | raw e-mail | index | archive | help
> obrien      1999/04/08 05:26:07 PDT
> 
>   Modified files:
>     gnu/usr.bin/cc/cc_tools Makefile 
>   Log:
>   Remove some of the dependencies.  This removes the cycles I was getting on
>   `make -j 8' builds.
>   
>   Revision  Changes    Path
>   1.22      +4 -2      src/gnu/usr.bin/cc/cc_tools/Makefile
> 
> 
With this make -j still fails. Please try this one (diff against rev. 1.21),
it worked for me:


Index: Makefile
===================================================================
RCS file: /home/ncvs/src/gnu/usr.bin/cc/cc_tools/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- Makefile	1999/04/08 09:57:51	1.21
+++ Makefile	1999/04/08 13:22:03
@@ -58,6 +58,7 @@
 	./gengenrtl genrtl.h genrtl.c
 
 GENSRCS+=	genrtl.c genrtl.h
+CLEANFILES+=	genrtl.c genrtl.h
 
 .for i in attrtab
 build-tools: gen$i
@@ -94,11 +95,12 @@
 tree-check.h: gencheck
 	./gencheck > ${.TARGET}
 
+##GENSRCS+=	tree-check.h
 CLEANFILES+=	tree-check.h
 
 #-----------------------------------------------------------------------
 # C parser
-.ORDER: c-parse.c c-parse.h
+#.ORDER: c-parse.c c-parse.h
 c-parse.c c-parse.h: c-parse.in
 	sed -e "/^ifobjc$$/,/^end ifobjc$$/d" \
 	    -e "/^ifc$$/d" -e "/^end ifc$$/d" \
@@ -111,7 +113,7 @@
 
 #-----------------------------------------------------------------------
 # objc parser
-.ORDER: objc-parse.c objc-parse.h
+#.ORDER: objc-parse.c objc-parse.h
 objc-parse.c objc-parse.h: c-parse.in
 	sed -e "/^ifc$$/,/^end ifc$$/d" \
 	    -e "/^ifobjc$$/d" -e "/^end ifobjc$$/d" \
@@ -186,7 +188,7 @@
 # would do if we defined PROG, except for leaving out dependencies on
 # insn-*.h because these dependencies would be circular.
 #
-${OBJS}: ${SRCS:M*.h:Ninsn-*.h:Ngenrtl.h}
+${OBJS:Ngengenrtl.o}: ${SRCS:M*.h:Ninsn-*.h}
 
 # Give all dependencies on insn-*.h explicitly
 # This suffices for `make -j<any> depend', and after that all
@@ -200,5 +202,5 @@
 insn-output.o: insn-attr.h insn-codes.h insn-config.h insn-flags.h
 insn-recog.o: insn-config.h
 
-genattr.o gencodes.o genconfig.o genemit.o genextract.o genflags.o genopinit.o genoutput.o genpeep.o genrecog.o: genrtl.h
+#genattr.o gencodes.o genconfig.o genemit.o genextract.o genflags.o genopinit.o genoutput.o genpeep.o genrecog.o: genrtl.h
 .endif


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904081334.JAA03291>