Viewing: Makefile.in

default: all

MODULES := ldiskfs

# copy makefile over to not break patches
backfs_extra := $(wildcard @LINUX@/fs/ext4/Makefile)

backfs_headers := $(wildcard @EXT4_SRC_DIR@/*.h)
linux_headers := $(wildcard @LINUX@/include/linux/ext4*.h)
uapi_linux_headers := $(wildcard @LINUX@/include/uapi/linux/ext4*.h)
linux_new_headers := htree_lock.h
trace_headers := $(wildcard @LINUX@/include/trace/events/ext4*.h)
backfs_unit_tests := $(wildcard @EXT4_SRC_DIR@/*-test.c)

backfs_sources := $(filter-out %.mod.c $(backfs_unit_tests) @EXT4_CRYPTO@ @EXT4_VERITY@,$(wildcard @EXT4_SRC_DIR@/*.c))

new_sources := mmp.c htree_lock.c critical_encode.h encdata.h
new_headers :=

ldiskfs_patched_sources := $(notdir $(backfs_sources) $(backfs_headers)) $(new_sources) $(new_headers)
ldiskfs_sources := $(ldiskfs_patched_sources)

ldiskfs-objs := $(filter %.o,$(ldiskfs_sources:.c=.o))

EXTRA_PRE_CFLAGS := -I@LINUX@/fs -I@abs_top_srcdir@/ldiskfs

@INCLUDE_RULES@