11 |
|
endif |
12 |
|
if ( "$1" == library ) then |
13 |
|
source installib |
14 |
< |
cp -f src/*/*.{cal,tab,hex} $ldir |
14 |
> |
cp -f src/*/*.{cal,tab,hex,dat} $ldir |
15 |
|
echo "" |
16 |
|
echo "Set the environment variable RAYPATH=.:$ldir" |
17 |
|
echo 'For C-shell users, put the following into ~/.cshrc' |
65 |
|
goto again1 |
66 |
|
endif |
67 |
|
endif |
68 |
– |
if ( ! -d $idir/dev ) then |
69 |
– |
mkdir $idir/dev |
70 |
– |
if ( $status ) then |
71 |
– |
echo "Cannot create subdirectory, please reenter" |
72 |
– |
goto again1 |
73 |
– |
endif |
74 |
– |
endif |
68 |
|
set inpath=0 |
69 |
|
foreach i ( $path ) |
70 |
|
if ( "$i" == "$idir" ) then |
77 |
|
goto gotrmake |
78 |
|
endif |
79 |
|
set newrmake |
80 |
< |
more src/common/copyright.h |
80 |
> |
more License.txt |
81 |
|
echo -n "Do you understand and accept the terms of this agreement [n]? " |
82 |
|
set ans="$<" |
83 |
|
if ( "$ans" !~ [yY]* ) exit |
107 |
|
set arch=sun |
108 |
|
set mach="-I/usr/openwin/include -L/usr/openwin/lib -DNOSTEREO" |
109 |
|
set opt="-O" |
110 |
< |
set compat="strcmp.o" |
110 |
> |
set compat="strcmp.o timegm.o" |
111 |
|
breaksw |
112 |
|
case 2: # Linux |
113 |
|
set mach="-Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO" |
114 |
|
set opt="-O2" |
115 |
|
set arch=IBMPC |
116 |
< |
set compat="erf.o" |
116 |
> |
set compat="strlcpy.o" |
117 |
|
set extras=CC=gcc |
118 |
|
breaksw |
119 |
|
case 3: # MacOS X |
134 |
|
set mach="-Dfreebsd -L/usr/lib -L/usr/X11R6/lib -I/usr/include/X11 -I/usr/X11R6/include -DNOSTEREO" |
135 |
|
set opt="-O2" |
136 |
|
set arch=IBMPC |
137 |
< |
set compat="erf.o" |
137 |
> |
set compat="erf.o strlcpy.o" |
138 |
|
set extras="CC=gcc" |
139 |
|
set special="ogl" |
140 |
|
set esuffix=".exe" |
141 |
|
breaksw |
142 |
|
case 6: # Other |
143 |
|
set opt="-O" |
144 |
< |
set compat="erf.o strcmp.o" |
144 |
> |
set compat="erf.o strcmp.o strlcpy.o" |
145 |
|
echo -n "Are you using the GNU C compiler [n]? " |
146 |
|
if ( "$<" =~ [yY]* ) then |
147 |
|
set extras="CC=gcc" |
148 |
+ |
else |
149 |
+ |
set compat="$compat timegm.o" |
150 |
|
endif |
151 |
|
set arch=other |
152 |
|
breaksw |