2005-12-28 14:58:23 +03:00
|
|
|
# $NetBSD: Makefile.inc,v 1.17 2005/12/28 11:58:23 martti 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
|
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
|
2005-12-28 14:58:23 +03:00
|
|
|
CPPFLAGS+= -DINET
|
1999-12-12 14:29:55 +03:00
|
|
|
|
2005-01-10 05:58:58 +03:00
|
|
|
.if (${USE_INET6} == "no")
|
|
|
|
CPPFLAGS+= -DNOINET6
|
2005-12-28 14:58:23 +03:00
|
|
|
.else
|
|
|
|
CPPFLAGS+= -DINET6
|
2005-01-10 05:58:58 +03:00
|
|
|
.endif
|
|
|
|
|
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
|