25 lines
661 B
Makefile
25 lines
661 B
Makefile
# $NetBSD: Makefile.inc,v 1.13 2004/04/03 22:16:27 he Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/dist/ipf
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/dist/ipf/tools
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/sys
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/sys/netinet
|
|
CPPFLAGS+= -DSTATETOP -D__UIO_EXPOSE
|
|
|
|
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
|