From 8fa348db2e1be81110c9a9cbfbf7564919c819f0 Mon Sep 17 00:00:00 2001 From: bde Date: Mon, 27 Mar 2000 16:40:59 +0000 Subject: Fixed missing DPADDs. Fixed style bug for LDADD (don't use += for initial definitions). --- usr.sbin/setkey/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.sbin/setkey') 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 -- cgit v1.1