David S. Miller | a6f6803 | 2013-03-20 15:07:56 -0400 | [diff] [blame] | 1 | # Makefile for net selftests |
| 2 | |
Daniel Borkmann | 3c2c3c1 | 2016-10-21 12:46:34 +0200 | [diff] [blame] | 3 | CFLAGS = -Wall -Wl,--no-as-needed -O2 -g |
David S. Miller | a6f6803 | 2013-03-20 15:07:56 -0400 | [diff] [blame] | 4 | CFLAGS += -I../../../../usr/include/ |
| 5 | |
Florian Westphal | 33b01b7b | 2017-08-10 16:53:02 +0200 | [diff] [blame] | 6 | TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh rtnetlink.sh |
bamvor.zhangjian@huawei.com | 88baa78 | 2016-11-29 19:55:47 +0800 | [diff] [blame] | 7 | TEST_GEN_FILES = socket |
Josef Bacik | e06d79f | 2017-09-19 09:51:27 -0400 | [diff] [blame] | 8 | TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy |
| 9 | TEST_GEN_PROGS = reuseport_bpf reuseport_bpf_cpu reuseport_bpf_numa |
| 10 | TEST_GEN_PROGS += reuseport_dualstack reuseaddr_conflict |
Michael Ellerman | 5e29a91 | 2015-03-11 15:05:59 +1100 | [diff] [blame] | 11 | |
| 12 | include ../lib.mk |
| 13 | |
SeongJae Park | 6dff86a | 2017-06-18 09:56:04 +0900 | [diff] [blame] | 14 | $(OUTPUT)/reuseport_bpf_numa: LDFLAGS += -lnuma |