NetBSD/usr.sbin/ipf/Makefile.inc

37 lines
892 B
PHP
Raw Normal View History

# $NetBSD: Makefile.inc,v 1.19 2009/04/22 15:23:03 lukem Exp $
WARNS?= 1 # XXX -Wcast-qual -Wshadow
2002-09-18 07:54:26 +04:00
.include <bsd.own.mk>
2007-05-28 16:06:17 +04:00
USE_FORT?= yes # network client/server
2004-03-28 13:01:26 +04:00
CPPFLAGS+= -I${NETBSDSRCDIR}/dist/ipf
CPPFLAGS+= -I${NETBSDSRCDIR}/dist/ipf/tools
CPPFLAGS+= -I${NETBSDSRCDIR}/sys
2004-10-01 19:26:35 +04:00
CPPFLAGS+= -I${NETBSDSRCDIR}/sys/dist/ipf
CPPFLAGS+= -I${NETBSDSRCDIR}/sys/dist/ipf/netinet
2004-03-28 13:01:26 +04:00
CPPFLAGS+= -DSTATETOP -D__UIO_EXPOSE
CPPFLAGS+= -DINET
.if (${USE_INET6} == "no")
CPPFLAGS+= -DNOINET6
.else
CPPFLAGS+= -DINET6
.endif
2004-03-28 13:01:26 +04:00
IPFOBJDIR!= cd $(.CURDIR)/../libipf && ${PRINTOBJDIR}
DPADD+= ${IPFOBJDIR}/libipf.a ${LIBKVM}
LDADD+= -L${IPFOBJDIR} -lipf -lkvm
2004-03-28 13:01:26 +04:00
CLEANFILES+= y.tab.c y.tab.h
.PATH: ${NETBSDSRCDIR}/dist/ipf \
${NETBSDSRCDIR}/dist/ipf/lib \
${NETBSDSRCDIR}/dist/ipf/tools \
2002-09-18 07:54:26 +04:00
${NETBSDSRCDIR}/dist/ipf/man
.if exists(${.CURDIR}/../../Makefile.inc)
1997-01-20 10:33:57 +03:00
.include "${.CURDIR}/../../Makefile.inc"
.endif