1 # SPDX-License-Identifier: GPL-2.0 2 # 3 # First run: make -C ../../../.. headers_insta 4 5 CFLAGS += -Wall -O2 $(KHDR_INCLUDES) 6 7 LOCAL_HDRS += common.h 8 9 src_test := $(wildcard *_test.c) 10 11 TEST_GEN_PROGS := $(src_test:.c=) 12 13 TEST_GEN_PROGS_EXTENDED := true 14 15 # Short targets: 16 $(TEST_GEN_PROGS): LDLIBS += -lcap 17 $(TEST_GEN_PROGS_EXTENDED): LDFLAGS += -static 18 19 include ../lib.mk 20 21 # Targets with $(OUTPUT)/ prefix: 22 $(TEST_GEN_PROGS): LDLIBS += -lcap 23 $(TEST_GEN_PROGS_EXTENDED): LDFLAGS += -static
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.