summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ipftest
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-06-18 15:55:28 +0000
committerru <ru@FreeBSD.org>2001-06-18 15:55:28 +0000
commit2012259e87bb2855f986d40741d15b6d6371986d (patch)
treee9b928ec517d5cd676a4d01a2d9691376b8a6cff /usr.sbin/ipftest
parent227ce6056bd3de96b51fd863a66296fc54c951b4 (diff)
downloadFreeBSD-src-2012259e87bb2855f986d40741d15b6d6371986d.zip
FreeBSD-src-2012259e87bb2855f986d40741d15b6d6371986d.tar.gz
Pick up the correct headers from sys/contrib/ipfilter/netinet.
Diffstat (limited to 'usr.sbin/ipftest')
-rw-r--r--usr.sbin/ipftest/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/usr.sbin/ipftest/Makefile b/usr.sbin/ipftest/Makefile
index 728baa0..ab7233a 100644
--- a/usr.sbin/ipftest/Makefile
+++ b/usr.sbin/ipftest/Makefile
@@ -1,20 +1,16 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../sys/netinet \
+.PATH: ${.CURDIR}/../../sys/contrib/ipfilter/netinet \
${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
PROG= ipftest
-SRCS= opt_ipfilter.h \
- ipt.c parse.c fil.c ipft_sn.c ipft_ef.c ipft_td.c ipft_pc.c opt.c \
+SRCS= ipt.c parse.c fil.c ipft_sn.c ipft_ef.c ipft_td.c ipft_pc.c opt.c \
ipft_tx.c misc.c ip_frag.c ip_state.c ip_nat.c ip_proxy.c \
ip_auth.c ipft_hx.c ip_fil.c natparse.c facpri.c common.c
-CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I- -I${.OBJDIR} -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
-
-CLEANFILES+= opt_ipfilter.h
-
-opt_ipfilter.h: Makefile
- echo "#define IPFILTER 1" > opt_ipfilter.h
+CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\"
+CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
+CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
MAINTAINER= guido@freebsd.org
OpenPOWER on IntegriCloud