fix bug in index_mask() (bug 609837)
[mesa.git] / Makefile.X11
1 # $Id: Makefile.X11,v 1.64 2002/09/19 16:36:52 brianp Exp $
2
3 # Mesa 3-D graphics library
4 # Version: 4.1
5 #
6 # Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
7 #
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:
14 #
15 # The above copyright notice and this permission notice shall be included
16 # in all copies or substantial portions of the Software.
17 #
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.
24
25
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.
29
30 SHELL = /bin/sh
31
32
33
34 default:
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"
55 @echo " make hpux10-sl for HP systems with HPUX 10.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"
69
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-trace for Linux systems, with API trace extension"
73 @echo " make linux-x86 for Linux on Intel, make shared .so libs"
74 @echo " make linux-x86-static for Linux on Intel, make static .a libs"
75 @echo " make linux-ggi for Linux systems with libggi"
76 @echo " make linux-386-ggi for Linux systems with libggi w/ Intel assembly"
77 @echo " make linux-glide for Linux w/ 3Dfx Glide driver"
78 @echo " make linux-386-glide for Linux w/ 3Dfx Glide driver, Intel assembly"
79 @echo " make linux-386-opt-glide for Linux with 3Dfx Voodoo1 for GLQuake"
80 @echo " make linux-x86-glide for Linux w/ all x86 asm for Glide"
81 @echo " make linux-alpha for Linux on Alpha systems"
82 @echo " make linux-alpha-static for Linux on Alpha systems, static libs"
83 @echo " make linux-ppc for Linux on PowerPC systems"
84 @echo " make linux-ppc-static for Linux on PowerPC systems, static libs"
85 @echo " make linux-sparc for Linux on Sparc systems"
86 @echo " make linux-sparc5-elf for Sparc5 systems, make ELF shared libs"
87 @echo " make linux-sparc-ultra for UltraSparc systems, make ELF shared libs"
88 @echo " make linux-osmesa16 for 16-bit/channel OSMesa"
89 @echo " make linux-osmesa32 for 32-bit/channel OSMesa"
90 @echo " make linux-icc for Linux with the Intel C/C++ compiler"
91 @echo " make lynxos for LynxOS systems with GCC"
92 @echo " make macintosh for Macintosh"
93 @echo " make machten-2.2 for Macs w/ MachTen 2.2 (68k w/ FPU)"
94 @echo " make machten-4.0 for Macs w/ MachTen 4.0.1 or newer with GNU make"
95 @echo " make mklinux for Linux on Power Macintosh"
96 @echo " make netbsd for NetBSD 1.0 systems with GCC"
97 @echo " make next for NeXT systems with NEXTSTEP 3.3"
98 @echo " make openbsd for OpenBSD systems"
99 @echo " make openstep for OpenStep/MacOSX Server systems"
100 @echo " make os2-x11 for OS/2 with XFree86"
101 @echo " make osf1 for DEC Alpha systems with OSF/1"
102 @echo " make osf1-sl for DEC Alpha systems with OSF/1, make shared libs"
103 @echo " make pgi-cygnus for Cygnus with Portland Group, Inc. compiler"
104 @echo " make pgi-mingw32 for mingW32 with Portland Group, Inc. compiler"
105 @echo " make qnx for QNX V4 systems with Watcom compiler"
106 @echo " make sco for SCO Unix systems with ODT"
107 @echo " make sco5 for SCO 5.0.5 OpenServer Unix"
108 @echo " make solaris-x86 for PCs with Solaris"
109 @echo " make solaris-x86-gcc for PCs with Solaris using GCC"
110 @echo " make sunos4 for Suns with SunOS 4.x"
111 @echo " make sunos4-sl for Suns with SunOS 4.x, make shared libs"
112 @echo " make sunos4-gcc for Suns with SunOS 4.x and GCC"
113 @echo " make sunos4-gcc-sl for Suns with SunOS 4.x, GCC, make shared libs"
114 @echo " make sunos5 for Suns with SunOS 5.x"
115 @echo " make sunos5-sl for Suns with SunOS 5.x, make shared libs"
116 @echo " make sunos5-ultra for Sun UltraSPARCs with SunOS 5.x"
117 @echo " make sunos5-ultra-sl for Sun UltraSPARCs with SunOS 5.x, make shared libs"
118 @echo " make sunos5-thread for Suns with SunOS 5.x, using Solaris threads"
119 @echo " make sunos5-pthread for Suns with SunOS 5.[56] using POSIX threads"
120 @echo " make sunos5-gcc-thread for Suns with SunOS 5.x and GCC, using Solaris threads"
121 @echo " make sunos5-gcc-pthread for Suns with SunOS 5.[56] and GCC, using POSIX threads"
122 @echo " make sunos5-gcc for Suns with SunOS 5.x and GCC"
123 @echo " make sunos5-gcc-sl for Suns with SunOS 5.x, GCC, make shared libs"
124 @echo " make sunos5-x11r6-gcc-sl for Suns with X11R6, GCC, make shared libs"
125 @echo " make sunos5-gcc-thread for Suns with SunOS 5.x and GCC, using Solaris threads"
126 @echo " make sunos5-gcc-pthread for Suns with SunOS 5.[56] and GCC, using POSIX threads"
127 @echo " make sunSolaris-CC for Solaris using C++ compiler"
128 @echo " make ultrix-gcc for DEC systems with Ultrix and GCC"
129 @echo " make unicos for Cray C90 (and other?) systems"
130 @echo " make unixware for PCs running UnixWare"
131 @echo " make unixware-shared for PCs running UnixWare, shared libs"
132 @echo " make uwin for Windows NT with AT&T/Wipro UWIN"
133 @echo " make vistra for Stardent Vistra systems"
134 @echo " make clean remove .o files"
135 @echo " make realclean remove .o, library and executable files"
136
137
138
139 # XXX we may have to split up this group of targets into those that
140 # have a C++ compiler and those that don't for the SI-GLU library.
141
142 aix aix-sl amix bsdos bsdos4 darwin dgux freebsd freebsd-386 gcc \
143 hpux9 hpux9-sl hpux9-gcc hpux9-gcc-sl \
144 hpux10 hpux10-sl hpux10-gcc hpux10-gcc-sl \
145 irix4 irix5 irix5-gcc irix5-dso \
146 linux linux-static linux-debug linux-static-debug linux-prof \
147 linux-x86 linux-icc linux-x86-static linux-x86-debug \
148 linux-glide linux-386-glide linux-386-opt-glide \
149 linux-x86-glide linux-glide-debug linux-glide-prof \
150 linux-alpha-static linux-alpha \
151 linux-ppc-static linux-ppc \
152 linux-sparc \
153 linux-sparc5-elf \
154 linux-sparc-ultra \
155 lynxos machten-2.2 machten-4.0 \
156 mklinux netbsd osf1 osf1-sl openbsd qnx sco sco5 \
157 solaris-x86 solaris-x86-gcc sunSolaris-CC \
158 sunos4 sunos4-sl sunos4-gcc sunos4-gcc-sl sunos4-gcc-x11r6-sl \
159 sunos5 sunos5-sl sunos5-ultra sunos5-ultra-sl sunos5-gcc sunos5-gcc-sl \
160 sunos5-thread sunos5-pthread sunos5-gcc-thread sunos5-gcc-pthread \
161 sunos5-x11r6-gcc-sl ultrix-gcc unicos unixware uwin vistra:
162 -mkdir lib
163 if [ -d src ] ; then touch src/depend ; fi
164 if [ -d si-glu ] ; then touch si-glu/depend ; fi
165 if [ -d src-glut ] ; then touch src-glut/depend ; fi
166 if [ -d widgets-sgi ] ; then touch widgets-sgi/depend ; fi
167 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
168 if [ -d si-glu ] ; then cd si-glu ; $(MAKE) -f Makefile.X11 $@ ; fi
169 if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi
170 if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi
171 if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
172 if [ -d samples ] ; then cd samples ; $(MAKE) -f Makefile.X11 $@ ; fi
173 if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi
174 if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi
175
176 irix6-o32 irix6-o32-dso irix6-n32 irix6-n32-dso irix6-gcc-n32-sl irix-debug:
177 -mkdir lib32
178 if [ -d src ] ; then touch src/depend ; fi
179 if [ -d src-glu ] ; then touch src-glu/depend ; fi
180 if [ -d src-glut ] ; then touch src-glut/depend ; fi
181 if [ -d widgets-sgi ] ; then touch widgets-sgi/depend ; fi
182 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
183 if [ -d src-glu ] ; then cd src-glu ; $(MAKE) -f Makefile.X11 $@ ; fi
184 if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi
185 if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi
186 if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
187 if [ -d samples ] ; then cd samples ; $(MAKE) -f Makefile.X11 $@ ; fi
188 if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi
189 if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi
190
191
192 irix6-64 irix6-64-dso:
193 -mkdir lib64
194 touch src/depend
195 touch src-glu/depend
196 if [ -d src-glut ] ; then touch src-glut/depend ; fi
197 if [ -d widgets-sgi ] ; then touch widgets-sgi/depend ; fi
198 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
199 if [ -d src-glu ] ; then cd src-glu ; $(MAKE) -f Makefile.X11 $@ ; fi
200 if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi
201 if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi
202 if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
203 if [ -d samples ] ; then cd samples ; $(MAKE) -f Makefile.X11 $@ ; fi
204 if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi
205 if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi
206
207
208 amiwin:
209 bin/mklib.amiwin
210
211
212 beos-r4:
213 -mkdir lib
214 -rm src/depend
215 touch src/depend
216 -rm src-glu/depend
217 touch src-glu/depend
218 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
219 if [ -d src-glu ] ; then cd src-glu ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
220 if [ -d BeOS ] ; then cd BeOS ; $(MAKE) ; fi
221 if [ -d src-glut.beos ] ; then cd src-glut.beos ; $(MAKE) ; fi
222 if [ -d src-glut.beos ] ; then cp src-glut.beos/obj*/libglut.so lib ; fi
223 if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
224 if [ -d samples ] ; then cd samples ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
225 if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
226
227 pgi-cygnus pgi-mingw32 \
228 cygnus cygnus-linux:
229 -mkdir lib
230 touch src/depend
231 touch src-glu/depend
232 if [ -d widgets-sgi ] ; then touch widgets-sgi/depend ; fi
233 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
234 if [ -d src-glu ] ; then cd src-glu ; $(MAKE) -f Makefile.X11 $@ ; fi
235 if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi
236 if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi
237 if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
238 if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi
239
240 macintosh:
241 @echo "See the README file for Macintosh intallation information"
242
243 next:
244 -mkdir lib
245 cd src ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
246 cd src-glu ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
247
248 openstep:
249 -mkdir lib
250 cd src ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
251 cd src-glu ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
252
253 os2-x11:
254 if not EXIST .\lib md lib
255 touch src/depend
256 touch src-glu/depend
257 if exist src-glut touch src-glut/depend
258 cd src & make -f Makefile.X11 $@
259 cd src-glu & make -f Makefile.X11 $@
260 if exist src-glut cd src-glut & make -f Makefile.X11 $@
261 if exist demos cd demos & make -f Makefile.X11 $@
262 if exist xdemos cd xdemos & make -f Makefile.X11 $@
263 if exist samples cd samples & make -f Makefile.X11 $@
264 if exist book cd book & make -f Makefile.X11 $@
265
266 linux-ggi linux-386-ggi:
267 -mkdir lib
268 touch src/depend
269 touch si-glu/depend
270 if [ -d src-glut ] ; then touch src-glut/depend ; fi
271 if [ -d widgets-sgi ] ; then touch widgets-sgi/depend ; fi
272 if [ -d ggi ] ; then touch ggi/depend ; fi
273 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
274 if [ -d src/GGI/default ] ; then cd src/GGI/default ; $(MAKE) ; fi
275 if [ -d src/GGI/display ] ; then cd src/GGI/display ; $(MAKE) ; fi
276 if [ -d si-glu ] ; then cd si-glu ; $(MAKE) -f Makefile.X11 $@ ; fi
277 # if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi
278 if [ -d ggi ] ; then cd ggi ; $(MAKE) -f Makefile.X11 $@ ; fi
279 if [ -d ggi ] ; then cd ggi/demos; $(MAKE) ; fi
280 if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi
281 if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
282 if [ -d samples ] ; then cd samples ; $(MAKE) -f Makefile.X11 $@ ; fi
283 if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi
284 if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi
285
286 # if you change GGI_DEST please change it in ggimesa.conf, too.
287 DESTDIR=/usr/local
288 GGI_DEST=lib/ggi/mesa
289
290 linux-ggi-install linux-386-ggi-install:
291 install -d $(DESTDIR)/$(GGI_DEST)/default $(DESTDIR)/$(GGI_DEST)/display $(DESTDIR)/etc/ggi
292 install -m 0755 src/GGI/default/*.so $(DESTDIR)/$(GGI_DEST)/default
293 install -m 0755 src/GGI/display/*.so $(DESTDIR)/$(GGI_DEST)/display
294 install -m 0644 src/GGI/ggimesa.conf $(DESTDIR)/etc/ggi
295 # if [ -z "`grep ggimesa $(DESTDIR)/etc/ggi/libggi.conf`" ]; then \
296 # echo ".include $(DESTDIR)/etc/ggi/ggimesa.conf" >> $(DESTDIR)/etc/ggi/libggi.conf ; \
297 # fi
298
299 linux-osmesa16 linux-osmesa32:
300 -mkdir lib
301 if [ -d src ] ; then touch src/depend ; fi
302 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.OSMesa16 $@ ; fi
303
304
305 # Remove .o files, emacs backup files, etc.
306 clean:
307 -rm -f ggi/*~ *.o
308 -rm -f src/GGI/default/*~ *.so
309 -rm -f src/GGI/display/*~ *.so
310 -rm -f include/*~
311 -rm -f include/GL/*~
312 -rm -f src/*.o src/*~ src/*.a src/*/*.o src/*/*~
313 -rm -f src-glu/*.o src-glu/*~ src-glu/*.a
314 -rm -f si-glu/*/*.o si-glu/*/*/*.o
315 -rm -f src-glut/*.o
316 -rm -f demos/*.o
317 -rm -f book/*.o book/*~
318 -rm -f xdemos/*.o xdemos/*~
319 -rm -f samples/*.o samples/*~
320 -rm -f ggi/*.o ggi/demos/*.o ggi/*.a
321 -rm -f widgets-sgi/*.o
322 -rm -f widgets-mesa/*/*.o
323
324 # Remove everything that can be remade
325 realclean: clean
326 -rm -fr lib lib32 lib64
327 cd demos && $(MAKE) -f Makefile.X11 realclean || true
328 cd xdemos && $(MAKE) -f Makefile.X11 realclean || true
329 cd book && $(MAKE) -f Makefile.X11 realclean || true
330 cd samples && $(MAKE) -f Makefile.X11 realclean || true
331
332
333 DIRECTORY = Mesa-4.1
334 LIB_NAME = MesaLib-4.1
335 DEMO_NAME = MesaDemos-4.1
336 GLU_NAME = MesaGLU-4.1
337 GLUT_NAME = GLUT-3.7
338
339
340 LIB_FILES = \
341 $(DIRECTORY)/Makefile* \
342 $(DIRECTORY)/Make-config \
343 $(DIRECTORY)/acconfig.h \
344 $(DIRECTORY)/acinclude.m4 \
345 $(DIRECTORY)/aclocal.m4 \
346 $(DIRECTORY)/common_rules.make \
347 $(DIRECTORY)/conf.h.in \
348 $(DIRECTORY)/config.guess \
349 $(DIRECTORY)/config.sub \
350 $(DIRECTORY)/configure \
351 $(DIRECTORY)/configure.in \
352 $(DIRECTORY)/install-sh \
353 $(DIRECTORY)/ltmain.sh \
354 $(DIRECTORY)/missing \
355 $(DIRECTORY)/mkinstalldirs \
356 $(DIRECTORY)/stamp-h.in \
357 $(DIRECTORY)/docs/CONFIG \
358 $(DIRECTORY)/docs/CONFORM \
359 $(DIRECTORY)/docs/COPYING \
360 $(DIRECTORY)/docs/COPYRIGHT \
361 $(DIRECTORY)/docs/DEVINFO \
362 $(DIRECTORY)/docs/IAFA-PACKAGE \
363 $(DIRECTORY)/docs/INSTALL \
364 $(DIRECTORY)/docs/INSTALL.GNU \
365 $(DIRECTORY)/docs/README \
366 $(DIRECTORY)/docs/README.* \
367 $(DIRECTORY)/docs/RELNOTES* \
368 $(DIRECTORY)/docs/VERSIONS \
369 $(DIRECTORY)/docs/*.spec \
370 $(DIRECTORY)/bin/README \
371 $(DIRECTORY)/bin/mklib* \
372 $(DIRECTORY)/descrip.mms \
373 $(DIRECTORY)/mms-config \
374 $(DIRECTORY)/m4/*.m4 \
375 $(DIRECTORY)/xlib.opt \
376 $(DIRECTORY)/mesawin32.mak \
377 $(DIRECTORY)/include/GL/internal/glcore.h \
378 $(DIRECTORY)/include/GL/Makefile.in \
379 $(DIRECTORY)/include/GL/Makefile.am \
380 $(DIRECTORY)/include/GL/dmesa.h \
381 $(DIRECTORY)/include/GL/amesa.h \
382 $(DIRECTORY)/include/GL/fxmesa.h \
383 $(DIRECTORY)/include/GL/ggimesa.h \
384 $(DIRECTORY)/include/GL/gl.h \
385 $(DIRECTORY)/include/GL/glext.h \
386 $(DIRECTORY)/include/GL/gl_mangle.h \
387 $(DIRECTORY)/include/GL/glu.h \
388 $(DIRECTORY)/include/GL/glu_mangle.h \
389 $(DIRECTORY)/include/GL/glx.h \
390 $(DIRECTORY)/include/GL/glxext.h \
391 $(DIRECTORY)/include/GL/glx_mangle.h \
392 $(DIRECTORY)/include/GL/mesa_wgl.h \
393 $(DIRECTORY)/include/GL/mglmesa.h \
394 $(DIRECTORY)/include/GL/osmesa.h \
395 $(DIRECTORY)/include/GL/svgamesa.h \
396 $(DIRECTORY)/include/GL/ugl*.h \
397 $(DIRECTORY)/include/GL/vms_x_fix.h \
398 $(DIRECTORY)/include/GL/wmesa.h \
399 $(DIRECTORY)/include/GL/xmesa.h \
400 $(DIRECTORY)/include/GL/xmesa_x.h \
401 $(DIRECTORY)/include/GL/xmesa_xf86.h \
402 $(DIRECTORY)/include/GLView.h \
403 $(DIRECTORY)/include/dmesadxe.h \
404 $(DIRECTORY)/include/Makefile.in \
405 $(DIRECTORY)/include/Makefile.am \
406 $(DIRECTORY)/src/Makefile* \
407 $(DIRECTORY)/src/libGL_la_SOURCES \
408 $(DIRECTORY)/src/descrip.mms \
409 $(DIRECTORY)/src/mesa.conf \
410 $(DIRECTORY)/src/*.def \
411 $(DIRECTORY)/src/depend \
412 $(DIRECTORY)/src/*.[chS] \
413 $(DIRECTORY)/src/array_cache/*.[ch] \
414 $(DIRECTORY)/src/array_cache/Makefile* \
415 $(DIRECTORY)/src/array_cache/libMesaAC_la_SOURCES \
416 $(DIRECTORY)/src/math/*.[ch] \
417 $(DIRECTORY)/src/math/Makefile* \
418 $(DIRECTORY)/src/swrast/*.[ch] \
419 $(DIRECTORY)/src/swrast/Makefile* \
420 $(DIRECTORY)/src/swrast/libMesaSwrast_la_SOURCES \
421 $(DIRECTORY)/src/swrast_setup/*.[ch] \
422 $(DIRECTORY)/src/swrast_setup/Makefile* \
423 $(DIRECTORY)/src/tnl/*.[ch] \
424 $(DIRECTORY)/src/tnl/Makefile* \
425 $(DIRECTORY)/src/tnl/libMesaTnl_la_SOURCES \
426 $(DIRECTORY)/src/tnl_dd/*.[ch] \
427 $(DIRECTORY)/src/tnl_dd/imm/*.[ch] \
428 $(DIRECTORY)/src/tnl_dd/imm/NOTES.imm \
429 $(DIRECTORY)/src/windml/*.[ch] \
430 $(DIRECTORY)/src/windml/tornado/*.c \
431 $(DIRECTORY)/src/windml/tornado/*.cdf \
432 $(DIRECTORY)/src/windml/man3/*.3 \
433 $(DIRECTORY)/src/windml/man3/*.html \
434 $(DIRECTORY)/src/DOS/*.[chS] \
435 $(DIRECTORY)/src/DOS/vesa/*.[ch] \
436 $(DIRECTORY)/src/BeOS/*.h \
437 $(DIRECTORY)/src/BeOS/*.cpp \
438 $(DIRECTORY)/src/FX/Makefile.am \
439 $(DIRECTORY)/src/FX/Makefile.in \
440 $(DIRECTORY)/src/FX/libMesaFX_la_SOURCES \
441 $(DIRECTORY)/src/FX/*.[ch] \
442 $(DIRECTORY)/src/FX/*.def \
443 $(DIRECTORY)/src/FX/X86/Makefile.am \
444 $(DIRECTORY)/src/FX/X86/Makefile.in \
445 $(DIRECTORY)/src/FX/X86/*.[Shc] \
446 $(DIRECTORY)/src/GGI/Makefile.am \
447 $(DIRECTORY)/src/GGI/Makefile.in \
448 $(DIRECTORY)/src/GGI/*.[ch] \
449 $(DIRECTORY)/src/GGI/ggimesa.conf.in \
450 $(DIRECTORY)/src/GGI/default/*.c \
451 $(DIRECTORY)/src/GGI/default/Makefile.am \
452 $(DIRECTORY)/src/GGI/default/Makefile.in \
453 $(DIRECTORY)/src/GGI/default/genkgi.conf.in \
454 $(DIRECTORY)/src/GGI/display/*.c \
455 $(DIRECTORY)/src/GGI/display/Makefile.am \
456 $(DIRECTORY)/src/GGI/display/Makefile.in \
457 $(DIRECTORY)/src/GGI/display/fbdev.conf.in \
458 $(DIRECTORY)/src/GGI/include/Makefile.am \
459 $(DIRECTORY)/src/GGI/include/Makefile.in \
460 $(DIRECTORY)/src/GGI/include/ggi/Makefile.am \
461 $(DIRECTORY)/src/GGI/include/ggi/Makefile.in \
462 $(DIRECTORY)/src/GGI/include/ggi/mesa/Makefile.am \
463 $(DIRECTORY)/src/GGI/include/ggi/mesa/Makefile.in \
464 $(DIRECTORY)/src/GGI/include/ggi/mesa/*.h \
465 $(DIRECTORY)/src/KNOWN_BUGS \
466 $(DIRECTORY)/src/OSmesa/Makefile.am \
467 $(DIRECTORY)/src/OSmesa/Makefile.in \
468 $(DIRECTORY)/src/OSmesa/Makefile.win \
469 $(DIRECTORY)/src/OSmesa/osmesa.def \
470 $(DIRECTORY)/src/OSmesa/*.[ch] \
471 $(DIRECTORY)/src/SPARC/*.[chS] \
472 $(DIRECTORY)/src/SPARC/Makefile.am \
473 $(DIRECTORY)/src/SPARC/Makefile.in \
474 $(DIRECTORY)/src/SVGA/Makefile.am \
475 $(DIRECTORY)/src/SVGA/Makefile.in \
476 $(DIRECTORY)/src/SVGA/*.[ch] \
477 $(DIRECTORY)/src/Trace/*.[ch] \
478 $(DIRECTORY)/src/Trace/Makefile.am \
479 $(DIRECTORY)/src/Trace/Makefile.in \
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
572
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
605
606
607
608 DEMO_FILES = \
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/*.[cf] \
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 \
640 $(DIRECTORY)/ggi
641
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 \
648
649
650 SI_GLU_FILES = \
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]
667
668 GLU_FILES = \
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]
684
685 GLUT_FILES = \
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]
702
703
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
710
711
712 lib_tar:
713 cp Makefile.X11 Makefile ; \
714 cd .. ; \
715 tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \
716 gzip $(LIB_NAME).tar ; \
717 mv $(LIB_NAME).tar.gz $(DIRECTORY)
718
719 demo_tar:
720 cd .. ; \
721 tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \
722 gzip $(DEMO_NAME).tar ; \
723 mv $(DEMO_NAME).tar.gz $(DIRECTORY)
724
725 glu_tar:
726 cp Makefile.X11 Makefile ; \
727 cd .. ; \
728 tar -cvf $(GLU_NAME).tar $(GLU_FILES) ; \
729 gzip $(GLU_NAME).tar ; \
730 mv $(GLU_NAME).tar.gz $(DIRECTORY)
731
732 glut_tar:
733 cp Makefile.X11 Makefile ; \
734 cd .. ; \
735 tar -cvf $(GLUT_NAME).tar $(GLUT_FILES) ; \
736 gzip $(GLUT_NAME).tar ; \
737 mv $(GLUT_NAME).tar.gz $(DIRECTORY)
738
739
740 lib_zip:
741 -rm $(LIB_NAME).zip ; \
742 cp Makefile.X11 Makefile ; \
743 cd .. ; \
744 zip -r $(LIB_NAME).zip $(LIB_FILES) ; \
745 mv $(LIB_NAME).zip $(DIRECTORY)
746
747 demo_zip:
748 -rm $(DEMO_NAME).zip ; \
749 cd .. ; \
750 zip -r $(DEMO_NAME).zip $(DEMO_FILES) ; \
751 mv $(DEMO_NAME).zip $(DIRECTORY)
752
753
754
755 SRC_FILES = \
756 RELNOTES \
757 src/Makefile* \
758 src/depend \
759 src/*.[chS] \
760 src/*/*.[ch] \
761 include/GL/*.h
762
763 srctar:
764 tar -cvf src.tar $(SRC_FILES) ; \
765 gzip src.tar
766
767 srctar.zip:
768 -rm src.zip
769 zip -r src.zip $(SRC_FILES) ; \