1# SPDX-License-Identifier: GPL-2.0 2CFLAGS += -D_FILE_OFFSET_BITS=64 3CFLAGS += -I../../../../include/uapi/ 4CFLAGS += -I../../../../include/ 5CFLAGS += -I../../../../usr/include/ 6 7TEST_GEN_PROGS := memfd_test 8TEST_PROGS := run_fuse_test.sh run_hugetlbfs_test.sh 9TEST_GEN_FILES := fuse_mnt fuse_test 10 11fuse_mnt.o: CFLAGS += $(shell pkg-config fuse --cflags) 12 13include ../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 20EXTRA_CLEAN = common.o 21