1 # $Id: Makefile.X11,v 1.106 2004/01/10 22:14:51 brianp Exp $
3 # Mesa 3-D graphics library
6 # Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
8 # Permission is hereby granted, free of charge, to any person obtaining a
9 # copy of this software and associated documentation files (the "Software"),
10 # to deal in the Software without restriction, including without limitation
11 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
12 # and/or sell copies of the Software, and to permit persons to whom the
13 # Software is furnished to do so, subject to the following conditions:
15 # The above copyright notice and this permission notice shall be included
16 # in all copies or substantial portions of the Software.
18 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19 # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21 # BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
22 # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26 # Top-level makefile for Mesa
27 # To add a new configuration for your system add it to the list below
28 # then update the Make-config file.
35 @echo "Type one of the following:"
36 @echo " make aix for AIX systems with xlc"
37 @echo " make aix-sl for AIX systems, make shared libs"
38 @echo " make aix-gcc for AIX sytems with gcc"
39 @echo " make beos-r4 for BeOS R4"
40 @echo " make cygnus for Win95/NT using Cygnus-Win32"
41 @echo " make cygnus-linux for Win95/NT using Cygnus-Win32 under Linux"
42 @echo " make darwin for Darwin - Mac OS X"
43 @echo " make freebsd for FreeBSD systems with GCC"
44 @echo " make freebsd-386 for FreeBSD systems with GCC, w/ Intel assembly"
45 @echo " make gcc-sl for a generic system with GCC for shared libs"
46 @echo " make hpux9 for HP systems with HPUX 9.x"
47 @echo " make hpux9-sl for HP systems with HPUX 9.x, make shared libs"
48 @echo " make hpux9-gcc for HP systems with HPUX 9.x using GCC"
49 @echo " make hpux9-gcc-sl for HP systems with HPUX 9.x, GCC, make shared libs"
50 @echo " make hpux10 for HP systems with HPUX 10.x and 11.x"
51 @echo " make hpux10-sl for HP systems with HPUX 10.x and 11.x, shared libs"
52 @echo " make hpux10-gcc for HP systems with HPUX 10.x w/ GCC"
53 @echo " make hpux10-gcc-sl for HP systems with HPUX 10.x w/ GCC, shared libs"
54 @echo " make irix6-o32 for SGI systems with IRIX 6.x, make o32-bit libs"
55 @echo " make irix6-o32-dso for SGI systems with IRIX 6.x, make o32-bit DSOs"
56 @echo " make irix6-n32 for SGI systems with IRIX 6.x, make n32-bit libs"
57 @echo " make irix6-n32-dso for SGI systems with IRIX 6.x, make n32-bit DSOs"
58 @echo " make irix6-gcc-n32-sl for SGI systems with IRIX 6.x, GCC, make n32 DSOs"
59 @echo " make irix6-64 for SGI systems with IRIX 6.x, make 64-bit libs"
60 @echo " make irix6-64-dso for SGI systems with IRIX 6.x, make 64-bit DSOs"
62 @echo " make linux for Linux"
63 @echo " make linux-x86 for Linux with x86 optimizations"
64 @echo " make linux-ggi for Linux with libggi driver"
65 @echo " make linux-x86-ggi for Linux with libggi driver and x86 optimizations"
66 @echo " make linux-glide for Linux with 3Dfx Glide driver"
67 @echo " make linux-x86-glide for Linux with 3Dfx Glide driver and x86 opts"
68 @echo " make linux-alpha for Linux with Alpha optimizations"
69 @echo " make linux-alpha-static for Linux with Alpha opts, make static libs"
70 @echo " make linux-ppc for Linux with PowerPC opts"
71 @echo " make linux-ppc-static for Linux with PowerPC opts, make static libs"
72 @echo " make linux-sparc for Linux with Sparc optimzations"
73 @echo " make linux-sparc5 for Linux with Sparc5 optimizations"
74 @echo " make linux-sparc-ultra for Linux with UltraSparc optimizations"
75 @echo " make linux-osmesa16 for 16-bit/channel OSMesa"
76 @echo " make linux-osmesa16-static for 16-bit/channel OSMesa, make static libs"
77 @echo " make linux-osmesa32 for 32-bit/channel OSMesa"
78 @echo " make linux-solo for Linux standalone with DRI drivers"
79 @echo " make linux-icc for Linux with the Intel C/C++ compiler"
80 @echo " make lynxos for LynxOS systems with GCC"
81 @echo " make mklinux for Linux on Power Macintosh"
82 @echo " make netbsd for NetBSD 1.0 systems with GCC"
83 @echo " make openbsd for OpenBSD systems"
84 @echo " make openstep for OpenStep/MacOSX Server systems"
85 @echo " make osf1 for DEC Alpha systems with OSF/1"
86 @echo " make qnx for QNX V4 systems with Watcom compiler"
87 @echo " make solaris-x86 for PCs with Solaris"
88 @echo " make solaris-x86-gcc for PCs with Solaris using GCC"
89 @echo " make sunos4 for Suns with SunOS 4.x"
90 @echo " make sunos4-sl for Suns with SunOS 4.x, make shared libs"
91 @echo " make sunos4-gcc for Suns with SunOS 4.x and GCC"
92 @echo " make sunos4-gcc-sl for Suns with SunOS 4.x, GCC, make shared libs"
93 @echo " make sunos5 for Suns with SunOS 5.x"
94 @echo " make sunos5-smp for Suns with SunOS 5.x, SMP optimization"
95 @echo " make sunos5-gcc for Suns with SunOS 5.x and GCC"
96 @echo " make sunos5-gcc-debug for Suns with SunOS 5.x and GCC"
97 @echo " make ultrix-gcc for DEC systems with Ultrix and GCC"
98 @echo " make unixware for PCs running UnixWare"
99 @echo " make unixware-shared for PCs running UnixWare, shared libs"
100 @echo " make clean remove .o files"
101 @echo " make realclean remove .o, library and executable files"
105 # XXX we may have to split up this group of targets into those that
106 # have a C++ compiler and those that don't for the SI-GLU library.
108 aix aix-sl aix-gcc darwin freebsd freebsd-386 gcc-sl \
109 cygnus cygnus-linux \
110 hpux9 hpux9-sl hpux9-gcc hpux9-gcc-sl \
111 hpux10 hpux10-sl hpux10-gcc hpux10-gcc-sl \
113 linux-x86 linux-x86-sse linux-icc linux-x86-static linux-x86-debug \
114 linux-glide linux-x86-glide linux-glide-debug \
115 linux-alpha-static linux-alpha \
116 linux-ppc-static linux-ppc \
117 linux-sparc linux-sparc5 linux-sparc-ultra \
118 mklinux netbsd osf1 openbsd qnx \
119 solaris-x86 solaris-x86-gcc \
120 sunos4 sunos4-sl sunos4-gcc sunos4-gcc-sl sunos4-gcc-x11r6-sl \
121 sunos5 sunos5-smp sunos5-gcc sunos5-gcc-debug \
124 if [ -d src/mesa ] ; then \
127 $(MAKE) -f Makefile.X11 $@ ; \
129 if [ -d src/glu/sgi ] ; then \
132 $(MAKE) -f Makefile.X11 $@ ; \
134 if [ -d src/glut/glx ] ; then \
137 $(MAKE) -f Makefile.X11 $@ ; \
139 if [ -d src/glw ] ; then \
142 $(MAKE) -f Makefile.X11 $@ ; \
144 if [ -d progs/demos ] ; then \
146 $(MAKE) -f Makefile.X11 $@ ; \
148 if [ -d progs/xdemos ] ; then \
150 $(MAKE) -f Makefile.X11 $@ ; \
152 if [ -d progs/samples ] ; then \
154 $(MAKE) -f Makefile.X11 $@ ; \
156 if [ -d progs/redbook ] ; then \
158 $(MAKE) -f Makefile.X11 $@ ; \
163 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
166 irix6-o32 irix6-o32-dso irix6-n32 irix6-n32-dso irix6-gcc-n32-sl:
168 if [ -d src/mesa ] ; then \
171 $(MAKE) -f Makefile.X11 $@ ; \
173 if [ -d src/glu/sgi ] ; then \
176 $(MAKE) -f Makefile.X11 $@ ; \
178 if [ -d src/glut/glx ] ; then \
181 $(MAKE) -f Makefile.X11 $@ ; \
183 if [ -d src/glw ] ; then \
185 touch src/glw/depend ; \
186 $(MAKE) -f Makefile.X11 $@ ; \
188 if [ -d progs/demos ] ; then \
190 $(MAKE) -f Makefile.X11 $@ ; \
192 if [ -d progs/xdemos ] ; then \
194 $(MAKE) -f Makefile.X11 $@ ; \
196 if [ -d progs/samples ] ; then \
198 $(MAKE) -f Makefile.X11 $@ ; \
200 if [ -d progs/redbook ] ; then \
202 $(MAKE) -f Makefile.X11 $@ ; \
205 irix6-64 irix6-64-dso:
207 if [ -d src/mesa ] ; then \
210 $(MAKE) -f Makefile.X11 $@ ; \
212 if [ -d src/glu/sgi ] ; then \
215 $(MAKE) -f Makefile.X11 $@ ; \
217 if [ -d src/glut/glx ] ; then \
220 $(MAKE) -f Makefile.X11 $@ ; \
222 if [ -d src/glw ] ; then \
224 touch src/glw/depend ; \
225 $(MAKE) -f Makefile.X11 $@ ; \
227 if [ -d progs/demos ] ; then \
229 $(MAKE) -f Makefile.X11 $@ ; \
231 if [ -d progs/xdemos ] ; then \
233 $(MAKE) -f Makefile.X11 $@ ; \
235 if [ -d progs/samples ] ; then \
237 $(MAKE) -f Makefile.X11 $@ ; \
239 if [ -d progs/redbook ] ; then \
241 $(MAKE) -f Makefile.X11 $@ ; \
246 if [ -d src/mesa ] ; then \
250 $(MAKE) -f Makefile.BeOS-R4 $@ ; \
252 if [ -d src/glu/sgi ] ; then \
256 $(MAKE) -f Makefile.BeOS-R4 $@ ; \
258 if [ -d src/glut/beos ] ; then \
260 $(MAKE) -f Makefile.BeOS-R4 $@ ; \
261 cp obj*/libglut.so ../../../lib ; \
263 if [ -d progs/beos ] ; then \
267 if [ -d progs/demos ] ; then \
269 $(MAKE) -f Makefile.BeOS-R4 $@ ; \
271 if [ -d progs/samples ] ; then \
273 $(MAKE) -f Makefile.BeOS-R4 $@ ; \
275 if [ -d progs/redbook ] ; then \
277 $(MAKE) -f Makefile.BeOS-R4 $@ ; \
283 cd src/mesa ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
284 cd src/glu/sgi ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
287 linux-ggi linux-x86-ggi:
289 if [ -d src/mesa ] ; then \
292 $(MAKE) -f Makefile.X11 $@ ; \
294 if [ -d src/glu/sgi ] ; then \
297 $(MAKE) -f Makefile.X11 $@ ; \
299 if [ -d src/glut/glx ] ; then \
302 $(MAKE) -f Makefile.X11 $@ ; \
304 if [ -d src/glw ] ; then \
306 touch src/glw/depend ; \
307 $(MAKE) -f Makefile.X11 $@ ; \
309 if [ -d progs/demos ] ; then \
311 $(MAKE) -f Makefile.X11 $@ ; \
313 if [ -d progs/xdemos ] ; then \
315 $(MAKE) -f Makefile.X11 $@ ; \
317 if [ -d progs/samples ] ; then \
319 $(MAKE) -f Makefile.X11 $@ ; \
321 if [ -d progs/redbook ] ; then \
323 $(MAKE) -f Makefile.X11 $@ ; \
325 if [ -d progs/ggi ] ; then \
327 $(MAKE) -f Makefile.X11 $@ ; \
331 # if you change GGI_DEST please change it in ggimesa.conf, too.
333 GGI_DEST=lib/ggi/mesa
335 linux-ggi-install linux-x86-ggi-install:
336 install -d $(DESTDIR)/$(GGI_DEST)/default $(DESTDIR)/$(GGI_DEST)/display $(DESTDIR)/etc/ggi
337 install -m 0755 src/GGI/default/*.so $(DESTDIR)/$(GGI_DEST)/default
338 install -m 0755 src/GGI/display/*.so $(DESTDIR)/$(GGI_DEST)/display
339 install -m 0644 src/GGI/ggimesa.conf $(DESTDIR)/etc/ggi
340 # if [ -z "`grep ggimesa $(DESTDIR)/etc/ggi/libggi.conf`" ]; then \
341 # echo ".include $(DESTDIR)/etc/ggi/ggimesa.conf" >> $(DESTDIR)/etc/ggi/libggi.conf ; \
345 linux-osmesa16 linux-osmesa16-static linux-osmesa32:
347 if [ -d src/mesa ] ; then \
350 $(MAKE) -f Makefile.OSMesa16 $@ ; \
354 # Stand-alone DRI hardware drivers
357 cd src/mesa ; touch depend ; $(MAKE) -f Makefile.solo $@
358 cd src/mesa/drivers/dri/r200 ; touch depend ; $(MAKE) -f Makefile.solo $@
359 cd src/mesa/drivers/dri/radeon ; touch depend ; $(MAKE) -f Makefile.solo $@
360 cd src/mesa/drivers/dri/r128 ; touch depend ; $(MAKE) -f Makefile.solo $@
361 cd src/mesa/drivers/dri/mga ; touch depend ; $(MAKE) -f Makefile.solo $@
362 cd src/mesa/drivers/dri/i810 ; touch depend ; $(MAKE) -f Makefile.solo $@
363 cd src/mesa/drivers/dri/i830 ; touch depend ; $(MAKE) -f Makefile.solo $@
364 cd src/mesa/drivers/dri/sis ; touch depend ; $(MAKE) -f Makefile.solo $@
365 cd src/mesa/drivers/dri/gamma ; touch depend ; $(MAKE) -f Makefile.solo $@
366 cd src/mesa/drivers/dri/tdfx ; touch depend ; $(MAKE) -f Makefile.solo $@
367 cd src/mesa/drivers/dri/fb ; touch depend ; $(MAKE) -f Makefile.solo $@
368 cd src/glx/mini ; touch depend ; $(MAKE) -f Makefile.solo $@
369 if [ -d src/glu/sgi ] ; then \
372 ln -s Makefile.X11 Makefile.solo ; \
373 $(MAKE) -f Makefile.solo $@ ; \
375 if [ -d src/glut/mini ] ; then \
378 $(MAKE) -f Makefile.solo $@ ; \
380 if [ -d progs/miniglx ] ; then \
383 $(MAKE) -f Makefile.solo $@ ; \
385 # if [ -d progs/demos ] ; then \
387 # $(MAKE) -f Makefile.X11 $@ ; \
389 # if [ -d progs/xdemos ] ; then \
390 # cd progs/xdemos ; \
391 # $(MAKE) -f Makefile.X11 $@ ; \
393 # if [ -d progs/samples ] ; then \
394 # cd progs/samples ; \
395 # $(MAKE) -f Makefile.X11 $@ ; \
397 # if [ -d progs/redbook ] ; then \
398 # cd progs/redbook ; \
399 # $(MAKE) -f Makefile.X11 $@ ; \
403 # Remove .o files, emacs backup files, etc.
404 # XXX this should be cleaned up
406 if ! [ -f src/mesa/depend ] ; then touch src/mesa/depend ; fi
407 if ! [ -f src/mesa/drivers/dri/r200/depend ]; then touch src/mesa/drivers/dri/r200/depend; fi
408 if ! [ -f src/mesa/drivers/dri/r128/depend ]; then touch src/mesa/drivers/dri/r128/depend; fi
409 if ! [ -f src/mesa/drivers/dri/radeon/depend ]; then touch src/mesa/drivers/dri/radeon/depend; fi
410 if ! [ -f src/mesa/drivers/dri/mga/depend ]; then touch src/mesa/drivers/dri/mga/depend; fi
411 if ! [ -f src/mesa/drivers/dri/fb/depend ]; then touch src/mesa/drivers/dri/fb/depend; fi
412 if ! [ -f src/glu/mesa/depend ] ; then touch src/glu/mesa/depend ; fi
413 if ! [ -f src/glu/sgi/depend ] ; then touch src/glu/sgi/depend ; fi
414 if ! [ -f src/glu/mini/depend ] ; then touch src/glu/mini/depend ; fi
415 if ! [ -f src/glut/glx/depend ] ; then touch src/glut/glx/depend ; fi
416 if ! [ -f src/glut/mini/depend ] ; then touch src/glut/mini/depend ; fi
417 if ! [ -f src/glx/mini/depend ] ; then touch src/glx/mini/depend ; fi
418 if ! [ -f progs/tests/depend ] ; then touch progs/tests/depend ; fi
419 if ! [ -f progs/miniglx/depend ] ; then touch progs/miniglx/depend ; fi
421 cd src/mesa && $(MAKE) -f Makefile.X11 $@ || true
422 cd src/mesa/drivers/dri/r200 && $(MAKE) -f Makefile.solo $@ || true
423 cd src/mesa/drivers/dri/r128 && $(MAKE) -f Makefile.solo $@ || true
424 cd src/mesa/drivers/dri/radeon && $(MAKE) -f Makefile.solo $@ || true
425 cd src/mesa/drivers/dri/mga && $(MAKE) -f Makefile.solo $@ || true
426 cd src/mesa/drivers/dri/fb && $(MAKE) -f Makefile.solo $@ || true
427 cd src/glu/mesa && $(MAKE) -f Makefile.X11 $@ || true
428 cd src/glu/sgi && $(MAKE) -f Makefile.X11 $@ || true
429 cd src/glu/mini && $(MAKE) -f Makefile.X11 $@ || true
430 cd src/glut/glx && $(MAKE) -f Makefile.X11 $@ || true
431 cd src/glut/mini && $(MAKE) -f Makefile.X11 $@ || true
432 cd src/glw && $(MAKE) -f Makefile.X11 $@ || true
433 cd src/glx/mini && $(MAKE) -f Makefile.X11 $@ || true
434 cd progs/demos && $(MAKE) -f Makefile.X11 $@ || true
435 cd progs/redbook && $(MAKE) -f Makefile.X11 $@ || true
436 cd progs/xdemos && $(MAKE) -f Makefile.X11 $@ || true
437 cd progs/samples && $(MAKE) -f Makefile.X11 $@ || true
438 cd progs/tests && $(MAKE) -f Makefile.X11 $@ || true
439 cd progs/miniglx && $(MAKE) -f Makefile.solo $@ || true
440 if [ -f src/mesa/depend ] ; then rm src/mesa/depend ; fi
441 if [ -f src/mesa/drivers/dri/r200/depend ]; then rm -f src/mesa/drivers/dri/r200/depend; fi
442 if [ -f src/mesa/drivers/dri/r128/depend ]; then rm -f src/mesa/drivers/dri/r128/depend; fi
443 if [ -f src/mesa/drivers/dri/radeon/depend ]; then rm -f src/mesa/drivers/dri/radeon/depend; fi
444 if [ -f src/mesa/drivers/dri/mga/depend ]; then rm -f src/mesa/drivers/dri/mga/depend; fi
445 if [ -f src/mesa/drivers/dri/fb/depend ]; then rm -f src/mesa/drivers/dri/fb/depend; fi
446 if [ -f src/glu/mesa/depend ] ; then rm -f src/glu/mesa/depend ; fi
447 if [ -f src/glu/sgi/depend ] ; then rm -f src/glu/sgi/depend ; fi
448 if [ -f src/glu/mini/depend ] ; then rm -f src/glu/mini/depend ; fi
449 if [ -f src/glut/glx/depend ] ; then rm -f src/glut/glx/depend ; fi
450 if [ -f src/glut/mini/depend ] ; then rm -f src/glut/mini/depend ; fi
451 if [ -f src/glx/mini/depend ] ; then rm -f src/glx/mini/depend ; fi
452 if [ -f progs/tests/depend ] ; then rm -f progs/tests/depend ; fi
453 if [ -f progs/miniglx/depend ] ; then rm -f progs/miniglx/depend ; fi
456 # Remove everything that can be remade
458 -rm -fr lib lib32 lib64
459 cd progs/demos && $(MAKE) -f Makefile.X11 realclean || true
460 cd progs/xdemos && $(MAKE) -f Makefile.X11 realclean || true
461 cd progs/redbook && $(MAKE) -f Makefile.X11 realclean || true
462 cd progs/samples && $(MAKE) -f Makefile.X11 realclean || true
465 # Remove everything not in CVS
467 -rm -f acinclude.m4 aclocal.m4
468 -rm -f conf.h conf.h.in config.guess config.log config.status
469 -rm -f config.sub configure
470 -rm -f install-sh libtool ltmain.sh Makefile.in
471 -rm -f missing mkinstalldirs stamp-h stamp-h.in
477 LIB_NAME = MesaLib-6.0
478 DEMO_NAME = MesaDemos-6.0
479 GLU_NAME = MesaGLU-6.0
484 $(DIRECTORY)/Makefile* \
485 $(DIRECTORY)/Make-config \
486 $(DIRECTORY)/descrip.mms \
487 $(DIRECTORY)/mms-config. \
488 $(DIRECTORY)/Mesa.dsw \
489 $(DIRECTORY)/bin/mklib* \
490 $(DIRECTORY)/docs/*.html \
491 $(DIRECTORY)/docs/COPYING \
492 $(DIRECTORY)/docs/INSTALL.GNU \
493 $(DIRECTORY)/docs/README.* \
494 $(DIRECTORY)/docs/RELNOTES* \
495 $(DIRECTORY)/docs/VERSIONS \
496 $(DIRECTORY)/docs/*.spec \
497 $(DIRECTORY)/include/GL/internal/glcore.h \
498 $(DIRECTORY)/include/GL/dmesa.h \
499 $(DIRECTORY)/include/GL/amesa.h \
500 $(DIRECTORY)/include/GL/fxmesa.h \
501 $(DIRECTORY)/include/GL/ggimesa.h \
502 $(DIRECTORY)/include/GL/gl.h \
503 $(DIRECTORY)/include/GL/glext.h \
504 $(DIRECTORY)/include/GL/gl_mangle.h \
505 $(DIRECTORY)/include/GL/glu.h \
506 $(DIRECTORY)/include/GL/glu_mangle.h \
507 $(DIRECTORY)/include/GL/glx.h \
508 $(DIRECTORY)/include/GL/glxext.h \
509 $(DIRECTORY)/include/GL/glx_mangle.h \
510 $(DIRECTORY)/include/GL/mesa_wgl.h \
511 $(DIRECTORY)/include/GL/mglmesa.h \
512 $(DIRECTORY)/include/GL/osmesa.h \
513 $(DIRECTORY)/include/GL/svgamesa.h \
514 $(DIRECTORY)/include/GL/ugl*.h \
515 $(DIRECTORY)/include/GL/vms_x_fix.h \
516 $(DIRECTORY)/include/GL/wmesa.h \
517 $(DIRECTORY)/include/GL/xmesa.h \
518 $(DIRECTORY)/include/GL/xmesa_x.h \
519 $(DIRECTORY)/include/GL/xmesa_xf86.h \
520 $(DIRECTORY)/src/descrip.mms \
521 $(DIRECTORY)/src/mesa/Makefile* \
522 $(DIRECTORY)/src/mesa/sources \
523 $(DIRECTORY)/src/mesa/descrip.mms \
524 $(DIRECTORY)/src/mesa/depend \
525 $(DIRECTORY)/src/mesa/main/*.[chS] \
526 $(DIRECTORY)/src/mesa/main/main.dsp \
527 $(DIRECTORY)/src/mesa/main/descrip.mms \
528 $(DIRECTORY)/src/mesa/glapi/*.[chS] \
529 $(DIRECTORY)/src/mesa/glapi/glapi.dsp \
530 $(DIRECTORY)/src/mesa/glapi/descrip.mms \
531 $(DIRECTORY)/src/mesa/array_cache/*.[ch] \
532 $(DIRECTORY)/src/mesa/array_cache/array_cache.dsp \
533 $(DIRECTORY)/src/mesa/array_cache/descrip.mms \
534 $(DIRECTORY)/src/mesa/math/*.[ch] \
535 $(DIRECTORY)/src/mesa/math/math.dsp \
536 $(DIRECTORY)/src/mesa/math/descrip.mms \
537 $(DIRECTORY)/src/mesa/swrast/*.[ch] \
538 $(DIRECTORY)/src/mesa/swrast/swrast.dsp \
539 $(DIRECTORY)/src/mesa/swrast/descrip.mms \
540 $(DIRECTORY)/src/mesa/swrast_setup/*.[ch] \
541 $(DIRECTORY)/src/mesa/swrast_setup/swrast_setup.dsp \
542 $(DIRECTORY)/src/mesa/swrast_setup/descrip.mms \
543 $(DIRECTORY)/src/mesa/tnl/*.[ch] \
544 $(DIRECTORY)/src/mesa/tnl/tnl.dsp \
545 $(DIRECTORY)/src/mesa/tnl/descrip.mms \
546 $(DIRECTORY)/src/mesa/tnl_dd/*.[ch] \
547 $(DIRECTORY)/src/mesa/tnl_dd/imm/*.[ch] \
548 $(DIRECTORY)/src/mesa/tnl_dd/imm/NOTES.imm \
549 $(DIRECTORY)/src/mesa/drivers/beos/*.cpp \
550 $(DIRECTORY)/src/mesa/drivers/beos/*.h \
551 $(DIRECTORY)/src/mesa/drivers/common/*.[ch] \
552 $(DIRECTORY)/src/mesa/drivers/dos/*.[chS] \
553 $(DIRECTORY)/src/mesa/drivers/dri/common/*.[ch] \
554 $(DIRECTORY)/src/mesa/drivers/fbdev/glfbdev.c \
555 $(DIRECTORY)/src/mesa/drivers/glide/*.[ch] \
556 $(DIRECTORY)/src/mesa/drivers/glide/*.def \
557 $(DIRECTORY)/src/mesa/drivers/ggi/*.[ch] \
558 $(DIRECTORY)/src/mesa/drivers/ggi/ggimesa.conf.in \
559 $(DIRECTORY)/src/mesa/drivers/ggi/default/*.c \
560 $(DIRECTORY)/src/mesa/drivers/ggi/default/genkgi.conf.in \
561 $(DIRECTORY)/src/mesa/drivers/ggi/display/*.c \
562 $(DIRECTORY)/src/mesa/drivers/ggi/display/fbdev.conf.in \
563 $(DIRECTORY)/src/mesa/drivers/ggi/include/ggi/mesa/*.h \
564 $(DIRECTORY)/src/mesa/drivers/osmesa/Makefile.win \
565 $(DIRECTORY)/src/mesa/drivers/osmesa/descrip.mms \
566 $(DIRECTORY)/src/mesa/drivers/osmesa/osmesa.def \
567 $(DIRECTORY)/src/mesa/drivers/osmesa/osmesa.dsp \
568 $(DIRECTORY)/src/mesa/drivers/osmesa/*.[ch] \
569 $(DIRECTORY)/src/mesa/drivers/svga/*.[ch] \
570 $(DIRECTORY)/src/mesa/drivers/windows/*/*.[ch] \
571 $(DIRECTORY)/src/mesa/drivers/windows/*/*.def \
572 $(DIRECTORY)/src/mesa/drivers/windows/*/*.dsp \
573 $(DIRECTORY)/src/mesa/drivers/x11/descrip.mms \
574 $(DIRECTORY)/src/mesa/drivers/x11/*.[ch] \
575 $(DIRECTORY)/src/mesa/sparc/*.[chS] \
576 $(DIRECTORY)/src/mesa/x86/*.[ch] \
577 $(DIRECTORY)/src/mesa/x86/*.S \
578 $(DIRECTORY)/src/glu/descrip.mms \
579 $(DIRECTORY)/src/glu/sgi/Makefile.X11 \
580 $(DIRECTORY)/src/glu/sgi/Makefile.win \
581 $(DIRECTORY)/src/glu/sgi/Makefile.DJ \
582 $(DIRECTORY)/src/glu/sgi/cc*.txt \
583 $(DIRECTORY)/src/glu/sgi/glu.def \
584 $(DIRECTORY)/src/glu/sgi/glu.dsp \
585 $(DIRECTORY)/src/glu/sgi/dummy.cc \
586 $(DIRECTORY)/src/glu/sgi/descrip.mms \
587 $(DIRECTORY)/src/glu/sgi/mesaglu.opt \
588 $(DIRECTORY)/src/glu/sgi/include/gluos.h \
589 $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.h \
590 $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.cc \
591 $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.h \
592 $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.cc \
593 $(DIRECTORY)/src/glu/sgi/libnurbs/nurbtess/*.h \
594 $(DIRECTORY)/src/glu/sgi/libnurbs/nurbtess/*.cc \
595 $(DIRECTORY)/src/glu/sgi/libtess/README \
596 $(DIRECTORY)/src/glu/sgi/libtess/alg-outline \
597 $(DIRECTORY)/src/glu/sgi/libtess/*.[ch] \
598 $(DIRECTORY)/src/glu/sgi/libutil/*.[ch] \
599 $(DIRECTORY)/src/glu/mesa/README[12] \
600 $(DIRECTORY)/src/glu/mesa/Makefile* \
601 $(DIRECTORY)/src/glu/mesa/descrip.mms \
602 $(DIRECTORY)/src/glu/mesa/mms_depend \
603 $(DIRECTORY)/src/glu/mesa/*.def \
604 $(DIRECTORY)/src/glu/mesa/depend \
605 $(DIRECTORY)/src/glu/mesa/*.[ch] \
606 $(DIRECTORY)/src/glw/*.[ch] \
607 $(DIRECTORY)/src/glw/Makefile* \
608 $(DIRECTORY)/src/glw/README \
609 $(DIRECTORY)/progs/util/README \
610 $(DIRECTORY)/progs/util/*.[ch] \
611 $(DIRECTORY)/progs/util/sampleMakefile \
612 $(DIRECTORY)/vms/analyze_map.com \
613 $(DIRECTORY)/vms/xlib.opt \
614 $(DIRECTORY)/vms/xlib_share.opt
618 $(DIRECTORY)/include/GL/glut.h \
619 $(DIRECTORY)/include/GL/glutf90.h \
620 $(DIRECTORY)/src/glut/glx/Makefile* \
621 $(DIRECTORY)/src/glut/glx/depend \
622 $(DIRECTORY)/src/glut/glx/*def \
623 $(DIRECTORY)/src/glut/glx/descrip.mms \
624 $(DIRECTORY)/src/glut/glx/mms_depend \
625 $(DIRECTORY)/src/glut/glx/glut.dsp \
626 $(DIRECTORY)/src/glut/glx/*.[ch] \
627 $(DIRECTORY)/src/glut/beos/*.h \
628 $(DIRECTORY)/src/glut/beos/*.cpp \
629 $(DIRECTORY)/src/glut/beos/libglut.def \
630 $(DIRECTORY)/src/glut/beos/Makefile* \
631 $(DIRECTORY)/src/glut/dos/*.[ch] \
632 $(DIRECTORY)/src/glut/dos/Makefile.DJ \
633 $(DIRECTORY)/src/glut/dos/PC_HW/*.[chS] \
634 $(DIRECTORY)/progs/images/* \
635 $(DIRECTORY)/progs/demos/Makefile* \
636 $(DIRECTORY)/progs/demos/descrip.mms \
637 $(DIRECTORY)/progs/demos/*.[ch] \
638 $(DIRECTORY)/progs/demos/*.cxx \
639 $(DIRECTORY)/progs/demos/*.dat \
640 $(DIRECTORY)/progs/demos/README \
641 $(DIRECTORY)/progs/demos/Windows/* \
642 $(DIRECTORY)/progs/xdemos/Makefile* \
643 $(DIRECTORY)/progs/xdemos/descrip.mms \
644 $(DIRECTORY)/progs/xdemos/*.[chf] \
645 $(DIRECTORY)/progs/redbook/Makefile* \
646 $(DIRECTORY)/progs/redbook/README \
647 $(DIRECTORY)/progs/redbook/*.[ch] \
648 $(DIRECTORY)/progs/samples/Makefile* \
649 $(DIRECTORY)/progs/samples/README \
650 $(DIRECTORY)/progs/samples/*.c \
651 $(DIRECTORY)/progs/windml/Makefile.ugl \
652 $(DIRECTORY)/progs/windml/*.c \
653 $(DIRECTORY)/progs/windml/*.bmp \
654 $(DIRECTORY)/progs/ggi/*.c
657 $(DIRECTORY)/Makefile* \
658 $(DIRECTORY)/Make-config \
659 $(DIRECTORY)/bin/mklib* \
660 $(DIRECTORY)/include/GL/glu.h \
661 $(DIRECTORY)/src/glu/sgi/Makefile.X11 \
662 $(DIRECTORY)/src/glu/sgi/include/gluos.h \
663 $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.h \
664 $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.cc \
665 $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.h \
666 $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.cc \
667 $(DIRECTORY)/src/glu/sgi/libnurbs/nurbstess/*.h \
668 $(DIRECTORY)/src/glu/sgi/libnurbs/nurbstess/*.cc \
669 $(DIRECTORY)/src/glu/sgi/libtess/README \
670 $(DIRECTORY)/src/glu/sgi/libtess/alg-outline \
671 $(DIRECTORY)/src/glu/sgi/libtess/*.[ch] \
672 $(DIRECTORY)/src/glu/sgi/libutil/*.[ch]
675 $(DIRECTORY)/Makefile* \
676 $(DIRECTORY)/Make-config \
677 $(DIRECTORY)/bin/mklib* \
678 $(DIRECTORY)/include/GL/gl.h \
679 $(DIRECTORY)/include/GL/gl_mangle.h \
680 $(DIRECTORY)/include/GL/glext.h \
681 $(DIRECTORY)/include/GL/glu.h \
682 $(DIRECTORY)/include/GL/glu_mangle.h \
683 $(DIRECTORY)/src/glu/mesa/README[12] \
684 $(DIRECTORY)/src/glu/mesa/Makefile* \
685 $(DIRECTORY)/src/glu/mesa/descrip.mms \
686 $(DIRECTORY)/src/glu/mesa/mms_depend \
687 $(DIRECTORY)/src/glu/mesa/*.def \
688 $(DIRECTORY)/src/glu/mesa/depend \
689 $(DIRECTORY)/src/glu/mesa/*.[ch]
692 $(DIRECTORY)/Makefile* \
693 $(DIRECTORY)/Make-config \
694 $(DIRECTORY)/bin/mklib* \
695 $(DIRECTORY)/include/GL/gl.h \
696 $(DIRECTORY)/include/GL/gl_mangle.h \
697 $(DIRECTORY)/include/GL/glext.h \
698 $(DIRECTORY)/include/GL/glu.h \
699 $(DIRECTORY)/include/GL/glu_mangle.h \
700 $(DIRECTORY)/include/GL/glut.h \
701 $(DIRECTORY)/include/GL/glutf90.h \
702 $(DIRECTORY)/src/glut/glx/Makefile* \
703 $(DIRECTORY)/src/glut/glx/depend \
704 $(DIRECTORY)/src/glut/glx/*def \
705 $(DIRECTORY)/src/glut/glx/descrip.mms \
706 $(DIRECTORY)/src/glut/glx/mms_depend \
707 $(DIRECTORY)/src/glut/glx/*.[ch]
712 cp Makefile.X11 Makefile ; \
714 tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \
715 gzip $(LIB_NAME).tar ; \
716 mv $(LIB_NAME).tar.gz $(DIRECTORY)
720 tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \
721 gzip $(DEMO_NAME).tar ; \
722 mv $(DEMO_NAME).tar.gz $(DIRECTORY)
725 cp Makefile.X11 Makefile ; \
727 tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \
728 bzip2 $(LIB_NAME).tar ; \
729 mv $(LIB_NAME).tar.bz2 $(DIRECTORY)
733 tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \
734 bzip2 $(DEMO_NAME).tar ; \
735 mv $(DEMO_NAME).tar.bz2 $(DIRECTORY)
738 -rm $(LIB_NAME).zip ; \
739 cp Makefile.X11 Makefile ; \
741 zip -r $(LIB_NAME).zip $(LIB_FILES) ; \
742 mv $(LIB_NAME).zip $(DIRECTORY)
745 -rm $(DEMO_NAME).zip ; \
747 zip -r $(DEMO_NAME).zip $(DEMO_FILES) ; \
748 mv $(DEMO_NAME).zip $(DIRECTORY)
751 @-md5sum $(LIB_NAME).tar.gz
752 @-md5sum $(LIB_NAME).tar.bz2
753 @-md5sum $(LIB_NAME).zip
754 @-md5sum $(DEMO_NAME).tar.gz
755 @-md5sum $(DEMO_NAME).tar.bz2
756 @-md5sum $(DEMO_NAME).zip
758 # Everything for new Mesa release:
759 tarballs: lib_gz demo_gz lib_bz2 demo_bz2 lib_zip demo_zip md5
764 cp Makefile.X11 Makefile ; \
766 tar -cvf $(GLU_NAME).tar $(GLU_FILES) ; \
767 gzip $(GLU_NAME).tar ; \
768 mv $(GLU_NAME).tar.gz $(DIRECTORY)
771 cp Makefile.X11 Makefile ; \
773 tar -cvf $(GLUT_NAME).tar $(GLUT_FILES) ; \
774 gzip $(GLUT_NAME).tar ; \
775 mv $(GLUT_NAME).tar.gz $(DIRECTORY)