1 # $Id: Make-config,v 1.29 2000/09/26 15:27:20 brianp Exp $
6 VERSION=$(MESA_MAJOR).$(MESA_MINOR)
8 # Mesa 3-D graphics library
10 # Copyright (C) 1999-2000 Brian Paul All Rights Reserved.
12 # Permission is hereby granted, free of charge, to any person obtaining a
13 # copy of this software and associated documentation files (the "Software"),
14 # to deal in the Software without restriction, including without limitation
15 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
16 # and/or sell copies of the Software, and to permit persons to whom the
17 # Software is furnished to do so, subject to the following conditions:
19 # The above copyright notice and this permission notice shall be included
20 # in all copies or substantial portions of the Software.
22 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
23 # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25 # BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
26 # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
27 # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30 # The following variables are passed to each Makefile:
32 # GL_LIB the name of the Mesa "GL" library file (usually libGL.so)
33 # GLU_LIB the name of the Mesa "GLU" library file (usually libGLU.so)
34 # GLUT_LIB the name of the GLUT library file (usually libglut.so)
35 # GLW_LIB the name of the GLw widget library file (usually libGLw.so)
36 # CC the C compiler (usually cc or gcc)
37 # CFLAGS flags to C compiler (usually -O)
38 # MAKELIB the script or command to make a library file
39 # GL_LIB_DEPS list of libraries which the GL library depends on
40 # GLU_LIB_DEPS list of libraries which the GLU library depends on
41 # GLUT_LIB_DEPS list of libraries which the GLUT library depends on
42 # APP_LIB_DEPS list of libraries which demo programs depend upon
43 # ASM_SOURCES optional list of assembly language files to assemble
46 # Optionally, you can add definitions for the INCDIR and LIBDIR variables
47 # which specify where to find the Mesa include files and where to put the
48 # Mesa libraries. The defaults are ../include and ../lib. This use of
49 # overriding makefile macros on the command line should work with most
52 # If your system supports the X Shared Memory extension add -DUSE_XSHM to the
53 # CFLAGS line and add -lXext to the GL_LIB_DEPS line.
55 # Some compilers complain about const parameters. Adding -DNO_CONST to the
56 # CFLAGS line should silence suth warnings.
59 # To add a new system configuration just follow the examples below and update
60 # the top-level Makefile.X11 file.
65 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
67 "GLU_LIB = libGLU.a" \
68 "GLUT_LIB = libglut.a" \
69 "GLW_LIB = libGLw.a" \
71 "CFLAGS = -O -DAIXV3" \
72 "MAKELIB = ../bin/mklib.ar-ruv" \
73 "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lm"
76 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
78 "GLU_LIB = libGLU.a" \
79 "GLUT_LIB = libglut.a" \
80 "GLW_LIB = libGLw.a" \
82 "CFLAGS = -O -DAIXV3" \
83 "MAKELIB = ../bin/mklib.aix" \
84 "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lm"
86 # Make-config additions for the Amiga 3000 UX
87 # Carlyn Voss Iuzzolino 5/8/95:
88 # Modified gcc part as follows:
89 # Needed to take out -pedantic because that makes gcc complain about
90 # ANSI-CC not allowing #ident in Amiga's /usr/include/*.h files.
91 # Took out -O2 (unrecognized option for gcc on the Amiga).
92 # Needs /usr/lib/libsocket.a file.
94 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
96 "GLU_LIB = libGLU.a" \
97 "GLUT_LIB = libglut.a" \
98 "GLW_LIB = libGLw.a" \
101 "MAKELIB = ../bin/mklib.ar-ruv" \
102 "APP_LIB_DEPS = -lX11 -lsocket -lnsl -lm"
105 $(MAKE) -f Makefile.BeOS-R4 targets \
106 "GL_LIB = libGL.so" \
107 "GLU_LIB = libGLU.so" \
108 "GLUT_LIB = libglut.so" \
109 "GLW_LIB = libGLw.so" \
111 "CFLAGS = -O -DNO_CONST" \
112 "MAKELIB = ../bin/mklib.beos-r4" \
116 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
118 "GLU_LIB = libGLU.a" \
119 "GLUT_LIB = libglut.a" \
120 "GLW_LIB = libGLw.a" \
122 "CFLAGS = -I/usr/X11/include -O2" \
123 "MAKELIB = ../bin/mklib.ar-ruv" \
124 "APP_LIB_DEPS = -L/usr/X11/lib -lX11 -lipc -lm"
127 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
129 "GLU_LIB = libGLU.a" \
130 "GLUT_LIB = libglut.a" \
131 "GLW_LIB = libGLw.a" \
133 "CFLAGS = -I/usr/X11/include -O2 -fPIC" \
134 "MAKELIB = ../bin/mklib.bsdos4" \
135 "APP_LIB_DEPS = -L/usr/X11/lib -lX11 -lipc -lm"
138 $(MAKE) -f Makefile.cygnus $(MFLAGS) -f Makefile.X11 targets \
140 "GLU_LIB = libGLU.a" \
141 "GLUT_LIB = libglut.a" \
142 "GLW_LIB = libGLw.a" \
144 "DLLTOOL = dlltool" \
147 "CFLAGS = -I. -DWIN32 -D__WIN32__ -D_WINDOWS \
149 -fexpensive-optimizations -fomit-frame-pointer -ffast-math \
150 -malign-loops=2 -malign-jumps=2 -malign-functions=2" \
151 "MAKELIB = ../bin/mklib.ar-ruv" \
152 "WLIBS = ../lib/wing32.a -lkernel32 -luser32 -lgdi32"
155 $(MAKE) -f Makefile.cygnus $(MFLAGS) -f Makefile.X11 targets \
157 "GLU_LIB = libGLU.a" \
158 "GLUT_LIB = libglut.a" \
159 "GLW_LIB = libGLw.a" \
161 "DLLTOOL = gnuwin32dlltool --as gnuwin32as" \
163 "WING_DIR= /dos/wing" \
164 "CFLAGS = -I. -DWIN32 -D__WIN32__ -D_WINDOWS \
166 -fexpensive-optimizations -fomit-frame-pointer -ffast-math \
167 -malign-loops=2 -malign-jumps=2 -malign-functions=2" \
168 "MAKELIB = ../bin/mklib.cygnus-linux" \
169 "WLIBS = ../lib/wing32.a -lkernel32 -luser32 -lgdi32"
172 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
174 "GLU_LIB = libGLU.a" \
175 "GLUT_LIB = libglut.a" \
176 "GLW_LIB = libGLw.a" \
179 "MAKELIB = ../bin/mklib.ar-ruv" \
180 "APP_LIB_DEPS = -lX11 -lm"
183 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
185 "GLU_LIB = libGLU.a" \
186 "GLUT_LIB = libglut.a" \
187 "GLW_LIB = libGLw.a" \
189 "CFLAGS = -O2 -fPIC -pedantic -I/usr/X11R6/include -DUSE_XSHM -DHZ=100" \
190 "MAKELIB = ../bin/mklib.freebsd" \
191 "APP_LIB_DEPS = -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11 -lm"
194 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
196 "GLU_LIB = libGLU.a" \
197 "GLUT_LIB = libglut.a" \
198 "GLW_LIB = libGLw.a" \
200 "CFLAGS = -O3 -ffast-math -fPIC -pedantic -I/usr/X11R6/include -DUSE_XSHM -DHZ=100 -DUSE_X86_ASM -DFREEBSD" \
201 "MAKELIB = ../bin/mklib.freebsd" \
202 "APP_LIB_DEPS = -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11 -lm" \
203 "ASM_SOURCES = X86/x86a.S X86/common_x86asm.S X86/glapi_x86.S"
206 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
208 "GLU_LIB = libGLU.a" \
209 "GLUT_LIB = libglut.a" \
210 "GLW_LIB = libGLw.a" \
212 "CFLAGS = -pedantic -O2" \
213 "MAKELIB = ../bin/mklib.ar-ruv" \
214 "APP_LIB_DEPS = -lX11 -lm"
217 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
219 "GLU_LIB = libGLU.a" \
220 "GLUT_LIB = libglut.a" \
221 "GLW_LIB = libGLw.a" \
223 "CFLAGS = +O3 -Aa -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM" \
224 "MAKELIB = ../bin/mklib.ar-ruv" \
225 "APP_LIB_DEPS = -L/usr/lib/X11R5 -lXext -lXmu -lXi -lX11 -lm"
228 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
230 "GLU_LIB = libGLU.a" \
231 "GLUT_LIB = libglut.a" \
232 "GLW_LIB = libGLw.a" \
234 "CFLAGS = -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM" \
235 "MAKELIB = ../bin/mklib.ar-ruv" \
236 "APP_LIB_DEPS = -L/usr/lib/X11R5 -lXext -lXmu -lXi -lX11 -lm"
239 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
240 "GL_LIB = libGL.sl" \
241 "GLU_LIB = libGLU.sl" \
242 "GLUT_LIB = libglut.sl" \
243 "GLW_LIB = libGLw.sl" \
245 "CFLAGS = +z +O3 +Olibcalls +ESlit -Aa +Onolimit -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM" \
246 "MAKELIB = ../bin/mklib.hpux" \
247 "APP_LIB_DEPS = -L/usr/lib/X11R5 -s -Wl,+s,-B,nonfatal,-B,immediate -lXext -lXmu -lXi -lX11 -lm"
250 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
251 "GL_LIB = libGL.sl" \
252 "GLU_LIB = libGLU.sl" \
253 "GLUT_LIB = libglut.sl" \
254 "GLW_LIB = libGLw.sl" \
256 "CFLAGS = -fPIC -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM" \
257 "MAKELIB = ../bin/mklib.hpux" \
258 "APP_LIB_DEPS = -L/usr/lib/X11R5 -lXext -lXmu -lXi -lX11 -lm"
261 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
263 "GLU_LIB = libGLU.a" \
264 "GLUT_LIB = libglut.a" \
265 "GLW_LIB = libGLw.a" \
267 "CFLAGS = +O3 +DAportable -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \
268 "MAKELIB = ../bin/mklib.ar-ruv" \
269 "APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm"
272 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
275 "GLUT_LIB = libglut" \
276 "GLW_LIB = libGLw.a" \
278 "CFLAGS = +z -Ae +O2 +Onolimit +Oaggressive -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \
279 "MAKELIB = ../bin/mklib.hpux" \
280 "APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm"
283 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
285 "GLU_LIB = libGLU.a" \
286 "GLUT_LIB = libglut.a" \
287 "GLW_LIB = libGLw.a" \
289 "CFLAGS = -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \
290 "MAKELIB = ../bin/mklib.ar-ruv" \
291 "APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm"
294 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
295 "GL_LIB = libGL.sl" \
296 "GLU_LIB = libGLU.sl" \
297 "GLUT_LIB = libglut.sl" \
298 "GLW_LIB = libGLw.a" \
300 "CFLAGS = -fPIC -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \
301 "MAKELIB = ../bin/mklib.hpux" \
302 "APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm"
305 # For IRIX 4: don't use -fullwarn because it causes too much garbage
307 pmake $(MFLAGS) -f Makefile.X11 targets \
309 "GLU_LIB = libGLU.a" \
310 "GLUT_LIB = libglut.a" \
311 "GLW_LIB = libGLw.a" \
313 "CFLAGS = -O2 -ansi -prototypes -DUSE_XSHM" \
314 "MAKELIB = ../bin/mklib.ar-rcv" \
315 "APP_LIB_DEPS = -lXext -lXmu -lXi -lX11 -lm"
317 # On IRIX 5.3 -sopt causes a problem in drawpixels.c so we don't use it
319 pmake $(MFLAGS) -f Makefile.X11 targets \
321 "GLU_LIB = libGLU.a" \
322 "GLUT_LIB = libglut.a" \
323 "GLW_LIB = libGLw.a" \
325 "CFLAGS = -O2 -ansi -fullwarn -DUSE_XSHM -DNO_CONST" \
326 "MAKELIB = ../bin/mklib.ar-rcv" \
327 "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lm"
331 make $(MFLAGS) -f Makefile.X11 targets \
333 "GLU_LIB = libGLU.a" \
334 "GLUT_LIB = libglut.a" \
335 "GLW_LIB = libGLw.a" \
337 "CFLAGS = -O2 -pedantic -DUSE_XSHM" \
338 "MAKELIB = ../bin/mklib.ar-rcv" \
339 "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lm"
341 # IRIX 5 using Dynamic Shared Objects (DSO)
343 pmake $(MFLAGS) -f Makefile.X11 targets \
344 "GL_LIB = libGL.so" \
345 "GLU_LIB = libGLU.so" \
346 "GLUT_LIB = libglut.so" \
347 "GLW_LIB = libGLw.so" \
349 "CFLAGS = -O2 -ansi -fullwarn -DUSE_XSHM -DNO_CONST" \
350 "MAKELIB = ../bin/mklib.irix5" \
351 "APP_LIB_DEPS = -rpath ../lib -lX11 -lXmu -lXi -lm"
354 pmake $(MFLAGS) -f Makefile.X11 targets \
356 "GLU_LIB = libGLU.a" \
357 "GLUT_LIB = libglut.a" \
358 "GLW_LIB = libGLw.a" \
360 "CFLAGS = -32 -mips2 -O2 -ansi -DUSE_XSHM -DNO_CONST" \
361 "MAKELIB = ../bin/mklib.ar-rcv" \
362 "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lm"
365 pmake $(MFLAGS) -f Makefile.X11 targets \
366 "GL_LIB = libGL.so" \
367 "GLU_LIB = libGLU.so" \
368 "GLUT_LIB = libglut.so" \
369 "GLW_LIB = libGLw.so" \
371 "CFLAGS = -32 -mips2 -O2 -ansi -DUSE_XSHM -DNO_CONST" \
372 "MAKELIB = ../bin/mklib.irix6-32" \
373 "APP_LIB_DEPS = -rpath ../lib -lX11 -lXext -lXmu -lXi -lm"
376 # 1209 - controlling expression is constant
378 pmake $(MFLAGS) -f Makefile.X11 targets \
380 "GLU_LIB = libGLU.a" \
381 "GLUT_LIB = libglut.a" \
382 "GLW_LIB = libGLw.a" \
383 "LIBDIR = ../lib32" \
385 "CFLAGS = -n32 -mips3 -O3 -ansi -woff 1209,1521" \
386 "MAKELIB = ../bin/mklib.ar-rcv" \
387 "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lm"
390 pmake $(MFLAGS) -f Makefile.X11 targets \
391 "GL_LIB = libGL.so" \
392 "GLU_LIB = libGLU.so" \
393 "GLUT_LIB = libglut.so" \
394 "GLW_LIB = libGLw.a" \
395 "LIBDIR = ../lib32" \
397 "CFLAGS = -n32 -mips3 -O3 -ansi -DUSE_XSHM -woff 1185,1521" \
398 "MAKELIB = ../bin/mklib.irix6-n32" \
399 "APP_LIB_DEPS = -rpath ../lib32 -lX11 -lXmu -lXi -lfpe -lm"
402 make $(MFLAGS) -f Makefile.X11 targets \
403 "GL_LIB = libGL.so" \
404 "GLU_LIB = libGLU.so" \
405 "GLUT_LIB = libglut.so" \
406 "GLW_LIB = libGLw.so" \
407 "LIBDIR = ../lib32" \
409 "CFLAGS = -mabi=n32 -mips3 -O3 -DUSE_XSHM" \
410 "MAKELIB = ../bin/mklib.irix6-n32" \
411 "APP_LIB_DEPS = -rpath ../lib32 -lX11 -lXmu -lXi -lm"
413 # For IRIX 6-64: -woff:
414 # 1068 - integer conversion resulted in a change of sign
415 # 1069 - integer conversion resulted in truncation
416 # 1174 - variable was declared but never referenced
417 # 1185 - enumerated type mixed with another type
418 # 1209 - controlling expression is constant
419 # 1474 - declaring a void parameter list with a typedef is nonstandard
420 # 1552 - variable was set but never used
422 pmake $(MFLAGS) -f Makefile.X11 targets \
424 "GLU_LIB = libGLU.a" \
425 "GLUT_LIB = libglut.a" \
426 "GLW_LIB = libGLw.a" \
427 "LIBDIR = ../lib64" \
429 "CFLAGS = -64 -O3 -ansi -woff 1068,1069,1174,1185,1209,1474,1552 -DUSE_XSHM" \
430 "MAKELIB = ../bin/mklib.ar-rcv" \
431 "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lm"
434 pmake $(MFLAGS) -f Makefile.X11 targets \
435 "GL_LIB = libGL.so" \
436 "GLU_LIB = libGLU.so" \
437 "GLUT_LIB = libglut.so" \
438 "GLW_LIB = libGLw.so" \
439 "LIBDIR = ../lib64" \
441 "CFLAGS = -64 -O3 -ansi -woff 1068,1069,1174,1185,1209,1474,1552 -DUSE_XSHM" \
442 "MAKELIB = ../bin/mklib.irix6-64" \
443 "APP_LIB_DEPS = -rpath ../lib64 -lX11 -lXmu -lXi -lm"
446 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
447 "GL_LIB = libGL.so" \
448 "GLU_LIB = libGLU.so" \
449 "GLUT_LIB = libglut.so" \
450 "GLW_LIB = libGLw.so" \
452 "CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include" \
453 "MAKELIB = ../bin/mklib.linux" \
454 "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \
455 "GLU_LIB_DEPS = -L../lib -lGL -lm" \
456 "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
460 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
461 "GL_LIB = libGL.so" \
462 "GLU_LIB = libGLU.so" \
463 "GLUT_LIB = libglut.so" \
464 "GLW_LIB = libGLw.so" \
466 "CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -DMESA_TRACE -I/usr/X11R6/include" \
467 "MAKELIB = ../bin/mklib.linux" \
468 "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \
469 "GLU_LIB_DEPS = -L../lib -lGL -lm" \
470 "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
474 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
476 "GLU_LIB = libGLU.a" \
477 "GLUT_LIB = libglut.a" \
478 "GLW_LIB = libGLw.a" \
480 "CFLAGS = -O3 -funroll-loops -ansi -pedantic -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include" \
481 "MAKELIB = ../bin/mklib.ar-ruv" \
482 "APP_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lm -lpthread"
485 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
486 "GL_LIB = libGL.so" \
487 "GLU_LIB = libGLU.so" \
488 "GLUT_LIB = libglut.so" \
489 "GLW_LIB = libGLw.so" \
491 "CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DPTHREADS -I/usr/X11R6/include" \
492 "MAKELIB = ../bin/mklib.linux" \
493 "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \
494 "GLU_LIB_DEPS = -L../lib -lGL -lm" \
495 "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
496 "APP_LIB_DEPS = -lm" \
497 "ASM_SOURCES = X86/x86a.S X86/common_x86asm.S X86/glapi_x86.S X86/vertex.S"
500 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
502 "GLU_LIB = libGLU.a" \
503 "GLUT_LIB = libglut.a" \
504 "GLW_LIB = libGLw.a" \
506 "CFLAGS = -O3 -funroll-loops -ansi -pedantic -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DPTHREADS -I/usr/X11R6/include" \
507 "MAKELIB = ../bin/mklib.ar-ruv" \
508 "APP_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lm -lpthread" \
509 "ASM_SOURCES = X86/x86a.S X86/common_x86asm.S X86/glapi_x86.S X86/vertex.S"
512 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
513 "GL_LIB = libGL.so" \
514 "GLU_LIB = libGLU.so" \
515 "GLUT_LIB = libglut.so" \
516 "GLW_LIB = libGLw.so" \
518 "CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DFX -DPTHREADS -I/usr/X11R6/include -I/usr/include/glide -I/usr/local/glide/include" \
519 "MAKELIB = ../bin/mklib.linux" \
520 "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread -L/usr/local/glide/lib -lglide2x" \
521 "GLU_LIB_DEPS = -L../lib -lGL -lm" \
522 "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
523 "APP_LIB_DEPS = -lglut -lGLU -lGL"
526 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
527 "GL_LIB = libGL.so" \
528 "GLU_LIB = libGLU.so" \
529 "GLUT_LIB = libglut.so" \
530 "GLW_LIB = libGLw.so" \
532 "CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_X86_ASM -DUSE_XSHM -DFX -DPTHREADS -I/usr/X11R6/include -I/usr/include/glide -I/usr/local/glide/include" \
533 "MAKELIB = ../bin/mklib.linux" \
534 "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -L/usr/local/glide/lib -lglide2x -lm -lpthread" \
535 "GLU_LIB_DEPS = -L../lib -lGL -lm" \
536 "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
537 "APP_LIB_DEPS = -lm" \
538 "ASM_SOURCES = X86/x86a.S X86/common_x86asm.S X86/glapi_x86.S X86/vertex.S"
540 linux-386-opt-V2-glide:
541 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
542 "GL_LIB = libGL.so" \
543 "GLU_LIB = libGLU.so" \
544 "GLUT_LIB = libglut.so" \
545 "GLW_LIB = libGLw.so" \
547 "CFLAGS = -O3 -m486 -fomit-frame-pointer -pipe -ansi -pedantic -ffast-math -fexpensive-optimizations -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DFX -DFX_V2 -DUSE_X86_ASM -DPTHREAD -I/usr/X11R6/include -I/usr/include/glide -I/usr/local/glide/include"\
548 "MAKELIB = ../bin/mklib.linux" \
549 "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -L/usr/local/glide/lib -lglide2x -lm -lpthread" \
550 "GLU_LIB_DEPS = -L../lib -lGL -lm" \
551 "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
552 "APP_LIB_DEPS = -lm" \
553 "ASM_SOURCES = X86/x86a.S X86/common_x86asm.S X86/glapi_x86.S X86/vertex.S"
556 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
557 "GL_LIB = libGL.so" \
558 "GLU_LIB = libGLU.so" \
559 "GLUT_LIB = libglut.so" \
560 "GLW_LIB = libGLw.so" \
562 "CFLAGS = -O3 -m486 -fomit-frame-pointer -pipe -ansi -pedantic -ffast-math -fexpensive-optimizations -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DFX -DUSE_X86_ASM -DPTHREADS -I/usr/X11R6/include -I/usr/include/glide -I/usr/local/glide/include" \
563 "MAKELIB = ../bin/mklib.linux" \
564 "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -L/usr/local/glide/lib -lglide2x -lm -lpthread" \
565 "GLU_LIB_DEPS = -L../lib -lGL -lm" \
566 "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
567 "APP_LIB_DEPS = -lm" \
568 "ASM_SOURCES = X86/x86a.S X86/common_x86asm.S X86/glapi_x86.S X86/vertex.S"
571 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
572 "GL_LIB = libGL.so" \
573 "GLU_LIB = libGLU.so" \
574 "GLUT_LIB = libglut.so" \
575 "GLW_LIB = libGLw.so" \
576 "CC = gcc -malign-loops=2 -malign-jumps=2 -malign-functions=2" \
577 "CFLAGS = -Wall -O3 -ansi -pedantic -fPIC -ffast-math -funroll-loops -fomit-frame-pointer -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DPTHREADS -I/usr/X11R6/include" \
578 "MAKELIB = ../bin/mklib.linux" \
579 "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lm -lpthread" \
580 "GLU_LIB_DEPS = -L../lib -lGL -lm" \
581 "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
582 "APP_LIB_DEPS = -lm" \
583 "ASM_SOURCES = X86/x86a.S X86/common_x86asm.S X86/glapi_x86.S \
585 X86/3dnow_xform_raw1.S X86/3dnow_xform_raw2.S \
586 X86/3dnow_xform_raw3.S X86/3dnow_xform_raw4.S \
587 X86/3dnow_xform_masked1.S X86/3dnow_xform_masked2.S \
588 X86/3dnow_xform_masked3.S X86/3dnow_xform_masked4.S \
589 X86/3dnow_norm_raw.S X86/vertex.S X86/vertex_3dnow.S"
592 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
593 "GL_LIB = libGL.so" \
594 "GLU_LIB = libGLU.so" \
595 "GLUT_LIB = libglut.so" \
596 "GLW_LIB = libGLw.so" \
597 "CC = gcc -malign-loops=2 -malign-jumps=2 -malign-functions=2" \
598 "CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -funroll-loops -fomit-frame-pointer -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_XSHM -DFX -DPTHREADS -I/usr/X11R6/include -I/usr/include/glide -I/usr/local/glide/include -I/usr/src/mesa-glx/src/FX/X86" \
599 "MAKELIB = ../bin/mklib.linux" \
600 "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -L/usr/local/glide/lib -lglide2x -lm -lpthread" \
601 "GLU_LIB_DEPS = -L../lib -lGL -lm" \
602 "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
603 "APP_LIB_DEPS = -lm" \
604 "ASM_SOURCES = X86/x86a.S X86/common_x86asm.S X86/glapi_x86.S \
606 X86/3dnow_xform_raw1.S X86/3dnow_xform_raw2.S \
607 X86/3dnow_xform_raw3.S X86/3dnow_xform_raw4.S \
608 X86/3dnow_xform_masked1.S X86/3dnow_xform_masked2.S \
609 X86/3dnow_xform_masked3.S X86/3dnow_xform_masked4.S \
610 X86/3dnow_norm_raw.S X86/vertex.S X86/vertex_3dnow.S \
611 FX/X86/fx_3dnow_fastpath.S"
614 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
615 "GL_LIB = libGL.so" \
616 "GLU_LIB = libGLU.so" \
617 "GLUT_LIB = libglut.so" \
618 "GLW_LIB = libGLw.so" \
619 "CC = gcc -malign-loops=2 -malign-jumps=2 -malign-functions=2" \
620 "CFLAGS = -Wall -O3 -ansi -pedantic -fPIC -ffast-math -funroll-loops -fomit-frame-pointer -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_KATMAI_ASM -DPTHREADS -I/usr/X11R6/include" \
621 "MAKELIB = ../bin/mklib.linux" \
622 "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lm -lpthread" \
623 "GLU_LIB_DEPS = -L../lib -lGL -lm" \
624 "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
625 "APP_LIB_DEPS = -lm" \
626 "ASM_SOURCES = X86/x86a.S X86/common_x86asm.S X86/glapi_x86.S \
628 X86/3dnow_xform_raw1.S X86/3dnow_xform_raw2.S \
629 X86/3dnow_xform_raw3.S X86/3dnow_xform_raw4.S \
630 X86/3dnow_xform_masked1.S X86/3dnow_xform_masked2.S \
631 X86/3dnow_xform_masked3.S X86/3dnow_xform_masked4.S \
632 X86/3dnow_norm_raw.S X86/vertex.S X86/vertex_3dnow.S \
633 X86/katmai_norm_raw.S \
634 X86/katmai_xform_raw1.S X86/katmai_xform_masked1.S \
635 X86/katmai_xform_raw2.S X86/katmai_xform_masked2.S \
636 X86/katmai_xform_raw3.S X86/katmai_xform_masked3.S \
637 X86/katmai_xform_raw4.S X86/katmai_xform_masked4.S \
641 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
642 "GL_LIB = libGL.so" \
643 "GLU_LIB = libGLU.so" \
644 "GLUT_LIB = libglut.so" \
645 "GLW_LIB = libGLw.so" \
646 "CC = gcc -malign-loops=2 -malign-jumps=2 -malign-functions=2" \
647 "CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -funroll-loops -fomit-frame-pointer -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_KATMAI_ASM -DUSE_XSHM -DFX -DPTHREADS -I/usr/X11R6/include -I/usr/include/glide -I/usr/local/glide/include -I/usr/src/mesa-glx/src/FX/X86" \
648 "MAKELIB = ../bin/mklib.linux" \
649 "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -L/usr/local/glide/lib -lglide2x -lm -lpthread" \
650 "GLU_LIB_DEPS = -L../lib -lGL -lm" \
651 "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
652 "APP_LIB_DEPS = -lm" \
653 "ASM_SOURCES = X86/x86a.S X86/common_x86asm.S X86/glapi_x86.S \
655 X86/3dnow_xform_raw1.S X86/3dnow_xform_raw2.S \
656 X86/3dnow_xform_raw3.S X86/3dnow_xform_raw4.S \
657 X86/3dnow_xform_masked1.S X86/3dnow_xform_masked2.S \
658 X86/3dnow_xform_masked3.S X86/3dnow_xform_masked4.S \
659 X86/3dnow_norm_raw.S X86/vertex.S X86/vertex_3dnow.S \
660 FX/X86/fx_3dnow_fastpath.S \
661 X86/katmai_norm_raw.S \
662 X86/katmai_xform_raw1.S X86/katmai_xform_masked1.S \
663 X86/katmai_xform_raw2.S X86/katmai_xform_masked2.S \
664 X86/katmai_xform_raw3.S X86/katmai_xform_masked3.S \
665 X86/katmai_xform_raw4.S X86/katmai_xform_masked4.S \
668 # Contributed by Uwe_Maurer@t-online.de
670 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
671 "GL_LIB = libGL.so" \
672 "GLU_LIB = libGLU.so" \
673 "GLUT_LIB = libglut.so" \
674 "GLW_LIB = libGLw.a" \
676 "CFLAGS = -O3 -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DGGI -DCDECL=" \
677 "MAKELIB = ../bin/mklib.ggi" \
678 "APP_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lggi -lm"
680 # Contributed by Emmanuel marty core@ggi-project.org
682 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
683 "GL_LIB = libGL.so" \
684 "GLU_LIB = libGLU.so" \
685 "GLUT_LIB = libglut.so" \
686 "GLW_LIB = libGLw.so" \
688 "CFLAGS = -O3 -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DUSE_X86_ASM -DGGI -DCDECL=" \
689 "MAKELIB = ../bin/mklib.ggi" \
690 "APP_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lggi -lm" \
691 "ASM_SOURCES = X86/x86a.S X86/common_x86asm.S X86/glapi_x86.S X86/vertex.S"
694 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
695 "GL_LIB = libGL.so" \
696 "GLU_LIB = libGLU.so" \
697 "GLUT_LIB = libglut.so" \
698 "GLW_LIB = libGLw.so" \
700 "CFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -fPIC -D_XOPEN_SOURCE -DSHM" \
701 "MAKELIB = ../bin/mklib.linux" \
702 "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \
703 "GLU_LIB_DEPS = -L../lib -lGL -lm" \
704 "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
708 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
710 "GLU_LIB = libGLU.a" \
711 "GLUT_LIB = libglut.a" \
712 "GLW_LIB = libGLw.a" \
714 "CFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -L/usr/X11R6/lib -D_XOPEN_SOURCE -DSHM" \
715 "MAKELIB = ../bin/mklib.ar-ruv" \
716 "APP_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lm"
719 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
720 "GL_LIB = libGL.so" \
721 "GLU_LIB = libGLU.so" \
722 "GLUT_LIB = libglut.so" \
723 "GLW_LIB = libGLw.so" \
725 "CFLAGS = -O3 -mcpu=603 -ansi -pedantic -fPIC -fsigned-char -ffast-math -funroll-loops -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM" \
726 "MAKELIB = ../bin/mklib.linux" \
727 "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \
728 "GLU_LIB_DEPS = -L../lib -lGL -lm" \
729 "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
733 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
735 "GLU_LIB = libGLU.a" \
736 "GLUT_LIB = libglut.a" \
737 "GLW_LIB = libGLw.a" \
739 "CFLAGS = -O3 -mcpu=603 -ansi -pedantic -fsigned-char -ffast-math -funroll-loops -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM" \
740 "MAKELIB = ../bin/mklib.ar-ruv" \
741 "APP_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lm"
744 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
746 "GLU_LIB = libGLU.a" \
747 "GLUT_LIB = libglut.a" \
748 "GLW_LIB = libGLw.a" \
750 "CFLAGS = -pedantic -funroll-loops -O3 -DUSE_XSHM" \
751 "MAKELIB = ../bin/mklib.ar-ruv" \
752 "APP_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXt -lXmu -lXi -lm"
754 # Replace -mv8 with -mcypress, -msupersparc or -msparclite as appropriate.
756 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
757 "GL_LIB = libGL.so" \
758 "GLU_LIB = libGLU.so" \
759 "GLUT_LIB = libglut.so" \
760 "GLW_LIB = libGLw.so" \
762 "CFLAGS = -mv8 -O2 -ffast-math -ansi -pedantic -fPIC -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM" \
763 "MAKELIB = ../bin/mklib.linux" \
764 "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \
765 "GLU_LIB_DEPS = -L../lib -lGL -lm" \
766 "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
769 # 32-bit Sparc ELF userland, on UltraSparc
771 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
772 "GL_LIB = libGL.so" \
773 "GLU_LIB = libGLU.so" \
774 "GLUT_LIB = libglut.so" \
775 "GLW_LIB = libGLw.so" \
777 "CFLAGS = -mv8 -O2 -mtune=ultrasparc -ansi -pedantic -fPIC -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM" \
778 "MAKELIB = ../bin/mklib.linux" \
779 "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \
780 "GLU_LIB_DEPS = -L../lib -lGL -lm" \
781 "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
784 # May want to add these CFLAGS for better performance under LynxOS and GCC:
785 # -fPIC -O2 -ansi -pedantic -mieee-fp -DUSE_XSHM -funroll-loops
786 # -fexpensive-optimizations -fomit-frame-pointer -ffast-math
787 # and -malign-loops=2 -malign-jumps=2 -malign-functions=2 for Pentium
789 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
791 "GLU_LIB = libGLU.a" \
792 "GLUT_LIB = libglut.a" \
793 "GLW_LIB = libGLw.a" \
795 "CFLAGS = -O2 -ansi -pedantic -funroll-loops -ffast-math -DUSE_XSHM" \
796 "MAKELIB = ../bin/mklib.ar-ruv" \
797 "APP_LIB_DEPS = -L/usr/X11/lib -lXext -lXi -lXmu -lX11 -lbsd -lm"
800 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
802 "GLU_LIB = libGLU.a" \
803 "GLUT_LIB = libglut.a" \
804 "GLW_LIB = libGLw.a" \
806 "CFLAGS = -DTENON -D__MACHTEN__ -fstrength-reduce -m68881 -O2" \
807 "MAKELIB = ../bin/mklib.ar-rcv" \
808 "APP_LIB_DEPS = -L/usr/lib/X11 -lX11 -lm"
813 "GLU_LIB = libGLU.a" \
814 "GLUT_LIB = libglut.a" \
815 "GLW_LIB = libGLw.a" \
817 "CFLAGS = -DTENON -D__MACHTEN__ -fstrength-reduce -O2" \
818 "MAKELIB = ../bin/mklib.ar-rcv" \
819 "APP_LIB_DEPS = -L/usr/X11R5/lib -lX11 -lm"
824 "GLU_LIB = libGLU.a" \
825 "GLUT_LIB = libglut.a" \
826 "GLW_LIB = libGLw.a" \
828 "CFLAGS = -pedantic -O2" \
829 "MAKELIB = ../bin/mklib.ar-ruv" \
830 "APP_LIB_DEPS = -lmoto -L/usr/X11/lib -lXmu -lX11 -lm"
833 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
834 "GL_LIB = libGL.so" \
835 "GLU_LIB = libGLU.so" \
836 "GLUT_LIB = libglut.so" \
837 "GLW_LIB = libGLw.so" \
839 "CFLAGS = -O2 -fPIC -DUSE_XSHM -I/usr/X11R6/include -DHZ=100" \
840 "MAKELIB = ../bin/mklib.netbsd" \
841 "APP_LIB_DEPS = -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11 -lm"
844 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
845 "DRIVER_SOURCES = OSmesa/osmesa.c" \
847 "GLU_LIB = libGLU.a" \
849 "CFLAGS = -traditional-cpp -DOPENSTEP -O4" \
850 "MAKELIB = ../bin/mklib.ar-ruv"
853 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
854 "GL_LIB = libGL.so" \
855 "GLU_LIB = libGLU.so" \
856 "GLUT_LIB = libglut.so" \
857 "GLW_LIB = libGLw.so" \
859 "CFLAGS = -O2 -fPIC -I/usr/X11R6/include -DUSE_XSHM -DHZ=100" \
860 "MAKELIB = ../bin/mklib.openbsd" \
861 "APP_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXi -lm"
864 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
865 "DRIVER_SOURCES = OSmesa/osmesa.c" \
867 "GLU_LIB = libGLU.a" \
869 "CFLAGS = -traditional-cpp -DOPENSTEP -O4" \
870 "MAKELIB = ../bin/mklib.openstep"
873 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
874 "DRIVER_SOURCES = OSmesa/osmesa.c" \
876 "GLU_LIB = libGLU.a" \
878 "CFLAGS = -DOPENSTEP -O4" \
879 "MAKELIB = ../bin/mklib.openstep"
882 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
883 "GL_LIB = MesaGL.a" \
884 "GLU_LIB = MesaGLU.a" \
885 "GLUT_LIB = glut.a" \
888 "CFLAGS = -Zmt -O3 -m486 -funroll-loops -Wall -Wno-unused -ansi -pedantic -ffast-math -DUSE_X86_ASM -D_SVID_SOURCE -D_BSD_SOURCE -I$(X11ROOT)/XFree86/include" \
889 "MAKELIB = ..\\bin\\mklib-emx.cmd " \
890 "APP_LIB_DEPS = -Zmt -Zcrtdll -Zexe -L$(X11ROOT)/XFree86/lib -lXt -lX11 -lm" \
891 "ASM_SOURCES = X86/x86a.S X86/common_x86asm.S X86/glapi_x86.S X86/vertex.S"
894 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
896 "GLU_LIB = libGLU.a" \
897 "GLUT_LIB = libglut.a" \
898 "GLW_LIB = libGLw.a" \
900 "CFLAGS = -O0 -std1 -ieee_with_no_inexact -DUSE_XSHM" \
901 "MAKELIB = ../bin/mklib.ar-ruv" \
902 "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lm"
905 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
906 "GL_LIB = libGL.so" \
907 "GLU_LIB = libGLU.so" \
908 "GLUT_LIB = libglut.so" \
909 "GLW_LIB = libGLw.so" \
911 "CFLAGS = -O0 -std1 -ieee_with_no_inexact -DUSE_XSHM" \
912 "MAKELIB = ../bin/mklib.osf1" \
913 "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lm"
916 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
918 "GLU_LIB = libGLU.a" \
919 "GLUT_LIB = libglut.a" \
920 "GLW_LIB = libGLw.a" \
922 "CFLAGS = -fast -cyglibs -Munix -I. -DWIN32 -D__WIN32__ -D_WINDOWS " \
923 "MAKELIB = ../bin/mklib.ar-ruv" \
924 "APP_LIB_DEPS = -lX11 -lm"
927 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
929 "GLU_LIB = libGLU.a" \
930 "GLUT_LIB = libglut.a" \
931 "GLW_LIB = libGLw.a" \
933 "CFLAGS = -fast -msvcrt -Munix -I. -DWIN32 -D__WIN32__ -D_WINDOWS " \
934 "MAKELIB = ../bin/mklib.ar-ruv" \
935 "APP_LIB_DEPS = -lX11 -lm"
937 # QNX V4 & Watcom Compiler
939 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
941 "GLU_LIB = libGLU.a" \
942 "GLUT_LIB = libglut.a" \
943 "GLW_LIB = libGLw.a" \
946 "MAKELIB = ../bin/mklib.qnx" \
947 "APP_LIB_DEPS = -L/usr/X11/lib -lX11 -lm"
950 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
952 "GLU_LIB = libGLU.a" \
953 "GLUT_LIB = libglut.a" \
954 "GLW_LIB = libGLw.a" \
956 "CFLAGS = -pedantic -O2 -mieee-fp" \
957 "MAKELIB = ../bin/mklib.ar-ruv" \
958 "APP_LIB_DEPS = -L/usr/X11/lib -lX11 -lm"
961 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
963 "GLU_LIB = libGLU.a" \
964 "GLUT_LIB = libglut.a" \
965 "GLW_LIB = libGLw.a" \
967 "CFLAGS = -pedantic -O2 -mieee-fp" \
968 "MAKELIB = ../bin/mklib.ar-ruv" \
969 "APP_LIB_DEPS = -lXm -lXt -lX11 -lXmu -lXext -lsocket -lx -lm"
972 $(MAKE) -f Makefile.X11 targets \
974 "GLU_LIB = libGLU.a" \
975 "GLUT_LIB = libglut.a" \
976 "GLW_LIB = libGLw.a" \
978 "CFLAGS = -Xa -xO3 -xpentium -KPIC -I/usr/openwin/include -DUSE_XSHM" \
979 "MAKELIB = ../bin/mklib.solaris" \
980 "APP_LIB_DEPS = -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm"
983 $(MAKE) -f Makefile.X11 targets \
985 "GLU_LIB = libGLU.a" \
986 "GLUT_LIB = libglut.a" \
987 "GLW_LIB = libGLw.a" \
989 "CFLAGS = -O3 -m486 -fPIC -I/usr/openwin/include -DUSE_XSHM" \
990 "MAKELIB = ../bin/mklib.solaris" \
991 "APP_LIB_DEPS = -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm"
994 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
996 "GLU_LIB = libGLU.a" \
997 "GLUT_LIB = libglut.a" \
998 "GLW_LIB = libGLw.a" \
1000 "CFLAGS = -O -DUSE_XSHM -DSUNOS4" \
1001 "MAKELIB = ../bin/mklib.ar-ruv" \
1002 "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lm"
1005 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1006 "GL_LIB = libGL.so" \
1007 "GLU_LIB = libGLU.so" \
1008 "GLUT_LIB = libglut.so" \
1009 "GLW_LIB = libGLw.so" \
1011 "CFLAGS = -Kpic -O -I/usr/include/X11R5 -DUSE_XSHM -DSUNOS4" \
1012 "MAKELIB = ld -assert pure-text -o" \
1013 "APP_LIB_DEPS = -L/usr/lib/X11R5 -lX11 -lXext -lXmu -lXi -lm"
1016 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1017 "GL_LIB = libGL.a" \
1018 "GLU_LIB = libGLU.a" \
1019 "GLUT_LIB = libglut.a" \
1020 "GLW_LIB = libGLw.a" \
1022 "CFLAGS = -O3 -DUSE_XSHM -DSUNOS4 -I/usr/openwin/include" \
1023 "MAKELIB = ../bin/mklib.ar-ruv" \
1024 "APP_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm"
1027 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1028 "GL_LIB = libGL.so.$(VERSION)" \
1029 "GLU_LIB = libGLU.so.$(VERSION)" \
1030 "GLUT_LIB = libglut.so" \
1031 "GLW_LIB = libGLw.so" \
1033 "CFLAGS = -fPIC -O3 -I/usr/openwin/include -I/usr/include/X11R5 -I/usr/include/X11R5 -DUSE_XSHM -DSUNOS4 -DSOLARIS_2_4_BUG" \
1034 "MAKELIB = ../bin/mklib.sunos4" \
1035 "APP_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm"
1037 sunos4-gcc-x11r6-sl:
1038 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1039 "GL_LIB = libGL.so.$(VERSION)" \
1040 "GLU_LIB = libGLU.so.$(VERSION)" \
1041 "GLUT_LIB = libglut.so" \
1042 "GLW_LIB = libGLw.so" \
1044 "CFLAGS = -fPIC -O3 -I/usr/X11R6.3/include -DUSE_XSHM -DSUNOS4 -DSOLARIS_2_4_BUG" \
1045 "MAKELIB = ../bin/mklib.sunos4" \
1046 "APP_LIB_DEPS = -L/usr/X11R6.3/lib/X11 -lX11 -lXext -lXmu -lXi -lm"
1049 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1050 "GL_LIB = libGL.a" \
1051 "GLU_LIB = libGLU.a" \
1052 "GLUT_LIB = libglut.a" \
1053 "GLW_LIB = libGLw.a" \
1055 "CFLAGS = -Xa -fast -xO4 -native -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG" \
1056 "MAKELIB = ../bin/mklib.ar-ruv" \
1057 "APP_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm"
1060 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1061 "GL_LIB = libGL.so" \
1062 "GLU_LIB = libGLU.so" \
1063 "GLUT_LIB = libglut.so" \
1064 "GLW_LIB = libGLw.so" \
1066 "CFLAGS = -KPIC -Xa -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG" \
1067 "MAKELIB = ../bin/mklib.sunos5" \
1068 "APP_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm"
1071 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1072 "GL_LIB = libGL.a" \
1073 "GLU_LIB = libGLU.a" \
1074 "GLUT_LIB = libglut.a" \
1075 "GLW_LIB = libGLw.a" \
1077 "CFLAGS = -Xa -fast -xO5 -xtarget=ultra -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG" \
1078 "MAKELIB = ../bin/mklib.ar-ruv" \
1079 "APP_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm"
1082 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1083 "GL_LIB = libGL.so" \
1084 "GLU_LIB = libGLU.so" \
1085 "GLUT_LIB = libglut.so" \
1086 "GLW_LIB = libGLw.so" \
1088 "CFLAGS = -KPIC -Xa -fast -xO5 -xtarget=ultra -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG" \
1089 "MAKELIB = ../bin/mklib.sunos5" \
1090 "APP_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm"
1093 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1094 "GL_LIB = libGL.a" \
1095 "GLU_LIB = libGLU.a" \
1096 "GLUT_LIB = libglut.a" \
1097 "GLW_LIB = libGLw.a" \
1099 "CFLAGS = -O3 -I/usr/openwin/include -DUSE_XSHM -DSOLARIS_2_4_BUG" \
1100 "MAKELIB = ../bin/mklib.ar-ruv" \
1101 "APP_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm"
1104 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1105 "GL_LIB = libGL.so" \
1106 "GLU_LIB = libGLU.so" \
1107 "GLUT_LIB = libglut.so" \
1108 "GLW_LIB = libGLw.so" \
1110 "CFLAGS = -fPIC -O3 -I/usr/openwin/include -DUSE_XSHM -DSOLARIS_2_4_BUG" \
1111 "MAKELIB = ../bin/mklib.sunos5" \
1112 "APP_LIB_DEPS = -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm"
1114 sunos5-x11r6-gcc-sl:
1115 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1116 "GL_LIB = libGL.so" \
1117 "GLU_LIB = libGLU.so" \
1118 "GLUT_LIB = libglut.so" \
1119 "GLW_LIB = libGLw.so" \
1121 "CFLAGS = -fPIC -O3 -DUSE_XSHM -DSOLARIS_2_4_BUG" \
1122 "MAKELIB = ../bin/mklib.sunos5" \
1123 "APP_LIB_DEPS = -lSM -lICE -lX11 -lXext -lXmu -lXi -lnsl -lsocket -lm"
1125 # Contributed by John Stone
1127 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1128 "GL_LIB = libGL.a" \
1129 "GLU_LIB = libGLU.a" \
1130 "GLUT_LIB = libglut.a" \
1132 "CFLAGS = -mt -Xa -fast -xO4 -native -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG -DPTHREADS" \
1133 "MAKELIB = ../bin/mklib.ar-ruv" \
1134 "APP_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lpthread -lm"
1136 # Contributed by John Stone
1138 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1139 "GL_LIB = libGL.a" \
1140 "GLU_LIB = libGLU.a" \
1141 "GLUT_LIB = libglut.a" \
1143 "CFLAGS = -mt -Xa -fast -xO4 -native -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG -DSOLARIS_THREADS" \
1144 "MAKELIB = ../bin/mklib.ar-ruv" \
1145 "APP_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lthread -lm"
1147 # Contributed by John Stone
1149 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1150 "GL_LIB = libGL.a" \
1151 "GLU_LIB = libGLU.a" \
1152 "GLUT_LIB = libglut.a" \
1154 "CFLAGS = -O3 -I/usr/openwin/include -DUSE_XSHM -DSOLARIS_2_4_BUG -D_REENTRANT -DSOLARIS_THREADS" \
1155 "MAKELIB = ../bin/mklib.ar-ruv" \
1156 "APP_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lthread -lm"
1158 # Contributed by John Stone
1160 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1161 "GL_LIB = libGL.a" \
1162 "GLU_LIB = libGLU.a" \
1163 "GLUT_LIB = libglut.a" \
1165 "CFLAGS = -O3 -I/usr/openwin/include -DUSE_XSHM -DSOLARIS_2_4_BUG -D_REENTRANT -DPTHREADS" \
1166 "MAKELIB = ../bin/mklib.ar-ruv" \
1167 "APP_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lpthread -lm"
1169 # from Ron Metoyer (metoyer@iexist.flw.lucent.com)
1171 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1172 "GL_LIB = libGL.a" \
1173 "GLU_LIB = libGLU.a" \
1174 "GLUT_LIB = libglut.a" \
1175 "GLW_LIB = libGLw.a" \
1177 "CFLAGS = -O -I/usr/openwin/include -DUSE_XSHM -DSOLARIS_2_4_BUG" \
1178 "MAKELIB = ../bin/mklib.ar-ruv" \
1179 "APP_LIB_DEPS = -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm"
1181 #This config doesn't work, Ultrix C compiler isn't ANSI compliant
1183 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1184 "GL_LIB = libGL.a" \
1185 "GLU_LIB = libGLU.a" \
1186 "GLUT_LIB = libglut.a" \
1187 "GLW_LIB = libGLw.a" \
1189 "CFLAGS = -O -Dconst=/**/" \
1190 "MAKELIB = ../bin/mklib.ar-ruv" \
1191 "APP_LIB_DEPS = -lXmu -lX11 -lXi -lm"
1194 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1195 "GL_LIB = libGL.a" \
1196 "GLU_LIB = libGLU.a" \
1197 "GLUT_LIB = libglut.a" \
1198 "GLW_LIB = libGLw.a" \
1200 "CFLAGS = -pedantic -O2" \
1201 "MAKELIB = ../bin/mklib.ar-ruv" \
1202 "APP_LIB_DEPS = -lXmu -lX11 -lXi -lm"
1204 # tested on Cray C90 running UNICOS 8.0.4
1206 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1207 "GL_LIB = libGL.a" \
1208 "GLU_LIB = libGLU.a" \
1209 "GLUT_LIB = libglut.a" \
1210 "GLW_LIB = libGLw.a" \
1213 "MAKELIB = ../bin/mklib/ar-rcv" \
1214 "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lm"
1217 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1218 "GL_LIB = libGL.a" \
1219 "GLU_LIB = libGLU.a" \
1220 "GLUT_LIB = libglut.a" \
1221 "GLW_LIB = libGLw.a" \
1223 "CFLAGS = -O -I/usr/X/include -DUSE_XSHM" \
1224 "MAKELIB = ../bin/mklib.ar-ruv" \
1225 "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lsocket -lnsl -lm"
1228 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1230 "GLU_LIB = libGLU" \
1231 "GLUT_LIB = libglut" \
1232 "GLW_LIB = libGLw" \
1234 "CFLAGS = -O -I/usr/X/include -KPIC,inline -DUSE_XSHM" \
1235 "MAKELIB = ../bin/mklib.solaris" \
1236 "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lsocket -lnsl -lm"
1239 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1240 "GL_LIB = libGL.a" \
1241 "GLU_LIB = libGLU.a" \
1242 "GLUT_LIB = libglut.a" \
1244 "CFLAGS = -pedantic -O2 -I/usr/X11/include " \
1245 "MAKELIB = ../bin/mklib.ar-ruv" \
1246 "APP_LIB_DEPS = -L/usr/X11/lib -lX11 -lm"
1249 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1250 "GL_LIB = libGL.a" \
1251 "GLU_LIB = libGLU.a" \
1252 "GLUT_LIB = libglut.a" \
1253 "GLW_LIB = libGLw.a" \
1255 "CFLAGS = -pedantic -O2" \
1256 "MAKELIB = ../bin/mklib.ar-ruv" \
1257 "APP_LIB_DEPS = -lX11 -lsocket -lnsl -lgen -lm"
1260 # for debugging on IRIX 5.x systems
1261 # -woff 1209 = "controlling expression is constant"
1262 # -woff 1210 = "controlling expression is constant"
1263 # -woff 1506 = "implict conversion from unsigned long to smaller type"
1264 # -woff 1521 = "nonstandard preprocessing directive is used"
1265 # -woff 3496 = "bitwise operator precedence"
1267 pmake $(MFLAGS) -f Makefile.X11 targets \
1268 "GL_LIB = libGL.a" \
1269 "GLU_LIB = libGLU.a" \
1270 "GLUT_LIB = libglut.a" \
1271 "GLW_LIB = libGLw.a" \
1272 "LIBDIR = ../lib32" \
1274 "CFLAGS = -g -n32 -ansi -fullwarn -DUSE_XSHM -DDEBUG -woff 1209,1210,1506,1521,3496" \
1275 "MAKELIB = ../bin/mklib.ar-rcv" \
1276 "APP_LIB_DEPS = -rpath ../lib32 -lX11 -lXext -lXmu -lXi -lfpe -lXext -lXmu -lXi -lm"
1279 pmake $(MFLAGS) -f Makefile.X11 targets \
1280 "GL_LIB = libGL.a" \
1281 "GLU_LIB = libGLU.a" \
1282 "GLUT_LIB = libglut.a" \
1283 "GLW_LIB = libGLw.a" \
1285 "CFLAGS = -g -ansi -prototypes -fullwarn -DUSE_XSHM -DDEBUG" \
1286 "MAKELIB = ../bin/mklib.ar-rcv" \
1287 "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lfpe -lm"
1289 # for debugging on Linux systems
1291 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1292 "GL_LIB = libGL.a" \
1293 "GLU_LIB = libGLU.a" \
1294 "GLUT_LIB = libglut.a" \
1295 "GLW_LIB = libGLw.a" \
1297 "CFLAGS = -g -ansi -pedantic -Wall -Wmissing-prototypes -DUSE_XSHM -DDEBUG -DSVGA -DFX -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_X86_ASM_not -I/usr/include/glide -I/usr/local/glide/include" \
1298 "MAKELIB = ../bin/mklib.ar-ruv" \
1299 "APP_LIB_DEPS = -L/usr/local/glide/lib -lglide2x -ltexus -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lvga -lm" \
1300 "ASM_SOURCES = X86/x86a.S X86/common_x86asm.S X86/glapi_x86.S X86/vertex.S"
1303 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1304 "GL_LIB = libGL.so" \
1305 "GLU_LIB = libGLU.so" \
1306 "GLUT_LIB = libglut.so" \
1307 "GLW_LIB = libGLw.so" \
1309 "CFLAGS = -g -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DPTHREADS -DDEBUG -DMESA_DEBUG -DSVGA -I/usr/include/glide -DFX" \
1310 "MAKELIB = ../bin/mklib.linux" \
1311 "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread -lvga -L/usr/local/glide/lib -lglide2x" \
1312 "GLU_LIB_DEPS = -L../lib -lGL -lm" \
1313 "GLUT_LIB_DEPS = -L../lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
1314 "APP_LIB_DEPS = -lglut -lGLU -lGL"
1317 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1318 "GL_LIB = libGL.so" \
1319 "GLU_LIB = libGLU.so" \
1320 "GLUT_LIB = libglut.so" \
1321 "GLW_LIB = libGLw.so" \
1323 "CFLAGS = -g -ansi -pedantic -Wall -Wmissing-prototypes -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DPTHREADS -DFX -DDEBUG -I/usr/local/glide/include -I/usr/include/glide" \
1324 "MAKELIB = ../bin/mklib.linux" \
1325 "APP_LIB_DEPS = -L/usr/local/glide/lib -lglide2x -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lvga -lm -lpthread"
1327 # for profiling on Linux systems
1329 $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
1330 "GL_LIB = libGL.a" \
1331 "GLU_LIB = libGLU.a" \
1332 "GLUT_LIB = libglut.a" \
1333 "GLW_LIB = libGLw.a" \
1335 "CFLAGS = -O2 -pg -ansi -pedantic -Wall -DUSE_XSHM -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -I/usr/include/glide -I/usr/local/glide/include" \
1336 "MAKELIB = ../bin/mklib.ar-ruv" \
1337 "APP_LIB_DEPS = -L/usr/local/glide/lib -lglide2x -L/usr/X11/lib -lX11 -lXext -lXmu -lXt -lXi -lSM -lICE -lm" \
1338 "ASM_SOURCES = X86/x86a.S X86/common_x86asm.S X86/glapi_x86.S \
1340 X86/3dnow_xform_raw1.S X86/3dnow_xform_raw2.S \
1341 X86/3dnow_xform_raw3.S X86/3dnow_xform_raw4.S \
1342 X86/3dnow_xform_masked1.S X86/3dnow_xform_masked2.S \
1343 X86/3dnow_xform_masked3.S X86/3dnow_xform_masked4.S \
1344 X86/3dnow_norm_raw.S X86/vertex.S X86/vertex_3dnow.S \
1345 FX/X86/fx_3dnow_fastpath.S"