2012-01-04 19:55:35 +04:00
|
|
|
# $NetBSD: Makefile,v 1.13 2012/01/04 15:55:36 drochner Exp $
|
2009-04-11 11:58:11 +04:00
|
|
|
|
|
|
|
WARNS?= 3 # XXX: sign-compare issues
|
2002-08-19 14:16:51 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
1999-07-02 21:41:23 +04:00
|
|
|
|
|
|
|
PROG= setkey
|
2005-12-16 19:25:07 +03:00
|
|
|
SRCS= setkey.c parse.y token.l
|
2005-02-19 19:55:02 +03:00
|
|
|
MAN= setkey.8
|
2000-03-14 00:04:07 +03:00
|
|
|
|
2005-12-16 19:25:07 +03:00
|
|
|
YHEADER=parse.h
|
|
|
|
|
2005-02-19 19:55:02 +03:00
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist/ipsec-tools
|
2005-02-19 19:58:26 +03:00
|
|
|
|
|
|
|
CPPFLAGS+= -I${DIST}/src/setkey -I${DIST}/src/libipsec
|
2009-10-29 17:34:06 +03:00
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libipsec -I.
|
2005-02-19 19:58:26 +03:00
|
|
|
CPPFLAGS+= -DIPSEC_DEBUG -DHAVE_CONFIG_H
|
|
|
|
|
2005-02-19 19:55:02 +03:00
|
|
|
LDADD+= -ll -ly -lipsec
|
|
|
|
DPADD+= ${LIBL} ${LIBY} ${LIBIPSEC}
|
2000-03-14 00:04:07 +03:00
|
|
|
|
2005-02-19 19:55:02 +03:00
|
|
|
.if (${USE_INET6} != "no")
|
|
|
|
CPPFLAGS+=-DINET6
|
|
|
|
.endif
|
1999-07-02 21:41:23 +04:00
|
|
|
|
2005-02-19 19:58:26 +03:00
|
|
|
.PATH: ${DIST}/src/setkey
|
1999-07-02 21:41:23 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|