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 fuse_test fuse_mnt 8TEST_PROGS := run_fuse_test.sh run_hugetlbfs_test.sh 9 10fuse_mnt.o: CFLAGS += $(shell pkg-config fuse --cflags) 11 12include ../lib.mk 13 14$(OUTPUT)/fuse_mnt: LDLIBS += $(shell pkg-config fuse --libs) 15 16$(OUTPUT)/memfd_test: memfd_test.c common.c 17$(OUTPUT)/fuse_test: fuse_test.c common.c 18 19EXTRA_CLEAN = $(OUTPUT)/common.o 20