118 |
|
set arch=sun |
119 |
|
set mach="-I/usr/openwin/include -L/usr/openwin/lib -DNOSTEREO" |
120 |
|
set opt="-O -DSPEED=80" |
121 |
< |
set compat="bmalloc.o strcmp.o getpagesize.o" |
121 |
> |
set compat="strcmp.o" |
122 |
|
breaksw |
123 |
|
case 2: # HP workstation |
124 |
|
set mach="" |
125 |
|
set opt="-O -DSPEED=80 -Aa -D_HPUX_SOURCE" |
126 |
< |
set compat="bmalloc.o getpagesize.o strcmp.o" |
126 |
> |
set compat="strcmp.o" |
127 |
|
set arch=hpux |
128 |
|
breaksw |
129 |
|
case 3: # Silicon Graphics |
133 |
|
set mach="-noprototypes" |
134 |
|
set opt="-O -DSPEED=80" |
135 |
|
set special="sgi" |
136 |
< |
set compat="malloc.o strcmp.o" |
136 |
> |
set compat="strcmp.o" |
137 |
|
breaksw |
138 |
|
case 4.*: |
139 |
|
set mach="" |
140 |
|
set opt="-O2 -DSPEED=100" |
141 |
< |
set compat="malloc.o strcmp.o" |
141 |
> |
set compat="strcmp.o" |
142 |
|
set extras='"MLIB=-lfastm -lm"' |
143 |
|
breaksw |
144 |
|
default: # 5.x or later |
147 |
|
set mach="-w" |
148 |
|
set opt="-O2 -DSPEED=200" |
149 |
|
set special="ogl" |
150 |
< |
set compat="bmalloc.o strcmp.o" |
150 |
> |
set compat="strcmp.o" |
151 |
|
breaksw |
152 |
|
endsw |
153 |
|
breaksw |
154 |
|
case 4: # AIX |
155 |
|
set opt="-O" |
156 |
< |
set compat="bmalloc.o erf.o strcmp.o" |
156 |
> |
set compat="erf.o strcmp.o" |
157 |
|
set arch=PowerPC |
158 |
|
breaksw |
159 |
|
case 5: # BSDI BSD/386 |
160 |
|
set mach="-DBSD -L/usr/X11/lib -I/usr/X11/include" |
161 |
|
set opt="-O -DSPEED=100" |
162 |
|
set arch=IBMPC |
163 |
< |
set compat="malloc.o erf.o strcmp.o" |
163 |
> |
set compat="erf.o strcmp.o" |
164 |
|
breaksw |
165 |
|
case 6: # Linux |
166 |
|
set mach="-Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO" |
167 |
|
set opt="-O2 -DSPEED=200" |
168 |
|
set arch=IBMPC |
169 |
< |
set compat="bmalloc.o erf.o getpagesize.o" |
169 |
> |
set compat="erf.o" |
170 |
|
set extras=CC=gcc |
171 |
|
breaksw |
172 |
|
case 7: # MacOS X |
173 |
|
set mach="-DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib" |
174 |
|
set opt="-O2 -DSPEED=200" |
175 |
|
set arch=PowerPC |
176 |
– |
set compat="bmalloc.o" |
176 |
|
set extras="CC=cc CONFIGURE_ARCH=powerpc" |
177 |
|
set special="ogl" |
178 |
|
breaksw |
179 |
|
case 8: # FreeBSD |
180 |
|
set mach="-DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib" |
181 |
|
set opt="-O -DSPEED=200" |
182 |
< |
set compat="bmalloc.o erf.o" |
182 |
> |
set compat="erf.o" |
183 |
|
set extras="CC=cc" |
184 |
|
set arch=IBMPC |
185 |
|
breaksw |
187 |
|
set mach="-Dfreebsd -L/usr/lib -L/usr/X11R6/lib -I/usr/include/X11 -I/usr/X11R6/include -DNOSTEREO" |
188 |
|
set opt="-O2 -DSPEED=200" |
189 |
|
set arch=IBMPC |
190 |
< |
set compat="bmalloc.o erf.o getpagesize.o" |
190 |
> |
set compat="erf.o" |
191 |
|
set extras="CC=gcc" |
192 |
|
set special="ogl" |
193 |
|
set esuffix=".exe" |
194 |
|
breaksw |
195 |
|
case 10: # Other |
196 |
|
set opt="-O" |
197 |
< |
set compat="bmalloc.o erf.o strcmp.o" |
197 |
> |
set compat="erf.o strcmp.o" |
198 |
|
echo -n "Are you using the GNU C compiler [n]? " |
199 |
|
if ( "$<" =~ [yY]* ) then |
200 |
|
set extras="CC=gcc" |
263 |
|
echo 'For Bourne shell users, put the following into $HOME/profile' |
264 |
|
echo " PATH=$idir"':$PATH' |
265 |
|
echo " export PATH" |
267 |
– |
endif |
268 |
– |
if (! -d /usr/tmp) then |
269 |
– |
ln -s /tmp /usr/tmp |
270 |
– |
if ($status) then |
271 |
– |
echo "" |
272 |
– |
echo "IMPORTANT: Execute 'sudo ln -s /tmp /usr/tmp'" |
273 |
– |
endif |
266 |
|
endif |
267 |
|
else |
268 |
|
cd src |