Changeset 1990 for LMDZ5/trunk/create_make_gcm
- Timestamp:
- Mar 5, 2014, 11:33:03 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/create_make_gcm
r1962 r1990 5 5 #set -xv 6 6 7 rm -f create_make_gcm.log8 7 9 8 machine=`hostname` 10 9 os=`uname` 11 10 gcm=`pwd` 11 logfile=$gcm/create_make_gcm.log 12 rm -f $logfile ; touch -f $logfile 12 13 libf=$gcm/libf 13 14 libo=$gcm/libo … … 144 145 done 145 146 echo 146 echo $listlib >> create_makeg_gcm.log147 echo $listlib >> $logfile 147 148 echo 148 149 echo "#==================================================================" … … 178 179 179 180 for stri in ` ( sed -e '/^[cC\!]/d' $trufile | sed -e "/\#include /s/\#include /XXnclude /" -e "/include /s/include /XXnclude /" -e "/INCLUDE /s/INCLUDE /XXnclude /" | sed -n "/XXnclude /s/XXnclude//p" | sed 's/\"//g' | sort | uniq ; sed -e '/^[cC\!]/d' $trufile | egrep -i '^ *use ' | sed -e 's/,/ /' | awk ' { print $2 } ' | sort | uniq ) ` ; do 180 echo $trufile $fili $stri >> create_make_gcm.log181 echo $trufile $fili $stri >> $logfile 181 182 strj=`echo $stri | tr [A-Z] [a-z]` 182 183 str2="" … … 191 192 libstr=$dirinc 192 193 fi 194 echo dirinc $dirinc >> $logfile 193 195 if [ -f $dirinc/$stri ] ; then 194 196 str2='$(LIBF)/'$dirstr/$stri … … 202 204 str2='$(LIBO)/lib'$strlib'.a('$stri'.o)' 203 205 fi 206 echo stri $stri >> $logfile 207 echo str2 $str2 >> $logfile 204 208 done 209 echo dernier str2 $str2 >> $logfile 205 210 if [ "$str2" = "" ] ; then 206 echo Warn: Include $diri $trufile $fili $stri pas trouve >> $ gcm/create_make_gcm.log211 echo Warn: Include $diri $trufile $fili $stri pas trouve >> $logfile 207 212 elif [ "$str2" = "$str1" ] ; then 208 echo Warn: Include $diri $trufile $fili $stri $str1 trouve 2x >> $ gcm/create_make_gcm.log213 echo Warn: Include $diri $trufile $fili $stri $str1 trouve 2x >> $logfile 209 214 else 210 215 echo $str1 \\
Note: See TracChangeset
for help on using the changeset viewer.