From e412451de3684402662c7acef1beb7ac57baba65 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 23 Aug 2004 03:38:21 +0000 Subject: [PATCH] Make this compile again in the standalone and the MODULES_WITH_WORLD environments. Chances are good that this doesn't produce a good module, but I leave the proper defaults to the dummy opt_* files to the author. --- sys/modules/ipfw/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/modules/ipfw/Makefile b/sys/modules/ipfw/Makefile index cd5a6f791e49..6f877e4fb6ef 100644 --- a/sys/modules/ipfw/Makefile +++ b/sys/modules/ipfw/Makefile @@ -3,7 +3,9 @@ .PATH: ${.CURDIR}/../../netinet KMOD= ipfw -SRCS= ip_fw2.c ip_fw_pfil.c +SRCS= ip_fw2.c ip_fw_pfil.c \ + opt_inet.h opt_ipfw.h opt_ipdn.h opt_ipdivert.h opt_ipsec.h \ + opt_pfil_hooks.h CFLAGS+= -DIPFIREWALL # @@ -14,5 +16,7 @@ CFLAGS+= -DIPFIREWALL #If you want it to pass all packets by default #CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT # +opt_inet.h: + echo "#define INET 1" > opt_inet.h .include