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.
This commit is contained in:
Bruce Evans 1998-10-16 16:53:15 +00:00
parent e165741792
commit 19e595a57a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40457

View file

@ -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.