summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-10-05 09:40:24 +0000
committerjkh <jkh@FreeBSD.org>1997-10-05 09:40:24 +0000
commit418d0a6a92470af062b69dd63c64f3166ee615e5 (patch)
tree7f06509995affc58ef8727989dc29f3a49b10feb /gnu
parent038c3f0595c56a98acb9161846fdfa51640a0e4b (diff)
downloadFreeBSD-src-418d0a6a92470af062b69dd63c64f3166ee615e5.zip
FreeBSD-src-418d0a6a92470af062b69dd63c64f3166ee615e5.tar.gz
Changes to support full make parallelism (-j<n>) in the world
target. Reviewed by: <many different folks> Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/gdb/Makefile5
-rw-r--r--gnu/usr.bin/cc/cc1plus/Makefile5
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile13
-rw-r--r--gnu/usr.bin/cc/cccp/Makefile3
-rw-r--r--gnu/usr.bin/cc/cpp/Makefile3
-rw-r--r--gnu/usr.bin/gdb/gdb/Makefile5
6 files changed, 24 insertions, 10 deletions
diff --git a/gnu/usr.bin/binutils/gdb/Makefile b/gnu/usr.bin/binutils/gdb/Makefile
index da9dbcb..90b5696 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 1ea6870..5143507 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 6b0c862..93d9038 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 8419dea..f2fcf23 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 8419dea..f2fcf23 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 da9dbcb..90b5696 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
OpenPOWER on IntegriCloud