freebsd-skq/usr.sbin/ipftest/Makefile
Peter Wemm 5021f7402d Initial bmake scaffolding for ipfilter userland stuff.
Obtained from: large chunks stolen from OpenBSD and NetBSD
1998-03-21 13:53:18 +00:00

21 lines
601 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 fil.c ipft_hx.c ipft_sn.c ipft_ef.c ipft_td.c ipft_pc.c \
ipft_tx.c misc.c parse.c opt.c ip_frag.c ip_nat.c ip_state.c \
ip_auth.c ip_fil.c ip_proxy.c
CFLAGS+=-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
.include <bsd.prog.mk>