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)
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)
15 ldiskfs-objs := $(filter %.o,$(ldiskfs_sources:.c=.o))
17 EXTRA_PRE_CFLAGS := -I@LINUX@/fs -I@LUSTRE@ -I@LUSTRE@/ldiskfs