backfs_headers := $(wildcard @EXT_DIR@/*.h)
linux_headers := $(wildcard @LINUX@/include/linux/ext4*.h)
linux_new_headers := dynlocks.h
-@LDISKFS_PDO_TRUE@linux_new_headers += htree_lock.h
+linux_new_headers += htree_lock.h
trace_headers := $(wildcard @LINUX@/include/trace/events/ext4*.h)
backfs_sources := $(filter-out %.mod.c,$(wildcard @EXT_DIR@/*.c))
ext3_new_headers := ext3_extents.h
ext4_new_sources := dynlocks.c fiemap.h mmp.c
-@LDISKFS_PDO_TRUE@ext4_new_sources += htree_lock.c
+ext4_new_sources += htree_lock.c
ext4_new_headers :=
new_sources := $(ext4_new_sources)
###############################
EXTRA_CFLAGS += -I@LINUX@/fs -I@LDISKFSDIR@
+EXTRA_CFLAGS += -include @abs_top_builddir@/ldiskfs/ldiskfs_config.h
EXTRA_CFLAGS += -include @abs_top_builddir@/config.h
obj-m := ldiskfs.o
clean:
$(MAKE) -C @LINUX_OBJ@ M=$(shell pwd) $@
- if [ -f @LINUX_SYMBOLS@ ]; then $(RM) @LINUX_SYMBOLS@; fi
if [ -f Module.markers ]; then $(RM) Module.markers; fi
+distclean:
+ -rm -f Makefile
+
+maintainer-clean:
+ -rm -f Makefile
+
modules_install:
@# Install the kernel modules
$(MAKE) -C @LINUX_OBJ@ M=$(shell pwd) \