summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-08-28 18:49:06 +0000
committerbde <bde@FreeBSD.org>1994-08-28 18:49:06 +0000
commit4b07d8e78226e63a874eb615588dd84dbdd8e2e0 (patch)
treef634567066510cf9e0c3eecd0cb9c32c09d5b419 /bin
parentb7079cf51c68c5d0d95d1488fe15554bd90c0e45 (diff)
downloadFreeBSD-src-4b07d8e78226e63a874eb615588dd84dbdd8e2e0.zip
FreeBSD-src-4b07d8e78226e63a874eb615588dd84dbdd8e2e0.tar.gz
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.
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index 0c57c94..4279c9e 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}
OpenPOWER on IntegriCloud