summaryrefslogtreecommitdiffstats
path: root/kernel/net/netfilter/ipset/Kbuild
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-02-03 11:44:27 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-02-03 11:44:27 +0100
commitbc76594d91f3953d676201e3f06534338ab01524 (patch)
tree20754f42b2144e08c5c382246e5bc57622f1a1e0 /kernel/net/netfilter/ipset/Kbuild
parent43b0532ea90ae4140233f1e293ff663f7e49bec8 (diff)
Reorganized kernel/ subdir
The kernel/ subdirectory is reorganized to follow the kernel directory structure.
Diffstat (limited to 'kernel/net/netfilter/ipset/Kbuild')
-rw-r--r--kernel/net/netfilter/ipset/Kbuild13
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/net/netfilter/ipset/Kbuild b/kernel/net/netfilter/ipset/Kbuild
new file mode 100644
index 0000000..7900a5d
--- /dev/null
+++ b/kernel/net/netfilter/ipset/Kbuild
@@ -0,0 +1,13 @@
+NOSTDINC_FLAGS += -I$(KDIR)/include
+EXTRA_CFLAGS := -DCONFIG_IP_SET_MAX=$(IP_SET_MAX)
+
+ip_set-y := ip_set_core.o ip_set_getport.o pfxlen.o
+obj-m += ip_set.o
+obj-m += ip_set_bitmap_ip.o ip_set_bitmap_ipmac.o ip_set_bitmap_port.o
+obj-m += ip_set_hash_ip.o ip_set_hash_ipport.o ip_set_hash_ipportip.o
+obj-m += ip_set_hash_net.o ip_set_hash_ipportnet.o ip_set_hash_netport.o
+obj-m += ip_set_list_set.o
+
+# It's for me...
+incdirs := $(M)
+clean-files := $(foreach dir,$(incdirs),$(wildcard $(dir)/*~))