NetBSD/sbin/setkey/Makefile

30 lines
617 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.11 2009/04/20 16:05:30 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
2005-02-19 19:58:26 +03:00
CPPFLAGS+= -I${DIST}/src/setkey -I${DIST}/src/libipsec
CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libipsec -I. -DYY_NO_INPUT
2005-02-19 19:58:26 +03:00
CPPFLAGS+= -DIPSEC_DEBUG -DHAVE_CONFIG_H
CPPFLAGS+= -DSADB_X_EALG_AESCBC=SADB_X_EALG_AES
2005-02-19 19:58:26 +03:00
LDADD+= -ll -ly -lipsec
DPADD+= ${LIBL} ${LIBY} ${LIBIPSEC}
.if (${USE_INET6} != "no")
CPPFLAGS+=-DINET6
.endif
2005-02-19 19:58:26 +03:00
.PATH: ${DIST}/src/setkey
.include <bsd.prog.mk>