3712f81ced
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
35 lines
832 B
Makefile
35 lines
832 B
Makefile
# $NetBSD: Makefile,v 1.18 2012/01/04 15:55:36 drochner Exp $
|
|
|
|
USE_FORT?= yes # network protocol library
|
|
|
|
USE_SHLIBDIR= yes
|
|
WARNS= 0 # Will be fixed later
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist/ipsec-tools
|
|
LIB= ipsec
|
|
CPPFLAGS+= -I${DIST}/src/libipsec -I. -DHAVE_CONFIG_H
|
|
CPPFLAGS+= -DIPSEC_DEBUG -I${.CURDIR}
|
|
# Don't worry about argument promotion for now.
|
|
LINTFLAGS+= -X 58
|
|
|
|
.if (${USE_INET6} != "no")
|
|
CPPFLAGS+=-DINET6
|
|
.endif
|
|
|
|
.PATH: ${DIST}/src/libipsec
|
|
|
|
SRCS= ipsec_dump_policy.c ipsec_get_policylen.c ipsec_strerror.c \
|
|
pfkey.c pfkey_dump.c policy_parse.y policy_token.l key_debug.c
|
|
|
|
LPREFIX+=__libipsec
|
|
YPREFIX+=__libipsec
|
|
YHEADER=policy_parse.h
|
|
|
|
MAN= ipsec_set_policy.3 ipsec_strerror.3
|
|
MLINKS+=ipsec_set_policy.3 ipsec_get_policylen.3 \
|
|
ipsec_set_policy.3 ipsec_dump_policy.3
|
|
|
|
.include <bsd.lib.mk>
|