Whamcloud - gitweb
LU-14745 tests: ensure sanity/51d has enough objects
[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 backfs_sources := $(filter-out %.mod.c %/inode-test.c,$(wildcard @EXT4_SRC_DIR@/*.c))
14
15 new_sources := mmp.c htree_lock.c critical_encode.h
16 new_headers :=
17
18 ldiskfs_patched_sources := $(notdir $(backfs_sources) $(backfs_headers)) $(new_sources) $(new_headers)
19 ldiskfs_sources := $(ldiskfs_patched_sources)
20
21 ldiskfs-objs := $(filter %.o,$(ldiskfs_sources:.c=.o))
22
23 EXTRA_PRE_CFLAGS := -I@LINUX@/fs -I@abs_top_srcdir@/ldiskfs
24
25 @INCLUDE_RULES@