1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2a6f68034SDavid S. Miller# Makefile for net selftests 3a6f68034SDavid S. Miller 43c2c3c16SDaniel BorkmannCFLAGS = -Wall -Wl,--no-as-needed -O2 -g 5a6f68034SDavid S. MillerCFLAGS += -I../../../../usr/include/ 6a6f68034SDavid S. Miller 733b01b7bSFlorian WestphalTEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh rtnetlink.sh 8b2d6cee1SDavid S. MillerTEST_PROGS += fib_tests.sh fib-onlink-tests.sh pmtu.sh udpgso.sh 9*75f0139fSWillem de BruijnTEST_PROGS += udpgso_bench.sh fib_rule_tests.sh msg_zerocopy.sh psock_snd.sh 101751eb42SAnders RoxellTEST_PROGS_EXTENDED := in_netns.sh 1188baa78dSbamvor.zhangjian@huawei.comTEST_GEN_FILES = socket 12e06d79fbSJosef BacikTEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy 13*75f0139fSWillem de BruijnTEST_GEN_FILES += tcp_mmap tcp_inq psock_snd 146328c95cSAnders RoxellTEST_GEN_FILES += udpgso udpgso_bench_tx udpgso_bench_rx 15e06d79fbSJosef BacikTEST_GEN_PROGS = reuseport_bpf reuseport_bpf_cpu reuseport_bpf_numa 16e06d79fbSJosef BacikTEST_GEN_PROGS += reuseport_dualstack reuseaddr_conflict 175e29a910SMichael Ellerman 185e29a910SMichael Ellermaninclude ../lib.mk 195e29a910SMichael Ellerman 206dff86a3SSeongJae Park$(OUTPUT)/reuseport_bpf_numa: LDFLAGS += -lnuma 21192dc405SEric Dumazet$(OUTPUT)/tcp_mmap: LDFLAGS += -lpthread 22702353b5SSoheil Hassas Yeganeh$(OUTPUT)/tcp_inq: LDFLAGS += -lpthread 23