Sync usage with man page.
[netbsd-mini2440.git] / lib / libipsec / Makefile
blob1fd13a81e2b069ed90db57ef00ce09251f0a0acc
1 # $NetBSD: Makefile,v 1.16 2005/12/16 16:25:07 jmc Exp $
3 USE_FORT?= yes # network protocol library
5 USE_SHLIBDIR= yes
6 WARNS= 0 # Will be fixed later
8 .include <bsd.own.mk>
10 DIST= ${NETBSDSRCDIR}/crypto/dist/ipsec-tools
11 LIB= ipsec
12 CPPFLAGS+= -I${DIST}/src/libipsec -I. -DHAVE_CONFIG_H
13 CPPFLAGS+= -DIPSEC_DEBUG -I${.CURDIR} -I${NETBSDSRCDIR}/sys
14 CPPFLAGS+= -DSADB_X_EALG_AESCBC=SADB_X_EALG_AES
15 # Don't worry about argument promotion for now.
16 LINTFLAGS+= -X 58
18 .if (${USE_INET6} != "no")
19 CPPFLAGS+=-DINET6
20 .endif
22 .PATH: ${DIST}/src/libipsec
24 SRCS= ipsec_dump_policy.c ipsec_get_policylen.c ipsec_strerror.c \
25 pfkey.c pfkey_dump.c policy_parse.y policy_token.l key_debug.c
27 LPREFIX+=__libipsec
28 YPREFIX+=__libipsec
29 YHEADER=policy_parse.h
31 MAN= ipsec_set_policy.3 ipsec_strerror.3
32 MLINKS+=ipsec_set_policy.3 ipsec_get_policylen.3 \
33 ipsec_set_policy.3 ipsec_dump_policy.3
35 .include <bsd.lib.mk>