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/
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
11 fuse_mnt.o
: CFLAGS
+= $(shell pkg-config fuse
--cflags)
15 $(OUTPUT
)/fuse_mnt
: LDLIBS
+= $(shell pkg-config fuse
--libs
)
17 $(OUTPUT
)/memfd_test
: memfd_test.c common.o
18 $(OUTPUT
)/fuse_test
: fuse_test.c common.o
20 EXTRA_CLEAN
= common.o