aboutsummaryrefslogtreecommitdiff
path: root/bin/sh
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1994-08-28 18:49:06 +0000
committerBruce Evans <bde@FreeBSD.org>1994-08-28 18:49:06 +0000
commit2577a8acef31ccb449242f8c073d0b996d8a91f2 (patch)
treef634567066510cf9e0c3eecd0cb9c32c09d5b419 /bin/sh
parenta8c32ea5a1a64cfc0983402b2ff6a600915fc38b (diff)
downloadsrc-2577a8acef31ccb449242f8c073d0b996d8a91f2.tar.gz
src-2577a8acef31ccb449242f8c073d0b996d8a91f2.zip
Add dependencies on libraries to DPADD. Someday this should be done
automagically. -lfoo has to be right to work, but ${LIBFO0} is too easy to forget or misspell; nothing checks it and it should be different for shared libraries.
Notes
Notes: svn path=/head/; revision=2375
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index 0c57c946a4f9..4279c9e8f570 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -6,6 +6,7 @@ SRCS= alias.c builtins.c cd.c echo.c error.c eval.c exec.c expand.c \
mystring.c nodes.c options.c parser.c printf.c redir.c show.c \
signames.c syntax.c trap.c output.c var.c
OBJS+= init.o arith.o arith_lex.o
+DPADD= ${LIBL} ${LIBEDIT} ${LIBTERMCAP} ${LIBCOMPAT}
LDADD= -ll -ledit -ltermcap -lcompat
LFLAGS= -8 # 8-bit lex scanner for arithmetic
CFLAGS+=-DSHELL -I. -I${.CURDIR}