summaryrefslogtreecommitdiffstats
path: root/kernel/Kbuild
blob: 9757a4a21f6c902fde22f070d1d498427fb6f54c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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_nethash.o ip_set_ipporthash.o
obj-m += ip_set_ipportiphash.o ip_set_ipportnethash.o
obj-m += ip_set_iptree.o ip_set_iptreemap.o
obj-m += ip_set_setlist.o

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