+
+# generic cflags used on all systems
+ipfw-cflags += -Dradix
+ipfw-cflags += -DIPFIREWALL_DEFAULT_TO_ACCEPT -DTRACE
+# _BSD_SOURCE enables __FAVOR_BSD (udp/tcp bsd structs instead of posix)
+ipfw-cflags += -D_BSD_SOURCE
+ipfw-cflags += -DKERNEL_MODULE # build linux kernel module
+# the two header trees for empty and override files
+ipfw-cflags += -I $(M)/include_e -I $(M)/include
+ipfw-cflags += -include $(M)/../glue.h # headers
+
+$(warning "---- Building dummynet kernel module for Version $(VER)")
+# We have three sections for OpenWrt, Linux 2.4 and Linux 2.6
+#
+ifeq ($(VER),openwrt)
+ M=.
+ obj-y := ipfw2_mod.o bsd_compat.o \