aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/setkey/Makefile
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@FreeBSD.org>2000-07-04 16:22:05 +0000
committerJun-ichiro itojun Hagino <itojun@FreeBSD.org>2000-07-04 16:22:05 +0000
commit3c62e87aa307c7566c1e7986655911494d813dc5 (patch)
treec100786b76ccff689ccfb6ac9bca9a5542f2df99 /usr.sbin/setkey/Makefile
parentc638a74daa9ea2805570c545d5a6053d2f013c24 (diff)
downloadsrc-3c62e87aa307c7566c1e7986655911494d813dc5.tar.gz
src-3c62e87aa307c7566c1e7986655911494d813dc5.zip
synchronize with latest kame tree.
behavior change: policy syntax was changed. you may need to update your setkey(8) configuration files.
Notes
Notes: svn path=/head/; revision=62583
Diffstat (limited to 'usr.sbin/setkey/Makefile')
-rw-r--r--usr.sbin/setkey/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.sbin/setkey/Makefile b/usr.sbin/setkey/Makefile
index e6fbadcdf2aa..8feb0a66e6b5 100644
--- a/usr.sbin/setkey/Makefile
+++ b/usr.sbin/setkey/Makefile
@@ -29,11 +29,18 @@
PROG= setkey
SRCS= setkey.c parse.y token.l
CFLAGS+=-g
+CFLAGS+=-I${.CURDIR}/../../lib/libipsec
DPADD= ${LIBL} ${LIBY}
LDADD= -ll -ly
CLEANFILES+= y.tab.c y.tab.h key_test.o keytest
YFLAGS+=-d
+# libpfkey.
+# ipsec_strerror.c is for avoiding shlib reference to non-exported function.
+.PATH: ${.CURDIR}/../../lib/libipsec ${.CURDIR}/../../sys/netkey
+SRCS+= pfkey.c pfkey_dump.c key_debug.c ipsec_strerror.c
+CFLAGS+=-I${.CURDIR}/../../lib/libipsec -I${.CURDIR}/../../sys/netkey
+
SCRIPTS= scriptdump
BINOWN = root