Whamcloud - gitweb
LU-16374 ldiskfs: round-up enc file size
[fs/lustre-release.git] / ldiskfs / Makefile.in
1 default: all
2
3 MODULES := ldiskfs
4
5 # copy makefile over to not break patches
6 backfs_extra := $(wildcard @LINUX@/fs/ext4/Makefile)
7
8 backfs_headers := $(wildcard @EXT4_SRC_DIR@/*.h)
9 linux_headers := $(wildcard @LINUX@/include/linux/ext4*.h)
10 linux_new_headers := htree_lock.h
11 trace_headers := $(wildcard @LINUX@/include/trace/events/ext4*.h)
12
13 ifeq ($(CONFIG_FS_ENCRYPTION),)
14 backfs_sources := $(filter-out %.mod.c %/inode-test.c %/crypto.c,$(wildcard @EXT4_SRC_DIR@/*.c))
15 else
16 backfs_sources := $(filter-out %.mod.c %/inode-test.c,$(wildcard @EXT4_SRC_DIR@/*.c))
17 endif
18
19 new_sources := mmp.c htree_lock.c critical_encode.h encdata.h
20 new_headers :=
21
22 ldiskfs_patched_sources := $(notdir $(backfs_sources) $(backfs_headers)) $(new_sources) $(new_headers)
23 ldiskfs_sources := $(ldiskfs_patched_sources)
24
25 ldiskfs-objs := $(filter %.o,$(ldiskfs_sources:.c=.o))
26
27 EXTRA_PRE_CFLAGS := -I@LINUX@/fs -I@abs_top_srcdir@/ldiskfs
28
29 @INCLUDE_RULES@