187b2d440SDavid HerrmannCFLAGS += -D_FILE_OFFSET_BITS=64 24f5ce5e8SDavid HerrmannCFLAGS += -I../../../../include/uapi/ 34f5ce5e8SDavid HerrmannCFLAGS += -I../../../../include/ 44f5ce5e8SDavid Herrmann 54f5ce5e8SDavid Herrmannall: 64f5ce5e8SDavid Herrmann gcc $(CFLAGS) memfd_test.c -o memfd_test 74f5ce5e8SDavid Herrmann 85e29a910SMichael EllermanTEST_PROGS := memfd_test 95e29a910SMichael Ellerman 105e29a910SMichael Ellermaninclude ../lib.mk 114f5ce5e8SDavid Herrmann 1287b2d440SDavid Herrmannbuild_fuse: 1387b2d440SDavid Herrmann gcc $(CFLAGS) fuse_mnt.c `pkg-config fuse --cflags --libs` -o fuse_mnt 1487b2d440SDavid Herrmann gcc $(CFLAGS) fuse_test.c -o fuse_test 1587b2d440SDavid Herrmann 1687b2d440SDavid Herrmannrun_fuse: build_fuse 1787b2d440SDavid Herrmann @./run_fuse_test.sh || echo "fuse_test: [FAIL]" 1887b2d440SDavid Herrmann 194f5ce5e8SDavid Herrmannclean: 2087b2d440SDavid Herrmann $(RM) memfd_test fuse_test 21