1# SPDX-License-Identifier: GPL-2.0 2# Makefile for netfilter selftests 3 4TEST_PROGS := nft_trans_stress.sh nft_fib.sh nft_nat.sh bridge_brouter.sh \ 5 conntrack_icmp_related.sh nft_flowtable.sh ipvs.sh \ 6 nft_concat_range.sh nft_conntrack_helper.sh \ 7 nft_queue.sh nft_meta.sh nf_nat_edemux.sh \ 8 ipip-conntrack-mtu.sh conntrack_tcp_unreplied.sh \ 9 conntrack_vrf.sh nft_synproxy.sh rpath.sh nft_audit.sh \ 10 conntrack_sctp_collision.sh xt_string.sh 11 12HOSTPKG_CONFIG := pkg-config 13 14CFLAGS += $(shell $(HOSTPKG_CONFIG) --cflags libmnl 2>/dev/null) 15LDLIBS += $(shell $(HOSTPKG_CONFIG) --libs libmnl 2>/dev/null || echo -lmnl) 16 17TEST_GEN_FILES = nf-queue connect_close audit_logread sctp_collision 18 19include ../lib.mk 20