81db22ad5259ac5b010071488aa432170ec09901
[dragonfly.git] / usr.sbin / ipftest / Makefile
1 # $FreeBSD: src/usr.sbin/ipftest/Makefile,v 1.4.2.5 2002/04/27 18:19:04 darrenr Exp $
2 # $DragonFly: src/usr.sbin/ipftest/Makefile,v 1.6 2004/07/21 15:26:19 drhodus Exp $
3
4 .PATH:  ${.CURDIR}/../../sys/netinet \
5         ${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
6
7 PROG=   ipftest
8 SRCS=   opt_ipfilter.h \
9         ipt.c parse.c fil.c ipft_sn.c ipft_ef.c ipft_td.c ipft_pc.c opt.c \
10         ipft_tx.c misc.c ip_frag.c ip_state.c ip_nat.c ip_proxy.c ip_log.c \
11         ip_auth.c ipft_hx.c ip_fil.c natparse.c facpri.c common.c \
12         printstate.c printnat.c
13
14 CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DIPFILTER_LOG
15 CFLAGS+= -I${.OBJDIR}
16 CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
17 CFLAGS+=-I${.CURDIR}/../../sys
18 CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
19
20 CLEANFILES+=    opt_ipfilter.h
21
22 opt_ipfilter.h: Makefile
23         echo "#define IPFILTER 1" > opt_ipfilter.h
24
25 .include <bsd.prog.mk>