From 97fe7f477fc469b6a75596f47dc98a08e4ed3e13 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Sun, 5 Oct 1997 09:40:24 +0000 Subject: Changes to support full make parallelism (-j) in the world target. Reviewed by: Submitted by: Nickolay N. Dudorov" --- gnu/usr.bin/binutils/gdb/Makefile | 5 +++-- gnu/usr.bin/cc/cc1plus/Makefile | 5 +++-- gnu/usr.bin/cc/cc_tools/Makefile | 13 +++++++++++-- gnu/usr.bin/cc/cccp/Makefile | 3 ++- gnu/usr.bin/cc/cpp/Makefile | 3 ++- gnu/usr.bin/gdb/gdb/Makefile | 5 +++-- 6 files changed, 24 insertions(+), 10 deletions(-) (limited to 'gnu') diff --git a/gnu/usr.bin/binutils/gdb/Makefile b/gnu/usr.bin/binutils/gdb/Makefile index da9dbcbbb5be8..90b569625e4e4 100644 --- a/gnu/usr.bin/binutils/gdb/Makefile +++ b/gnu/usr.bin/binutils/gdb/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.27 1997/05/01 16:24:37 pst Exp $ +# $Id: Makefile,v 1.28 1997/05/02 11:22:51 gj Exp $ PROG = gdb @@ -39,7 +39,8 @@ CFLAGS+= -DNO_MMALLOC #CFLAGS+= -g CLEANFILES+= c-exp.c f-exp.c m2-exp.c init.c y.tab.h init.c-tmp -beforedepend: c-exp.c f-exp.c m2-exp.c init.c +#beforedepend: c-exp.c f-exp.c m2-exp.c init.c +.ORDER: c-exp.c f-exp.c m2-exp.c .if exists(${.OBJDIR}/../bfd) LDADD+= -L${.OBJDIR}/../bfd -lbfd diff --git a/gnu/usr.bin/cc/cc1plus/Makefile b/gnu/usr.bin/cc/cc1plus/Makefile index 1ea687047e3fe..51435074f2c93 100644 --- a/gnu/usr.bin/cc/cc1plus/Makefile +++ b/gnu/usr.bin/cc/cc1plus/Makefile @@ -1,12 +1,12 @@ # -# $Id: Makefile,v 1.11 1997/02/22 15:44:56 peter Exp $ +# $Id: Makefile,v 1.12 1997/06/29 06:03:27 pst Exp $ # #First, so that we get cp/tree.c and cp/expr.c instead of the C version .PATH: ${.CURDIR}/../../../../contrib/gcc/cp PROG = cc1plus -SRCS = parse.c \ +SRCS = parse.c parse.h \ call.c class.c cvt.c decl.c decl2.c edsel.c errfn.c \ error.c except.c expr.c gc.c init.c lex.c method.c pt.c \ ptree.c repo.c search.c sig.c spew.c tree.c typeck.c typeck2.c xref.c @@ -17,6 +17,7 @@ DPADD+= ${LIBCC_INT} LDADD+= ${LIBCC_INT} CFLAGS+= -I. # I mean it. +.ORDER: parse.c parse.h parse.c parse.h: parse.y ${BISON} -d ${GCCDIR}/cp/parse.y -o parse.c grep '^#define[ ]*YYEMPTY' parse.c >>parse.h diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index 6b0c8623c4e83..93d9038b0d203 100644 --- a/gnu/usr.bin/cc/cc_tools/Makefile +++ b/gnu/usr.bin/cc/cc_tools/Makefile @@ -1,5 +1,5 @@ # -# $Id$ +# $Id: Makefile,v 1.3 1997/02/22 15:44:58 peter Exp $ # # @@ -26,8 +26,9 @@ SRCS+= bc-$i.h .endfor +.ORDER: bi-parser.c bi-parser.h bi-parser.c bi-parser.h: bi-parser.y - ${BISON} ${BISONFLAGS} -d ${.ALLSRC} -o ${.TARGET} + ${BISON} ${BISONFLAGS} -d ${.ALLSRC} -o bi-parser.c SRCS+= bi-parser.c bi-parser.h @@ -82,6 +83,7 @@ SRCS+= hash.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" \ @@ -94,6 +96,7 @@ 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" \ @@ -115,6 +118,12 @@ CLEANFILES+= ${SRCS} #----------------------------------------------------------------------- all: ${BINFORMAT} ${SRCS} +#----------------------------------------------------------------------- +# Make 'depend' in compat mode +.if make(depend) +.SINGLESHELL: +.endif + beforedepend: ${BINFORMAT} #----------------------------------------------------------------------- diff --git a/gnu/usr.bin/cc/cccp/Makefile b/gnu/usr.bin/cc/cccp/Makefile index 8419dea21eeb2..f2fcf23e0ab5d 100644 --- a/gnu/usr.bin/cc/cccp/Makefile +++ b/gnu/usr.bin/cc/cccp/Makefile @@ -1,5 +1,5 @@ # -# $Id$ +# $Id: Makefile,v 1.9 1997/02/22 15:44:59 peter Exp $ # PROG = cpp @@ -9,6 +9,7 @@ SRCS+= obstack.c version.c MAN1= cccp.1 MLINKS= cccp.1 cpp.1 +.ORDER: cexp.c cexp.h cexp.c cexp.h: cexp.y ${BISON} -d ${GCCDIR}/cexp.y -o cexp.c diff --git a/gnu/usr.bin/cc/cpp/Makefile b/gnu/usr.bin/cc/cpp/Makefile index 8419dea21eeb2..f2fcf23e0ab5d 100644 --- a/gnu/usr.bin/cc/cpp/Makefile +++ b/gnu/usr.bin/cc/cpp/Makefile @@ -1,5 +1,5 @@ # -# $Id$ +# $Id: Makefile,v 1.9 1997/02/22 15:44:59 peter Exp $ # PROG = cpp @@ -9,6 +9,7 @@ SRCS+= obstack.c version.c MAN1= cccp.1 MLINKS= cccp.1 cpp.1 +.ORDER: cexp.c cexp.h cexp.c cexp.h: cexp.y ${BISON} -d ${GCCDIR}/cexp.y -o cexp.c diff --git a/gnu/usr.bin/gdb/gdb/Makefile b/gnu/usr.bin/gdb/gdb/Makefile index da9dbcbbb5be8..90b569625e4e4 100644 --- a/gnu/usr.bin/gdb/gdb/Makefile +++ b/gnu/usr.bin/gdb/gdb/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.27 1997/05/01 16:24:37 pst Exp $ +# $Id: Makefile,v 1.28 1997/05/02 11:22:51 gj Exp $ PROG = gdb @@ -39,7 +39,8 @@ CFLAGS+= -DNO_MMALLOC #CFLAGS+= -g CLEANFILES+= c-exp.c f-exp.c m2-exp.c init.c y.tab.h init.c-tmp -beforedepend: c-exp.c f-exp.c m2-exp.c init.c +#beforedepend: c-exp.c f-exp.c m2-exp.c init.c +.ORDER: c-exp.c f-exp.c m2-exp.c .if exists(${.OBJDIR}/../bfd) LDADD+= -L${.OBJDIR}/../bfd -lbfd -- cgit v1.3