1 # $NetBSD: Makefile,v 1.11 2009/04/20 16:05:30 drochner Exp $
3 WARNS?
= 3 # XXX: sign-compare issues
8 SRCS
= setkey.c parse.y token.l
13 DIST
= ${NETBSDSRCDIR}/crypto
/dist/ipsec-tools
15 CPPFLAGS
+= -I
${DIST}/src
/setkey
-I
${DIST}/src
/libipsec
16 CPPFLAGS
+= -I
${NETBSDSRCDIR}/lib
/libipsec
-I.
17 CPPFLAGS
+= -DIPSEC_DEBUG
-DHAVE_CONFIG_H
18 CPPFLAGS
+= -DSADB_X_EALG_AESCBC
=SADB_X_EALG_AES
20 LDADD
+= -ll
-ly
-lipsec
21 DPADD
+= ${LIBL} ${LIBY} ${LIBIPSEC}
23 .if
(${USE_INET6} != "no")
27 .PATH
: ${DIST}/src
/setkey
29 .
include <bsd.prog.mk
>