summaryrefslogtreecommitdiffstats
path: root/usr.sbin
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 /usr.sbin
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 'usr.sbin')
-rw-r--r--usr.sbin/kbdcontrol/Makefile1
-rw-r--r--usr.sbin/tcpdump/tcpdump/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/kbdcontrol/Makefile b/usr.sbin/kbdcontrol/Makefile
index a26575d..ad91cb0 100644
--- a/usr.sbin/kbdcontrol/Makefile
+++ b/usr.sbin/kbdcontrol/Makefile
@@ -1,5 +1,6 @@
PROG= kbdcontrol
SRCS= kbdcontrol.c lex.l
+DPADD+= ${LIBL}
LDADD+= -ll
.include <bsd.prog.mk>
diff --git a/usr.sbin/tcpdump/tcpdump/Makefile b/usr.sbin/tcpdump/tcpdump/Makefile
index 2c93962..8432e58 100644
--- a/usr.sbin/tcpdump/tcpdump/Makefile
+++ b/usr.sbin/tcpdump/tcpdump/Makefile
@@ -13,6 +13,7 @@ SRCS= version.c addrtoname.c bpf_dump.c bpf_filter.c bpf_image.c etherent.c \
tcplex.c util.c
.PATH: /sys/net
CLEANFILES+= tcpgram.c tcplex.c y.tab.h y.tab.c version.c version.h
+DPADD+= ${LIBL}
LDADD+= -ll
version.c version.h: VERSION
OpenPOWER on IntegriCloud