Added the code for xid matching. (The code is not yet enabled)
[ipfw.git] / dummynet / Makefile
index b361cba..ff68e55 100644 (file)
@@ -12,8 +12,8 @@
 #   $(MOD)-y   for each $MOD in obj-m, the list of objects
 #   obj-y      same as above, for openwrt
 #   O_TARGET   the link target, for openwrt
-#    EXTRA_CFLAGS as the name says... in openwrt
-#    EXTRA_CFLAGS are used in 2.6.22 module kernel compilation too
+#   EXTRA_CFLAGS as the name says... in openwrt
+#   EXTRA_CFLAGS is used in 2.6.22 module kernel compilation too
 #---
 
 $(warning including dummynet/Makefile)
@@ -53,6 +53,7 @@ ifneq ($(shell echo $(VER)|grep '2.4'),)
   WARN += -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.4/include
   #WARN = -Wp,-MD,/home/luigi/ports-luigi/dummynet-branches/ipfw_mod/dummynet/.ipfw2_mod.o.d
   #WARN += -Iinclude  -include include/linux/autoconf.h
+
   WARN += -Wall -Wundef
   WARN += -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
   WARN += -fno-common -Werror-implicit-function-declaration
@@ -93,13 +94,15 @@ all: include_e
        $(MAKE) -C $(KERNELDIR) V=1 M=`pwd` modules
 endif
 
-# the list of object use to build the module
+#-- back to the common section of code
+
+# the list of objects used to build the module
 ipfw_mod-y = $(IPFW_SRCS:%.c=%.o)
 
-#      Original ipfw + dummynet + FreeBSD stuff,
+# Original ipfw and dummynet sources + FreeBSD stuff,
 IPFW_SRCS = ip_fw2.c ip_dummynet.c ip_fw_pfil.c in_cksum.c
 
-#      module glue and functions missing in linux
+# Module glue and functions missing in linux
 IPFW_SRCS += ipfw2_mod.c bsd_compat.c
 
 
@@ -122,6 +125,7 @@ clean:
 distclean: clean
        -rm -f .*cmd modules.order opt_*
        -rm -rf .tmp_versions include_e
+       -rm -rf .ip_dummynet.o.d
 
 # support to create empty dirs and files in include_e/
 # EDIRS is the list of directories, EFILES is the list of files.