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.2 by greg, Fri Feb 28 20:06:51 2003 UTC vs.
Revision 1.4 by greg, Tue Apr 29 15:27:49 2003 UTC

# Line 50 | Line 50 | again1:
50   echo -n "Where do you want the executables [/usr/local/bin]? "
51   set idir=$<
52   (echo $idir) >/dev/null
53 < if ( $status ) goto again1
53 > if ( $status ) then
54 >        goto again1
55 > endif
56   set idir=$idir
57   if ( "$idir" == "" ) then
58          set idir=/usr/local/bin
# Line 73 | Line 75 | if ( ! -d $idir/dev ) then
75          endif
76   endif
77   set rmake=$idir/rmake
78 < if ( "`ls -tL $rmake $0 |& head -1`" == $rmake ) goto gotrmake
78 > if ( "`ls -tL $rmake $0 |& head -1`" == $rmake ) then
79 >        goto gotrmake
80 > endif
81   set newrmake
82   goto skiplicense
83   cat << _EOF_
# Line 139 | Line 143 | set arch="$<"
143   switch ("$arch")
144   case 1:                 # SPARC Station
145          set arch=sun
146 <        if ( `uname -r` =~ 4.* ) then
147 <                set mach="-fsingle -DBSD /usr/lib/libm.il -I/usr/openwin/include -L/usr/openwin/lib -DNOSTEREO"
148 <                set opt="-O -pipe -DSPEED=12"
145 <                set special="sun"
146 <                set compat="bmalloc.o strcmp.o"
147 <        else
148 <                set mach="-I/usr/openwin/include -L/usr/openwin/lib -DNOSTEREO"
149 <                set opt="-O -DSPEED=80"
150 <                set special="ogl"
151 <                set compat="bmalloc.o strcmp.o getpagesize.o"
152 <        endif
146 >        set mach="-I/usr/openwin/include -L/usr/openwin/lib -DNOSTEREO"
147 >        set opt="-O -DSPEED=80"
148 >        set compat="bmalloc.o strcmp.o getpagesize.o"
149          breaksw
150   case 2:                 # HP workstation
151          set mach=""
152          set opt="-O -DSPEED=80 -Aa -D_HPUX_SOURCE"
153 <        set compat="malloc.o getpagesize.o strcmp.o"
153 >        set compat="bmalloc.o getpagesize.o strcmp.o"
154          set arch=hpux
155          breaksw
156   case 3:                 # Silicon Graphics
# Line 178 | Line 174 | case 3:                        # Silicon Graphics
174                  set mach="-w"
175                  set opt="-O2 -DSPEED=200"
176                  set special="ogl"
177 <                set compat="malloc.o strcmp.o"
177 >                set compat="bmalloc.o strcmp.o"
178                  breaksw
179          endsw
180          breaksw
# Line 328 | Line 324 | endif
324   foreach i ( $* )
325          if ( "$i" == clean ) then
326                  echo "Removing library archives..."
327 <                rm -f src/lib/*.a
327 >                rm -f src/lib/*.[ao]
328          endif
329   end
330   exit 0

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines