summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw/Makefile
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2014-03-12 10:45:58 +0000
committerglebius <glebius@FreeBSD.org>2014-03-12 10:45:58 +0000
commitf937dcf2bd0584087acec5d8dc92dd5dba177113 (patch)
tree8cbef21f45f26a80647ff8a0604c3c9c65c2bb40 /sbin/ipfw/Makefile
parenteeff801556700aefbd569ad4bac5acdebcc3b9a8 (diff)
downloadFreeBSD-src-f937dcf2bd0584087acec5d8dc92dd5dba177113.zip
FreeBSD-src-f937dcf2bd0584087acec5d8dc92dd5dba177113.tar.gz
Bulk sync of pf changes from head, in attempt to fixup broken build I
made in r263029. Merge r257186,257215,257349,259736,261797. These changesets split pfvar.h into several smaller headers and make userland utilities to include only some of them.
Diffstat (limited to 'sbin/ipfw/Makefile')
-rw-r--r--sbin/ipfw/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/sbin/ipfw/Makefile b/sbin/ipfw/Makefile
index b25f38c..6aea26b 100644
--- a/sbin/ipfw/Makefile
+++ b/sbin/ipfw/Makefile
@@ -1,8 +1,16 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
PROG= ipfw
-SRCS= ipfw2.c dummynet.c ipv6.c main.c nat.c altq.c
+SRCS= ipfw2.c dummynet.c ipv6.c main.c nat.c
WARNS?= 2
+
+.if ${MK_PF} != "no"
+SRCS+= altq.c
+CFLAGS+=-DPF
+.endif
+
DPADD= ${LIBUTIL}
LDADD= -lutil
MAN= ipfw.8
OpenPOWER on IntegriCloud