9dacbeb5c4a3d69c0a6a471df6b39fd5e9c1ce11
[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.8 2004/07/28 00:22:37 hmp Exp $
3
4 .PATH:  ${.CURDIR}/../../sys/contrib/ipfilter/netinet \
5         ${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
6
7 PROG=   ipftest
8 SRCS=   ipt.c parse.c fil.c ipft_sn.c ipft_ef.c ipft_td.c ipft_pc.c opt.c \
9         ipft_tx.c misc.c ip_frag.c ip_state.c ip_nat.c ip_proxy.c ip_log.c \
10         ip_auth.c ipft_hx.c ip_fil.c natparse.c facpri.c common.c \
11         printstate.c printnat.c
12
13 CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DIPFILTER_LOG
14 CFLAGS+= -I${.CURDIR}/../../sys/contrib/ipfilter/netinet
15 CFLAGS+= -I${.CURDIR}/../../sys/contrib/ipfilter
16 CFLAGS+= -I${.CURDIR}/../../contrib/ipfilter
17
18 #Define __FreeBSD__ as is needed when building with gcc3.
19 CFLAGS+=-D__FreeBSD__
20
21 .include <bsd.prog.mk>