1 SUBDIRS := @LDISKFS_SUBDIR@ @SPL_SUBDIR@ @ZFS_SUBDIR@ . @LIBSYSIO_SUBDIR@ @SNMP_SUBDIR@ @LUSTREIOKIT_SUBDIR@ @LIBCFS_SUBDIR@ lnet lustre
2 DIST_SUBDIRS := @SNMP_DIST_SUBDIR@ libsysio ldiskfs @LUSTREIOKIT_SUBDIR@ @LIBCFS_SUBDIR@ lnet lustre
3 SOURCES_SUBDIRS := @LDISKFS_SUBDIR@ @LIBCFS_SUBDIR@ lnet lustre
4 RPM_SUBDIRS := @LDISKFS_SUBDIR@ @LUSTREIOKIT_SUBDIR@
7 EXTRA_SOURCES := @SYMVERFILE@
11 include build/autoMakefile.am.toplevel
13 EXTRA_DIST += config.h.in debian/*
17 @SYMVERFILE@: @LDISKFS_DIR@/@SYMVERFILE@
19 -grep -v ldiskfs @SYMVERFILE@ > @SYMVERFILE@.old
20 cat @SYMVERFILE@.old @LDISKFS_DIR@/@SYMVERFILE@ > @SYMVERFILE@
25 CSTKO=/tmp/checkstack.orig
28 [ -f ${CSTK} -a ! -s ${CSTKO} ] && mv -f ${CSTK} ${CSTKO} || true
29 { for MOD in $$(find . -name "*.ko"); do \
30 objdump -d $$MOD | perl build/checkstack.pl; \
31 done } | grep -v " bug " | sort -nr | uniq > ${CSTK}
32 [ -f ${CSTKO} ] && ! diff -u ${CSTKO} ${CSTK} || head -30 ${CSTK}
35 [ -f ${CSTK} ] && mv -f ${CSTK} ${CSTKO}
38 rm -f ${CSTK} ${CSTKO}
41 if [ -d CVS -o -d .git ]; then \
42 perl lustre/scripts/tree_status.pl > $(distdir)/tree_status; \
43 elif [ -f tree_status ]; then \
44 cp tree_status $(distdir)/tree_status; \
46 echo -e "I have no idea how to create a tree_status file in $(distdir).\nPlease file a bug at http://bugzilla.lustre.org/"; \