2017-02-10 07:21:38 +08:00
|
|
|
CFLAGS += -Wall -O2 -lcap -I../../../include/uapi -I../../../lib
|
2016-10-17 20:28:36 +08:00
|
|
|
|
2017-01-24 08:06:29 +08:00
|
|
|
test_objs = test_verifier test_tag test_maps test_lru_map test_lpm_map
|
2016-10-17 20:28:36 +08:00
|
|
|
|
2017-01-24 08:06:29 +08:00
|
|
|
TEST_PROGS := $(test_objs) test_kmod.sh
|
2016-10-17 20:28:36 +08:00
|
|
|
TEST_FILES := $(test_objs)
|
|
|
|
|
|
|
|
all: $(test_objs)
|
|
|
|
|
2017-02-10 07:21:38 +08:00
|
|
|
$(test_objs): ../../../lib/bpf/bpf.o
|
|
|
|
|
2016-10-17 20:28:36 +08:00
|
|
|
include ../lib.mk
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) $(test_objs)
|