2004-04-04 02:16:27 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.13 2004/04/03 22:16:27 he Exp $
|
1997-10-30 19:08:54 +03:00
|
|
|
|
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
|
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/sys/netinet
|
|
|
|
CPPFLAGS+= -DSTATETOP -D__UIO_EXPOSE
|
1999-12-12 14:29:55 +03:00
|
|
|
|
2004-03-28 13:01:26 +04:00
|
|
|
IPFOBJDIR!= cd $(.CURDIR)/../libipf && ${PRINTOBJDIR}
|
2004-04-04 02:16:27 +04:00
|
|
|
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
|
1997-01-05 16:06:38 +03:00
|
|
|
|
1997-10-18 10:42:25 +04:00
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
1997-01-20 10:33:57 +03:00
|
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
1997-10-18 10:42:25 +04:00
|
|
|
.endif
|