--- ray/makeall 2009/10/31 22:29:06 1.24 +++ ray/makeall 2012/06/29 16:18:02 1.28 @@ -1,5 +1,5 @@ #!/bin/csh -f -# RCSid $Id: makeall,v 1.24 2009/10/31 22:29:06 greg Exp $ +# RCSid $Id: makeall,v 1.28 2012/06/29 16:18:02 greg Exp $ # # Make all the Radiance programs # @@ -11,7 +11,7 @@ if ( $#argv < 1 ) then endif if ( "$1" == library ) then source installib - cp -f src/*/*.{cal,tab,hex} $ldir + cp -f src/*/*.{cal,tab,hex,dat} $ldir echo "" echo "Set the environment variable RAYPATH=.:$ldir" echo 'For C-shell users, put the following into ~/.cshrc' @@ -65,13 +65,6 @@ if ( ! -d $idir ) then goto again1 endif endif -if ( ! -d $idir/dev ) then - mkdir $idir/dev - if ( $status ) then - echo "Cannot create subdirectory, please reenter" - goto again1 - endif -endif set inpath=0 foreach i ( $path ) if ( "$i" == "$idir" ) then @@ -84,7 +77,7 @@ if ( "`ls -tL $rmake $0 |& head -1`" == $rmake ) then goto gotrmake endif set newrmake -more src/common/copyright.h +more License.txt echo -n "Do you understand and accept the terms of this agreement [n]? " set ans="$<" if ( "$ans" !~ [yY]* ) exit @@ -114,7 +107,7 @@ case 1: # SPARC Station set arch=sun set mach="-I/usr/openwin/include -L/usr/openwin/lib -DNOSTEREO" set opt="-O" - set compat="strcmp.o" + set compat="strcmp.o timegm.o" breaksw case 2: # Linux set mach="-Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO" @@ -152,6 +145,8 @@ case 6: # Other echo -n "Are you using the GNU C compiler [n]? " if ( "$<" =~ [yY]* ) then set extras="CC=gcc" + else + set compat="$compat timegm.o" endif set arch=other breaksw