2009-05-07 13:31:40 +04:00
|
|
|
# $NetBSD: Makefile,v 1.5 2009/05/07 09:31:40 spz Exp $
|
2005-02-19 19:55:02 +03:00
|
|
|
|
2009-04-22 19:23:01 +04:00
|
|
|
WARNS?= 0 # XXX third-party program, many issues
|
2005-02-19 19:55:02 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
PROG= racoonctl
|
|
|
|
SRCS= racoonctl.c str2val.c kmpstat.c vmbuf.c sockmisc.c misc.c
|
|
|
|
MAN= racoonctl.8
|
|
|
|
|
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist/ipsec-tools
|
2009-02-13 19:16:26 +03:00
|
|
|
#CFLAGS+=-g
|
2005-02-19 19:55:02 +03:00
|
|
|
CPPFLAGS+= -I${DIST}/src/racoon -I${DIST}/src/libipsec \
|
|
|
|
-I${NETBSDSRCDIR}/lib/libipsec \
|
2009-02-13 19:16:26 +03:00
|
|
|
-UIPSEC_DEBUG -DHAVE_CONFIG_H -DNOUSE_PRIVSEP \
|
2009-05-07 13:31:40 +04:00
|
|
|
-DADMINPORTDIR=\"/var/run\"
|
2005-02-19 19:55:02 +03:00
|
|
|
LDADD+= -lipsec
|
|
|
|
DPADD+= ${LIBIPSEC}
|
|
|
|
CLEANFILES+= racoonctl.cat8
|
|
|
|
|
|
|
|
.PATH: ${NETBSDSRCDIR}/lib/libipsec ${DIST}/src/racoon
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|