From: rdm Date: Mon, 10 Nov 2003 15:02:38 +0000 (+0000) Subject: re-direct warnings of rmkdepend about not found system include files X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=08d48be92b141a61c546673d2ecb880367f87459;hp=a7d110b8f25f51fca9b4f9ee1edfe0a99f171f89;p=u%2Fmrichter%2FAliRoot.git re-direct warnings of rmkdepend about not found system include files to /dev/null. Only generate dependencies on ROOT and AliRoot, not on system or compiler specific files. --- diff --git a/share/alibtool b/share/alibtool index 0b4276376c1..6a912f2a187 100755 --- a/share/alibtool +++ b/share/alibtool @@ -8,6 +8,9 @@ # # modification history # $Log$ +# Revision 1.6 2003/07/13 09:26:14 hristov +# Transition to NewIO +# # Revision 1.5 2003/05/02 15:11:52 hristov # Changes to avoid warnings (I.Hrivnacova) # @@ -41,7 +44,7 @@ # # This scipts is called with a primary command and a commandparameter. It generates output on stdout, so normally it is called with a redirection like # -# alibtool mkmoudle STEER > STEER/module.mk +# alibtool mkmodule STEER > STEER/module.mk # # The command is one of the following # @@ -51,7 +54,7 @@ # dependF # Makes the dependencies for the file specified as second argument (fortran files) # -# mkmoudle +# mkmodule # Creates the module.mk for the the given directory specified as the second argument. # # MKMOUDLE @@ -79,16 +82,11 @@ MkDepend() { -IPATH="-I$ROOTSYS/cint/include" -IPATH=$IPATH" -I/usr/include/g++-2" #Linux gcc 2.x -IPATH=$IPATH" -I/opt/SUNWspro/WS6U1/include/CC/Cstd" #Sun CC5 -IPATH=$IPATH" -I/usr/include/cxx" #DEC cxx -IPATH=$IPATH" -I/opt/aCC/include" #HP-UX aCC -rmkdepend -f- -w 3000 -- $IPATH $* | 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 -- $* | 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()