1 # SPDX-License-Identifier: GPL-2.0 2 CFLAGS += -D_FILE_OFFSET_BITS=64 3 CFLAGS += -I../../../../include/uapi/ 4 CFLAGS += -I../../../../include/ 5 CFLAGS += -I../../../../usr/include/ 6 7 TEST_GEN_PROGS := memfd_test 8 TEST_PROGS := run_fuse_test.sh run_hugetlbfs_test.sh 9 TEST_GEN_FILES := fuse_mnt fuse_test 10 11 fuse_mnt.o: CFLAGS += $(shell pkg-config fuse --cflags) 12 13 include ../lib.mk 14 15 $(OUTPUT)/fuse_mnt: LDLIBS += $(shell pkg-config fuse --libs) 16 17 $(OUTPUT)/memfd_test: memfd_test.c common.o 18 $(OUTPUT)/fuse_test: fuse_test.c common.o 19 20 EXTRA_CLEAN = common.o 21