Added spec file comments.
[ipfw.git] / dummynet / Makefile
index 126c2ff..7cbddca 100644 (file)
 #   O_TARGET   the link target, for openwrt
 #   EXTRA_CFLAGS as the name says... in openwrt
 #   EXTRA_CFLAGS is used in 2.6.22 module kernel compilation too
-#   KERNELPATH the path to the kernel sources or headers
+#   KERNELPATH the path to the kernel sources or headers
 #
 # Not sure about this (the name might be reserved)
 #   ipfw-cflags                our flags for building the module
 #
 # Other variables are only private and can be renamed. They include:
 #
-#   VER                linux version we are building for (2.4 2.6 or openwrt)
+#   VER                linux version we are building for (2.4 2.6 or openwrt)
 #---
 
 $(warning including dummynet/Makefile)
@@ -40,10 +40,10 @@ obj-m := ipfw_mod.o
 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
+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
+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
@@ -99,7 +99,7 @@ ifneq ($(shell echo $(VER)|grep '2.4'),)
 
   ccflags-y += -O1 -DLINUX_24
   CFLAGS = -DMODULE -D__KERNEL__ -nostdinc \
-        -isystem ${KERNELPATH}/include -isystem $(MYGCC_INCLUDE) ${ccflags-y}
+       -isystem ${KERNELPATH}/include -isystem $(MYGCC_INCLUDE) ${ccflags-y}
   # The Main target
 all: mod24