Makefile 2.9 KB
Newer Older
1
netfilter-objs := core.o nf_log.o nf_queue.o nf_sockopt.o
2

3
nf_conntrack-y	:= nf_conntrack_core.o nf_conntrack_standalone.o nf_conntrack_expect.o nf_conntrack_helper.o nf_conntrack_proto.o nf_conntrack_l3proto_generic.o nf_conntrack_proto_generic.o nf_conntrack_proto_tcp.o nf_conntrack_proto_udp.o
4
nf_conntrack-$(CONFIG_NF_CONNTRACK_EVENTS) += nf_conntrack_ecache.o
5 6

obj-$(CONFIG_NETFILTER) = netfilter.o
7
obj-$(CONFIG_SYSCTL) += nf_sysctl.o
8

H
Harald Welte 已提交
9
obj-$(CONFIG_NETFILTER_NETLINK) += nfnetlink.o
10
obj-$(CONFIG_NETFILTER_NETLINK_QUEUE) += nfnetlink_queue.o
11
obj-$(CONFIG_NETFILTER_NETLINK_LOG) += nfnetlink_log.o
12

13
# connection tracking
14 15 16 17
obj-$(CONFIG_NF_CONNTRACK) += nf_conntrack.o

# SCTP protocol connection tracking
obj-$(CONFIG_NF_CT_PROTO_SCTP) += nf_conntrack_proto_sctp.o
18 19 20

# netlink interface for nf_conntrack
obj-$(CONFIG_NF_CT_NETLINK) += nf_conntrack_netlink.o
21 22

# connection tracking helpers
23
obj-$(CONFIG_NF_CONNTRACK_AMANDA) += nf_conntrack_amanda.o
24 25 26 27 28 29 30 31
obj-$(CONFIG_NF_CONNTRACK_FTP) += nf_conntrack_ftp.o

# generic X tables 
obj-$(CONFIG_NETFILTER_XTABLES) += x_tables.o xt_tcpudp.o

# targets
obj-$(CONFIG_NETFILTER_XT_TARGET_CLASSIFY) += xt_CLASSIFY.o
obj-$(CONFIG_NETFILTER_XT_TARGET_CONNMARK) += xt_CONNMARK.o
32
obj-$(CONFIG_NETFILTER_XT_TARGET_DSCP) += xt_DSCP.o
33 34
obj-$(CONFIG_NETFILTER_XT_TARGET_MARK) += xt_MARK.o
obj-$(CONFIG_NETFILTER_XT_TARGET_NFQUEUE) += xt_NFQUEUE.o
35
obj-$(CONFIG_NETFILTER_XT_TARGET_NFLOG) += xt_NFLOG.o
36
obj-$(CONFIG_NETFILTER_XT_TARGET_NOTRACK) += xt_NOTRACK.o
37
obj-$(CONFIG_NETFILTER_XT_TARGET_SECMARK) += xt_SECMARK.o
38
obj-$(CONFIG_NETFILTER_XT_TARGET_CONNSECMARK) += xt_CONNSECMARK.o
39 40 41 42 43 44 45

# matches
obj-$(CONFIG_NETFILTER_XT_MATCH_COMMENT) += xt_comment.o
obj-$(CONFIG_NETFILTER_XT_MATCH_CONNBYTES) += xt_connbytes.o
obj-$(CONFIG_NETFILTER_XT_MATCH_CONNMARK) += xt_connmark.o
obj-$(CONFIG_NETFILTER_XT_MATCH_CONNTRACK) += xt_conntrack.o
obj-$(CONFIG_NETFILTER_XT_MATCH_DCCP) += xt_dccp.o
46
obj-$(CONFIG_NETFILTER_XT_MATCH_DSCP) += xt_dscp.o
47
obj-$(CONFIG_NETFILTER_XT_MATCH_ESP) += xt_esp.o
48 49 50 51 52
obj-$(CONFIG_NETFILTER_XT_MATCH_HELPER) += xt_helper.o
obj-$(CONFIG_NETFILTER_XT_MATCH_LENGTH) += xt_length.o
obj-$(CONFIG_NETFILTER_XT_MATCH_LIMIT) += xt_limit.o
obj-$(CONFIG_NETFILTER_XT_MATCH_MAC) += xt_mac.o
obj-$(CONFIG_NETFILTER_XT_MATCH_MARK) += xt_mark.o
53
obj-$(CONFIG_NETFILTER_XT_MATCH_MULTIPORT) += xt_multiport.o
54
obj-$(CONFIG_NETFILTER_XT_MATCH_POLICY) += xt_policy.o
55
obj-$(CONFIG_NETFILTER_XT_MATCH_PKTTYPE) += xt_pkttype.o
56
obj-$(CONFIG_NETFILTER_XT_MATCH_QUOTA) += xt_quota.o
57 58 59
obj-$(CONFIG_NETFILTER_XT_MATCH_REALM) += xt_realm.o
obj-$(CONFIG_NETFILTER_XT_MATCH_SCTP) += xt_sctp.o
obj-$(CONFIG_NETFILTER_XT_MATCH_STATE) += xt_state.o
60
obj-$(CONFIG_NETFILTER_XT_MATCH_STATISTIC) += xt_statistic.o
61 62 63
obj-$(CONFIG_NETFILTER_XT_MATCH_STRING) += xt_string.o
obj-$(CONFIG_NETFILTER_XT_MATCH_TCPMSS) += xt_tcpmss.o
obj-$(CONFIG_NETFILTER_XT_MATCH_PHYSDEV) += xt_physdev.o
64
obj-$(CONFIG_NETFILTER_XT_MATCH_HASHLIMIT) += xt_hashlimit.o