1 # $Id: Makefile.X11,v 1.74 2003/02/20 15:53:38 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 amiwin for Amiga with SAS/C and AmiWin"
39 @echo " make amix for Amiga 3000 UX SVR4 v2.1 systems"
40 @echo " make beos-r4 for BeOS R4"
41 @echo " make bsdos for BSD/OS from BSDI using GCC"
42 @echo " make bsdos4 for BSD/OS 4.x, dynamic libraries"
43 @echo " make cygnus for Win95/NT using Cygnus-Win32"
44 @echo " make cygnus-linux for Win95/NT using Cygnus-Win32 under Linux"
45 @echo " make darwin for Darwin - Mac OS X"
46 @echo " make dgux for Data General"
47 @echo " make freebsd for FreeBSD systems with GCC"
48 @echo " make freebsd-386 for FreeBSD systems with GCC, w/ Intel assembly"
49 @echo " make gcc for a generic system with GCC"
50 @echo " make hpux9 for HP systems with HPUX 9.x"
51 @echo " make hpux9-sl for HP systems with HPUX 9.x, make shared libs"
52 @echo " make hpux9-gcc for HP systems with HPUX 9.x using GCC"
53 @echo " make hpux9-gcc-sl for HP systems with HPUX 9.x, GCC, make shared libs"
54 @echo " make hpux10 for HP systems with HPUX 10.x and 11.x"
55 @echo " make hpux10-sl for HP systems with HPUX 10.x and 11.x, shared libs"
56 @echo " make hpux10-gcc for HP systems with HPUX 10.x w/ GCC"
57 @echo " make hpux10-gcc-sl for HP systems with HPUX 10.x w/ GCC, shared libs"
58 @echo " make irix4 for SGI systems with IRIX 4.x"
59 @echo " make irix5 for SGI systems with IRIX 5.x"
60 @echo " make irix5-gcc for SGI systems with IRIX 5.x using GCC"
61 @echo " make irix5-dso for SGI systems with IRIX 5.x, make DSOs"
62 @echo " make irix6-o32 for SGI systems with IRIX 6.x, make o32-bit libs"
63 @echo " make irix6-o32-dso for SGI systems with IRIX 6.x, make o32-bit DSOs"
64 @echo " make irix6-n32 for SGI systems with IRIX 6.x, make n32-bit libs"
65 @echo " make irix6-n32-dso for SGI systems with IRIX 6.x, make n32-bit DSOs"
66 @echo " make irix6-gcc-n32-sl for SGI systems with IRIX 6.x, GCC, make n32 DSOs"
67 @echo " make irix6-64 for SGI systems with IRIX 6.x, make 64-bit libs"
68 @echo " make irix6-64-dso for SGI systems with IRIX 6.x, make 64-bit DSOs"
70 @echo " make linux for Linux systems, make shared .so libs"
71 @echo " make linux-static for Linux systems, make static .a libs"
72 @echo " make linux-x86 for Linux on Intel, make shared .so libs"
73 @echo " make linux-x86-static for Linux on Intel, make static .a libs"
74 @echo " make linux-ggi for Linux systems with libggi"
75 @echo " make linux-386-ggi for Linux systems with libggi w/ Intel assembly"
76 @echo " make linux-glide for Linux w/ 3Dfx Glide driver"
77 @echo " make linux-386-glide for Linux w/ 3Dfx Glide driver, Intel assembly"
78 @echo " make linux-386-opt-glide for Linux with 3Dfx Voodoo1 for GLQuake"
79 @echo " make linux-x86-glide for Linux w/ all x86 asm for Glide"
80 @echo " make linux-alpha for Linux on Alpha systems"
81 @echo " make linux-alpha-static for Linux on Alpha systems, static libs"
82 @echo " make linux-ppc for Linux on PowerPC systems"
83 @echo " make linux-ppc-static for Linux on PowerPC systems, static libs"
84 @echo " make linux-sparc for Linux on Sparc systems"
85 @echo " make linux-sparc5-elf for Sparc5 systems, make ELF shared libs"
86 @echo " make linux-sparc-ultra for UltraSparc systems, make ELF shared libs"
87 @echo " make linux-osmesa16 for 16-bit/channel OSMesa"
88 @echo " make linux-osmesa32 for 32-bit/channel OSMesa"
89 @echo " make linux-icc for Linux with the Intel C/C++ compiler"
90 @echo " make lynxos for LynxOS systems with GCC"
91 @echo " make macintosh for Macintosh"
92 @echo " make machten-2.2 for Macs w/ MachTen 2.2 (68k w/ FPU)"
93 @echo " make machten-4.0 for Macs w/ MachTen 4.0.1 or newer with GNU make"
94 @echo " make mklinux for Linux on Power Macintosh"
95 @echo " make netbsd for NetBSD 1.0 systems with GCC"
96 @echo " make next for NeXT systems with NEXTSTEP 3.3"
97 @echo " make openbsd for OpenBSD systems"
98 @echo " make openstep for OpenStep/MacOSX Server systems"
99 @echo " make os2-x11 for OS/2 with XFree86"
100 @echo " make osf1 for DEC Alpha systems with OSF/1"
101 @echo " make osf1-sl for DEC Alpha systems with OSF/1, make shared libs"
102 @echo " make pgi-cygnus for Cygnus with Portland Group, Inc. compiler"
103 @echo " make pgi-mingw32 for mingW32 with Portland Group, Inc. compiler"
104 @echo " make qnx for QNX V4 systems with Watcom compiler"
105 @echo " make sco for SCO Unix systems with ODT"
106 @echo " make sco5 for SCO 5.0.5 OpenServer Unix"
107 @echo " make solaris-x86 for PCs with Solaris"
108 @echo " make solaris-x86-gcc for PCs with Solaris using GCC"
109 @echo " make sunos4 for Suns with SunOS 4.x"
110 @echo " make sunos4-sl for Suns with SunOS 4.x, make shared libs"
111 @echo " make sunos4-gcc for Suns with SunOS 4.x and GCC"
112 @echo " make sunos4-gcc-sl for Suns with SunOS 4.x, GCC, make shared libs"
113 @echo " make sunos5 for Suns with SunOS 5.x"
114 @echo " make sunos5-sl for Suns with SunOS 5.x, make shared libs"
115 @echo " make sunos5-ultra for Sun UltraSPARCs with SunOS 5.x"
116 @echo " make sunos5-ultra-sl for Sun UltraSPARCs with SunOS 5.x, make shared libs"
117 @echo " make sunos5-thread for Suns with SunOS 5.x, using Solaris threads"
118 @echo " make sunos5-pthread for Suns with SunOS 5.[56] using POSIX threads"
119 @echo " make sunos5-gcc-thread for Suns with SunOS 5.x and GCC, using Solaris threads"
120 @echo " make sunos5-gcc-pthread for Suns with SunOS 5.[56] and GCC, using POSIX threads"
121 @echo " make sunos5-gcc for Suns with SunOS 5.x and GCC"
122 @echo " make sunos5-gcc-sl for Suns with SunOS 5.x, GCC, make shared libs"
123 @echo " make sunos5-x11r6-gcc-sl for Suns with X11R6, GCC, make shared libs"
124 @echo " make sunos5-gcc-thread for Suns with SunOS 5.x and GCC, using Solaris threads"
125 @echo " make sunos5-gcc-pthread for Suns with SunOS 5.[56] and GCC, using POSIX threads"
126 @echo " make sunSolaris-CC for Solaris using C++ compiler"
127 @echo " make ultrix-gcc for DEC systems with Ultrix and GCC"
128 @echo " make unicos for Cray C90 (and other?) systems"
129 @echo " make unixware for PCs running UnixWare"
130 @echo " make unixware-shared for PCs running UnixWare, shared libs"
131 @echo " make uwin for Windows NT with AT&T/Wipro UWIN"
132 @echo " make vistra for Stardent Vistra systems"
133 @echo " make clean remove .o files"
134 @echo " make realclean remove .o, library and executable files"
138 # XXX we may have to split up this group of targets into those that
139 # have a C++ compiler and those that don't for the SI-GLU library.
141 aix aix-sl amix bsdos bsdos4 darwin dgux freebsd freebsd-386 gcc \
142 hpux9 hpux9-sl hpux9-gcc hpux9-gcc-sl \
143 hpux10 hpux10-sl hpux10-gcc hpux10-gcc-sl \
144 irix4 irix5 irix5-gcc irix5-dso \
145 linux linux-static linux-debug linux-static-debug linux-prof \
146 linux-x86 linux-icc linux-x86-static linux-x86-debug \
147 linux-glide linux-386-glide linux-386-opt-glide \
148 linux-x86-glide linux-glide-debug linux-glide-prof \
149 linux-alpha-static linux-alpha \
150 linux-ppc-static linux-ppc \
154 lynxos machten-2.2 machten-4.0 \
155 mklinux netbsd osf1 osf1-sl openbsd qnx sco sco5 \
156 solaris-x86 solaris-x86-gcc sunSolaris-CC \
157 sunos4 sunos4-sl sunos4-gcc sunos4-gcc-sl sunos4-gcc-x11r6-sl \
158 sunos5 sunos5-sl sunos5-ultra sunos5-ultra-sl sunos5-gcc sunos5-gcc-sl \
159 sunos5-thread sunos5-pthread sunos5-gcc-thread sunos5-gcc-pthread \
160 sunos5-x11r6-gcc-sl ultrix-gcc unicos unixware uwin vistra:
162 if [ -d src ] ; then touch src/depend ; fi
163 if [ -d si-glu ] ; then touch si-glu/depend ; fi
164 if [ -d src-glut ] ; then touch src-glut/depend ; fi
165 if [ -d widgets-sgi ] ; then touch widgets-sgi/depend ; fi
166 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
167 if [ -d si-glu ] ; then cd si-glu ; $(MAKE) -f Makefile.X11 $@ ; fi
168 if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi
169 if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi
170 if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
171 if [ -d samples ] ; then cd samples ; $(MAKE) -f Makefile.X11 $@ ; fi
172 if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi
173 if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi
175 irix6-o32 irix6-o32-dso irix6-n32 irix6-n32-dso irix6-gcc-n32-sl irix-debug:
177 if [ -d src ] ; then touch src/depend ; fi
178 if [ -d src-glu ] ; then touch src-glu/depend ; fi
179 if [ -d src-glut ] ; then touch src-glut/depend ; fi
180 if [ -d widgets-sgi ] ; then touch widgets-sgi/depend ; fi
181 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
182 if [ -d src-glu ] ; then cd src-glu ; $(MAKE) -f Makefile.X11 $@ ; fi
183 if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi
184 if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi
185 if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
186 if [ -d samples ] ; then cd samples ; $(MAKE) -f Makefile.X11 $@ ; fi
187 if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi
188 if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi
191 irix6-64 irix6-64-dso:
195 if [ -d src-glut ] ; then touch src-glut/depend ; fi
196 if [ -d widgets-sgi ] ; then touch widgets-sgi/depend ; fi
197 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
198 if [ -d src-glu ] ; then cd src-glu ; $(MAKE) -f Makefile.X11 $@ ; fi
199 if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi
200 if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi
201 if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
202 if [ -d samples ] ; then cd samples ; $(MAKE) -f Makefile.X11 $@ ; fi
203 if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi
204 if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi
217 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
218 if [ -d src-glu ] ; then cd src-glu ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
219 if [ -d BeOS ] ; then cd BeOS ; $(MAKE) ; fi
220 if [ -d src-glut.beos ] ; then cd src-glut.beos ; $(MAKE) ; fi
221 if [ -d src-glut.beos ] ; then cp src-glut.beos/obj*/libglut.so lib ; fi
222 if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
223 if [ -d samples ] ; then cd samples ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
224 if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
226 pgi-cygnus pgi-mingw32 \
231 if [ -d widgets-sgi ] ; then touch widgets-sgi/depend ; fi
232 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
233 if [ -d src-glu ] ; then cd src-glu ; $(MAKE) -f Makefile.X11 $@ ; fi
234 if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi
235 if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi
236 if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
237 if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi
240 @echo "See the README file for Macintosh intallation information"
244 cd src ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
245 cd src-glu ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
249 cd src ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
250 cd src-glu ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
253 if not EXIST .\lib md lib
256 if exist src-glut touch src-glut/depend
257 cd src & make -f Makefile.X11 $@
258 cd src-glu & make -f Makefile.X11 $@
259 if exist src-glut cd src-glut & make -f Makefile.X11 $@
260 if exist demos cd demos & make -f Makefile.X11 $@
261 if exist xdemos cd xdemos & make -f Makefile.X11 $@
262 if exist samples cd samples & make -f Makefile.X11 $@
263 if exist book cd book & make -f Makefile.X11 $@
265 linux-ggi linux-386-ggi:
269 if [ -d src-glut ] ; then touch src-glut/depend ; fi
270 if [ -d widgets-sgi ] ; then touch widgets-sgi/depend ; fi
271 if [ -d ggi ] ; then touch ggi/depend ; fi
272 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
273 if [ -d src/GGI/default ] ; then cd src/GGI/default ; $(MAKE) ; fi
274 if [ -d src/GGI/display ] ; then cd src/GGI/display ; $(MAKE) ; fi
275 if [ -d si-glu ] ; then cd si-glu ; $(MAKE) -f Makefile.X11 $@ ; fi
276 # if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi
277 if [ -d ggi ] ; then cd ggi ; $(MAKE) -f Makefile.X11 $@ ; fi
278 if [ -d ggi ] ; then cd ggi/demos; $(MAKE) ; fi
279 if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi
280 if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
281 if [ -d samples ] ; then cd samples ; $(MAKE) -f Makefile.X11 $@ ; fi
282 if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi
283 if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi
285 # if you change GGI_DEST please change it in ggimesa.conf, too.
287 GGI_DEST=lib/ggi/mesa
289 linux-ggi-install linux-386-ggi-install:
290 install -d $(DESTDIR)/$(GGI_DEST)/default $(DESTDIR)/$(GGI_DEST)/display $(DESTDIR)/etc/ggi
291 install -m 0755 src/GGI/default/*.so $(DESTDIR)/$(GGI_DEST)/default
292 install -m 0755 src/GGI/display/*.so $(DESTDIR)/$(GGI_DEST)/display
293 install -m 0644 src/GGI/ggimesa.conf $(DESTDIR)/etc/ggi
294 # if [ -z "`grep ggimesa $(DESTDIR)/etc/ggi/libggi.conf`" ]; then \
295 # echo ".include $(DESTDIR)/etc/ggi/ggimesa.conf" >> $(DESTDIR)/etc/ggi/libggi.conf ; \
298 linux-osmesa16 linux-osmesa32:
300 if [ -d src ] ; then touch src/depend ; fi
301 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.OSMesa16 $@ ; fi
304 # Remove .o files, emacs backup files, etc.
307 -rm -f src/GGI/default/*~ *.so
308 -rm -f src/GGI/display/*~ *.so
311 -rm -f src/*.o src/*~ src/*.a src/*/*.o src/*/*~
312 -rm -f src-glu/*.o src-glu/*~ src-glu/*.a
313 -rm -f si-glu/*/*.o si-glu/*/*/*.o
316 -rm -f book/*.o book/*~
317 -rm -f xdemos/*.o xdemos/*~
318 -rm -f samples/*.o samples/*~
319 -rm -f ggi/*.o ggi/demos/*.o ggi/*.a
320 -rm -f widgets-sgi/*.o
321 -rm -f widgets-mesa/*/*.o
323 # Remove everything that can be remade
325 -rm -fr lib lib32 lib64
326 cd demos && $(MAKE) -f Makefile.X11 realclean || true
327 cd xdemos && $(MAKE) -f Makefile.X11 realclean || true
328 cd book && $(MAKE) -f Makefile.X11 realclean || true
329 cd samples && $(MAKE) -f Makefile.X11 realclean || true
331 # Remove everything not in CVS
333 -rm -f acinclude.m4 aclocal.m4
334 -rm -f conf.h conf.h.in config.guess config.log config.status
335 -rm -f config.sub configure
336 -rm -f install-sh libtool ltmain.sh Makefile.in
337 -rm -f missing mkinstalldirs stamp-h stamp-h.in
340 LIB_NAME = MesaLib-5.1
341 DEMO_NAME = MesaDemos-5.1
342 GLU_NAME = MesaGLU-5.1
347 $(DIRECTORY)/Makefile* \
348 $(DIRECTORY)/Make-config \
349 $(DIRECTORY)/acconfig.h \
350 $(DIRECTORY)/acinclude.m4 \
351 $(DIRECTORY)/aclocal.m4 \
352 $(DIRECTORY)/common_rules.make \
353 $(DIRECTORY)/conf.h.in \
354 $(DIRECTORY)/config.guess \
355 $(DIRECTORY)/config.sub \
356 $(DIRECTORY)/configure \
357 $(DIRECTORY)/configure.in \
358 $(DIRECTORY)/install-sh \
359 $(DIRECTORY)/ltmain.sh \
360 $(DIRECTORY)/missing \
361 $(DIRECTORY)/mkinstalldirs \
362 $(DIRECTORY)/stamp-h.in \
363 $(DIRECTORY)/docs/index.html \
364 $(DIRECTORY)/docs/CONFORM \
365 $(DIRECTORY)/docs/COPYING \
366 $(DIRECTORY)/docs/COPYRIGHT \
367 $(DIRECTORY)/docs/DEVINFO \
368 $(DIRECTORY)/docs/INSTALL \
369 $(DIRECTORY)/docs/INSTALL.GNU \
370 $(DIRECTORY)/docs/README \
371 $(DIRECTORY)/docs/README.* \
372 $(DIRECTORY)/docs/RELNOTES* \
373 $(DIRECTORY)/docs/VERSIONS \
374 $(DIRECTORY)/docs/*.spec \
375 $(DIRECTORY)/bin/README \
376 $(DIRECTORY)/bin/mklib* \
377 $(DIRECTORY)/descrip.mms \
378 $(DIRECTORY)/mms-config \
379 $(DIRECTORY)/m4/*.m4 \
380 $(DIRECTORY)/xlib.opt \
381 $(DIRECTORY)/mesawin32.mak \
382 $(DIRECTORY)/include/GL/internal/glcore.h \
383 $(DIRECTORY)/include/GL/Makefile.in \
384 $(DIRECTORY)/include/GL/Makefile.am \
385 $(DIRECTORY)/include/GL/dmesa.h \
386 $(DIRECTORY)/include/GL/amesa.h \
387 $(DIRECTORY)/include/GL/fxmesa.h \
388 $(DIRECTORY)/include/GL/ggimesa.h \
389 $(DIRECTORY)/include/GL/gl.h \
390 $(DIRECTORY)/include/GL/glext.h \
391 $(DIRECTORY)/include/GL/gl_mangle.h \
392 $(DIRECTORY)/include/GL/glu.h \
393 $(DIRECTORY)/include/GL/glu_mangle.h \
394 $(DIRECTORY)/include/GL/glx.h \
395 $(DIRECTORY)/include/GL/glxext.h \
396 $(DIRECTORY)/include/GL/glx_mangle.h \
397 $(DIRECTORY)/include/GL/mesa_wgl.h \
398 $(DIRECTORY)/include/GL/mglmesa.h \
399 $(DIRECTORY)/include/GL/osmesa.h \
400 $(DIRECTORY)/include/GL/svgamesa.h \
401 $(DIRECTORY)/include/GL/ugl*.h \
402 $(DIRECTORY)/include/GL/vms_x_fix.h \
403 $(DIRECTORY)/include/GL/wmesa.h \
404 $(DIRECTORY)/include/GL/xmesa.h \
405 $(DIRECTORY)/include/GL/xmesa_x.h \
406 $(DIRECTORY)/include/GL/xmesa_xf86.h \
407 $(DIRECTORY)/include/GLView.h \
408 $(DIRECTORY)/include/Makefile.in \
409 $(DIRECTORY)/include/Makefile.am \
410 $(DIRECTORY)/src/Makefile* \
411 $(DIRECTORY)/src/libGL_la_SOURCES \
412 $(DIRECTORY)/src/descrip.mms \
413 $(DIRECTORY)/src/mesa.conf \
414 $(DIRECTORY)/src/*.def \
415 $(DIRECTORY)/src/depend \
416 $(DIRECTORY)/src/*.[chS] \
417 $(DIRECTORY)/src/array_cache/*.[ch] \
418 $(DIRECTORY)/src/array_cache/Makefile* \
419 $(DIRECTORY)/src/array_cache/libMesaAC_la_SOURCES \
420 $(DIRECTORY)/src/math/*.[ch] \
421 $(DIRECTORY)/src/math/Makefile* \
422 $(DIRECTORY)/src/swrast/*.[ch] \
423 $(DIRECTORY)/src/swrast/Makefile* \
424 $(DIRECTORY)/src/swrast/libMesaSwrast_la_SOURCES \
425 $(DIRECTORY)/src/swrast_setup/*.[ch] \
426 $(DIRECTORY)/src/swrast_setup/Makefile* \
427 $(DIRECTORY)/src/tnl/*.[ch] \
428 $(DIRECTORY)/src/tnl/Makefile* \
429 $(DIRECTORY)/src/tnl/libMesaTnl_la_SOURCES \
430 $(DIRECTORY)/src/tnl_dd/*.[ch] \
431 $(DIRECTORY)/src/tnl_dd/imm/*.[ch] \
432 $(DIRECTORY)/src/tnl_dd/imm/NOTES.imm \
433 $(DIRECTORY)/src/windml/*.[ch] \
434 $(DIRECTORY)/src/windml/tornado/*.c \
435 $(DIRECTORY)/src/windml/tornado/*.cdf \
436 $(DIRECTORY)/src/windml/man3/*.3 \
437 $(DIRECTORY)/src/windml/man3/*.html \
438 $(DIRECTORY)/src/DOS/*.[chS] \
439 $(DIRECTORY)/src/DOS/mga/*.[ch] \
440 $(DIRECTORY)/src/BeOS/*.cpp \
441 $(DIRECTORY)/src/FX/Makefile.am \
442 $(DIRECTORY)/src/FX/Makefile.in \
443 $(DIRECTORY)/src/FX/libMesaFX_la_SOURCES \
444 $(DIRECTORY)/src/FX/*.[ch] \
445 $(DIRECTORY)/src/FX/*.def \
446 $(DIRECTORY)/src/FX/X86/Makefile.am \
447 $(DIRECTORY)/src/FX/X86/Makefile.in \
448 $(DIRECTORY)/src/FX/X86/*.[Shc] \
449 $(DIRECTORY)/src/GGI/Makefile.am \
450 $(DIRECTORY)/src/GGI/Makefile.in \
451 $(DIRECTORY)/src/GGI/*.[ch] \
452 $(DIRECTORY)/src/GGI/ggimesa.conf.in \
453 $(DIRECTORY)/src/GGI/default/*.c \
454 $(DIRECTORY)/src/GGI/default/Makefile.am \
455 $(DIRECTORY)/src/GGI/default/Makefile.in \
456 $(DIRECTORY)/src/GGI/default/genkgi.conf.in \
457 $(DIRECTORY)/src/GGI/display/*.c \
458 $(DIRECTORY)/src/GGI/display/Makefile.am \
459 $(DIRECTORY)/src/GGI/display/Makefile.in \
460 $(DIRECTORY)/src/GGI/display/fbdev.conf.in \
461 $(DIRECTORY)/src/GGI/include/Makefile.am \
462 $(DIRECTORY)/src/GGI/include/Makefile.in \
463 $(DIRECTORY)/src/GGI/include/ggi/Makefile.am \
464 $(DIRECTORY)/src/GGI/include/ggi/Makefile.in \
465 $(DIRECTORY)/src/GGI/include/ggi/mesa/Makefile.am \
466 $(DIRECTORY)/src/GGI/include/ggi/mesa/Makefile.in \
467 $(DIRECTORY)/src/GGI/include/ggi/mesa/*.h \
468 $(DIRECTORY)/src/KNOWN_BUGS \
469 $(DIRECTORY)/src/OSmesa/Makefile.am \
470 $(DIRECTORY)/src/OSmesa/Makefile.in \
471 $(DIRECTORY)/src/OSmesa/Makefile.win \
472 $(DIRECTORY)/src/OSmesa/osmesa.def \
473 $(DIRECTORY)/src/OSmesa/*.[ch] \
474 $(DIRECTORY)/src/SPARC/*.[chS] \
475 $(DIRECTORY)/src/SPARC/Makefile.am \
476 $(DIRECTORY)/src/SPARC/Makefile.in \
477 $(DIRECTORY)/src/SVGA/Makefile.am \
478 $(DIRECTORY)/src/SVGA/Makefile.in \
479 $(DIRECTORY)/src/SVGA/*.[ch] \
480 $(DIRECTORY)/src/Windows/*.[ch] \
481 $(DIRECTORY)/src/Windows/*.def \
482 $(DIRECTORY)/src/X/Makefile.am \
483 $(DIRECTORY)/src/X/Makefile.in \
484 $(DIRECTORY)/src/X/*.[ch] \
485 $(DIRECTORY)/src/X86/*.[ch] \
486 $(DIRECTORY)/src/X86/Makefile.am \
487 $(DIRECTORY)/src/X86/Makefile.in \
488 $(DIRECTORY)/src/X86/*.S \
489 $(DIRECTORY)/si-glu/Makefile.am \
490 $(DIRECTORY)/si-glu/Makefile.in \
491 $(DIRECTORY)/si-glu/Makefile.X11 \
492 $(DIRECTORY)/si-glu/Makefile.win \
493 $(DIRECTORY)/si-glu/glu.def \
494 $(DIRECTORY)/si-glu/dummy.cc \
495 $(DIRECTORY)/si-glu/descrip.mms \
496 $(DIRECTORY)/si-glu/mesaglu.opt \
497 $(DIRECTORY)/si-glu/include/gluos.h \
498 $(DIRECTORY)/si-glu/include/Makefile.am \
499 $(DIRECTORY)/si-glu/include/Makefile.in \
500 $(DIRECTORY)/si-glu/libnurbs/Makefile.am \
501 $(DIRECTORY)/si-glu/libnurbs/Makefile.in \
502 $(DIRECTORY)/si-glu/libnurbs/interface/*.h \
503 $(DIRECTORY)/si-glu/libnurbs/interface/*.cc \
504 $(DIRECTORY)/si-glu/libnurbs/interface/libNIFac_la_SOURCES \
505 $(DIRECTORY)/si-glu/libnurbs/interface/Makefile.am \
506 $(DIRECTORY)/si-glu/libnurbs/interface/Makefile.in \
507 $(DIRECTORY)/si-glu/libnurbs/internals/*.h \
508 $(DIRECTORY)/si-glu/libnurbs/internals/*.cc \
509 $(DIRECTORY)/si-glu/libnurbs/internals/libNInt_la_SOURCES \
510 $(DIRECTORY)/si-glu/libnurbs/internals/Makefile.am \
511 $(DIRECTORY)/si-glu/libnurbs/internals/Makefile.in \
512 $(DIRECTORY)/si-glu/libnurbs/nurbtess/*.h \
513 $(DIRECTORY)/si-glu/libnurbs/nurbtess/*.cc \
514 $(DIRECTORY)/si-glu/libnurbs/nurbtess/libNTess_la_SOURCES \
515 $(DIRECTORY)/si-glu/libnurbs/nurbtess/Makefile.am \
516 $(DIRECTORY)/si-glu/libnurbs/nurbtess/Makefile.in \
517 $(DIRECTORY)/si-glu/libtess/README \
518 $(DIRECTORY)/si-glu/libtess/alg-outline \
519 $(DIRECTORY)/si-glu/libtess/*.[ch] \
520 $(DIRECTORY)/si-glu/libtess/libtess_la_SOURCES \
521 $(DIRECTORY)/si-glu/libtess/Makefile.am \
522 $(DIRECTORY)/si-glu/libtess/Makefile.in \
523 $(DIRECTORY)/si-glu/libutil/*.[ch] \
524 $(DIRECTORY)/si-glu/libutil/libutil_la_SOURCES \
525 $(DIRECTORY)/si-glu/libutil/Makefile.am \
526 $(DIRECTORY)/si-glu/libutil/Makefile.in \
527 $(DIRECTORY)/src-glu/README[12] \
528 $(DIRECTORY)/src-glu/Makefile* \
529 $(DIRECTORY)/src-glu/descrip.mms \
530 $(DIRECTORY)/src-glu/mms_depend \
531 $(DIRECTORY)/src-glu/*.def \
532 $(DIRECTORY)/src-glu/depend \
533 $(DIRECTORY)/src-glu/*.[ch] \
534 $(DIRECTORY)/widgets-mesa/ChangeLog \
535 $(DIRECTORY)/widgets-mesa/INSTALL \
536 $(DIRECTORY)/widgets-mesa/Makefile.in \
537 $(DIRECTORY)/widgets-mesa/README \
538 $(DIRECTORY)/widgets-mesa/TODO \
539 $(DIRECTORY)/widgets-mesa/configure \
540 $(DIRECTORY)/widgets-mesa/configure.in \
541 $(DIRECTORY)/widgets-mesa/demos/ChangeLog \
542 $(DIRECTORY)/widgets-mesa/demos/Cube \
543 $(DIRECTORY)/widgets-mesa/demos/Ed \
544 $(DIRECTORY)/widgets-mesa/demos/Makefile.in \
545 $(DIRECTORY)/widgets-mesa/demos/Mcube \
546 $(DIRECTORY)/widgets-mesa/demos/Tea \
547 $(DIRECTORY)/widgets-mesa/demos/*.[ch] \
548 $(DIRECTORY)/widgets-mesa/demos/events \
549 $(DIRECTORY)/widgets-mesa/include/GL/ChangeLog \
550 $(DIRECTORY)/widgets-mesa/include/GL/*.h \
551 $(DIRECTORY)/widgets-mesa/include/GL/Makefile.in \
552 $(DIRECTORY)/widgets-mesa/man/ChangeLog \
553 $(DIRECTORY)/widgets-mesa/man/GL* \
554 $(DIRECTORY)/widgets-mesa/man/Makefile.in \
555 $(DIRECTORY)/widgets-mesa/man/Mesa* \
556 $(DIRECTORY)/widgets-mesa/src/ChangeLog \
557 $(DIRECTORY)/widgets-mesa/src/*.c \
558 $(DIRECTORY)/widgets-mesa/src/Makefile.in \
559 $(DIRECTORY)/widgets-sgi/*.[ch] \
560 $(DIRECTORY)/widgets-sgi/Makefile* \
561 $(DIRECTORY)/widgets-sgi/README \
562 $(DIRECTORY)/util/README \
563 $(DIRECTORY)/util/Makefile.am \
564 $(DIRECTORY)/util/Makefile.in \
565 $(DIRECTORY)/util/*.[ch] \
566 $(DIRECTORY)/util/sampleMakefile \
567 $(DIRECTORY)/vms/analyze_map.com \
568 $(DIRECTORY)/vms/xlib.opt \
569 $(DIRECTORY)/vms/xlib_share.opt \
570 $(DIRECTORY)/BeOS/Makefile \
571 $(DIRECTORY)/BeOS/*.cpp
573 OBSOLETE_LIB_FILES = \
574 $(DIRECTORY)/src/Allegro/*.[ch] \
575 $(DIRECTORY)/src/D3D/*.cpp \
576 $(DIRECTORY)/src/D3D/*.CPP \
577 $(DIRECTORY)/src/D3D/*.h \
578 $(DIRECTORY)/src/D3D/*.H \
579 $(DIRECTORY)/src/D3D/*.c \
580 $(DIRECTORY)/src/D3D/*.C \
581 $(DIRECTORY)/src/D3D/MAKEFILE \
582 $(DIRECTORY)/src/D3D/*bat \
583 $(DIRECTORY)/src/D3D/*DEF \
584 $(DIRECTORY)/src/DOS/DEPEND.DOS \
585 $(DIRECTORY)/src/S3/*.[ch] \
586 $(DIRECTORY)/src/S3/*.def \
587 $(DIRECTORY)/src/S3/*.mak \
588 $(DIRECTORY)/src/S3/*.rc \
589 $(DIRECTORY)/macos/README \
590 $(DIRECTORY)/macos/gli_api/*.h \
591 $(DIRECTORY)/macos/cglpane/CGLPane.* \
592 $(DIRECTORY)/macos/include-mac/*.h \
593 $(DIRECTORY)/macos/libraries/*.stub \
594 $(DIRECTORY)/macos/libraries/*Stub \
595 $(DIRECTORY)/macos/projects/*.mcp \
596 $(DIRECTORY)/macos/projects/*.exp \
597 $(DIRECTORY)/macos/projects/*.h \
598 $(DIRECTORY)/macos/resources/*.c \
599 $(DIRECTORY)/macos/resources/*.r \
600 $(DIRECTORY)/macos/resources/*.rsrc \
601 $(DIRECTORY)/macos/src-agl/*.exp \
602 $(DIRECTORY)/macos/src-agl/*.[ch] \
603 $(DIRECTORY)/macos/src-gli/*.[ch] \
604 $(DIRECTORY)/OpenStep
609 $(DIRECTORY)/include/GL/glut.h \
610 $(DIRECTORY)/include/GL/glutf90.h \
611 $(DIRECTORY)/src-glut/Makefile* \
612 $(DIRECTORY)/src-glut/depend \
613 $(DIRECTORY)/src-glut/*def \
614 $(DIRECTORY)/src-glut/descrip.mms \
615 $(DIRECTORY)/src-glut/mms_depend \
616 $(DIRECTORY)/src-glut/*.[ch] \
617 $(DIRECTORY)/src-glut.dos/*.[ch] \
618 $(DIRECTORY)/src-glut.dos/Makefile.DJ \
619 $(DIRECTORY)/src-glut.dos/PC_HW/*.[chS] \
620 $(DIRECTORY)/images/* \
621 $(DIRECTORY)/demos/Makefile* \
622 $(DIRECTORY)/demos/descrip.mms \
623 $(DIRECTORY)/demos/*.[ch] \
624 $(DIRECTORY)/demos/*.cxx \
625 $(DIRECTORY)/demos/*.dat \
626 $(DIRECTORY)/demos/README \
627 $(DIRECTORY)/xdemos/Makefile* \
628 $(DIRECTORY)/xdemos/descrip.mms \
629 $(DIRECTORY)/xdemos/*.[chf] \
630 $(DIRECTORY)/book/Makefile* \
631 $(DIRECTORY)/book/README \
632 $(DIRECTORY)/book/*.[ch] \
633 $(DIRECTORY)/samples/Makefile* \
634 $(DIRECTORY)/samples/README \
635 $(DIRECTORY)/samples/*.c \
636 $(DIRECTORY)/mtdemos \
637 $(DIRECTORY)/windmldemos/Makefile.ugl \
638 $(DIRECTORY)/windmldemos/*.c \
639 $(DIRECTORY)/windmldemos/*.bmp \
642 OBSOLETE_DEMO_FILES = \
643 $(DIRECTORY)/include/GL/glut_h.dja \
644 $(DIRECTORY)/src-glut.dja/* \
645 $(DIRECTORY)/src-glut.beos/Makefile \
646 $(DIRECTORY)/src-glut.beos/*.cpp \
647 $(DIRECTORY)/src-glut.beos/*.h \
651 $(DIRECTORY)/Makefile* \
652 $(DIRECTORY)/Make-config \
653 $(DIRECTORY)/bin/mklib* \
654 $(DIRECTORY)/include/GL/glu.h \
655 $(DIRECTORY)/si-glu/Makefile.X11 \
656 $(DIRECTORY)/si-glu/include/gluos.h \
657 $(DIRECTORY)/si-glu/libnurbs/interface/*.h \
658 $(DIRECTORY)/si-glu/libnurbs/interface/*.cc \
659 $(DIRECTORY)/si-glu/libnurbs/internals/*.h \
660 $(DIRECTORY)/si-glu/libnurbs/internals/*.cc \
661 $(DIRECTORY)/si-glu/libnurbs/nurbstess/*.h \
662 $(DIRECTORY)/si-glu/libnurbs/nurbstess/*.cc \
663 $(DIRECTORY)/si-glu/libtess/README \
664 $(DIRECTORY)/si-glu/libtess/alg-outline \
665 $(DIRECTORY)/si-glu/libtess/*.[ch] \
666 $(DIRECTORY)/si-glu/libutil/*.[ch]
669 $(DIRECTORY)/Makefile* \
670 $(DIRECTORY)/Make-config \
671 $(DIRECTORY)/bin/mklib* \
672 $(DIRECTORY)/include/GL/gl.h \
673 $(DIRECTORY)/include/GL/gl_mangle.h \
674 $(DIRECTORY)/include/GL/glext.h \
675 $(DIRECTORY)/include/GL/glu.h \
676 $(DIRECTORY)/include/GL/glu_mangle.h \
677 $(DIRECTORY)/src-glu/README[12] \
678 $(DIRECTORY)/src-glu/Makefile* \
679 $(DIRECTORY)/src-glu/descrip.mms \
680 $(DIRECTORY)/src-glu/mms_depend \
681 $(DIRECTORY)/src-glu/*.def \
682 $(DIRECTORY)/src-glu/depend \
683 $(DIRECTORY)/src-glu/*.[ch]
686 $(DIRECTORY)/Makefile* \
687 $(DIRECTORY)/Make-config \
688 $(DIRECTORY)/bin/mklib* \
689 $(DIRECTORY)/include/GL/gl.h \
690 $(DIRECTORY)/include/GL/gl_mangle.h \
691 $(DIRECTORY)/include/GL/glext.h \
692 $(DIRECTORY)/include/GL/glu.h \
693 $(DIRECTORY)/include/GL/glu_mangle.h \
694 $(DIRECTORY)/include/GL/glut.h \
695 $(DIRECTORY)/include/GL/glutf90.h \
696 $(DIRECTORY)/src-glut/Makefile* \
697 $(DIRECTORY)/src-glut/depend \
698 $(DIRECTORY)/src-glut/*def \
699 $(DIRECTORY)/src-glut/descrip.mms \
700 $(DIRECTORY)/src-glut/mms_depend \
701 $(DIRECTORY)/src-glut/*.[ch]
704 OBSOLETE_GLUT_FILES = \
705 $(DIRECTORY)/include/GL/glut_h.dja \
706 $(DIRECTORY)/src-glut.dja/* \
707 $(DIRECTORY)/src-glut.beos/Makefile \
708 $(DIRECTORY)/src-glut.beos/*.cpp \
709 $(DIRECTORY)/src-glut.beos/*.h
713 cp Makefile.X11 Makefile ; \
715 tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \
716 gzip $(LIB_NAME).tar ; \
717 mv $(LIB_NAME).tar.gz $(DIRECTORY)
721 tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \
722 gzip $(DEMO_NAME).tar ; \
723 mv $(DEMO_NAME).tar.gz $(DIRECTORY)
726 cp Makefile.X11 Makefile ; \
728 tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \
729 bzip2 $(LIB_NAME).tar ; \
730 mv $(LIB_NAME).tar.bz2 $(DIRECTORY)
734 tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \
735 bzip2 $(DEMO_NAME).tar ; \
736 mv $(DEMO_NAME).tar.bz2 $(DIRECTORY)
739 -rm $(LIB_NAME).zip ; \
740 cp Makefile.X11 Makefile ; \
742 zip -r $(LIB_NAME).zip $(LIB_FILES) ; \
743 mv $(LIB_NAME).zip $(DIRECTORY)
746 -rm $(DEMO_NAME).zip ; \
748 zip -r $(DEMO_NAME).zip $(DEMO_FILES) ; \
749 mv $(DEMO_NAME).zip $(DIRECTORY)
752 @-md5sum $(LIB_NAME).tar.gz
753 @-md5sum $(LIB_NAME).tar.bz2
754 @-md5sum $(LIB_NAME).zip
755 @-md5sum $(DEMO_NAME).tar.gz
756 @-md5sum $(DEMO_NAME).tar.bz2
757 @-md5sum $(DEMO_NAME).zip
759 # Everything for new Mesa release:
760 tarballs: lib_gz demo_gz lib_bz2 demo_bz2 lib_zip demo_zip md5
765 cp Makefile.X11 Makefile ; \
767 tar -cvf $(GLU_NAME).tar $(GLU_FILES) ; \
768 gzip $(GLU_NAME).tar ; \
769 mv $(GLU_NAME).tar.gz $(DIRECTORY)
772 cp Makefile.X11 Makefile ; \
774 tar -cvf $(GLUT_NAME).tar $(GLUT_FILES) ; \
775 gzip $(GLUT_NAME).tar ; \
776 mv $(GLUT_NAME).tar.gz $(DIRECTORY)