Whamcloud - gitweb
7d1e229e951f1164e99dcded704cf68d24696b8b
[fs/lustre-release.git] / 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
13 ldiskfs_sources := $(notdir $(ext3_sources) $(ext3_headers)) $(new_sources)
14
15 ldiskfs-objs := $(filter %.o,$(ldiskfs_sources:.c=.o))
16
17 EXTRA_PRE_CFLAGS := -I@LINUX@/fs -I@LUSTRE@ -I@LUSTRE@/ldiskfs
18
19 @INCLUDE_RULES@