2004-03-29 08:39:59 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.12 2004/03/29 04:39:59 lukem 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-03-29 08:39:59 +04:00
|
|
|
DPADD+= ${IPFOBJDIR}/libipf.a
|
|
|
|
LDADD+= -L${IPFOBJDIR} -lipf
|
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
|