57 lines · 1.6 KB · Makefile
RawDownload
# SPDX-License-Identifier: GPL-2.0## Makefile for the netfilter modules on top of IPv4.# # defragobj-$(CONFIG_NF_DEFRAG_IPV4) += nf_defrag_ipv4.o obj-$(CONFIG_NF_SOCKET_IPV4) += nf_socket_ipv4.oobj-$(CONFIG_NF_TPROXY_IPV4) += nf_tproxy_ipv4.o # rejectobj-$(CONFIG_NF_REJECT_IPV4) += nf_reject_ipv4.o # NAT helpers (nf_conntrack)obj-$(CONFIG_NF_NAT_H323) += nf_nat_h323.oobj-$(CONFIG_NF_NAT_PPTP) += nf_nat_pptp.o nf_nat_snmp_basic-y := nf_nat_snmp_basic.asn1.o nf_nat_snmp_basic_main.o$(obj)/nf_nat_snmp_basic_main.o: $(obj)/nf_nat_snmp_basic.asn1.hobj-$(CONFIG_NF_NAT_SNMP_BASIC) += nf_nat_snmp_basic.o obj-$(CONFIG_NFT_REJECT_IPV4) += nft_reject_ipv4.oobj-$(CONFIG_NFT_FIB_IPV4) += nft_fib_ipv4.oobj-$(CONFIG_NFT_DUP_IPV4) += nft_dup_ipv4.o # generic IP tablesobj-$(CONFIG_IP_NF_IPTABLES_LEGACY) += ip_tables.o # the three instances of ip_tablesobj-$(CONFIG_IP_NF_FILTER) += iptable_filter.oobj-$(CONFIG_IP_NF_MANGLE) += iptable_mangle.oobj-$(CONFIG_IP_NF_NAT) += iptable_nat.oobj-$(CONFIG_IP_NF_RAW) += iptable_raw.oobj-$(CONFIG_IP_NF_SECURITY) += iptable_security.o # matchesobj-$(CONFIG_IP_NF_MATCH_AH) += ipt_ah.oobj-$(CONFIG_IP_NF_MATCH_RPFILTER) += ipt_rpfilter.o # targetsobj-$(CONFIG_IP_NF_TARGET_ECN) += ipt_ECN.oobj-$(CONFIG_IP_NF_TARGET_REJECT) += ipt_REJECT.oobj-$(CONFIG_IP_NF_TARGET_SYNPROXY) += ipt_SYNPROXY.o # generic ARP tablesobj-$(CONFIG_IP_NF_ARPTABLES) += arp_tables.oobj-$(CONFIG_IP_NF_ARP_MANGLE) += arpt_mangle.o # just filtering instance of ARP tables for nowobj-$(CONFIG_IP_NF_ARPFILTER) += arptable_filter.o obj-$(CONFIG_NF_DUP_IPV4) += nf_dup_ipv4.o ifdef CONFIG_GCOV_PROFILE_NETFILTERGCOV_PROFILE := yendif