NetBSD/sbin/setkey/Makefile
drochner 3712f81ced -consistently use "char *" for the compiled policy buffer in the
ipsec_*_policy() functions, as it was documented and used by clients
-remove "ipsec_policy_t" which was undocumented and only present
 in the KAME version of the ipsec.h header
-misc cleanup of historical artefacts, and to remove unnecessary
 differences between KAME ans FAST_IPSEC
2012-01-04 15:55:35 +00:00

29 lines
555 B
Makefile

# $NetBSD: Makefile,v 1.13 2012/01/04 15:55:36 drochner Exp $
WARNS?= 3 # XXX: sign-compare issues
.include <bsd.own.mk>
PROG= setkey
SRCS= setkey.c parse.y token.l
MAN= setkey.8
YHEADER=parse.h
DIST= ${NETBSDSRCDIR}/crypto/dist/ipsec-tools
CPPFLAGS+= -I${DIST}/src/setkey -I${DIST}/src/libipsec
CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libipsec -I.
CPPFLAGS+= -DIPSEC_DEBUG -DHAVE_CONFIG_H
LDADD+= -ll -ly -lipsec
DPADD+= ${LIBL} ${LIBY} ${LIBIPSEC}
.if (${USE_INET6} != "no")
CPPFLAGS+=-DINET6
.endif
.PATH: ${DIST}/src/setkey
.include <bsd.prog.mk>