summaryrefslogtreecommitdiffstats
path: root/kernel/Kbuild
blob: c7cb727e9b2bbe95c818c157942b57354a70bd27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
EXTRA_CFLAGS := -I$(M)/include \
	-DCONFIG_IP_NF_SET_MAX=$(IP_NF_SET_MAX) \
	-DCONFIG_IP_NF_SET_HASHSIZE=$(IP_NF_SET_HASHSIZE)

obj-m += ip_set.o ipt_set.o ipt_SET.o
obj-m += ip_set_ipmap.o ip_set_macipmap.o ip_set_portmap.o
obj-m += ip_set_iphash.o ip_set_ipporthash.o ip_set_nethash.o
obj-m += ip_set_iptree.o ip_set_iptreemap.o

# It's for me...
incdirs := $(M) $(M)/include/linux/netfilter_ipv4
clean-files := $(foreach dir,$(incdirs),$(wildcard $(dir)/*~))