freebsd-nq/usr.sbin/ipftest/Makefile
Jacques Vidrine 9629a4e92d Build with -DUSE_INET6 so that we can actually use the IPv6 support in
IPFilter 3.4.x.

Approved by:	darrenr, guido
2000-10-31 22:29:27 +00:00

23 lines
673 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../sys/netinet \
${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
PROG= ipftest
MAN1= ipftest.1
SRCS= opt_ipfilter.h \
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
MAINTAINER= guido@freebsd.org
.include <bsd.prog.mk>