X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=share%2Falibtool;h=b6be146a925ef1b8a9f50b41b9b0ce857a34db4d;hb=52c2ccbd88a9bd390798e1d89ef6737d91e39e30;hp=d0ec366340e6663e84706a9ea4009ecf10c4e1c0;hpb=c183703b84fc32612d41e3bb40015fbfa22fda50;p=u%2Fmrichter%2FAliRoot.git diff --git a/share/alibtool b/share/alibtool index d0ec366340e..b6be146a925 100755 --- a/share/alibtool +++ b/share/alibtool @@ -8,6 +8,15 @@ # # 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. # @@ -128,19 +137,21 @@ MkDepend() { 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' +# 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() { 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' +# 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() { module=$1 #This one gets all the library pkg files -tempo=`find ${module} -name "lib*.pkg" | sed -e "sQ${module}/libQQ" -e "sQ\.pkgQQ"` +tempo=`find ${module} -follow -name "lib*.pkg" | sed -e "sQ${module}/libQQ" -e "sQ\.pkgQQ"` echo "#**************************************************************************"; echo "#**** This file is automatically generated from the mkmodules script *****"; @@ -154,7 +165,7 @@ for i in $tempo; do done; #This one gets all the binary(executable) pkg files -tempo=`find ${module} -name "bin*.pkg" | sed -e "sQ${module}/binQQ" -e "sQ\.pkgQQ"` +tempo=`find ${module} -follow -name "bin*.pkg" | sed -e "sQ${module}/binQQ" -e "sQ\.pkgQQ"` for i in $tempo; do package=$i;