summaryrefslogtreecommitdiff
path: root/bin/sh/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 01:22:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 01:22:31 +0000
commit02601ee91226d216502307a86d992be9c5e63ed4 (patch)
tree3806082c5ba14a0d6e3b0e0b0dce967baf34a87f /bin/sh/Makefile
parentbe5133be93f99257ff553dce82b4027ab1b0c036 (diff)
update from netbsd, including:
Fix PR/1760, where 'cd -' before any other command could cause a reference to an uninitialized pointer. Use getcwd() to get the current working directory, instead of forking /bin/pwd [per Scott's suggestion]
Diffstat (limited to 'bin/sh/Makefile')
-rw-r--r--bin/sh/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index e14db754568..07df49d324e 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 1995/06/10 20:19:40 mycroft Exp $
+# $NetBSD: Makefile,v 1.22 1995/10/22 00:15:02 christos Exp $
# @(#)Makefile 8.4 (Berkeley) 5/5/95
PROG= sh
@@ -17,6 +17,7 @@ CLEANFILES+=\
nodes.c nodes.h printf.o syntax.c syntax.h token.def y.tab.h
.depend parser.o: token.def
+
token.def: mktokens
sh ${.CURDIR}/mktokens
@@ -41,4 +42,8 @@ syntax.c syntax.h: mksyntax
mksyntax: ${.CURDIR}/mksyntax.c ${.CURDIR}/parser.h
${CC} ${CFLAGS} ${.CURDIR}/mksyntax.c -o $@
+arith_lex.o: arith.o
+
+${OBJS}: init.c
+
.include <bsd.prog.mk>