xref: /openbmc/linux/tools/testing/selftests/memfd/Makefile (revision 88baa78d1f318e57c7cccbfe55d485befd1ce696)
152dd5576STyler BakerCC = $(CROSS_COMPILE)gcc
287b2d440SDavid HerrmannCFLAGS += -D_FILE_OFFSET_BITS=64
34f5ce5e8SDavid HerrmannCFLAGS += -I../../../../include/uapi/
44f5ce5e8SDavid HerrmannCFLAGS += -I../../../../include/
5ab923bb9STyler BakerCFLAGS += -I../../../../usr/include/
64f5ce5e8SDavid Herrmann
7*88baa78dSbamvor.zhangjian@huawei.comTEST_PROGS := run_fuse_test.sh
8*88baa78dSbamvor.zhangjian@huawei.comTEST_GEN_FILES := memfd_test fuse_mnt fuse_test
955f4d731SBen Hutchings
1055f4d731SBen Hutchingsfuse_mnt.o: CFLAGS += $(shell pkg-config fuse --cflags)
1155f4d731SBen Hutchingsfuse_mnt: LDFLAGS += $(shell pkg-config fuse --libs)
1287b2d440SDavid Herrmann
13*88baa78dSbamvor.zhangjian@huawei.cominclude ../lib.mk
1487b2d440SDavid Herrmann
15