xref: /dragonfly/sys/net/ipfw/Makefile (revision ac8179b5580d00adf66100804e87bec8dc92dea7)
1# $FreeBSD: src/sys/modules/ipfw/Makefile,v 1.11.2.1 2003/02/14 14:09:21 maxim Exp $
2
3KMOD=     ipfw
4SRCS=     ip_fw2.c
5SRCS+=    opt_ipfw.h opt_inet.h
6
7.ifndef KERNBUILDDIR
8opt_inet.h:
9          echo '#define INET 1' > ${.OBJDIR}/${.TARGET}
10
11opt_ipfw.h:
12          echo '#define IPFIREWALL 1' > ${.OBJDIR}/${.TARGET}
13          # Debug prints
14          #echo '#define IPFIREWALL_DEBUG 1' >> ${.OBJDIR}/${.TARGET}
15          #
16          # If you want it verbose
17          #echo '#define IPFIREWALL_VERBOSE 1' >> ${.OBJDIR}/${.TARGET}
18          #echo '#define IPFIREWALL_VERBOSE_LIMIT 100' >> ${.OBJDIR}/${.TARGET}
19          #
20          # If you want it to pass all packets by default
21          #echo '#define IPFIREWALL_DEFAULT_TO_ACCEPT 1' >> ${.OBJDIR}/${.TARGET}
22.endif
23
24.include <bsd.kmod.mk>
25