Whamcloud - gitweb
Branch b1_6
[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 ext3_extra := $(wildcard @LINUX@/fs/ext3/Makefile)
7
8 ext3_headers := $(wildcard @LINUX@/fs/ext3/*.h)
9 linux_headers := $(wildcard @LINUX@/include/linux/ext3*.h)
10
11 ext3_sources := $(filter-out %.mod.c,$(wildcard @LINUX@/fs/ext3/*.c))
12 new_sources := iopen.c iopen.h extents.c mballoc.c group.h
13 new_headers := ext3_extents.h 
14 ldiskfs_patched_sources := $(notdir $(ext3_sources) $(ext3_headers)) $(new_sources) $(new_headers)
15 ldiskfs_sources := $(ldiskfs_patched_sources)
16
17 ldiskfs-objs := $(filter %.o,$(ldiskfs_sources:.c=.o))
18
19 EXTRA_PRE_CFLAGS := -I@LINUX@/fs -I@LDISKFSDIR@
20
21 @INCLUDE_RULES@