summaryrefslogtreecommitdiffstats
path: root/usr.sbin/setkey
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-03-27 16:40:59 +0000
committerbde <bde@FreeBSD.org>2000-03-27 16:40:59 +0000
commit8fa348db2e1be81110c9a9cbfbf7564919c819f0 (patch)
tree658a7a4d0e186a119fdff32558c1d18df7e021bb /usr.sbin/setkey
parentfd662fcc569f868f95566f4b6f3a16f5cad552e5 (diff)
downloadFreeBSD-src-8fa348db2e1be81110c9a9cbfbf7564919c819f0.zip
FreeBSD-src-8fa348db2e1be81110c9a9cbfbf7564919c819f0.tar.gz
Fixed missing DPADDs.
Fixed style bug for LDADD (don't use += for initial definitions).
Diffstat (limited to 'usr.sbin/setkey')
-rw-r--r--usr.sbin/setkey/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/setkey/Makefile b/usr.sbin/setkey/Makefile
index 918dbf4..e6fbadc 100644
--- a/usr.sbin/setkey/Makefile
+++ b/usr.sbin/setkey/Makefile
@@ -29,7 +29,8 @@
PROG= setkey
SRCS= setkey.c parse.y token.l
CFLAGS+=-g
-LDADD+= -ll -ly
+DPADD= ${LIBL} ${LIBY}
+LDADD= -ll -ly
CLEANFILES+= y.tab.c y.tab.h key_test.o keytest
YFLAGS+=-d
@@ -44,6 +45,7 @@ all: ${PROG} scriptdump
SRCS+=y.tab.h
y.tab.h: parse.y
CFLAGS+=-DIPSEC_DEBUG -DINET6 -DYY_NO_UNPUT -I${.OBJDIR}
+DPADD+= ${LIBIPSEC}
LDADD+= -lipsec
CLEANFILES+= scriptdump y.tab.h
OpenPOWER on IntegriCloud