freebsd-dev/usr.sbin/ipftest/Makefile

22 lines
590 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../sys/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 \
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${.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>