From c98a60baa7fa0f18b4e19106ec135031c0d51723 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 8 Apr 1999 23:37:46 +0000 Subject: [PATCH] Another fix for -jN building -- the last fix didn't fix it for everybody. Submitted by: Luoqi Chen --- gnu/usr.bin/cc/cc_tools/Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index c5cc2115f6c9..a1a3d799aa51 100644 --- a/gnu/usr.bin/cc/cc_tools/Makefile +++ b/gnu/usr.bin/cc/cc_tools/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.22 1999/04/08 12:26:07 obrien Exp $ +# $Id: Makefile,v 1.23 1999/04/08 15:11:44 peter Exp $ # # @@ -98,7 +98,6 @@ CLEANFILES+= tree-check.h #----------------------------------------------------------------------- # C parser -.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 +110,6 @@ CLEANFILES+= c-parse.y # insurance #----------------------------------------------------------------------- # objc parser -.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" \ @@ -185,9 +183,7 @@ OBJS+= ${SRCS:N*.h:R:S/$/.o/g} # would do if we defined PROG, except for leaving out dependencies on # insn-*.h because these dependencies would be circular. # -# XXX pre-egcs we used something simular to this line. Now it causes cycles... -# ${OBJS}: ${SRCS:M*.h:Ninsn-*.h:Ntree-check.h:Ngenrtl.h} -${OBJS}: ${COMMONHDRS:M*.h} +${OBJS:Ngengenrtl.o}: ${SRCS:M*.h:Ninsn-*.h} # Give all dependencies on insn-*.h explicitly # This suffices for `make -j depend', and after that all @@ -200,6 +196,4 @@ insn-emit.o: insn-codes.h insn-config.h insn-flags.h insn-opinit.o: insn-codes.h insn-config.h insn-flags.h 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 .endif