diff options
| author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2005-11-29 17:56:11 +0000 |
|---|---|---|
| committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2005-11-29 17:56:11 +0000 |
| commit | 8846bbf3cec07539f1694cbf7ad0f4b722761312 (patch) | |
| tree | 8ae27279274281f9259e41a2310d66c79daddde6 /sys/modules/ipfw | |
| parent | b7a8ed0701c83d1791ee061cda41637863e9eab0 (diff) | |
Notes
Diffstat (limited to 'sys/modules/ipfw')
| -rw-r--r-- | sys/modules/ipfw/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/modules/ipfw/Makefile b/sys/modules/ipfw/Makefile index cd5a6f791e49..c8c82cc67f27 100644 --- a/sys/modules/ipfw/Makefile +++ b/sys/modules/ipfw/Makefile @@ -4,6 +4,7 @@ KMOD= ipfw SRCS= ip_fw2.c ip_fw_pfil.c +SRCS+= opt_inet6.h opt_ipsec.h CFLAGS+= -DIPFIREWALL # @@ -15,4 +16,17 @@ CFLAGS+= -DIPFIREWALL #CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT # +.if !defined(KERNBUILDDIR) +.if defined(NO_INET6) +opt_inet6.h: + cat /dev/null > ${.TARGET} +.else +opt_inet6.h: + echo "#define INET6 1" > ${.TARGET} +.endif + +opt_ipsec.h: + cat /dev/null > ${.TARGET} +.endif + .include <bsd.kmod.mk> |
