|
From: Joern E. <je...@us...> - 2002-05-05 01:42:16
|
Update of /cvsroot/squeak/squeak/platforms/unix/misc/util
In directory usw-pr-cvs1:/tmp/cvs-serv30060
Modified Files:
mkMake
Log Message:
* changed macro assignments from ":=" to "=", "A := $(A) ..." to "A += ..:"
so it also works with Solaris make
* lame emulation of GNU find's "-maxdepth" option because Solaris comes
with a find that doesn't know this option
Index: mkMake
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/unix/misc/util/mkMake,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** mkMake 7 Mar 2002 06:24:48 -0000 1.7
--- mkMake 5 May 2002 01:42:13 -0000 1.8
***************
*** 121,125 ****
# $1, $2, etc. directories to find header files
pruneOverridenHeaders() {
! basenames=`find "$@" -maxdepth 1 '(' -name '*.h' -o -name 'platform.exports' ')' -exec basename '{}' ';' | sort | uniq`
echo basenames: $basenames
for header in $basenames
--- 121,140 ----
# $1, $2, etc. directories to find header files
pruneOverridenHeaders() {
! #######################
! # basenames=`find "$@" -maxdepth 1 '(' -name '*.h' -o -name 'platform.exports' ')' -exec basename '{}' ';' | sort | uniq`
! #######################
! basenames=""
! for dir in "$@"
! do
! newnames=`ls "$dir"/*.h "$dir/platform.exports" 2>/dev/null`
! if [ "$newnames" ]
! then
! basenames="$newnames
! $basenames"
! fi
! done
! basenames=`echo "$basenames" | xargs -n 1 basename`
! basenames=`echo "$basenames" | sort | uniq`
! #######################
echo basenames: $basenames
for header in $basenames
***************
*** 210,214 ****
done
! echo "PLUGINS_O:=\$(PLUGINS_O) $PLUGINS_O"
echo ""
--- 225,229 ----
done
! echo "PLUGINS_O += $PLUGINS_O"
echo ""
***************
*** 288,290 ****
### inform any reader that the automatic part is over
! echo '### end of part generated by mkMake'
\ No newline at end of file
--- 303,305 ----
### inform any reader that the automatic part is over
! echo '### end of part generated by mkMake'
|