1# SPDX-License-Identifier: GPL-2.0 2# Makefile for net selftests 3 4CFLAGS = -Wall -Wl,--no-as-needed -O2 -g 5CFLAGS += -I../../../../usr/include/ 6 7TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh rtnetlink.sh 8TEST_PROGS += fib_tests.sh 9TEST_GEN_FILES = socket 10TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy 11TEST_GEN_PROGS = reuseport_bpf reuseport_bpf_cpu reuseport_bpf_numa 12TEST_GEN_PROGS += reuseport_dualstack reuseaddr_conflict 13 14include ../lib.mk 15 16$(OUTPUT)/reuseport_bpf_numa: LDFLAGS += -lnuma 17