xref: /openbmc/linux/net/netfilter/Makefile (revision f15cbe6f)
1netfilter-objs := core.o nf_log.o nf_queue.o nf_sockopt.o
2
3nf_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 nf_conntrack_extend.o nf_conntrack_acct.o
4nf_conntrack-$(CONFIG_NF_CONNTRACK_EVENTS) += nf_conntrack_ecache.o
5
6obj-$(CONFIG_NETFILTER) = netfilter.o
7
8obj-$(CONFIG_NETFILTER_NETLINK) += nfnetlink.o
9obj-$(CONFIG_NETFILTER_NETLINK_QUEUE) += nfnetlink_queue.o
10obj-$(CONFIG_NETFILTER_NETLINK_LOG) += nfnetlink_log.o
11
12# connection tracking
13obj-$(CONFIG_NF_CONNTRACK) += nf_conntrack.o
14
15# SCTP protocol connection tracking
16obj-$(CONFIG_NF_CT_PROTO_DCCP) += nf_conntrack_proto_dccp.o
17obj-$(CONFIG_NF_CT_PROTO_GRE) += nf_conntrack_proto_gre.o
18obj-$(CONFIG_NF_CT_PROTO_SCTP) += nf_conntrack_proto_sctp.o
19obj-$(CONFIG_NF_CT_PROTO_UDPLITE) += nf_conntrack_proto_udplite.o
20
21# netlink interface for nf_conntrack
22obj-$(CONFIG_NF_CT_NETLINK) += nf_conntrack_netlink.o
23
24# connection tracking helpers
25nf_conntrack_h323-objs := nf_conntrack_h323_main.o nf_conntrack_h323_asn1.o
26
27obj-$(CONFIG_NF_CONNTRACK_AMANDA) += nf_conntrack_amanda.o
28obj-$(CONFIG_NF_CONNTRACK_FTP) += nf_conntrack_ftp.o
29obj-$(CONFIG_NF_CONNTRACK_H323) += nf_conntrack_h323.o
30obj-$(CONFIG_NF_CONNTRACK_IRC) += nf_conntrack_irc.o
31obj-$(CONFIG_NF_CONNTRACK_NETBIOS_NS) += nf_conntrack_netbios_ns.o
32obj-$(CONFIG_NF_CONNTRACK_PPTP) += nf_conntrack_pptp.o
33obj-$(CONFIG_NF_CONNTRACK_SANE) += nf_conntrack_sane.o
34obj-$(CONFIG_NF_CONNTRACK_SIP) += nf_conntrack_sip.o
35obj-$(CONFIG_NF_CONNTRACK_TFTP) += nf_conntrack_tftp.o
36
37# generic X tables
38obj-$(CONFIG_NETFILTER_XTABLES) += x_tables.o xt_tcpudp.o
39
40# targets
41obj-$(CONFIG_NETFILTER_XT_TARGET_CLASSIFY) += xt_CLASSIFY.o
42obj-$(CONFIG_NETFILTER_XT_TARGET_CONNMARK) += xt_CONNMARK.o
43obj-$(CONFIG_NETFILTER_XT_TARGET_CONNSECMARK) += xt_CONNSECMARK.o
44obj-$(CONFIG_NETFILTER_XT_TARGET_DSCP) += xt_DSCP.o
45obj-$(CONFIG_NETFILTER_XT_TARGET_MARK) += xt_MARK.o
46obj-$(CONFIG_NETFILTER_XT_TARGET_NFLOG) += xt_NFLOG.o
47obj-$(CONFIG_NETFILTER_XT_TARGET_NFQUEUE) += xt_NFQUEUE.o
48obj-$(CONFIG_NETFILTER_XT_TARGET_NOTRACK) += xt_NOTRACK.o
49obj-$(CONFIG_NETFILTER_XT_TARGET_RATEEST) += xt_RATEEST.o
50obj-$(CONFIG_NETFILTER_XT_TARGET_SECMARK) += xt_SECMARK.o
51obj-$(CONFIG_NETFILTER_XT_TARGET_TCPMSS) += xt_TCPMSS.o
52obj-$(CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP) += xt_TCPOPTSTRIP.o
53obj-$(CONFIG_NETFILTER_XT_TARGET_TRACE) += xt_TRACE.o
54
55# matches
56obj-$(CONFIG_NETFILTER_XT_MATCH_COMMENT) += xt_comment.o
57obj-$(CONFIG_NETFILTER_XT_MATCH_CONNBYTES) += xt_connbytes.o
58obj-$(CONFIG_NETFILTER_XT_MATCH_CONNLIMIT) += xt_connlimit.o
59obj-$(CONFIG_NETFILTER_XT_MATCH_CONNMARK) += xt_connmark.o
60obj-$(CONFIG_NETFILTER_XT_MATCH_CONNTRACK) += xt_conntrack.o
61obj-$(CONFIG_NETFILTER_XT_MATCH_DCCP) += xt_dccp.o
62obj-$(CONFIG_NETFILTER_XT_MATCH_DSCP) += xt_dscp.o
63obj-$(CONFIG_NETFILTER_XT_MATCH_ESP) += xt_esp.o
64obj-$(CONFIG_NETFILTER_XT_MATCH_HASHLIMIT) += xt_hashlimit.o
65obj-$(CONFIG_NETFILTER_XT_MATCH_HELPER) += xt_helper.o
66obj-$(CONFIG_NETFILTER_XT_MATCH_IPRANGE) += xt_iprange.o
67obj-$(CONFIG_NETFILTER_XT_MATCH_LENGTH) += xt_length.o
68obj-$(CONFIG_NETFILTER_XT_MATCH_LIMIT) += xt_limit.o
69obj-$(CONFIG_NETFILTER_XT_MATCH_MAC) += xt_mac.o
70obj-$(CONFIG_NETFILTER_XT_MATCH_MARK) += xt_mark.o
71obj-$(CONFIG_NETFILTER_XT_MATCH_MULTIPORT) += xt_multiport.o
72obj-$(CONFIG_NETFILTER_XT_MATCH_OWNER) += xt_owner.o
73obj-$(CONFIG_NETFILTER_XT_MATCH_PHYSDEV) += xt_physdev.o
74obj-$(CONFIG_NETFILTER_XT_MATCH_PKTTYPE) += xt_pkttype.o
75obj-$(CONFIG_NETFILTER_XT_MATCH_POLICY) += xt_policy.o
76obj-$(CONFIG_NETFILTER_XT_MATCH_QUOTA) += xt_quota.o
77obj-$(CONFIG_NETFILTER_XT_MATCH_RATEEST) += xt_rateest.o
78obj-$(CONFIG_NETFILTER_XT_MATCH_REALM) += xt_realm.o
79obj-$(CONFIG_NETFILTER_XT_MATCH_SCTP) += xt_sctp.o
80obj-$(CONFIG_NETFILTER_XT_MATCH_STATE) += xt_state.o
81obj-$(CONFIG_NETFILTER_XT_MATCH_STATISTIC) += xt_statistic.o
82obj-$(CONFIG_NETFILTER_XT_MATCH_STRING) += xt_string.o
83obj-$(CONFIG_NETFILTER_XT_MATCH_TCPMSS) += xt_tcpmss.o
84obj-$(CONFIG_NETFILTER_XT_MATCH_TIME) += xt_time.o
85obj-$(CONFIG_NETFILTER_XT_MATCH_U32) += xt_u32.o
86