Whamcloud - gitweb
LU-140 Remove leftovers of iopen
[fs/lustre-release.git] / ldiskfs / 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/@BACKFS@/Makefile)
7
8 backfs_headers := $(wildcard @LINUX@/fs/@BACKFS@/*.h)
9 linux_headers := $(wildcard @LINUX@/include/linux/@BACKFS@*.h)
10 trace_headers := $(wildcard @LINUX@/include/trace/events/@BACKFS@*.h)
11
12 backfs_sources := $(filter-out %.mod.c,$(wildcard @LINUX@/fs/@BACKFS@/*.c))
13
14 ext3_new_sources := iopen.c iopen.h extents.c mballoc.c group.h dynlocks.c fiemap.h
15 ext3_new_headers := ext3_extents.h
16
17 ext4_new_sources := iopen.c iopen.h  dynlocks.c fiemap.h
18 ext4_new_headers :=
19
20 new_sources := $(@BACKFS@_new_sources)
21 new_headers := $(@BACKFS@_new_headers)
22
23 ldiskfs_patched_sources := $(notdir $(backfs_sources) $(backfs_headers)) $(new_sources) $(new_headers)
24 ldiskfs_sources := $(ldiskfs_patched_sources)
25
26 ldiskfs-objs := $(filter %.o,$(ldiskfs_sources:.c=.o))
27
28 EXTRA_PRE_CFLAGS := -I@LINUX@/fs -I@LDISKFSDIR@
29
30 @INCLUDE_RULES@