diff options
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/ip_mroute_mod/Makefile | 10 | ||||
-rw-r--r-- | sys/modules/pf/Makefile | 7 |
2 files changed, 3 insertions, 14 deletions
diff --git a/sys/modules/ip_mroute_mod/Makefile b/sys/modules/ip_mroute_mod/Makefile index 41dbcec..be135de 100644 --- a/sys/modules/ip_mroute_mod/Makefile +++ b/sys/modules/ip_mroute_mod/Makefile @@ -3,19 +3,11 @@ .PATH: ${.CURDIR}/../../netinet KMOD= ip_mroute -SRCS= ip_mroute.c opt_mac.h opt_mrouting.h opt_random_ip_id.h +SRCS= ip_mroute.c opt_mac.h opt_mrouting.h CFLAGS+= -DMROUTE_KLD -RANDOM_IP_ID?= 0 # 0/1 - should jibe with kernel configuration - opt_mrouting.h: echo "#define MROUTING 1" > ${.TARGET} -opt_random_ip_id.h: - touch ${.TARGET} -.if ${RANDOM_IP_ID} > 0 - echo "#define RANDOM_IP_ID 1" > ${.TARGET} -.endif - .include <bsd.kmod.mk> diff --git a/sys/modules/pf/Makefile b/sys/modules/pf/Makefile index a226f1c..d4eb984 100644 --- a/sys/modules/pf/Makefile +++ b/sys/modules/pf/Makefile @@ -7,8 +7,8 @@ KMOD= pf SRCS = pf.c pf_if.c pf_subr.c pf_osfp.c pf_ioctl.c pf_norm.c pf_table.c \ if_pflog.c \ - in4_cksum.c ip_id.c \ - opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h opt_random_ip_id.h + in4_cksum.c \ + opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h CFLAGS+= -Wall -I${.CURDIR}/../../contrib/pf @@ -29,7 +29,4 @@ opt_inet6.h: opt_bpf.h: echo "#define DEV_BPF 1" > opt_bpf.h -opt_random_ip_id.h: - echo "#define RANDOM_IP_ID 1" > opt_random_ip_id.h - .include <bsd.kmod.mk> |