From 4bdfdd372a5deb973b26cd56bf26b8059693385a Mon Sep 17 00:00:00 2001 From: bde Date: Fri, 16 Oct 1998 16:53:15 +0000 Subject: 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. --- gnu/usr.bin/cc/cc_tools/Makefile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'gnu') 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. -- cgit v1.1