33 lines
815 B
Makefile
33 lines
815 B
Makefile
# $NetBSD: Makefile.inc,v 1.17 2005/12/28 11:58:23 martti Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/dist/ipf
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/dist/ipf/tools
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/sys
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/sys/dist/ipf
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/sys/dist/ipf/netinet
|
|
CPPFLAGS+= -DSTATETOP -D__UIO_EXPOSE
|
|
CPPFLAGS+= -DINET
|
|
|
|
.if (${USE_INET6} == "no")
|
|
CPPFLAGS+= -DNOINET6
|
|
.else
|
|
CPPFLAGS+= -DINET6
|
|
.endif
|
|
|
|
IPFOBJDIR!= cd $(.CURDIR)/../libipf && ${PRINTOBJDIR}
|
|
DPADD+= ${IPFOBJDIR}/libipf.a ${LIBKVM}
|
|
LDADD+= -L${IPFOBJDIR} -lipf -lkvm
|
|
|
|
CLEANFILES+= y.tab.c y.tab.h
|
|
|
|
.PATH: ${NETBSDSRCDIR}/dist/ipf \
|
|
${NETBSDSRCDIR}/dist/ipf/lib \
|
|
${NETBSDSRCDIR}/dist/ipf/tools \
|
|
${NETBSDSRCDIR}/dist/ipf/man
|
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
.endif
|