1 # $Id: Makefile.X11,v 1.81 2003/08/24 04:44:23 jonsmirl 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-osmesa32 for 32-bit/channel OSMesa"
76 @echo " make linux-solo for Linux standalone with dri drivers"
77 @echo " make linux-icc for Linux with the Intel C/C++ compiler"
78 @echo " make lynxos for LynxOS systems with GCC"
79 @echo " make mklinux for Linux on Power Macintosh"
80 @echo " make netbsd for NetBSD 1.0 systems with GCC"
81 @echo " make openbsd for OpenBSD systems"
82 @echo " make openstep for OpenStep/MacOSX Server systems"
83 @echo " make osf1 for DEC Alpha systems with OSF/1"
84 @echo " make qnx for QNX V4 systems with Watcom compiler"
85 @echo " make solaris-x86 for PCs with Solaris"
86 @echo " make solaris-x86-gcc for PCs with Solaris using GCC"
87 @echo " make sunos4 for Suns with SunOS 4.x"
88 @echo " make sunos4-sl for Suns with SunOS 4.x, make shared libs"
89 @echo " make sunos4-gcc for Suns with SunOS 4.x and GCC"
90 @echo " make sunos4-gcc-sl for Suns with SunOS 4.x, GCC, make shared libs"
91 @echo " make sunos5 for Suns with SunOS 5.x"
92 @echo " make sunos5-gcc for Suns with SunOS 5.x and GCC"
93 @echo " make ultrix-gcc for DEC systems with Ultrix and GCC"
94 @echo " make unixware for PCs running UnixWare"
95 @echo " make unixware-shared for PCs running UnixWare, shared libs"
96 @echo " make clean remove .o files"
97 @echo " make realclean remove .o, library and executable files"
101 # XXX we may have to split up this group of targets into those that
102 # have a C++ compiler and those that don't for the SI-GLU library.
104 aix aix-sl darwin freebsd freebsd-386 gcc-sl \
105 hpux9 hpux9-sl hpux9-gcc hpux9-gcc-sl \
106 hpux10 hpux10-sl hpux10-gcc hpux10-gcc-sl \
108 linux-x86 linux-x86-sse linux-icc linux-x86-static linux-x86-debug \
109 linux-glide linux-x86-glide linux-glide-debug \
110 linux-alpha-static linux-alpha \
111 linux-ppc-static linux-ppc \
112 linux-sparc linux-sparc5 linux-sparc-ultra \
113 mklinux netbsd osf1 openbsd qnx \
114 solaris-x86 solaris-x86-gcc \
115 sunos4 sunos4-sl sunos4-gcc sunos4-gcc-sl sunos4-gcc-x11r6-sl \
119 if [ -d src/mesa ] ; then touch src/mesa/depend ; fi
120 if [ -d src/glu/sgi ] ; then touch src/glu/sgi/depend ; fi
121 if [ -d src/glut/glx ] ; then touch src/glut/glx/depend ; fi
122 if [ -d src/glw ] ; then touch src/glw/depend ; fi
123 if [ -d src/mesa ] ; then cd src/mesa ; $(MAKE) -f Makefile.X11 $@ ; fi
124 if [ -d src/glu/sgi ] ; then cd src/glu/sgi ; $(MAKE) -f Makefile.X11 $@ ; fi
125 if [ -d src/glut/glx ] ; then cd src/glut/glx ; $(MAKE) -f Makefile.X11 $@ ; fi
126 if [ -d progs/demos ] ; then cd progs/demos ; $(MAKE) -f Makefile.X11 $@ ; fi
127 if [ -d progs/xdemos ] ; then cd progs/xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
128 if [ -d progs/samples ] ; then cd progs/samples ; $(MAKE) -f Makefile.X11 $@ ; fi
129 if [ -d progs/redbook ] ; then cd progs/redbook ; $(MAKE) -f Makefile.X11 $@ ; fi
130 if [ -d src/glw ] ; then cd src/glw ; $(MAKE) -f Makefile.X11 $@ ; fi
133 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
135 irix6-o32 irix6-o32-dso irix6-n32 irix6-n32-dso irix6-gcc-n32-sl:
137 if [ -d src/mesa ] ; then touch src/mesa/depend ; fi
138 if [ -d src/glu/sgi ] ; then touch src/glu/sgi/depend ; fi
139 if [ -d src/glut/glx ] ; then touch src/glut/glx/depend ; fi
140 if [ -d src/glw ] ; then touch src/glw/depend ; fi
141 if [ -d src/mesa ] ; then cd src/mesa ; $(MAKE) -f Makefile.X11 $@ ; fi
142 if [ -d src/glu/sgi ] ; then cd src/glu/sgi ; $(MAKE) -f Makefile.X11 $@ ; fi
143 if [ -d src/glut/glx ] ; then cd src/glut/glx ; $(MAKE) -f Makefile.X11 $@ ; fi
144 if [ -d progs/demos ] ; then cd progs/demos ; $(MAKE) -f Makefile.X11 $@ ; fi
145 if [ -d progs/xdemos ] ; then cd progs/xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
146 if [ -d progs/samples ] ; then cd progs/samples ; $(MAKE) -f Makefile.X11 $@ ; fi
147 if [ -d progs/redbook ] ; then cd progs/redbook ; $(MAKE) -f Makefile.X11 $@ ; fi
148 if [ -d src/glw ] ; then cd src/glw; $(MAKE) -f Makefile.X11 $@ ; fi
150 irix6-64 irix6-64-dso:
152 if [ -d src/mesa ] ; then touch src/mesa/depend ; fi
153 if [ -d src/glu/sgi ] ; then touch src/glu/sgi/depend ; fi
154 if [ -d src/glut/glx ] ; then touch src/glut/glx/depend ; fi
155 if [ -d src/glw ] ; then touch src/glw/depend ; fi
156 if [ -d src/mesa ] ; then cd src/mesa ; $(MAKE) -f Makefile.X11 $@ ; fi
157 if [ -d src/glu/sgi ] ; then cd src/glu/sgi ; $(MAKE) -f Makefile.X11 $@ ; fi
158 if [ -d src/glut/glx ] ; then cd src/glut/glx ; $(MAKE) -f Makefile.X11 $@ ; fi
159 if [ -d progs/demos ] ; then cd progs/demos ; $(MAKE) -f Makefile.X11 $@ ; fi
160 if [ -d progs/xdemos ] ; then cd progs/xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
161 if [ -d progs/samples ] ; then cd progs/samples ; $(MAKE) -f Makefile.X11 $@ ; fi
162 if [ -d progs/redbook ] ; then cd progs/redbook ; $(MAKE) -f Makefile.X11 $@ ; fi
163 if [ -d src/glw ] ; then cd src/glw; $(MAKE) -f Makefile.X11 $@ ; fi
169 touch src/mesa/depend
170 -rm src/glu/sgi/depend
171 touch src/glu/sgi/depend
172 if [ -d src/mesa ] ; then cd src/mesa ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
173 if [ -d src/glu/sgi ] ; then cd src/glu/sgi ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
174 if [ -d src/glut/beos ] ; then cd src/glut/beos ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
175 if [ -d src/glut/beos ] ; then cp src/glut/beos/obj*/libglut.so lib ; fi
176 if [ -d progs/beos ] ; then cd progs/beos ; $(MAKE) ; fi
177 if [ -d progs/demos ] ; then cd progs/demos ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
178 if [ -d progs/samples ] ; then cd progs/samples ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
179 if [ -d progs/redbook ] ; then cd progs/redbook ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
185 if [ -d src/mesa ] ; then cd src/mesa ; $(MAKE) -f Makefile.X11 $@ ; fi
186 if [ -d src/glu/sgi ] ; then cd src/glu/sgi ; $(MAKE) -f Makefile.X11 $@ ; fi
187 if [ -d src/glut/glx ] ; then cd src/glut/glx ; $(MAKE) -f Makefile.X11 $@ ; fi
188 if [ -d progs/demos ] ; then cd progs/demos ; $(MAKE) -f Makefile.X11 $@ ; fi
189 if [ -d progs/xdemos ] ; then cd progs/xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
190 if [ -d src/glw ] ; then cd src/glw ; $(MAKE) -f Makefile.X11 $@ ; fi
194 cd src/mesa ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
195 cd src/glu/sgi ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
197 linux-ggi linux-x86-ggi:
200 touch src/glu/sgi/depend
201 if [ -d src/glut/glx ] ; then touch src/glut/glx/depend ; fi
202 if [ -d src/glw ] ; then touch src/glw/depend ; fi
203 if [ -d src/mesa ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
204 if [ -d src/glu/sgi ] ; then cd src/glu/sgi ; $(MAKE) -f Makefile.X11 $@ ; fi
205 if [ -d src/glut/glx ] ; then cd src/glut/glx ; $(MAKE) -f Makefile.X11 $@ ; fi
206 if [ -d ggi/demos ] ; then cd ggi/demos ; $(MAKE) -f Makefile.X11 $@ ; fi
207 if [ -d progs/demos ] ; then cd progs/demos ; $(MAKE) -f Makefile.X11 $@ ; fi
208 if [ -d progs/xdemos ] ; then cd progs/xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
209 if [ -d progs/samples ] ; then cd progs/samples ; $(MAKE) -f Makefile.X11 $@ ; fi
210 if [ -d progs/redbook ] ; then cd progs/redbook ; $(MAKE) -f Makefile.X11 $@ ; fi
211 if [ -d src/glw ] ; then cd src/glw; $(MAKE) -f Makefile.X11 $@ ; fi
213 # if you change GGI_DEST please change it in ggimesa.conf, too.
215 GGI_DEST=lib/ggi/mesa
217 linux-ggi-install linux-x86-ggi-install:
218 install -d $(DESTDIR)/$(GGI_DEST)/default $(DESTDIR)/$(GGI_DEST)/display $(DESTDIR)/etc/ggi
219 install -m 0755 src/GGI/default/*.so $(DESTDIR)/$(GGI_DEST)/default
220 install -m 0755 src/GGI/display/*.so $(DESTDIR)/$(GGI_DEST)/display
221 install -m 0644 src/GGI/ggimesa.conf $(DESTDIR)/etc/ggi
222 # if [ -z "`grep ggimesa $(DESTDIR)/etc/ggi/libggi.conf`" ]; then \
223 # echo ".include $(DESTDIR)/etc/ggi/ggimesa.conf" >> $(DESTDIR)/etc/ggi/libggi.conf ; \
226 linux-osmesa16 linux-osmesa32:
228 if [ -d src ] ; then touch src/depend ; fi
229 if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.OSMesa16 $@ ; fi
233 if [ -d src/mesa ] ; then touch src/mesa/depend ; fi
234 if [ -d src/glx/mini ] ; then touch src/glx/mini/depend ; fi
235 if [ -d src/glu/mini ] ; then touch src/glu/mini/depend ; fi
236 if [ -d src/glut/mini ] ; then touch src/glut/mini/depend ; fi
237 if [ -d src/mesa/drivers/dri/r200 ] ; then touch src/mesa/drivers/dri/r200/depend ; fi
238 if [ -d src/mesa/drivers/dri/r128 ] ; then touch src/mesa/drivers/dri/r128/depend ; fi
239 if [ -d src/mesa/drivers/dri/radeon ] ; then touch src/mesa/drivers/dri/radeon/depend ; fi
240 if [ -d src/mesa/drivers/dri/mga ] ; then touch src/mesa/drivers/dri/mga/depend ; fi
241 if [ -d src/mesa/drivers/dri/fb ] ; then touch src/mesa/drivers/dri/fb/depend ; fi
242 if [ -d src/glut/mini ] ; then touch src/glut/mini/depend ; fi
243 if [ -d progs/miniglx ] ; then touch progs/miniglx/depend ; fi
244 if [ -d progs/tests ] ; then touch progs/tests/depend ; fi
245 if [ -d src/mesa ] ; then cd src/mesa ; $(MAKE) -f Makefile.X11 $@ ; fi
246 if [ -d src/mesa/drivers/dri/r200 ] ; then cd src/mesa/drivers/dri/r200 ; $(MAKE) -f Makefile.X11 $@ ; fi
247 if [ -d src/mesa/drivers/dri/r128 ] ; then cd src/mesa/drivers/dri/r128 ; $(MAKE) -f Makefile.X11 $@ ; fi
248 if [ -d src/mesa/drivers/dri/radeon ] ; then cd src/mesa/drivers/dri/radeon ; $(MAKE) -f Makefile.X11 $@ ; fi
249 if [ -d src/mesa/drivers/dri/mga ] ; then cd src/mesa/drivers/dri/mga ; $(MAKE) -f Makefile.X11 $@ ; fi
250 if [ -d src/mesa/drivers/dri/fb ] ; then cd src/mesa/drivers/dri/fb ; $(MAKE) -f Makefile.X11 $@ ; fi
251 if [ -d src/glx/mini ] ; then cd src/glx/mini ; $(MAKE) -f Makefile.X11 $@ ; fi
252 if [ -d src/glu/mini ] ; then cd src/glu/mini ; $(MAKE) -f Makefile.X11 $@ ; fi
253 if [ -d src/glut/mini ] ; then cd src/glut/mini ; $(MAKE) -f Makefile.X11 $@ ; fi
254 if [ -d progs/demos ] ; then cd progs/miniglx ; $(MAKE) -f Makefile.X11 $@ ; fi
255 if [ -d progs/demos ] ; then cd progs/tests ; $(MAKE) -f Makefile.X11 $@ ; fi
256 if [ -d progs/demos ] ; then cd progs/demos ; $(MAKE) -f Makefile.X11 $@ ; fi
257 if [ -d progs/xdemos ] ; then cd progs/xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
258 if [ -d progs/samples ] ; then cd progs/samples ; $(MAKE) -f Makefile.X11 $@ ; fi
259 if [ -d progs/redbook ] ; then cd progs/redbook ; $(MAKE) -f Makefile.X11 $@ ; fi
261 # Remove .o files, emacs backup files, etc.
263 -rm -f src/mesa/*/*.o
264 -rm -f src/mesa/drivers/*/*.o
265 -rm -f src/mesa/drivers/*/*/*.o
266 -rm -f src/mesa/drivers/*/*/*/*.o
269 -rm -f src/glu/mesa/*.o src/glu/mesa/*~ src-glu/*.a
270 -rm -f src/glu/sgi/*/*.o src/glu/sgi/*/*/*.o
271 -rm -f src/glut/glx/*.o
272 -rm -f src/miniglx/*.o
273 -rm -f src/miniglu/*.o
274 -rm -f src/miniglut/*.o
275 -rm -f progs/demos/*.o
276 -rm -f progs/redbook/*.o progs/redbook/*~
277 -rm -f progs/xdemos/*.o progs/xdemos/*~
278 -rm -f progs/samples/*.o progs/samples/*~
279 -rm -f progs/tests/*.o progs/tests/*~
282 # Remove everything that can be remade
284 -rm -fr lib lib32 lib64
285 cd progs/demos && $(MAKE) -f Makefile.X11 realclean || true
286 cd progs/xdemos && $(MAKE) -f Makefile.X11 realclean || true
287 cd progs/redbook && $(MAKE) -f Makefile.X11 realclean || true
288 cd progs/samples && $(MAKE) -f Makefile.X11 realclean || true
290 # Remove everything not in CVS
292 -rm -f acinclude.m4 aclocal.m4
293 -rm -f conf.h conf.h.in config.guess config.log config.status
294 -rm -f config.sub configure
295 -rm -f install-sh libtool ltmain.sh Makefile.in
296 -rm -f missing mkinstalldirs stamp-h stamp-h.in
302 LIB_NAME = MesaLib-5.1
303 DEMO_NAME = MesaDemos-5.1
304 GLU_NAME = MesaGLU-5.1
309 $(DIRECTORY)/Makefile* \
310 $(DIRECTORY)/Make-config \
311 $(DIRECTORY)/docs/*.html \
312 $(DIRECTORY)/docs/COPYING \
313 $(DIRECTORY)/docs/INSTALL.GNU \
314 $(DIRECTORY)/docs/README.* \
315 $(DIRECTORY)/docs/RELNOTES* \
316 $(DIRECTORY)/docs/VERSIONS \
317 $(DIRECTORY)/docs/*.spec \
318 $(DIRECTORY)/bin/README \
319 $(DIRECTORY)/bin/mklib* \
320 $(DIRECTORY)/descrip.mms \
321 $(DIRECTORY)/mms-config \
322 $(DIRECTORY)/xlib.opt \
323 $(DIRECTORY)/include/GL/internal/glcore.h \
324 $(DIRECTORY)/include/GL/Makefile.in \
325 $(DIRECTORY)/include/GL/Makefile.am \
326 $(DIRECTORY)/include/GL/dmesa.h \
327 $(DIRECTORY)/include/GL/amesa.h \
328 $(DIRECTORY)/include/GL/fxmesa.h \
329 $(DIRECTORY)/include/GL/ggimesa.h \
330 $(DIRECTORY)/include/GL/gl.h \
331 $(DIRECTORY)/include/GL/glext.h \
332 $(DIRECTORY)/include/GL/gl_mangle.h \
333 $(DIRECTORY)/include/GL/glu.h \
334 $(DIRECTORY)/include/GL/glu_mangle.h \
335 $(DIRECTORY)/include/GL/glx.h \
336 $(DIRECTORY)/include/GL/glxext.h \
337 $(DIRECTORY)/include/GL/glx_mangle.h \
338 $(DIRECTORY)/include/GL/mesa_wgl.h \
339 $(DIRECTORY)/include/GL/mglmesa.h \
340 $(DIRECTORY)/include/GL/osmesa.h \
341 $(DIRECTORY)/include/GL/svgamesa.h \
342 $(DIRECTORY)/include/GL/ugl*.h \
343 $(DIRECTORY)/include/GL/vms_x_fix.h \
344 $(DIRECTORY)/include/GL/wmesa.h \
345 $(DIRECTORY)/include/GL/xmesa.h \
346 $(DIRECTORY)/include/GL/xmesa_x.h \
347 $(DIRECTORY)/include/GL/xmesa_xf86.h \
348 $(DIRECTORY)/include/GLView.h \
349 $(DIRECTORY)/include/Makefile.in \
350 $(DIRECTORY)/include/Makefile.am \
351 $(DIRECTORY)/src/mesa/Makefile* \
352 $(DIRECTORY)/src/mesa/descrip.mms \
353 $(DIRECTORY)/src/mesa/mesa.conf \
354 $(DIRECTORY)/src/mesa/*.def \
355 $(DIRECTORY)/src/mesa/depend \
356 $(DIRECTORY)/src/mesa/*.[chS] \
357 $(DIRECTORY)/src/mesa/array_cache/*.[ch] \
358 $(DIRECTORY)/src/mesa/array_cache/Makefile* \
359 $(DIRECTORY)/src/mesa/math/*.[ch] \
360 $(DIRECTORY)/src/mesa/math/Makefile* \
361 $(DIRECTORY)/src/mesa/swrast/*.[ch] \
362 $(DIRECTORY)/src/mesa/swrast/Makefile* \
363 $(DIRECTORY)/src/mesa/swrast_setup/*.[ch] \
364 $(DIRECTORY)/src/mesa/swrast_setup/Makefile* \
365 $(DIRECTORY)/src/mesa/tnl/*.[ch] \
366 $(DIRECTORY)/src/mesa/tnl/Makefile* \
367 $(DIRECTORY)/src/mesa/tnl_dd/*.[ch] \
368 $(DIRECTORY)/src/mesa/tnl_dd/imm/*.[ch] \
369 $(DIRECTORY)/src/mesa/tnl_dd/imm/NOTES.imm \
370 $(DIRECTORY)/src/mesa/drivers/windml/*.[ch] \
371 $(DIRECTORY)/src/mesa/drivers/windml/tornado/*.c \
372 $(DIRECTORY)/src/mesa/drivers/windml/tornado/*.cdf \
373 $(DIRECTORY)/src/mesa/drivers/windml/man3/*.3 \
374 $(DIRECTORY)/src/mesa/drivers/windml/man3/*.html \
375 $(DIRECTORY)/src/mesa/drivers/dos/*.[chS] \
376 $(DIRECTORY)/src/mesa/drivers/dos/mga/*.[ch] \
377 $(DIRECTORY)/src/mesa/drivers/beos/*.cpp \
378 $(DIRECTORY)/src/mesa/drivers/glide/Makefile.am \
379 $(DIRECTORY)/src/mesa/drivers/glide/Makefile.in \
380 $(DIRECTORY)/src/mesa/drivers/glide/*.[ch] \
381 $(DIRECTORY)/src/mesa/drivers/glide/*.def \
382 $(DIRECTORY)/src/mesa/drivers/glide/X86/Makefile.am \
383 $(DIRECTORY)/src/mesa/drivers/glide/X86/Makefile.in \
384 $(DIRECTORY)/src/mesa/drivers/glide/X86/*.[Shc] \
385 $(DIRECTORY)/src/mesa/drivers/ggi/Makefile.am \
386 $(DIRECTORY)/src/mesa/drivers/ggi/Makefile.in \
387 $(DIRECTORY)/src/mesa/drivers/ggi/*.[ch] \
388 $(DIRECTORY)/src/mesa/drivers/ggi/ggimesa.conf.in \
389 $(DIRECTORY)/src/mesa/drivers/ggi/default/*.c \
390 $(DIRECTORY)/src/mesa/drivers/ggi/default/Makefile.am \
391 $(DIRECTORY)/src/mesa/drivers/ggi/default/Makefile.in \
392 $(DIRECTORY)/src/mesa/drivers/ggi/default/genkgi.conf.in \
393 $(DIRECTORY)/src/mesa/drivers/ggi/display/*.c \
394 $(DIRECTORY)/src/mesa/drivers/ggi/display/Makefile.am \
395 $(DIRECTORY)/src/mesa/drivers/ggi/display/Makefile.in \
396 $(DIRECTORY)/src/mesa/drivers/ggi/display/fbdev.conf.in \
397 $(DIRECTORY)/src/mesa/drivers/ggi/include/Makefile.am \
398 $(DIRECTORY)/src/mesa/drivers/ggi/include/Makefile.in \
399 $(DIRECTORY)/src/mesa/drivers/ggi/include/ggi/Makefile.am \
400 $(DIRECTORY)/src/mesa/drivers/ggi/include/ggi/Makefile.in \
401 $(DIRECTORY)/src/mesa/drivers/ggi/include/ggi/mesa/Makefile.am \
402 $(DIRECTORY)/src/mesa/drivers/ggi/include/ggi/mesa/Makefile.in \
403 $(DIRECTORY)/src/mesa/drivers/ggi/include/ggi/mesa/*.h \
404 $(DIRECTORY)/src/mesa/drivers/osmesa/Makefile.am \
405 $(DIRECTORY)/src/mesa/drivers/osmesa/Makefile.in \
406 $(DIRECTORY)/src/mesa/drivers/osmesa/Makefile.win \
407 $(DIRECTORY)/src/mesa/drivers/osmesa/osmesa.def \
408 $(DIRECTORY)/src/mesa/drivers/osmesa/*.[ch] \
409 $(DIRECTORY)/src/mesa/sparc/*.[chS] \
410 $(DIRECTORY)/src/mesa/sparc/Makefile.am \
411 $(DIRECTORY)/src/mesa/sparc/Makefile.in \
412 $(DIRECTORY)/src/mesa/drivers/svga/Makefile.am \
413 $(DIRECTORY)/src/mesa/drivers/svga/Makefile.in \
414 $(DIRECTORY)/src/mesa/drivers/svga/*.[ch] \
415 $(DIRECTORY)/src/mesa/drivers/windows/*.[ch] \
416 $(DIRECTORY)/src/mesa/drivers/windows/*.def \
417 $(DIRECTORY)/src/mesa/drivers/x11/Makefile.am \
418 $(DIRECTORY)/src/mesa/drivers/x11/Makefile.in \
419 $(DIRECTORY)/src/mesa/drivers/x11/*.[ch] \
420 $(DIRECTORY)/src/mesa/x86/*.[ch] \
421 $(DIRECTORY)/src/mesa/x86/Makefile.am \
422 $(DIRECTORY)/src/mesa/x86/Makefile.in \
423 $(DIRECTORY)/src/mesa/x86/*.S \
424 $(DIRECTORY)/src/glu/sgi/Makefile.am \
425 $(DIRECTORY)/src/glu/sgi/Makefile.in \
426 $(DIRECTORY)/src/glu/sgi/Makefile.X11 \
427 $(DIRECTORY)/src/glu/sgi/Makefile.win \
428 $(DIRECTORY)/src/glu/sgi/Makefile.DJ \
429 $(DIRECTORY)/src/glu/sgi/glu.def \
430 $(DIRECTORY)/src/glu/sgi/dummy.cc \
431 $(DIRECTORY)/src/glu/sgi/descrip.mms \
432 $(DIRECTORY)/src/glu/sgi/mesaglu.opt \
433 $(DIRECTORY)/src/glu/sgi/include/gluos.h \
434 $(DIRECTORY)/src/glu/sgi/include/Makefile.am \
435 $(DIRECTORY)/src/glu/sgi/include/Makefile.in \
436 $(DIRECTORY)/src/glu/sgi/libnurbs/Makefile.am \
437 $(DIRECTORY)/src/glu/sgi/libnurbs/Makefile.in \
438 $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.h \
439 $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.cc \
440 $(DIRECTORY)/src/glu/sgi/libnurbs/interface/Makefile.am \
441 $(DIRECTORY)/src/glu/sgi/libnurbs/interface/Makefile.in \
442 $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.h \
443 $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.cc \
444 $(DIRECTORY)/src/glu/sgi/libnurbs/internals/Makefile.am \
445 $(DIRECTORY)/src/glu/sgi/libnurbs/internals/Makefile.in \
446 $(DIRECTORY)/src/glu/sgi/libnurbs/nurbtess/*.h \
447 $(DIRECTORY)/src/glu/sgi/libnurbs/nurbtess/*.cc \
448 $(DIRECTORY)/src/glu/sgi/libnurbs/nurbtess/Makefile.am \
449 $(DIRECTORY)/src/glu/sgi/libnurbs/nurbtess/Makefile.in \
450 $(DIRECTORY)/src/glu/sgi/libtess/README \
451 $(DIRECTORY)/src/glu/sgi/libtess/alg-outline \
452 $(DIRECTORY)/src/glu/sgi/libtess/*.[ch] \
453 $(DIRECTORY)/src/glu/sgi/libtess/libtess_la_SOURCES \
454 $(DIRECTORY)/src/glu/sgi/libtess/Makefile.am \
455 $(DIRECTORY)/src/glu/sgi/libtess/Makefile.in \
456 $(DIRECTORY)/src/glu/sgi/libutil/*.[ch] \
457 $(DIRECTORY)/src/glu/sgi/libutil/libutil_la_SOURCES \
458 $(DIRECTORY)/src/glu/sgi/libutil/Makefile.am \
459 $(DIRECTORY)/src/glu/sgi/libutil/Makefile.in \
460 $(DIRECTORY)/src/glu/mesa/README[12] \
461 $(DIRECTORY)/src/glu/mesa/Makefile* \
462 $(DIRECTORY)/src/glu/mesa/descrip.mms \
463 $(DIRECTORY)/src/glu/mesa/mms_depend \
464 $(DIRECTORY)/src/glu/mesa/*.def \
465 $(DIRECTORY)/src/glu/mesa/depend \
466 $(DIRECTORY)/src/glu/mesa/*.[ch] \
467 $(DIRECTORY)/src/glw/*.[ch] \
468 $(DIRECTORY)/src/glw/Makefile* \
469 $(DIRECTORY)/src/glw/README \
470 $(DIRECTORY)/progs/util/README \
471 $(DIRECTORY)/progs/util/Makefile.am \
472 $(DIRECTORY)/progs/util/Makefile.in \
473 $(DIRECTORY)/progs/util/*.[ch] \
474 $(DIRECTORY)/progs/util/sampleMakefile \
475 $(DIRECTORY)/vms/analyze_map.com \
476 $(DIRECTORY)/vms/xlib.opt \
477 $(DIRECTORY)/vms/xlib_share.opt
481 $(DIRECTORY)/include/GL/glut.h \
482 $(DIRECTORY)/include/GL/glutf90.h \
483 $(DIRECTORY)/src/glut/glx/Makefile* \
484 $(DIRECTORY)/src/glut/glx/depend \
485 $(DIRECTORY)/src/glut/glx/*def \
486 $(DIRECTORY)/src/glut/glx/descrip.mms \
487 $(DIRECTORY)/src/glut/glx/mms_depend \
488 $(DIRECTORY)/src/glut/glx/*.[ch] \
489 $(DIRECTORY)/src/glut/glx.dos/*.[ch] \
490 $(DIRECTORY)/src/glut/glx.dos/Makefile.DJ \
491 $(DIRECTORY)/src/glut/glx.dos/PC_HW/*.[chS] \
492 $(DIRECTORY)/progs/images/* \
493 $(DIRECTORY)/progs/demos/Makefile* \
494 $(DIRECTORY)/progs/demos/descrip.mms \
495 $(DIRECTORY)/progs/demos/*.[ch] \
496 $(DIRECTORY)/progs/demos/*.cxx \
497 $(DIRECTORY)/progs/demos/*.dat \
498 $(DIRECTORY)/progs/demos/README \
499 $(DIRECTORY)/progs/xdemos/Makefile* \
500 $(DIRECTORY)/progs/xdemos/descrip.mms \
501 $(DIRECTORY)/progs/xdemos/*.[chf] \
502 $(DIRECTORY)/progs/redbook/Makefile* \
503 $(DIRECTORY)/progs/redbook/README \
504 $(DIRECTORY)/progs/redbook/*.[ch] \
505 $(DIRECTORY)/progs/samples/Makefile* \
506 $(DIRECTORY)/progs/samples/README \
507 $(DIRECTORY)/progs/samples/*.c \
508 $(DIRECTORY)/progs/windml/Makefile.ugl \
509 $(DIRECTORY)/progs/windml/*.c \
510 $(DIRECTORY)/progs/windml/*.bmp \
511 $(DIRECTORY)/progs/ggi/*.c
514 $(DIRECTORY)/Makefile* \
515 $(DIRECTORY)/Make-config \
516 $(DIRECTORY)/bin/mklib* \
517 $(DIRECTORY)/include/GL/glu.h \
518 $(DIRECTORY)/src/glu/sgi/Makefile.X11 \
519 $(DIRECTORY)/src/glu/sgi/include/gluos.h \
520 $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.h \
521 $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.cc \
522 $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.h \
523 $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.cc \
524 $(DIRECTORY)/src/glu/sgi/libnurbs/nurbstess/*.h \
525 $(DIRECTORY)/src/glu/sgi/libnurbs/nurbstess/*.cc \
526 $(DIRECTORY)/src/glu/sgi/libtess/README \
527 $(DIRECTORY)/src/glu/sgi/libtess/alg-outline \
528 $(DIRECTORY)/src/glu/sgi/libtess/*.[ch] \
529 $(DIRECTORY)/src/glu/sgi/libutil/*.[ch]
532 $(DIRECTORY)/Makefile* \
533 $(DIRECTORY)/Make-config \
534 $(DIRECTORY)/bin/mklib* \
535 $(DIRECTORY)/include/GL/gl.h \
536 $(DIRECTORY)/include/GL/gl_mangle.h \
537 $(DIRECTORY)/include/GL/glext.h \
538 $(DIRECTORY)/include/GL/glu.h \
539 $(DIRECTORY)/include/GL/glu_mangle.h \
540 $(DIRECTORY)/src/glu/mesa/README[12] \
541 $(DIRECTORY)/src/glu/mesa/Makefile* \
542 $(DIRECTORY)/src/glu/mesa/descrip.mms \
543 $(DIRECTORY)/src/glu/mesa/mms_depend \
544 $(DIRECTORY)/src/glu/mesa/*.def \
545 $(DIRECTORY)/src/glu/mesa/depend \
546 $(DIRECTORY)/src/glu/mesa/*.[ch]
549 $(DIRECTORY)/Makefile* \
550 $(DIRECTORY)/Make-config \
551 $(DIRECTORY)/bin/mklib* \
552 $(DIRECTORY)/include/GL/gl.h \
553 $(DIRECTORY)/include/GL/gl_mangle.h \
554 $(DIRECTORY)/include/GL/glext.h \
555 $(DIRECTORY)/include/GL/glu.h \
556 $(DIRECTORY)/include/GL/glu_mangle.h \
557 $(DIRECTORY)/include/GL/glut.h \
558 $(DIRECTORY)/include/GL/glutf90.h \
559 $(DIRECTORY)/src/glut/glx/Makefile* \
560 $(DIRECTORY)/src/glut/glx/depend \
561 $(DIRECTORY)/src/glut/glx/*def \
562 $(DIRECTORY)/src/glut/glx/descrip.mms \
563 $(DIRECTORY)/src/glut/glx/mms_depend \
564 $(DIRECTORY)/src/glut/glx/*.[ch]
569 cp Makefile.X11 Makefile ; \
571 tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \
572 gzip $(LIB_NAME).tar ; \
573 mv $(LIB_NAME).tar.gz $(DIRECTORY)
577 tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \
578 gzip $(DEMO_NAME).tar ; \
579 mv $(DEMO_NAME).tar.gz $(DIRECTORY)
582 cp Makefile.X11 Makefile ; \
584 tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \
585 bzip2 $(LIB_NAME).tar ; \
586 mv $(LIB_NAME).tar.bz2 $(DIRECTORY)
590 tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \
591 bzip2 $(DEMO_NAME).tar ; \
592 mv $(DEMO_NAME).tar.bz2 $(DIRECTORY)
595 -rm $(LIB_NAME).zip ; \
596 cp Makefile.X11 Makefile ; \
598 zip -r $(LIB_NAME).zip $(LIB_FILES) ; \
599 mv $(LIB_NAME).zip $(DIRECTORY)
602 -rm $(DEMO_NAME).zip ; \
604 zip -r $(DEMO_NAME).zip $(DEMO_FILES) ; \
605 mv $(DEMO_NAME).zip $(DIRECTORY)
608 @-md5sum $(LIB_NAME).tar.gz
609 @-md5sum $(LIB_NAME).tar.bz2
610 @-md5sum $(LIB_NAME).zip
611 @-md5sum $(DEMO_NAME).tar.gz
612 @-md5sum $(DEMO_NAME).tar.bz2
613 @-md5sum $(DEMO_NAME).zip
615 # Everything for new Mesa release:
616 tarballs: lib_gz demo_gz lib_bz2 demo_bz2 lib_zip demo_zip md5
621 cp Makefile.X11 Makefile ; \
623 tar -cvf $(GLU_NAME).tar $(GLU_FILES) ; \
624 gzip $(GLU_NAME).tar ; \
625 mv $(GLU_NAME).tar.gz $(DIRECTORY)
628 cp Makefile.X11 Makefile ; \
630 tar -cvf $(GLUT_NAME).tar $(GLUT_FILES) ; \
631 gzip $(GLUT_NAME).tar ; \
632 mv $(GLUT_NAME).tar.gz $(DIRECTORY)