File: Kbuild

package info (click to toggle)
ipset 2.5.0-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 636 kB
  • ctags: 1,153
  • sloc: ansic: 10,075; makefile: 191; sh: 108; perl: 13
file content (14 lines) | stat: -rw-r--r-- 548 bytes parent folder | download
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