d877c4c3c0
cpuctl dumplfs hprop ipf iprop-log kadmin kcm kdc kdigest kimpersonate kstash ktutil makefs ndbootd ntp pppd quot racoon racoonctl rtadvd sntp sup tcpdchk tcpdmatch tcpdump traceroute traceroute6 user veriexecgen wsmoused zic (Mostly third-party applications)
37 lines
892 B
Makefile
37 lines
892 B
Makefile
# $NetBSD: Makefile.inc,v 1.19 2009/04/22 15:23:03 lukem Exp $
|
|
|
|
WARNS?= 1 # XXX -Wcast-qual -Wshadow
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
USE_FORT?= yes # network client/server
|
|
|
|
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
|