summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-10-16 16:53:15 +0000
committerbde <bde@FreeBSD.org>1998-10-16 16:53:15 +0000
commit4bdfdd372a5deb973b26cd56bf26b8059693385a (patch)
tree039078cbd4641085d010fe4156da0172a98f6e7e /gnu
parentfabfe75171ae036da2d002aad0e30cec376f6b0a (diff)
downloadFreeBSD-src-4bdfdd372a5deb973b26cd56bf26b8059693385a.zip
FreeBSD-src-4bdfdd372a5deb973b26cd56bf26b8059693385a.tar.gz
Split up rule for ${COMMONHDRS} so that `make -j N' doesn't create the
6 headers up to 6 times concurrently. Debugged by Don Lewis (Don.Lewis@tsc.tdk.com). Fixed some disorder.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile
index 42a13c8..72e563c 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.12 1998/07/07 01:46:41 bde Exp $
+# $Id: Makefile,v 1.13 1998/08/20 21:45:46 jb Exp $
#
#
@@ -124,19 +124,19 @@ CLEANFILES+= objc-parse.y # insurance
#-----------------------------------------------------------------------
# the host/target compiler config.
-COMMONHDRS= config.h hconfig.h tconfig.h tm.h options.h specs.h
-
-${COMMONHDRS}:
- echo '#include "${MACHINE_ARCH}/freebsd.h"' > tm.h
- echo '#include "${MACHINE_ARCH}/xm-freebsd.h"' > config.h
- echo '#include "${MACHINE_ARCH}/xm-freebsd.h"' > hconfig.h
- echo '#include "${MACHINE_ARCH}/xm-freebsd.h"' > tconfig.h
- echo '#include "cp/lang-options.h"' > options.h
- echo '#include "cp/lang-specs.h"' > specs.h
- echo '#include "f2c-specs.h"' >> specs.h
-
+COMMONHDRS= config.h hconfig.h options.h specs.h tconfig.h tm.h
GENSRCS+= ${COMMONHDRS}
+config.h hconfig.h tconfig.h:
+ echo '#include "${MACHINE_ARCH}/xm-freebsd.h"' > ${.TARGET}
+options.h:
+ echo '#include "cp/lang-options.h"' > ${.TARGET}
+specs.h:
+ echo '#include "cp/lang-specs.h"'> ${.TARGET}
+ echo '#include "f2c-specs.h"' >> ${.TARGET}
+tm.h:
+ echo '#include "${MACHINE_ARCH}/freebsd.h"' > ${.TARGET}
+
#-----------------------------------------------------------------------
# General things.
OpenPOWER on IntegriCloud