ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/makeall
(Generate patch)

Comparing ray/makeall (file contents):
Revision 1.4 by greg, Tue Apr 29 15:27:49 2003 UTC vs.
Revision 1.8 by greg, Thu Jul 17 15:31:26 2003 UTC

# Line 1 | Line 1
1   #!/bin/csh -f
2   # RCSid $Id$
3   #
4 #Added macosX 2001-04-11 by Jean Brange
5 #Deleted obsolete systems 2001-04-18 by Greg Ward
6 #
4   # Make all the Radiance programs
5   #
6   if ( $#argv < 1 ) then
# Line 14 | Line 11 | if ( $#argv < 1 ) then
11   endif
12   if ( "$1" == library ) then
13          source installib
14 +        cp -f src/*/*.{cal,tab,hex} $ldir
15          echo ""
16          echo "Set the environment variable RAYPATH=.:$ldir"
17          echo 'For C-shell users, put the following into ~/.cshrc'
# Line 179 | Line 177 | case 3:                        # Silicon Graphics
177          endsw
178          breaksw
179   case 4:                 # AIX
182        set mach="-Dvoid=char -D_NO_PROTO -DINCL_SEL_H"
180          set opt="-O"
181 <        set compat="bmalloc.o erf.o"
181 >        set compat="bmalloc.o erf.o strcmp.o"
182 >        set arch=PowerPC
183          breaksw
184   case 5:                 # BSDI BSD/386
185          set mach="-DBSD -L/usr/X11/lib -I/usr/X11/include"
# Line 190 | Line 188 | case 5:                        # BSDI BSD/386
188          set compat="malloc.o erf.o strcmp.o"
189          breaksw
190   case 6:                 # Linux
191 <        set mach="-Dlinux -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO"
191 >        set mach="-Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO"
192          set opt="-O2 -DSPEED=200"
193          set arch=IBMPC
194          set compat="bmalloc.o erf.o getpagesize.o"
# Line 218 | Line 216 | case 9:                        # Other
216          if ( "$<" =~ [yY]* ) then
217                  set extras="CC=gcc"
218          endif
219 +        set arch=other
220          breaksw
221   default:
222          echo "Illegal choice\!"
# Line 225 | Line 224 | default:
224          exit 1
225          breaksw
226   endsw
228 # We don't seem to have any more cramped machines out there, so...
229 set mem="-DBIGMEM"
230 if ( $?mem ) then
231        set mach="$mach $mem"
232 else
233        echo -n "Does the target machine have more than 24 Mbytes of RAM? "
234        set ans="$<"
235        if ( "$ans" =~ [yY]* ) then
236                echo -n "More than 96 Mbytes? "
237                set ans="$<"
238                if ( "$ans" =~ [yY]* ) then
239                        set mach="$mach -DBIGMEM"
240                        set sizemod="huge models (100,000+ surfaces)"
241                else
242                        set sizemod="very large models (30,000+ surfaces)"
243                endif
244        else
245                set sizemod="large models (10,000+ surfaces)"
246        endif
247 endif
248 # echo "Do you expect to be rendering $sizemod?"
249 # echo -n '(Answering "yes" may adversly affect rendering time and geometric accuracy) '
250 # set ans="$<"
251 # if ( "$ans" =~ [yY]* ) then
252 #       set opt="$opt -DSMLFLT"
253 # endif
254 # echo -n "Do you have X10 support [n]? "
255 # if ( "$<" =~ [yY]* ) then
256 #       set special="$special x10"
257 # endif
227   source installib
228   sed 's/[        ]*$//' > $rmake << _EOF_
229   #!/bin/sh

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines