1 # $Id: Makefile.X11,v 1.100 2003/12/13 01:33:36 brianp Exp $
3 # Mesa 3-D graphics library
6 # Copyright (C) 1999-2003 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 IBM RS/6000 with AIX"
37 @echo " make aix-sl for IBM RS/6000, make shared libs"
38 @echo " make beos-r4 for BeOS R4"
39 @echo " make cygnus for Win95/NT using Cygnus-Win32"
40 @echo " make cygnus-linux for Win95/NT using Cygnus-Win32 under Linux"
41 @echo " make darwin for Darwin - Mac OS X"
42 @echo " make freebsd for FreeBSD systems with GCC"
43 @echo " make freebsd-386 for FreeBSD systems with GCC, w/ Intel assembly"
44 @echo " make gcc-sl for a generic system with GCC for shared libs"
45 @echo " make hpux9 for HP systems with HPUX 9.x"
46 @echo " make hpux9-sl for HP systems with HPUX 9.x, make shared libs"
47 @echo " make hpux9-gcc for HP systems with HPUX 9.x using GCC"
48 @echo " make hpux9-gcc-sl for HP systems with HPUX 9.x, GCC, make shared libs"
49 @echo " make hpux10 for HP systems with HPUX 10.x and 11.x"
50 @echo " make hpux10-sl for HP systems with HPUX 10.x and 11.x, shared libs"
51 @echo " make hpux10-gcc for HP systems with HPUX 10.x w/ GCC"
52 @echo " make hpux10-gcc-sl for HP systems with HPUX 10.x w/ GCC, shared libs"
53 @echo " make irix6-o32 for SGI systems with IRIX 6.x, make o32-bit libs"
54 @echo " make irix6-o32-dso for SGI systems with IRIX 6.x, make o32-bit DSOs"
55 @echo " make irix6-n32 for SGI systems with IRIX 6.x, make n32-bit libs"
56 @echo " make irix6-n32-dso for SGI systems with IRIX 6.x, make n32-bit DSOs"
57 @echo " make irix6-gcc-n32-sl for SGI systems with IRIX 6.x, GCC, make n32 DSOs"
58 @echo " make irix6-64 for SGI systems with IRIX 6.x, make 64-bit libs"
59 @echo " make irix6-64-dso for SGI systems with IRIX 6.x, make 64-bit DSOs"
61 @echo " make linux for Linux"
62 @echo " make linux-x86 for Linux with x86 optimizations"
63 @echo " make linux-ggi for Linux with libggi driver"
64 @echo " make linux-x86-ggi for Linux with libggi driver and x86 optimizations"
65 @echo " make linux-glide for Linux with 3Dfx Glide driver"
66 @echo " make linux-x86-glide for Linux with 3Dfx Glide driver and x86 opts"
67 @echo " make linux-alpha for Linux with Alpha optimizations"
68 @echo " make linux-alpha-static for Linux with Alpha opts, make static libs"
69 @echo " make linux-ppc for Linux with PowerPC opts"
70 @echo " make linux-ppc-static for Linux with PowerPC opts, make static libs"
71 @echo " make linux-sparc for Linux with Sparc optimzations"
72 @echo " make linux-sparc5 for Linux with Sparc5 optimizations"
73 @echo " make linux-sparc-ultra for Linux with UltraSparc optimizations"
74 @echo " make linux-osmesa16 for 16-bit/channel OSMesa"
75 @echo " make linux-osmesa16-static for 16-bit/channel OSMesa, make static libs"
76 @echo " make linux-osmesa32 for 32-bit/channel OSMesa"
77 @echo " make linux-solo for Linux standalone with DRI drivers"
78 @echo " make linux-icc for Linux with the Intel C/C++ compiler"
79 @echo " make lynxos for LynxOS systems with GCC"
80 @echo " make mklinux for Linux on Power Macintosh"
81 @echo " make netbsd for NetBSD 1.0 systems with GCC"
82 @echo " make openbsd for OpenBSD systems"
83 @echo " make openstep for OpenStep/MacOSX Server systems"
84 @echo " make osf1 for DEC Alpha systems with OSF/1"
85 @echo " make qnx for QNX V4 systems with Watcom compiler"
86 @echo " make solaris-x86 for PCs with Solaris"
87 @echo " make solaris-x86-gcc for PCs with Solaris using GCC"
88 @echo " make sunos4 for Suns with SunOS 4.x"
89 @echo " make sunos4-sl for Suns with SunOS 4.x, make shared libs"
90 @echo " make sunos4-gcc for Suns with SunOS 4.x and GCC"
91 @echo " make sunos4-gcc-sl for Suns with SunOS 4.x, GCC, make shared libs"
92 @echo " make sunos5 for Suns with SunOS 5.x"
93 @echo " make sunos5-smp for Suns with SunOS 5.x, SMP optimization"
94 @echo " make sunos5-gcc for Suns with SunOS 5.x and GCC"
95 @echo " make sunos5-gcc-debug for Suns with SunOS 5.x and GCC"
96 @echo " make ultrix-gcc for DEC systems with Ultrix and GCC"
97 @echo " make unixware for PCs running UnixWare"
98 @echo " make unixware-shared for PCs running UnixWare, shared libs"
99 @echo " make clean remove .o files"
100 @echo " make realclean remove .o, library and executable files"
104 # XXX we may have to split up this group of targets into those that
105 # have a C++ compiler and those that don't for the SI-GLU library.
107 aix aix-sl darwin freebsd freebsd-386 gcc-sl \
109 hpux9 hpux9-sl hpux9-gcc hpux9-gcc-sl \
110 hpux10 hpux10-sl hpux10-gcc hpux10-gcc-sl \
112 linux-x86 linux-x86-sse linux-icc linux-x86-static linux-x86-debug \
113 linux-glide linux-x86-glide linux-glide-debug \
114 linux-alpha-static linux-alpha \
115 linux-ppc-static linux-ppc \
116 linux-sparc linux-sparc5 linux-sparc-ultra \
117 mklinux netbsd osf1 openbsd qnx \
118 solaris-x86 solaris-x86-gcc \
119 sunos4 sunos4-sl sunos4-gcc sunos4-gcc-sl sunos4-gcc-x11r6-sl \
120 sunos5 sunos5-smp sunos5-gcc sunos5-gcc-debug \
123 if [ -d src/mesa ] ; then \
126 $(MAKE) -f Makefile.X11 $@ ; \
128 if [ -d src/glu/sgi ] ; then \
131 $(MAKE) -f Makefile.X11 $@ ; \
133 if [ -d src/glut/glx ] ; then \
136 $(MAKE) -f Makefile.X11 $@ ; \
138 if [ -d src/glw ] ; then \
140 touch src/glw/depend ; \
141 $(MAKE) -f Makefile.X11 $@ ; \
143 if [ -d progs/demos ] ; then \
145 $(MAKE) -f Makefile.X11 $@ ; \
147 if [ -d progs/xdemos ] ; then \
149 $(MAKE) -f Makefile.X11 $@ ; \
151 if [ -d progs/samples ] ; then \
153 $(MAKE) -f Makefile.X11 $@ ; \
155 if [ -d progs/redbook ] ; then \
157 $(MAKE) -f Makefile.X11 $@ ; \
162 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
165 irix6-o32 irix6-o32-dso irix6-n32 irix6-n32-dso irix6-gcc-n32-sl:
167 if [ -d src/mesa ] ; then \
170 $(MAKE) -f Makefile.X11 $@ ; \
172 if [ -d src/glu/sgi ] ; then \
175 $(MAKE) -f Makefile.X11 $@ ; \
177 if [ -d src/glut/glx ] ; then \
180 $(MAKE) -f Makefile.X11 $@ ; \
182 if [ -d src/glw ] ; then \
184 touch src/glw/depend ; \
185 $(MAKE) -f Makefile.X11 $@ ; \
187 if [ -d progs/demos ] ; then \
189 $(MAKE) -f Makefile.X11 $@ ; \
191 if [ -d progs/xdemos ] ; then \
193 $(MAKE) -f Makefile.X11 $@ ; \
195 if [ -d progs/samples ] ; then \
197 $(MAKE) -f Makefile.X11 $@ ; \
199 if [ -d progs/redbook ] ; then \
201 $(MAKE) -f Makefile.X11 $@ ; \
204 irix6-64 irix6-64-dso:
206 if [ -d src/mesa ] ; then \
209 $(MAKE) -f Makefile.X11 $@ ; \
211 if [ -d src/glu/sgi ] ; then \
214 $(MAKE) -f Makefile.X11 $@ ; \
216 if [ -d src/glut/glx ] ; then \
219 $(MAKE) -f Makefile.X11 $@ ; \
221 if [ -d src/glw ] ; then \
223 touch src/glw/depend ; \
224 $(MAKE) -f Makefile.X11 $@ ; \
226 if [ -d progs/demos ] ; then \
228 $(MAKE) -f Makefile.X11 $@ ; \
230 if [ -d progs/xdemos ] ; then \
232 $(MAKE) -f Makefile.X11 $@ ; \
234 if [ -d progs/samples ] ; then \
236 $(MAKE) -f Makefile.X11 $@ ; \
238 if [ -d progs/redbook ] ; then \
240 $(MAKE) -f Makefile.X11 $@ ; \
245 if [ -d src/mesa ] ; then \
249 $(MAKE) -f Makefile.BeOS-R4 $@ ; \
251 if [ -d src/glu/sgi ] ; then \
255 $(MAKE) -f Makefile.BeOS-R4 $@ ; \
257 if [ -d src/glut/beos ] ; then \
259 $(MAKE) -f Makefile.BeOS-R4 $@ ; \
260 cp obj*/libglut.so ../../../lib ; \
262 if [ -d progs/beos ] ; then \
266 if [ -d progs/demos ] ; then \
268 $(MAKE) -f Makefile.BeOS-R4 $@ ; \
270 if [ -d progs/samples ] ; then \
272 $(MAKE) -f Makefile.BeOS-R4 $@ ; \
274 if [ -d progs/redbook ] ; then \
276 $(MAKE) -f Makefile.BeOS-R4 $@ ; \
282 cd src/mesa ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
283 cd src/glu/sgi ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
286 linux-ggi linux-x86-ggi:
288 if [ -d src/mesa ] ; then \
291 $(MAKE) -f Makefile.X11 $@ ; \
293 if [ -d src/glu/sgi ] ; then \
296 $(MAKE) -f Makefile.X11 $@ ; \
298 if [ -d src/glut/glx ] ; then \
301 $(MAKE) -f Makefile.X11 $@ ; \
303 if [ -d src/glw ] ; then \
305 touch src/glw/depend ; \
306 $(MAKE) -f Makefile.X11 $@ ; \
308 if [ -d progs/demos ] ; then \
310 $(MAKE) -f Makefile.X11 $@ ; \
312 if [ -d progs/xdemos ] ; then \
314 $(MAKE) -f Makefile.X11 $@ ; \
316 if [ -d progs/samples ] ; then \
318 $(MAKE) -f Makefile.X11 $@ ; \
320 if [ -d progs/redbook ] ; then \
322 $(MAKE) -f Makefile.X11 $@ ; \
324 if [ -d progs/ggi ] ; then \
326 $(MAKE) -f Makefile.X11 $@ ; \
330 # if you change GGI_DEST please change it in ggimesa.conf, too.
332 GGI_DEST=lib/ggi/mesa
334 linux-ggi-install linux-x86-ggi-install:
335 install -d $(DESTDIR)/$(GGI_DEST)/default $(DESTDIR)/$(GGI_DEST)/display $(DESTDIR)/etc/ggi
336 install -m 0755 src/GGI/default/*.so $(DESTDIR)/$(GGI_DEST)/default
337 install -m 0755 src/GGI/display/*.so $(DESTDIR)/$(GGI_DEST)/display
338 install -m 0644 src/GGI/ggimesa.conf $(DESTDIR)/etc/ggi
339 # if [ -z "`grep ggimesa $(DESTDIR)/etc/ggi/libggi.conf`" ]; then \
340 # echo ".include $(DESTDIR)/etc/ggi/ggimesa.conf" >> $(DESTDIR)/etc/ggi/libggi.conf ; \
344 linux-osmesa16 linux-osmesa16-static linux-osmesa32:
346 if [ -d src/mesa ] ; then \
349 $(MAKE) -f Makefile.OSMesa16 $@ ; \
353 # Stand-alone DRI hardware drivers
356 cd src/mesa ; touch depend ; $(MAKE) -f Makefile.solo $@
357 cd src/mesa/drivers/dri/r200 ; touch depend ; $(MAKE) -f Makefile.solo $@
358 cd src/mesa/drivers/dri/radeon ; touch depend ; $(MAKE) -f Makefile.solo $@
359 cd src/mesa/drivers/dri/r128 ; touch depend ; $(MAKE) -f Makefile.solo $@
360 cd src/mesa/drivers/dri/mga ; touch depend ; $(MAKE) -f Makefile.solo $@
361 cd src/mesa/drivers/dri/i810 ; touch depend ; $(MAKE) -f Makefile.solo $@
362 cd src/mesa/drivers/dri/i830 ; touch depend ; $(MAKE) -f Makefile.solo $@
363 cd src/mesa/drivers/dri/sis ; touch depend ; $(MAKE) -f Makefile.solo $@
364 cd src/mesa/drivers/dri/gamma ; touch depend ; $(MAKE) -f Makefile.solo $@
365 cd src/mesa/drivers/dri/tdfx ; touch depend ; $(MAKE) -f Makefile.solo $@
366 cd src/mesa/drivers/dri/fb ; touch depend ; $(MAKE) -f Makefile.solo $@
367 cd src/glx/mini ; touch depend ; $(MAKE) -f Makefile.solo $@
368 if [ -d src/glu/sgi ] ; then \
371 ln -s Makefile.X11 Makefile.solo ; \
372 $(MAKE) -f Makefile.solo $@ ; \
374 if [ -d src/glut/mini ] ; then \
377 $(MAKE) -f Makefile.solo $@ ; \
379 if [ -d progs/miniglx ] ; then \
382 $(MAKE) -f Makefile.solo $@ ; \
384 # if [ -d progs/demos ] ; then \
386 # $(MAKE) -f Makefile.X11 $@ ; \
388 # if [ -d progs/xdemos ] ; then \
389 # cd progs/xdemos ; \
390 # $(MAKE) -f Makefile.X11 $@ ; \
392 # if [ -d progs/samples ] ; then \
393 # cd progs/samples ; \
394 # $(MAKE) -f Makefile.X11 $@ ; \
396 # if [ -d progs/redbook ] ; then \
397 # cd progs/redbook ; \
398 # $(MAKE) -f Makefile.X11 $@ ; \
402 # Remove .o files, emacs backup files, etc.
403 # XXX this should be cleaned up
405 if ! [ -f src/mesa/depend ] ; then touch src/mesa/depend ; fi
406 if ! [ -f src/mesa/drivers/dri/r200/depend ]; then touch src/mesa/drivers/dri/r200/depend; fi
407 if ! [ -f src/mesa/drivers/dri/r128/depend ]; then touch src/mesa/drivers/dri/r128/depend; fi
408 if ! [ -f src/mesa/drivers/dri/radeon/depend ]; then touch src/mesa/drivers/dri/radeon/depend; fi
409 if ! [ -f src/mesa/drivers/dri/mga/depend ]; then touch src/mesa/drivers/dri/mga/depend; fi
410 if ! [ -f src/mesa/drivers/dri/fb/depend ]; then touch src/mesa/drivers/dri/fb/depend; fi
411 if ! [ -f src/glu/mesa/depend ] ; then touch src/glu/mesa/depend ; fi
412 if ! [ -f src/glu/sgi/depend ] ; then touch src/glu/sgi/depend ; fi
413 if ! [ -f src/glu/mini/depend ] ; then touch src/glu/mini/depend ; fi
414 if ! [ -f src/glut/glx/depend ] ; then touch src/glut/glx/depend ; fi
415 if ! [ -f src/glut/mini/depend ] ; then touch src/glut/mini/depend ; fi
416 if ! [ -f src/glx/mini/depend ] ; then touch src/glx/mini/depend ; fi
417 if ! [ -f progs/tests/depend ] ; then touch progs/tests/depend ; fi
418 if ! [ -f progs/miniglx/depend ] ; then touch progs/miniglx/depend ; fi
420 cd src/mesa && $(MAKE) -f Makefile.X11 $@ || true
421 cd src/mesa/drivers/dri/r200 && $(MAKE) -f Makefile.X11 $@ || true
422 cd src/mesa/drivers/dri/r128 && $(MAKE) -f Makefile.X11 $@ || true
423 cd src/mesa/drivers/dri/radeon && $(MAKE) -f Makefile.X11 $@ || true
424 cd src/mesa/drivers/dri/mga && $(MAKE) -f Makefile.X11 $@ || true
425 cd src/mesa/drivers/dri/fb && $(MAKE) -f Makefile.X11 $@ || true
426 cd src/glu/mesa && $(MAKE) -f Makefile.X11 $@ || true
427 cd src/glu/sgi && $(MAKE) -f Makefile.X11 $@ || true
428 cd src/glu/mini && $(MAKE) -f Makefile.X11 $@ || true
429 cd src/glut/glx && $(MAKE) -f Makefile.X11 $@ || true
430 cd src/glut/mini && $(MAKE) -f Makefile.X11 $@ || true
431 cd src/glw && $(MAKE) -f Makefile.X11 $@ || true
432 cd src/glx/mini && $(MAKE) -f Makefile.X11 $@ || true
433 cd progs/demos && $(MAKE) -f Makefile.X11 $@ || true
434 cd progs/redbook && $(MAKE) -f Makefile.X11 $@ || true
435 cd progs/xdemos && $(MAKE) -f Makefile.X11 $@ || true
436 cd progs/samples && $(MAKE) -f Makefile.X11 $@ || true
437 cd progs/tests && $(MAKE) -f Makefile.X11 $@ || true
438 cd progs/miniglx && $(MAKE) -f Makefile.X11 $@ || true
439 if [ -f src/mesa/depend ] ; then rm src/mesa/depend ; fi
440 if [ -f src/mesa/drivers/dri/r200/depend ]; then rm -f src/mesa/drivers/dri/r200/depend; fi
441 if [ -f src/mesa/drivers/dri/r128/depend ]; then rm -f src/mesa/drivers/dri/r128/depend; fi
442 if [ -f src/mesa/drivers/dri/radeon/depend ]; then rm -f src/mesa/drivers/dri/radeon/depend; fi
443 if [ -f src/mesa/drivers/dri/mga/depend ]; then rm -f src/mesa/drivers/dri/mga/depend; fi
444 if [ -f src/mesa/drivers/dri/fb/depend ]; then rm -f src/mesa/drivers/dri/fb/depend; fi
445 if [ -f src/glu/mesa/depend ] ; then rm -f src/glu/mesa/depend ; fi
446 if [ -f src/glu/sgi/depend ] ; then rm -f src/glu/sgi/depend ; fi
447 if [ -f src/glu/mini/depend ] ; then rm -f src/glu/mini/depend ; fi
448 if [ -f src/glut/glx/depend ] ; then rm -f src/glut/glx/depend ; fi
449 if [ -f src/glut/mini/depend ] ; then rm -f src/glut/mini/depend ; fi
450 if [ -f src/glx/mini/depend ] ; then rm -f src/glx/mini/depend ; fi
451 if [ -f progs/tests/depend ] ; then rm -f progs/tests/depend ; fi
452 if [ -f progs/miniglx/depend ] ; then rm -f progs/miniglx/depend ; fi
455 # Remove everything that can be remade
457 -rm -fr lib lib32 lib64
458 cd progs/demos && $(MAKE) -f Makefile.X11 realclean || true
459 cd progs/xdemos && $(MAKE) -f Makefile.X11 realclean || true
460 cd progs/redbook && $(MAKE) -f Makefile.X11 realclean || true
461 cd progs/samples && $(MAKE) -f Makefile.X11 realclean || true
464 # Remove everything not in CVS
466 -rm -f acinclude.m4 aclocal.m4
467 -rm -f conf.h conf.h.in config.guess config.log config.status
468 -rm -f config.sub configure
469 -rm -f install-sh libtool ltmain.sh Makefile.in
470 -rm -f missing mkinstalldirs stamp-h stamp-h.in
476 LIB_NAME = MesaLib-5.1
477 DEMO_NAME = MesaDemos-5.1
478 GLU_NAME = MesaGLU-5.1
483 $(DIRECTORY)/Makefile* \
484 $(DIRECTORY)/Make-config \
485 $(DIRECTORY)/descrip.mms \
486 $(DIRECTORY)/mms-config. \
487 $(DIRECTORY)/Mesa.dsw \
488 $(DIRECTORY)/bin/mklib* \
489 $(DIRECTORY)/docs/*.html \
490 $(DIRECTORY)/docs/COPYING \
491 $(DIRECTORY)/docs/INSTALL.GNU \
492 $(DIRECTORY)/docs/README.* \
493 $(DIRECTORY)/docs/RELNOTES* \
494 $(DIRECTORY)/docs/VERSIONS \
495 $(DIRECTORY)/docs/*.spec \
496 $(DIRECTORY)/include/GL/internal/glcore.h \
497 $(DIRECTORY)/include/GL/dmesa.h \
498 $(DIRECTORY)/include/GL/amesa.h \
499 $(DIRECTORY)/include/GL/fxmesa.h \
500 $(DIRECTORY)/include/GL/ggimesa.h \
501 $(DIRECTORY)/include/GL/gl.h \
502 $(DIRECTORY)/include/GL/glext.h \
503 $(DIRECTORY)/include/GL/gl_mangle.h \
504 $(DIRECTORY)/include/GL/glu.h \
505 $(DIRECTORY)/include/GL/glu_mangle.h \
506 $(DIRECTORY)/include/GL/glx.h \
507 $(DIRECTORY)/include/GL/glxext.h \
508 $(DIRECTORY)/include/GL/glx_mangle.h \
509 $(DIRECTORY)/include/GL/mesa_wgl.h \
510 $(DIRECTORY)/include/GL/mglmesa.h \
511 $(DIRECTORY)/include/GL/osmesa.h \
512 $(DIRECTORY)/include/GL/svgamesa.h \
513 $(DIRECTORY)/include/GL/ugl*.h \
514 $(DIRECTORY)/include/GL/vms_x_fix.h \
515 $(DIRECTORY)/include/GL/wmesa.h \
516 $(DIRECTORY)/include/GL/xmesa.h \
517 $(DIRECTORY)/include/GL/xmesa_x.h \
518 $(DIRECTORY)/include/GL/xmesa_xf86.h \
519 $(DIRECTORY)/src/mesa/Makefile* \
520 $(DIRECTORY)/src/mesa/sources \
521 $(DIRECTORY)/src/mesa/descrip.mms \
522 $(DIRECTORY)/src/mesa/depend \
523 $(DIRECTORY)/src/mesa/main/*.[chS] \
524 $(DIRECTORY)/src/mesa/main/main.dsp \
525 $(DIRECTORY)/src/mesa/glapi/*.[chS] \
526 $(DIRECTORY)/src/mesa/glapi/glapi.dsp \
527 $(DIRECTORY)/src/mesa/array_cache/*.[ch] \
528 $(DIRECTORY)/src/mesa/array_cache/array_cache.dsp \
529 $(DIRECTORY)/src/mesa/math/*.[ch] \
530 $(DIRECTORY)/src/mesa/math/math.dsp \
531 $(DIRECTORY)/src/mesa/swrast/*.[ch] \
532 $(DIRECTORY)/src/mesa/swrast/swrast.dsp \
533 $(DIRECTORY)/src/mesa/swrast_setup/*.[ch] \
534 $(DIRECTORY)/src/mesa/swrast_setup/swrast_setup.dsp \
535 $(DIRECTORY)/src/mesa/tnl/*.[ch] \
536 $(DIRECTORY)/src/mesa/tnl/tnl.dsp \
537 $(DIRECTORY)/src/mesa/tnl_dd/*.[ch] \
538 $(DIRECTORY)/src/mesa/tnl_dd/imm/*.[ch] \
539 $(DIRECTORY)/src/mesa/tnl_dd/imm/NOTES.imm \
540 $(DIRECTORY)/src/mesa/drivers/beos/*.cpp \
541 $(DIRECTORY)/src/mesa/drivers/beos/*.h \
542 $(DIRECTORY)/src/mesa/drivers/common/*.[ch] \
543 $(DIRECTORY)/src/mesa/drivers/dos/*.[chS] \
544 $(DIRECTORY)/src/mesa/drivers/dos/mga/*.[ch] \
545 $(DIRECTORY)/src/mesa/drivers/dri/common/*.[ch] \
546 $(DIRECTORY)/src/mesa/drivers/fbdev/glfbdev.c \
547 $(DIRECTORY)/src/mesa/drivers/glide/*.[ch] \
548 $(DIRECTORY)/src/mesa/drivers/glide/*.def \
549 $(DIRECTORY)/src/mesa/drivers/ggi/*.[ch] \
550 $(DIRECTORY)/src/mesa/drivers/ggi/ggimesa.conf.in \
551 $(DIRECTORY)/src/mesa/drivers/ggi/default/*.c \
552 $(DIRECTORY)/src/mesa/drivers/ggi/default/genkgi.conf.in \
553 $(DIRECTORY)/src/mesa/drivers/ggi/display/*.c \
554 $(DIRECTORY)/src/mesa/drivers/ggi/display/fbdev.conf.in \
555 $(DIRECTORY)/src/mesa/drivers/ggi/include/ggi/mesa/*.h \
556 $(DIRECTORY)/src/mesa/drivers/osmesa/Makefile.win \
557 $(DIRECTORY)/src/mesa/drivers/osmesa/osmesa.def \
558 $(DIRECTORY)/src/mesa/drivers/osmesa/osmesa.dsp \
559 $(DIRECTORY)/src/mesa/drivers/osmesa/*.[ch] \
560 $(DIRECTORY)/src/mesa/drivers/svga/*.[ch] \
561 $(DIRECTORY)/src/mesa/drivers/windows/*/*.[ch] \
562 $(DIRECTORY)/src/mesa/drivers/windows/*/*.def \
563 $(DIRECTORY)/src/mesa/drivers/windows/*/*.dsp \
564 $(DIRECTORY)/src/mesa/drivers/x11/*.[ch] \
565 $(DIRECTORY)/src/mesa/sparc/*.[chS] \
566 $(DIRECTORY)/src/mesa/x86/*.[ch] \
567 $(DIRECTORY)/src/mesa/x86/*.S \
568 $(DIRECTORY)/src/glu/sgi/Makefile.X11 \
569 $(DIRECTORY)/src/glu/sgi/Makefile.win \
570 $(DIRECTORY)/src/glu/sgi/Makefile.DJ \
571 $(DIRECTORY)/src/glu/sgi/cc*.txt \
572 $(DIRECTORY)/src/glu/sgi/glu.def \
573 $(DIRECTORY)/src/glu/sgi/glu.dsp \
574 $(DIRECTORY)/src/glu/sgi/dummy.cc \
575 $(DIRECTORY)/src/glu/sgi/descrip.mms \
576 $(DIRECTORY)/src/glu/sgi/mesaglu.opt \
577 $(DIRECTORY)/src/glu/sgi/include/gluos.h \
578 $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.h \
579 $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.cc \
580 $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.h \
581 $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.cc \
582 $(DIRECTORY)/src/glu/sgi/libnurbs/nurbtess/*.h \
583 $(DIRECTORY)/src/glu/sgi/libnurbs/nurbtess/*.cc \
584 $(DIRECTORY)/src/glu/sgi/libtess/README \
585 $(DIRECTORY)/src/glu/sgi/libtess/alg-outline \
586 $(DIRECTORY)/src/glu/sgi/libtess/*.[ch] \
587 $(DIRECTORY)/src/glu/sgi/libutil/*.[ch] \
588 $(DIRECTORY)/src/glu/mesa/README[12] \
589 $(DIRECTORY)/src/glu/mesa/Makefile* \
590 $(DIRECTORY)/src/glu/mesa/descrip.mms \
591 $(DIRECTORY)/src/glu/mesa/mms_depend \
592 $(DIRECTORY)/src/glu/mesa/*.def \
593 $(DIRECTORY)/src/glu/mesa/depend \
594 $(DIRECTORY)/src/glu/mesa/*.[ch] \
595 $(DIRECTORY)/src/glw/*.[ch] \
596 $(DIRECTORY)/src/glw/Makefile* \
597 $(DIRECTORY)/src/glw/README \
598 $(DIRECTORY)/progs/util/README \
599 $(DIRECTORY)/progs/util/*.[ch] \
600 $(DIRECTORY)/progs/util/sampleMakefile \
601 $(DIRECTORY)/vms/analyze_map.com \
602 $(DIRECTORY)/vms/xlib.opt \
603 $(DIRECTORY)/vms/xlib_share.opt
607 $(DIRECTORY)/include/GL/glut.h \
608 $(DIRECTORY)/include/GL/glutf90.h \
609 $(DIRECTORY)/src/glut/glx/Makefile* \
610 $(DIRECTORY)/src/glut/glx/depend \
611 $(DIRECTORY)/src/glut/glx/*def \
612 $(DIRECTORY)/src/glut/glx/descrip.mms \
613 $(DIRECTORY)/src/glut/glx/mms_depend \
614 $(DIRECTORY)/src/glut/glx/glut.dsp \
615 $(DIRECTORY)/src/glut/glx/*.[ch] \
616 $(DIRECTORY)/src/glut/beos/*.h \
617 $(DIRECTORY)/src/glut/beos/*.cpp \
618 $(DIRECTORY)/src/glut/beos/libglut.def \
619 $(DIRECTORY)/src/glut/beos/Makefile* \
620 $(DIRECTORY)/src/glut/dos/*.[ch] \
621 $(DIRECTORY)/src/glut/dos/Makefile.DJ \
622 $(DIRECTORY)/src/glut/dos/PC_HW/*.[chS] \
623 $(DIRECTORY)/progs/images/* \
624 $(DIRECTORY)/progs/demos/Makefile* \
625 $(DIRECTORY)/progs/demos/descrip.mms \
626 $(DIRECTORY)/progs/demos/*.[ch] \
627 $(DIRECTORY)/progs/demos/*.cxx \
628 $(DIRECTORY)/progs/demos/*.dat \
629 $(DIRECTORY)/progs/demos/README \
630 $(DIRECTORY)/progs/demos/Windows/* \
631 $(DIRECTORY)/progs/xdemos/Makefile* \
632 $(DIRECTORY)/progs/xdemos/descrip.mms \
633 $(DIRECTORY)/progs/xdemos/*.[chf] \
634 $(DIRECTORY)/progs/redbook/Makefile* \
635 $(DIRECTORY)/progs/redbook/README \
636 $(DIRECTORY)/progs/redbook/*.[ch] \
637 $(DIRECTORY)/progs/samples/Makefile* \
638 $(DIRECTORY)/progs/samples/README \
639 $(DIRECTORY)/progs/samples/*.c \
640 $(DIRECTORY)/progs/windml/Makefile.ugl \
641 $(DIRECTORY)/progs/windml/*.c \
642 $(DIRECTORY)/progs/windml/*.bmp \
643 $(DIRECTORY)/progs/ggi/*.c
646 $(DIRECTORY)/Makefile* \
647 $(DIRECTORY)/Make-config \
648 $(DIRECTORY)/bin/mklib* \
649 $(DIRECTORY)/include/GL/glu.h \
650 $(DIRECTORY)/src/glu/sgi/Makefile.X11 \
651 $(DIRECTORY)/src/glu/sgi/include/gluos.h \
652 $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.h \
653 $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.cc \
654 $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.h \
655 $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.cc \
656 $(DIRECTORY)/src/glu/sgi/libnurbs/nurbstess/*.h \
657 $(DIRECTORY)/src/glu/sgi/libnurbs/nurbstess/*.cc \
658 $(DIRECTORY)/src/glu/sgi/libtess/README \
659 $(DIRECTORY)/src/glu/sgi/libtess/alg-outline \
660 $(DIRECTORY)/src/glu/sgi/libtess/*.[ch] \
661 $(DIRECTORY)/src/glu/sgi/libutil/*.[ch]
664 $(DIRECTORY)/Makefile* \
665 $(DIRECTORY)/Make-config \
666 $(DIRECTORY)/bin/mklib* \
667 $(DIRECTORY)/include/GL/gl.h \
668 $(DIRECTORY)/include/GL/gl_mangle.h \
669 $(DIRECTORY)/include/GL/glext.h \
670 $(DIRECTORY)/include/GL/glu.h \
671 $(DIRECTORY)/include/GL/glu_mangle.h \
672 $(DIRECTORY)/src/glu/mesa/README[12] \
673 $(DIRECTORY)/src/glu/mesa/Makefile* \
674 $(DIRECTORY)/src/glu/mesa/descrip.mms \
675 $(DIRECTORY)/src/glu/mesa/mms_depend \
676 $(DIRECTORY)/src/glu/mesa/*.def \
677 $(DIRECTORY)/src/glu/mesa/depend \
678 $(DIRECTORY)/src/glu/mesa/*.[ch]
681 $(DIRECTORY)/Makefile* \
682 $(DIRECTORY)/Make-config \
683 $(DIRECTORY)/bin/mklib* \
684 $(DIRECTORY)/include/GL/gl.h \
685 $(DIRECTORY)/include/GL/gl_mangle.h \
686 $(DIRECTORY)/include/GL/glext.h \
687 $(DIRECTORY)/include/GL/glu.h \
688 $(DIRECTORY)/include/GL/glu_mangle.h \
689 $(DIRECTORY)/include/GL/glut.h \
690 $(DIRECTORY)/include/GL/glutf90.h \
691 $(DIRECTORY)/src/glut/glx/Makefile* \
692 $(DIRECTORY)/src/glut/glx/depend \
693 $(DIRECTORY)/src/glut/glx/*def \
694 $(DIRECTORY)/src/glut/glx/descrip.mms \
695 $(DIRECTORY)/src/glut/glx/mms_depend \
696 $(DIRECTORY)/src/glut/glx/*.[ch]
701 cp Makefile.X11 Makefile ; \
703 tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \
704 gzip $(LIB_NAME).tar ; \
705 mv $(LIB_NAME).tar.gz $(DIRECTORY)
709 tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \
710 gzip $(DEMO_NAME).tar ; \
711 mv $(DEMO_NAME).tar.gz $(DIRECTORY)
714 cp Makefile.X11 Makefile ; \
716 tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \
717 bzip2 $(LIB_NAME).tar ; \
718 mv $(LIB_NAME).tar.bz2 $(DIRECTORY)
722 tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \
723 bzip2 $(DEMO_NAME).tar ; \
724 mv $(DEMO_NAME).tar.bz2 $(DIRECTORY)
727 -rm $(LIB_NAME).zip ; \
728 cp Makefile.X11 Makefile ; \
730 zip -r $(LIB_NAME).zip $(LIB_FILES) ; \
731 mv $(LIB_NAME).zip $(DIRECTORY)
734 -rm $(DEMO_NAME).zip ; \
736 zip -r $(DEMO_NAME).zip $(DEMO_FILES) ; \
737 mv $(DEMO_NAME).zip $(DIRECTORY)
740 @-md5sum $(LIB_NAME).tar.gz
741 @-md5sum $(LIB_NAME).tar.bz2
742 @-md5sum $(LIB_NAME).zip
743 @-md5sum $(DEMO_NAME).tar.gz
744 @-md5sum $(DEMO_NAME).tar.bz2
745 @-md5sum $(DEMO_NAME).zip
747 # Everything for new Mesa release:
748 tarballs: lib_gz demo_gz lib_bz2 demo_bz2 lib_zip demo_zip md5
753 cp Makefile.X11 Makefile ; \
755 tar -cvf $(GLU_NAME).tar $(GLU_FILES) ; \
756 gzip $(GLU_NAME).tar ; \
757 mv $(GLU_NAME).tar.gz $(DIRECTORY)
760 cp Makefile.X11 Makefile ; \
762 tar -cvf $(GLUT_NAME).tar $(GLUT_FILES) ; \
763 gzip $(GLUT_NAME).tar ; \
764 mv $(GLUT_NAME).tar.gz $(DIRECTORY)