NetBSD/usr.sbin/ipf/Makefile.inc

33 lines
815 B
PHP
Raw Normal View History

# $NetBSD: Makefile.inc,v 1.17 2005/12/28 11:58:23 martti Exp $
2002-09-18 07:54:26 +04:00
.include <bsd.own.mk>
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