Generate opt_ipfilter.h to fix 'make depend'

This commit is contained in:
Andrey A. Chernov 2000-07-31 23:58:38 +00:00
parent 3d4a189e9f
commit 71e631c2bd

View File

@ -3,11 +3,14 @@
.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
ip_log.c ip_fil.c fil.c opt_ipfilter.h
NOMAN=
CFLAGS+= -DIPFILTER_LKM -DIPFILTER_LOG
#
# If you don't want long functionality remove -DIPFILTER_LOG
#
opt_ipfilter.h:
echo "#define NIPFILTER 1" > opt_ipfilter.h
.include <bsd.kmod.mk>