summaryrefslogtreecommitdiffstats
path: root/bin/sh
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 /bin/sh
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 'bin/sh')
-rw-r--r--bin/sh/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index 341cdee..fe0d02e 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -1,5 +1,5 @@
# @(#)Makefile 8.4 (Berkeley) 5/5/95
-# $Id: Makefile,v 1.21 1997/05/21 03:23:23 steve Exp $
+# $Id: Makefile,v 1.22 1997/08/25 19:50:01 bde Exp $
PROG= sh
SHSRCS= alias.c cd.c echo.c error.c eval.c exec.c expand.c \
@@ -7,7 +7,8 @@ SHSRCS= alias.c cd.c echo.c error.c eval.c exec.c expand.c \
mystring.c options.c output.c parser.c printf.c redir.c show.c \
trap.c var.c
GENSRCS= arith.c arith_lex.c builtins.c init.c nodes.c syntax.c
-SRCS= ${SHSRCS} ${GENSRCS}
+GENHDRS= builtins.h nodes.h syntax.h token.h
+SRCS= ${SHSRCS} ${GENSRCS} ${GENHDRS}
DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP}
LDADD+= -ll -ledit -ltermcap
@@ -19,13 +20,13 @@ CFLAGS+=-DSHELL -I. -I${.CURDIR}
.PATH: ${.CURDIR}/bltin ${.CURDIR}/../../usr.bin/printf
-CLEANFILES+= builtins.h mkinit mkinit.o mknodes mknodes.o \
+CLEANFILES+= mkinit mkinit.o mknodes mknodes.o \
mksyntax mksyntax.o \
- nodes.h syntax.h token.h y.tab.h
-CLEANFILES+= ${GENSRCS}
+ y.tab.h
+CLEANFILES+= ${GENSRCS} ${GENHDRS}
-beforedepend: builtins.h nodes.h syntax.h token.h
+.ORDER: builtins.c builtins.h
builtins.c builtins.h: mkbuiltins builtins.def
cd ${.CURDIR}; sh mkbuiltins ${.OBJDIR}
@@ -45,9 +46,11 @@ mknodes.o: mknodes.c # XXX and many headers
mksyntax: mksyntax.o
mksyntax.o: mksyntax.c # XXX and many headers
+.ORDER: nodes.c nodes.h
nodes.c nodes.h: mknodes nodetypes nodes.c.pat
./mknodes ${.CURDIR}/nodetypes ${.CURDIR}/nodes.c.pat
+.ORDER: syntax.c syntax.h
syntax.c syntax.h: mksyntax
./mksyntax
OpenPOWER on IntegriCloud