Back out opt_ipfilter.h creation I add recently and add -DIPFILTER=1

to CFLAGS instead
According to other sources, opt_ipfilter.h not supposed to be included for
modules
This commit is contained in:
Andrey A. Chernov 2000-08-01 00:44:42 +00:00
parent e7278dcf6f
commit 2e8c7ccd99

View File

@ -3,14 +3,11 @@
.PATH: ${.CURDIR}/../../netinet
KMOD= ipl
SRCS= mlfk_ipl.c ip_nat.c ip_frag.c ip_state.c ip_proxy.c ip_auth.c \
ip_log.c ip_fil.c fil.c opt_ipfilter.h
ip_log.c ip_fil.c fil.c
NOMAN=
CFLAGS+= -DIPFILTER_LKM -DIPFILTER_LOG
CFLAGS+= -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG
#
# If you don't want long functionality remove -DIPFILTER_LOG
#
opt_ipfilter.h:
echo "#define IPFILTER 1" > opt_ipfilter.h
.include <bsd.kmod.mk>