1LIBDIR := ../../../lib
2BPFOBJ := $(LIBDIR)/bpf/bpf.o
3
4CFLAGS += -Wall -O2 -lcap -I../../../include/uapi -I$(LIBDIR)
5
6TEST_GEN_PROGS = test_verifier test_tag test_maps test_lru_map test_lpm_map
7
8TEST_PROGS := test_kmod.sh
9
10.PHONY: all clean force
11
12# force a rebuild of BPFOBJ when its dependencies are updated
13force:
14
15$(BPFOBJ): force
16	$(MAKE) -C $(dir $(BPFOBJ))
17
18$(test_objs): $(BPFOBJ)
19
20include ../lib.mk
21