kmod.mk: Remove some dead code supposed to handle modules' manual pages.
[dragonfly.git] / sys / net / ipfilter / Makefile
CommitLineData
984263bc 1# $FreeBSD: src/sys/modules/ipfilter/Makefile,v 1.2.2.2 2001/06/07 05:11:44 jlemon Exp $
ab11661b 2# $DragonFly: src/sys/net/ipfilter/Makefile,v 1.4 2006/12/18 23:26:36 pavalos Exp $
984263bc
MD
3
4.PATH: ${.CURDIR}/../../contrib/ipfilter/netinet
5KMOD= ipl
6SRCS= mlfk_ipl.c ip_nat.c ip_frag.c ip_state.c ip_proxy.c ip_auth.c \
ab11661b 7 ip_log.c ip_fil.c fil.c opt_inet6.h
ab11661b
PA
8
9# XXX: Building this outside of a buildkernel with a kernel that does not have
10# INET6 is not supported since the module will complain about undefined symbols
11# when loaded.
12.if !defined(BUILDING_WITH_KERNEL)
13opt_inet6.h:
14 ${ECHO} "#define INET6 1" > ${.TARGET}
91865926 15.endif
ab11661b
PA
16
17CFLAGS+= -include ipf_inet6.h
984263bc 18CFLAGS+= -DIPFILTER_LKM -DIPFILTER_LOG
ab11661b 19CFLAGS+= -I${.CURDIR}/../../contrib/ipfilter -I${.CURDIR}
984263bc
MD
20#
21# If you don't want log functionality remove -DIPFILTER_LOG
22#
23
24.include <bsd.kmod.mk>