summaryrefslogtreecommitdiffstats
path: root/bin/sh
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1997-05-21 03:23:23 +0000
committersteve <steve@FreeBSD.org>1997-05-21 03:23:23 +0000
commitbc7339d8814bcdf0d733f7d4dced51a08f294ee3 (patch)
tree284d3825623488d4d9c1a91b97df98a4250e5f22 /bin/sh
parent82e784db92e05c013056237968319eb667d4b5c2 (diff)
downloadFreeBSD-src-bc7339d8814bcdf0d733f7d4dced51a08f294ee3.zip
FreeBSD-src-bc7339d8814bcdf0d733f7d4dced51a08f294ee3.tar.gz
Remove y.tab.h from the beforedepend target. Also add a
rule that shows the dependency of arith_lex.[co] on y.tab.h. Suggested by: Bruce Evans <bde@zeta.org.au>
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index 867d002..9603956 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -1,5 +1,5 @@
# @(#)Makefile 8.4 (Berkeley) 5/5/95
-# $Id: Makefile,v 1.19 1997/05/19 00:16:27 steve Exp $
+# $Id: Makefile,v 1.20 1997/05/19 00:29:29 steve Exp $
PROG= sh
SHSRCS= alias.c cd.c echo.c error.c eval.c exec.c expand.c \
@@ -24,7 +24,7 @@ CLEANFILES+= builtins.h mkinit mkinit.o mknodes mknodes.o \
nodes.h syntax.h token.h y.tab.h
CLEANFILES+= ${GENSRCS}
-beforedepend: builtins.h nodes.h syntax.h token.h y.tab.h
+beforedepend: builtins.h nodes.h syntax.h token.h
builtins.c builtins.h: mkbuiltins builtins.def
cd ${.CURDIR}; sh mkbuiltins ${.OBJDIR}
@@ -45,6 +45,7 @@ token.h: mktokens
y.tab.h: arith.c
# Rules for object files that rely on generated headers.
+arith_lex.o: y.tab.h
cd.o: nodes.h
eval.o: builtins.h nodes.h syntax.h
exec.o: builtins.h nodes.h syntax.h
OpenPOWER on IntegriCloud