SOURCES_SUBDIRS := @LDISKFS_SUBDIR@ @LIBCFS_SUBDIR@ lnet lustre
RPM_SUBDIRS := @LDISKFS_SUBDIR@ @LUSTREIOKIT_SUBDIR@
if LDISKFS_ENABLED
+if !LDISKFS_IN_KERNEL
EXTRA_SOURCES := @SYMVERFILE@
endif
+endif
include build/autoMakefile.am.toplevel
EXTRA_DIST += config.h.in
if LDISKFS_ENABLED
+if !LDISKFS_IN_KERNEL
@SYMVERFILE@: @LDISKFS_DIR@/@SYMVERFILE@
touch @SYMVERFILE@
-grep -v ldiskfs @SYMVERFILE@ > @SYMVERFILE@.old
cat @SYMVERFILE@.old @LDISKFS_DIR@/@SYMVERFILE@ > @SYMVERFILE@
endif
+endif
CSTK=/tmp/checkstack
CSTKO=/tmp/checkstack.orig
module-dist-hook:
if [ -d CVS -o -d .git ]; then \
perl lustre/scripts/tree_status.pl > $(distdir)/tree_status; \
+ elif [ -f tree_status ]; then \
+ cp tree_status $(distdir)/tree_status; \
+ else \
+ echo -e "I have no idea how to create a tree_status file in $(distdir).\nPlease file a bug at http://bugzilla.lustre.org/"; \
fi