1 # Top-level Mesa makefile
8 default
: $(TOP
)/configs
/current
9 @for
dir in
$(SUBDIRS
) ; do \
10 if
[ -d
$$dir ] ; then \
11 (cd
$$dir && $(MAKE
)) || exit
1 ; \
22 -@touch
$(TOP
)/configs
/current
23 -@for
dir in
$(SUBDIRS
) ; do \
24 if
[ -d
$$dir ] ; then \
25 (cd
$$dir && $(MAKE
) clean) ; \
28 -@
test -s
$(TOP
)/configs
/current ||
rm -f
$(TOP
)/configs
/current
33 -rm -f
$(TOP
)/configs
/current
34 -rm -f
$(TOP
)/configs
/autoconf
35 -rm -rf autom4te.cache
36 -find .
'(' -name
'*.o' -o
-name
'*.a' -o
-name
'*.so' -o \
37 -name depend
-o
-name depend.bak
')' -exec
rm -f
'{}' ';'
44 @for
dir in
$(SUBDIRS
) ; do \
45 if
[ -d
$$dir ] ; then \
46 (cd
$$dir && $(MAKE
) install) || exit
1 ; \
51 .PHONY
: default doxygen
clean realclean distclean install linux-directfb-install
53 # If there's no current configuration file
54 $(TOP
)/configs
/current
:
57 @echo
"Please choose a configuration from the following list:"
58 @ls
-1 $(TOP
)/configs | grep
-v
"current\|default\|CVS\|autoconf.*"
60 @echo
"Then type 'make <config>' (ex: 'make linux-x86')"
62 @echo
"Or, run './configure' then 'make'"
63 @echo
"See './configure --help' for details"
65 @echo
"(ignore the following error message)"
69 # Rules to set/install a specific build configuration
79 catamount-osmesa-pgi \
84 darwin-static-x86ppc \
94 hpux11-32-static-nothreads \
126 linux-ia64-icc-static \
132 linux-osmesa-static \
134 linux-osmesa16-static \
152 linux-x86-64-profile \
153 linux-x86-64-static \
163 solaris-x86-gcc-static \
177 @ if
test -f configs
/current ||
test -L configs
/current
; then \
178 echo
"Please run 'make realclean' before changing configs" ; \
181 (cd configs
&& rm -f current
&& ln
-s
$@ current
)
185 # Rules for making release tarballs
188 DIRECTORY
= Mesa-
$(VERSION
)
189 LIB_NAME
= MesaLib-
$(VERSION
)
190 DEMO_NAME
= MesaDemos-
$(VERSION
)
191 GLUT_NAME
= MesaGLUT-
$(VERSION
)
194 $(DIRECTORY
)/Makefile
* \
195 $(DIRECTORY
)/configure \
196 $(DIRECTORY
)/configure.ac \
197 $(DIRECTORY
)/acinclude.m4 \
198 $(DIRECTORY
)/aclocal.m4 \
199 $(DIRECTORY
)/bin
/config.guess \
200 $(DIRECTORY
)/bin
/config.sub \
201 $(DIRECTORY
)/bin
/install-sh \
202 $(DIRECTORY
)/bin
/mklib \
203 $(DIRECTORY
)/bin
/minstall \
204 $(DIRECTORY
)/bin
/version.mk \
205 $(DIRECTORY
)/configs
/[a-z
]* \
206 $(DIRECTORY
)/docs
/*.html \
207 $(DIRECTORY
)/docs
/COPYING \
208 $(DIRECTORY
)/docs
/README.
* \
209 $(DIRECTORY
)/docs
/RELNOTES
* \
210 $(DIRECTORY
)/docs
/*.spec \
211 $(DIRECTORY
)/include/GL
/internal
/glcore.h \
212 $(DIRECTORY
)/include/GL
/dmesa.h \
213 $(DIRECTORY
)/include/GL
/ggimesa.h \
214 $(DIRECTORY
)/include/GL
/gl.h \
215 $(DIRECTORY
)/include/GL
/glext.h \
216 $(DIRECTORY
)/include/GL
/gl_mangle.h \
217 $(DIRECTORY
)/include/GL
/glu.h \
218 $(DIRECTORY
)/include/GL
/glu_mangle.h \
219 $(DIRECTORY
)/include/GL
/glx.h \
220 $(DIRECTORY
)/include/GL
/glxext.h \
221 $(DIRECTORY
)/include/GL
/glx_mangle.h \
222 $(DIRECTORY
)/include/GL
/glfbdev.h \
223 $(DIRECTORY
)/include/GL
/mesa_wgl.h \
224 $(DIRECTORY
)/include/GL
/mglmesa.h \
225 $(DIRECTORY
)/include/GL
/osmesa.h \
226 $(DIRECTORY
)/include/GL
/svgamesa.h \
227 $(DIRECTORY
)/include/GL
/vms_x_fix.h \
228 $(DIRECTORY
)/include/GL
/wglext.h \
229 $(DIRECTORY
)/include/GL
/wmesa.h \
230 $(DIRECTORY
)/src
/glsl
/Makefile \
231 $(DIRECTORY
)/src
/glsl
/Makefile.template \
232 $(DIRECTORY
)/src
/glsl
/*/Makefile \
233 $(DIRECTORY
)/src
/glsl
/*/SConscript \
234 $(DIRECTORY
)/src
/glsl
/*/*.
[ch
] \
235 $(DIRECTORY
)/src
/Makefile \
236 $(DIRECTORY
)/src
/mesa
/Makefile
* \
237 $(DIRECTORY
)/src
/mesa
/sources.mak \
238 $(DIRECTORY
)/src
/mesa
/descrip.mms \
239 $(DIRECTORY
)/src
/mesa
/gl.
pc.in \
240 $(DIRECTORY
)/src
/mesa
/osmesa.
pc.in \
241 $(DIRECTORY
)/src
/mesa
/depend \
242 $(DIRECTORY
)/src
/mesa
/main
/*.
[chS
] \
243 $(DIRECTORY
)/src
/mesa
/main
/descrip.mms \
244 $(DIRECTORY
)/src
/mesa
/glapi
/*.
[chS
] \
245 $(DIRECTORY
)/src
/mesa
/math
/*.
[ch
] \
246 $(DIRECTORY
)/src
/mesa
/math
/descrip.mms \
247 $(DIRECTORY
)/src
/mesa
/shader
/*.
[chly
] \
248 $(DIRECTORY
)/src
/mesa
/shader
/Makefile \
249 $(DIRECTORY
)/src
/mesa
/shader
/descrip.mms \
250 $(DIRECTORY
)/src
/mesa
/shader
/slang
/*.
[ch
] \
251 $(DIRECTORY
)/src
/mesa
/shader
/slang
/descrip.mms \
252 $(DIRECTORY
)/src
/mesa
/shader
/slang
/library
/*.
[ch
] \
253 $(DIRECTORY
)/src
/mesa
/shader
/slang
/library
/*.gc \
254 $(DIRECTORY
)/src
/mesa
/shader
/slang
/library
/*.syn \
255 $(DIRECTORY
)/src
/mesa
/shader
/slang
/library
/Makefile \
256 $(DIRECTORY
)/src
/mesa
/swrast
/*.
[ch
] \
257 $(DIRECTORY
)/src
/mesa
/swrast
/descrip.mms \
258 $(DIRECTORY
)/src
/mesa
/swrast_setup
/*.
[ch
] \
259 $(DIRECTORY
)/src
/mesa
/swrast_setup
/descrip.mms \
260 $(DIRECTORY
)/src
/mesa
/vbo
/*.
[chS
] \
261 $(DIRECTORY
)/src
/mesa
/vbo
/descrip.mms \
262 $(DIRECTORY
)/src
/mesa
/tnl
/*.
[chS
] \
263 $(DIRECTORY
)/src
/mesa
/tnl
/descrip.mms \
264 $(DIRECTORY
)/src
/mesa
/tnl_dd
/*.
[ch
] \
265 $(DIRECTORY
)/src
/mesa
/tnl_dd
/imm
/*.
[ch
] \
266 $(DIRECTORY
)/src
/mesa
/tnl_dd
/imm
/NOTES.imm \
267 $(DIRECTORY
)/src
/mesa
/drivers
/Makefile \
268 $(DIRECTORY
)/src
/mesa
/drivers
/beos
/*.
cpp \
269 $(DIRECTORY
)/src
/mesa
/drivers
/beos
/Makefile \
270 $(DIRECTORY
)/src
/mesa
/drivers
/common
/*.
[ch
] \
271 $(DIRECTORY
)/src
/mesa
/drivers
/common
/descrip.mms \
272 $(DIRECTORY
)/src
/mesa
/drivers
/directfb
/*.
[ch
] \
273 $(DIRECTORY
)/src
/mesa
/drivers
/directfb
/Makefile \
274 $(DIRECTORY
)/src
/mesa
/drivers
/dos
/*.
[chS
] \
275 $(DIRECTORY
)/src
/mesa
/drivers
/fbdev
/Makefile \
276 $(DIRECTORY
)/src
/mesa
/drivers
/fbdev
/glfbdev.c \
277 $(DIRECTORY
)/src
/mesa
/drivers
/glide
/*.
[ch
] \
278 $(DIRECTORY
)/src
/mesa
/drivers
/ggi
/*.
[ch
] \
279 $(DIRECTORY
)/src
/mesa
/drivers
/ggi
/ggimesa.conf.in \
280 $(DIRECTORY
)/src
/mesa
/drivers
/ggi
/default
/*.c \
281 $(DIRECTORY
)/src
/mesa
/drivers
/ggi
/default
/genkgi.conf.in \
282 $(DIRECTORY
)/src
/mesa
/drivers
/ggi
/display
/*.c \
283 $(DIRECTORY
)/src
/mesa
/drivers
/ggi
/display
/fbdev.conf.in \
284 $(DIRECTORY
)/src
/mesa
/drivers
/ggi
/include/ggi
/mesa
/*.h \
285 $(DIRECTORY
)/src
/mesa
/drivers
/osmesa
/Makefile \
286 $(DIRECTORY
)/src
/mesa
/drivers
/osmesa
/Makefile.win \
287 $(DIRECTORY
)/src
/mesa
/drivers
/osmesa
/descrip.mms \
288 $(DIRECTORY
)/src
/mesa
/drivers
/osmesa
/osmesa.def \
289 $(DIRECTORY
)/src
/mesa
/drivers
/osmesa
/*.
[ch
] \
290 $(DIRECTORY
)/src
/mesa
/drivers
/svga
/*.
[ch
] \
291 $(DIRECTORY
)/src
/mesa
/drivers
/windows
/*/*.
[ch
] \
292 $(DIRECTORY
)/src
/mesa
/drivers
/windows
/*/*.def \
293 $(DIRECTORY
)/src
/mesa
/drivers
/x11
/Makefile \
294 $(DIRECTORY
)/src
/mesa
/drivers
/x11
/descrip.mms \
295 $(DIRECTORY
)/src
/mesa
/drivers
/x11
/*.
[ch
] \
296 $(DIRECTORY
)/src
/mesa
/drivers
/glslcompiler
/Makefile \
297 $(DIRECTORY
)/src
/mesa
/drivers
/glslcompiler
/glslcompiler.c \
298 $(DIRECTORY
)/src
/mesa
/ppc
/*.
[ch
] \
299 $(DIRECTORY
)/src
/mesa
/sparc
/*.
[chS
] \
300 $(DIRECTORY
)/src
/mesa
/x86
/Makefile \
301 $(DIRECTORY
)/src
/mesa
/x86
/*.
[ch
] \
302 $(DIRECTORY
)/src
/mesa
/x86
/*.S \
303 $(DIRECTORY
)/src
/mesa
/x86
/rtasm
/*.
[ch
] \
304 $(DIRECTORY
)/src
/mesa
/x86-64
/*.
[chS
] \
305 $(DIRECTORY
)/src
/mesa
/x86-64
/Makefile \
306 $(DIRECTORY
)/progs
/Makefile \
307 $(DIRECTORY
)/progs
/util
/README \
308 $(DIRECTORY
)/progs
/util
/*.
[ch
] \
309 $(DIRECTORY
)/progs
/util
/sampleMakefile \
310 $(DIRECTORY
)/windows
/VC8
/
313 $(DIRECTORY
)/include/GLES
/*.h \
314 $(DIRECTORY
)/include/GLES2
/*.h \
315 $(DIRECTORY
)/src
/mesa
/glapi
/*.xml \
316 $(DIRECTORY
)/src
/mesa
/glapi
/*.py \
317 $(DIRECTORY
)/src
/mesa
/glapi
/*.dtd \
318 $(DIRECTORY
)/src
/mesa
/es
/glapi
/Makefile \
319 $(DIRECTORY
)/src
/mesa
/es
/glapi
/*.xml \
320 $(DIRECTORY
)/src
/mesa
/es
/glapi
/*.py \
321 $(DIRECTORY
)/src
/mesa
/es
/state_tracker
/*.
[ch
] \
322 $(DIRECTORY
)/src
/mesa
/es
/main
/*.
[ch
] \
323 $(DIRECTORY
)/src
/mesa
/es
/main
/*.xml \
324 $(DIRECTORY
)/src
/mesa
/es
/main
/*.py \
325 $(DIRECTORY
)/src
/mesa
/es
/main
/*.dtd \
326 $(DIRECTORY
)/src
/mesa
/es
/Makefile \
327 $(DIRECTORY
)/src
/mesa
/es
/sources.mak \
330 $(DIRECTORY
)/include/EGL
/*.h \
331 $(DIRECTORY
)/src
/egl
/Makefile \
332 $(DIRECTORY
)/src
/egl
/*/Makefile \
333 $(DIRECTORY
)/src
/egl
/*/*.
[ch
] \
334 $(DIRECTORY
)/src
/egl
/*/*/Makefile \
335 $(DIRECTORY
)/src
/egl
/*/*/*.
[ch
] \
338 $(DIRECTORY
)/src
/mesa
/state_tracker
/*[ch
] \
339 $(DIRECTORY
)/src
/gallium
/Makefile \
340 $(DIRECTORY
)/src
/gallium
/Makefile.template \
341 $(DIRECTORY
)/src
/gallium
/SConscript \
342 $(DIRECTORY
)/src
/gallium
/*/Makefile \
343 $(DIRECTORY
)/src
/gallium
/*/SConscript \
344 $(DIRECTORY
)/src
/gallium
/*/*/Makefile \
345 $(DIRECTORY
)/src
/gallium
/*/*/Makefile.template \
346 $(DIRECTORY
)/src
/gallium
/*/*/SConscript \
347 $(DIRECTORY
)/src
/gallium
/*/*/*.
[ch
] \
348 $(DIRECTORY
)/src
/gallium
/*/*/*.py \
349 $(DIRECTORY
)/src
/gallium
/*/*/*.csv \
350 $(DIRECTORY
)/src
/gallium
/*/*/*/Makefile \
351 $(DIRECTORY
)/src
/gallium
/*/*/*/SConscript \
352 $(DIRECTORY
)/src
/gallium
/*/*/*/*.
[ch
] \
353 $(DIRECTORY
)/src
/gallium
/*/*/*/*.py \
354 $(DIRECTORY
)/src
/gallium
/*/*/*/*/Makefile \
355 $(DIRECTORY
)/src
/gallium
/*/*/*/*/*.
[ch
] \
359 $(DIRECTORY
)/include/GL
/internal
/dri_interface.h \
360 $(DIRECTORY
)/include/GL
/internal
/glcore.h \
361 $(DIRECTORY
)/include/GL
/internal
/sarea.h \
362 $(DIRECTORY
)/src
/glx
/Makefile \
363 $(DIRECTORY
)/src
/glx
/x11
/Makefile \
364 $(DIRECTORY
)/src
/glx
/x11
/*.
[ch
] \
365 $(DIRECTORY
)/src
/mesa
/drivers
/dri
/Makefile \
366 $(DIRECTORY
)/src
/mesa
/drivers
/dri
/Makefile.template \
367 $(DIRECTORY
)/src
/mesa
/drivers
/dri
/dri.
pc.in \
368 $(DIRECTORY
)/src
/mesa
/drivers
/dri
/common
/xmlpool
/*.
[ch
] \
369 $(DIRECTORY
)/src
/mesa
/drivers
/dri
/common
/xmlpool
/*.po \
370 $(DIRECTORY
)/src
/mesa
/drivers
/dri
/*/*.
[chS
] \
371 $(DIRECTORY
)/src
/mesa
/drivers
/dri
/*/*/*.
[chS
] \
372 $(DIRECTORY
)/src
/mesa
/drivers
/dri
/*/Makefile \
373 $(DIRECTORY
)/src
/mesa
/drivers
/dri
/*/*/Makefile \
374 $(DIRECTORY
)/src
/mesa
/drivers
/dri
/*/Doxyfile \
375 $(DIRECTORY
)/src
/mesa
/drivers
/dri
/*/server
/*.
[ch
]
378 $(DIRECTORY
)/src
/glu
/Makefile \
379 $(DIRECTORY
)/src
/glu
/glu.
pc.in \
380 $(DIRECTORY
)/src
/glu
/sgi
/Makefile \
381 $(DIRECTORY
)/src
/glu
/sgi
/Makefile.mgw \
382 $(DIRECTORY
)/src
/glu
/sgi
/Makefile.win \
383 $(DIRECTORY
)/src
/glu
/sgi
/glu.def \
384 $(DIRECTORY
)/src
/glu
/sgi
/dummy.
cc \
385 $(DIRECTORY
)/src
/glu
/sgi
/glu.exports \
386 $(DIRECTORY
)/src
/glu
/sgi
/glu.exports.darwin \
387 $(DIRECTORY
)/src
/glu
/sgi
/mesaglu.opt \
388 $(DIRECTORY
)/src
/glu
/sgi
/include/gluos.h \
389 $(DIRECTORY
)/src
/glu
/sgi
/libnurbs
/interface
/*.h \
390 $(DIRECTORY
)/src
/glu
/sgi
/libnurbs
/interface
/*.
cc \
391 $(DIRECTORY
)/src
/glu
/sgi
/libnurbs
/internals
/*.h \
392 $(DIRECTORY
)/src
/glu
/sgi
/libnurbs
/internals
/*.
cc \
393 $(DIRECTORY
)/src
/glu
/sgi
/libnurbs
/nurbtess
/*.h \
394 $(DIRECTORY
)/src
/glu
/sgi
/libnurbs
/nurbtess
/*.
cc \
395 $(DIRECTORY
)/src
/glu
/sgi
/libtess
/README \
396 $(DIRECTORY
)/src
/glu
/sgi
/libtess
/alg-outline \
397 $(DIRECTORY
)/src
/glu
/sgi
/libtess
/*.
[ch
] \
398 $(DIRECTORY
)/src
/glu
/sgi
/libutil
/*.
[ch
]
401 $(DIRECTORY
)/src
/glu
/mesa
/README
[12] \
402 $(DIRECTORY
)/src
/glu
/mesa
/Makefile
* \
403 $(DIRECTORY
)/src
/glu
/mesa
/descrip.mms \
404 $(DIRECTORY
)/src
/glu
/mesa
/mms_depend \
405 $(DIRECTORY
)/src
/glu
/mesa
/*.def \
406 $(DIRECTORY
)/src
/glu
/mesa
/depend \
407 $(DIRECTORY
)/src
/glu
/mesa
/*.
[ch
]
410 $(DIRECTORY
)/src
/glw
/*.
[ch
] \
411 $(DIRECTORY
)/src
/glw
/Makefile
* \
412 $(DIRECTORY
)/src
/glw
/README \
413 $(DIRECTORY
)/src
/glw
/glw.
pc.in \
414 $(DIRECTORY
)/src
/glw
/depend
417 $(DIRECTORY
)/include/GL
/glew.h \
418 $(DIRECTORY
)/include/GL
/glxew.h \
419 $(DIRECTORY
)/include/GL
/wglew.h \
420 $(DIRECTORY
)/src
/glew
/*.c \
421 $(DIRECTORY
)/src
/glew
/Makefile \
422 $(DIRECTORY
)/src
/glew
/SConscript \
423 $(DIRECTORY
)/src
/glew
/LICENSE.txt
427 $(DIRECTORY
)/progs
/beos
/*.
cpp \
428 $(DIRECTORY
)/progs
/beos
/Makefile \
429 $(DIRECTORY
)/progs
/images
/*.rgb \
430 $(DIRECTORY
)/progs
/images
/*.rgba \
431 $(DIRECTORY
)/progs
/demos
/Makefile
* \
432 $(DIRECTORY
)/progs
/demos
/descrip.mms \
433 $(DIRECTORY
)/progs
/demos
/*.
[ch
] \
434 $(DIRECTORY
)/progs
/demos
/*.
cxx \
435 $(DIRECTORY
)/progs
/demos
/*.dat \
436 $(DIRECTORY
)/progs
/demos
/README \
437 $(DIRECTORY
)/progs
/fbdev
/Makefile \
438 $(DIRECTORY
)/progs
/fbdev
/glfbdevtest.c \
439 $(DIRECTORY
)/progs
/objviewer
/*.
[ch
] \
440 $(DIRECTORY
)/progs
/objviewer
/*.obj \
441 $(DIRECTORY
)/progs
/objviewer
/*.mtl \
442 $(DIRECTORY
)/progs
/objviewer
/*.rgb \
443 $(DIRECTORY
)/progs
/objviewer
/Makefile \
444 $(DIRECTORY
)/progs
/objviewer
/README.txt \
445 $(DIRECTORY
)/progs
/osdemos
/Makefile \
446 $(DIRECTORY
)/progs
/osdemos
/*.c \
447 $(DIRECTORY
)/progs
/xdemos
/Makefile
* \
448 $(DIRECTORY
)/progs
/xdemos
/*.
[chf
] \
449 $(DIRECTORY
)/progs
/redbook
/Makefile
* \
450 $(DIRECTORY
)/progs
/redbook
/README \
451 $(DIRECTORY
)/progs
/redbook
/*.
[ch
] \
452 $(DIRECTORY
)/progs
/samples
/Makefile
* \
453 $(DIRECTORY
)/progs
/samples
/README \
454 $(DIRECTORY
)/progs
/samples
/*.c \
455 $(DIRECTORY
)/progs
/glsl
/Makefile
* \
456 $(DIRECTORY
)/progs
/glsl
/*.c \
457 $(DIRECTORY
)/progs
/glsl
/*.frag \
458 $(DIRECTORY
)/progs
/glsl
/*.vert \
459 $(DIRECTORY
)/progs
/glsl
/*.shtest \
460 $(DIRECTORY
)/progs
/windml
/Makefile.ugl \
461 $(DIRECTORY
)/progs
/windml
/*.c \
462 $(DIRECTORY
)/progs
/windml
/*.bmp \
463 $(DIRECTORY
)/progs
/ggi
/*.c
466 $(DIRECTORY
)/include/GL
/glut.h \
467 $(DIRECTORY
)/include/GL
/glutf90.h \
468 $(DIRECTORY
)/src
/glut
/glx
/Makefile
* \
469 $(DIRECTORY
)/src
/glut
/glx
/depend \
470 $(DIRECTORY
)/src
/glut
/glx
/glut.
pc.in \
471 $(DIRECTORY
)/src
/glut
/glx
/*def \
472 $(DIRECTORY
)/src
/glut
/glx
/*.
[ch
] \
473 $(DIRECTORY
)/src
/glut
/beos
/*.
[ch
] \
474 $(DIRECTORY
)/src
/glut
/beos
/*.
cpp \
475 $(DIRECTORY
)/src
/glut
/beos
/Makefile \
476 $(DIRECTORY
)/src
/glut
/dos
/*.
[ch
] \
477 $(DIRECTORY
)/src
/glut
/dos
/PC_HW
/*.
[chS
] \
478 $(DIRECTORY
)/src
/glut
/ggi
/*.
[ch
] \
479 $(DIRECTORY
)/src
/glut
/ggi
/Makefile \
480 $(DIRECTORY
)/src
/glut
/fbdev
/Makefile \
481 $(DIRECTORY
)/src
/glut
/fbdev
/*[ch
] \
482 $(DIRECTORY
)/src
/glut
/mini
/*[ch
] \
483 $(DIRECTORY
)/src
/glut
/mini
/glut.
pc.in \
484 $(DIRECTORY
)/src
/glut
/directfb
/Makefile \
485 $(DIRECTORY
)/src
/glut
/directfb
/NOTES \
486 $(DIRECTORY
)/src
/glut
/directfb
/*[ch
]
489 $(TOP
)/src
/mesa
/depend \
490 $(TOP
)/src
/glx
/x11
/depend \
491 $(TOP
)/src
/glw
/depend \
492 $(TOP
)/src
/glut
/glx
/depend \
493 $(TOP
)/src
/glu
/sgi
/depend
506 # Everything for new a Mesa release:
507 tarballs
: rm_depend configure aclocal.m4 lib_gz demo_gz glut_gz \
508 lib_bz2 demo_bz2 glut_bz2 lib_zip demo_zip glut_zip md5
511 # Helper for autoconf builds
516 aclocal.m4
: configure.ac acinclude.m4
517 $(ACLOCAL
) $(ACLOCAL_FLAGS
)
518 configure
: configure.ac aclocal.m4 acinclude.m4
519 $(AUTOCONF
) $(AC_FLAGS
)
522 @for dep in
$(DEPEND_FILES
) ; do \
528 rm -f configs
/current
529 rm -f configs
/autoconf
533 tar -cf
$(LIB_NAME
).
tar $(LIB_FILES
) ; \
534 gzip
$(LIB_NAME
).
tar ; \
535 mv
$(LIB_NAME
).
tar.gz
$(DIRECTORY
)
539 tar -cf
$(DEMO_NAME
).
tar $(DEMO_FILES
) ; \
540 gzip
$(DEMO_NAME
).
tar ; \
541 mv
$(DEMO_NAME
).
tar.gz
$(DIRECTORY
)
545 tar -cf
$(GLUT_NAME
).
tar $(GLUT_FILES
) ; \
546 gzip
$(GLUT_NAME
).
tar ; \
547 mv
$(GLUT_NAME
).
tar.gz
$(DIRECTORY
)
551 tar -cf
$(LIB_NAME
).
tar $(LIB_FILES
) ; \
552 bzip2
$(LIB_NAME
).
tar ; \
553 mv
$(LIB_NAME
).
tar.bz2
$(DIRECTORY
)
557 tar -cf
$(DEMO_NAME
).
tar $(DEMO_FILES
) ; \
558 bzip2
$(DEMO_NAME
).
tar ; \
559 mv
$(DEMO_NAME
).
tar.bz2
$(DIRECTORY
)
563 tar -cf
$(GLUT_NAME
).
tar $(GLUT_FILES
) ; \
564 bzip2
$(GLUT_NAME
).
tar ; \
565 mv
$(GLUT_NAME
).
tar.bz2
$(DIRECTORY
)
568 rm -f
$(LIB_NAME
).zip
; \
570 zip
-qr
$(LIB_NAME
).zip
$(LIB_FILES
) ; \
571 mv
$(LIB_NAME
).zip
$(DIRECTORY
)
574 rm -f
$(DEMO_NAME
).zip
; \
576 zip
-qr
$(DEMO_NAME
).zip
$(DEMO_FILES
) ; \
577 mv
$(DEMO_NAME
).zip
$(DIRECTORY
)
580 rm -f
$(GLUT_NAME
).zip
; \
582 zip
-qr
$(GLUT_NAME
).zip
$(GLUT_FILES
) ; \
583 mv
$(GLUT_NAME
).zip
$(DIRECTORY
)
586 @
-md5sum
$(LIB_NAME
).
tar.gz
587 @
-md5sum
$(LIB_NAME
).
tar.bz2
588 @
-md5sum
$(LIB_NAME
).zip
589 @
-md5sum
$(DEMO_NAME
).
tar.gz
590 @
-md5sum
$(DEMO_NAME
).
tar.bz2
591 @
-md5sum
$(DEMO_NAME
).zip
592 @
-md5sum
$(GLUT_NAME
).
tar.gz
593 @
-md5sum
$(GLUT_NAME
).
tar.bz2
594 @
-md5sum
$(GLUT_NAME
).zip
596 .PHONY
: tarballs rm_depend rm_config md5 \
597 lib_gz demo_gz glut_gz \
598 lib_bz2 demo_bz2 glut_bz2 \
599 lib_zip demo_zip glut_zip