5 # copy makefile over to not break patches
6 ext3_extra := $(wildcard @LINUX@/fs/ext3/Makefile)
8 ext3_headers := $(wildcard @LINUX@/fs/ext3/*.h)
9 linux_headers := $(wildcard @LINUX@/include/linux/ext3*.h)
10 new_linux_hearders := ext3_extents.h
11 ext3_sources := $(filter-out %.mod.c,$(wildcard @LINUX@/fs/ext3/*.c))
12 new_sources := iopen.c iopen.h extents.c extents-in-ea.c mballoc.c
13 ldiskfs_sources := $(notdir $(ext3_sources) $(ext3_headers)) $(new_sources)
14 ldiskfs-objs := $(filter %.o,$(ldiskfs_sources:.c=.o))
16 EXTRA_PRE_CFLAGS := -I@LINUX@/fs -I@LUSTRE@ -I@LUSTRE@/ldiskfs