#
# modification history
# $Log$
+# Revision 1.11 2006/05/24 10:10:20 hristov
+# Correct dependences for files from subdirecties (Matevz)
+#
+# Revision 1.10.4.1 2006/05/24 10:09:05 hristov
+# Correct dependences for files from subdirecties (Matevz)
+#
+# Revision 1.10 2005/06/14 11:11:19 alibrary
+# Always output at least one line
+#
+# Revision 1.9 2004/06/18 10:30:54 rdm
+# fix typo in comment.
+#
+# Revision 1.8 2004/06/03 23:41:51 rdm
+# wrap some insanely long lines into mulitple lines.
+#
# Revision 1.7 2003/11/10 15:02:38 rdm
# re-direct warnings of rmkdepend about not found system include files
# to /dev/null. Only generate dependencies on ROOT and AliRoot, not on
#
#
# SYNOPSIS
-# alirun <command> <commandparameters>
+# alibtool <command> <commandparameters>
#
# command must be one of the following:
#
MkDepend()
{
-rmkdepend -f- -Y -w 3000 -- $* 2>/dev/null | sed -e "s@^\(.*\)\/\(.*\)\.o:@\1\/tgt_${ALICE_TARGET}\/\2.d \1\/tgt_${ALICE_TARGET}/\\2.o:@" -e 's@^#.*$@@' -e '/^$/d'
+echo "#"
+rmkdepend -f- -Y -w 3000 -- $* 2>/dev/null | sed -e "s@^\([^/]*\)\/\(.*\)\.o:@\1\/tgt_${ALICE_TARGET}\/\2.d \1\/tgt_${ALICE_TARGET}/\\2.o:@" -e 's@^#.*$@@' -e '/^$/d'
+# rmkdepend -f- -Y -w 3000 -- $* 2>/dev/null | sed -e "s@^\(.*\)\/\(.*\)\.o:@\1\/tgt_${ALICE_TARGET}\/\2.d \1\/tgt_${ALICE_TARGET}/\\2.o:@" -e 's@^#.*$@@' -e '/^$/d'
}
MkDependF()
{
-rmkdepend -f- -Y -w 3000 -- $* 2>/dev/null | sed -e "s@^\(.*\)\/\(.*\)\.o:@\1\/tgt_${ALICE_TARGET}\/\2.d \1\/tgt_${ALICE_TARGET}/\\2.o:@" -e 's@^#.*$@@' -e '/^$/d'
+echo "#"
+rmkdepend -f- -Y -w 3000 -- $* 2>/dev/null | sed -e "s@^\([^/]*\)\/\(.*\)\.o:@\1\/tgt_${ALICE_TARGET}\/\2.d \1\/tgt_${ALICE_TARGET}/\\2.o:@" -e 's@^#.*$@@' -e '/^$/d'
+# rmkdepend -f- -Y -w 3000 -- $* 2>/dev/null | sed -e "s@^\(.*\)\/\(.*\)\.o:@\1\/tgt_${ALICE_TARGET}\/\2.d \1\/tgt_${ALICE_TARGET}/\\2.o:@" -e 's@^#.*$@@' -e '/^$/d'
}
MkModule()