179 |
|
endsw |
180 |
|
breaksw |
181 |
|
case 4: # AIX |
182 |
< |
set mach="-Dvoid=char -D_NO_PROTO -DINCL_SEL_H" |
182 |
> |
set mach="-Dvoid=char -DNOPROTO -DINCL_SEL_H" |
183 |
|
set opt="-O" |
184 |
|
set compat="bmalloc.o erf.o" |
185 |
|
breaksw |
225 |
|
exit 1 |
226 |
|
breaksw |
227 |
|
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 |
228 |
|
source installib |
229 |
|
sed 's/[ ]*$//' > $rmake << _EOF_ |
230 |
|
#!/bin/sh |