$(MAKE) clean
-rm -rf lib*
-rm -f $(TOP)/configs/current
+ -rm -f `find . -name \*.o`
+ -rm -f `find . -name \*.a`
+ -rm -f `find . -name \*.so`
+
install:
@echo "Installing"
- $(TOP)/bin/installmesa
+ $(TOP)/bin/installmesa
+
+# DirectFBGL module installation
+linux-directfb-install:
+ cd src/mesa/drivers/directfb && $(MAKE) install
# If there's no current configuration file
$(TOP)/configs/current:
# Rules to set/install a specific build configuration
aix \
+aix-64 \
aix-gcc \
aix-static \
beos \
darwin \
darwin-static \
freebsd \
+freebsd-dri \
+freebsd-dri-x86 \
hpux10 \
hpux10-gcc \
hpux10-static \
+hpux11-32 \
hpux11-32-static \
hpux11-32-static-nothreads \
+hpux11-64 \
hpux11-64-static \
hpux9 \
hpux9-gcc \
linux-alpha \
linux-alpha-static \
linux-debug \
+linux-directfb \
linux-dri \
linux-dri-x86 \
linux-dri-x86-64 \
+linux-dri-ppc \
linux-glide \
linux-icc \
linux-icc-static \
linux-ppc \
linux-ppc-static \
linux-solo \
+linux-solo-x86 \
linux-solo-ia64 \
linux-sparc \
linux-sparc5 \
# Rules for making release tarballs
-DIRECTORY = Mesa-6.1
-LIB_NAME = MesaLib-6.1
-DEMO_NAME = MesaDemos-6.1
+DIRECTORY = Mesa-6.3
+LIB_NAME = MesaLib-6.3
+DEMO_NAME = MesaDemos-6.3
LIB_FILES = \
$(DIRECTORY)/Makefile* \
$(DIRECTORY)/mms-config. \
$(DIRECTORY)/Mesa.dsw \
$(DIRECTORY)/bin/mklib \
+ $(DIRECTORY)/bin/installmesa \
$(DIRECTORY)/configs/[a-z]* \
$(DIRECTORY)/docs/*.html \
$(DIRECTORY)/docs/COPYING \
$(DIRECTORY)/src/mesa/tnl_dd/imm/*.[ch] \
$(DIRECTORY)/src/mesa/tnl_dd/imm/NOTES.imm \
$(DIRECTORY)/src/mesa/drivers/beos/*.cpp \
- $(DIRECTORY)/src/mesa/drivers/beos/*.h \
$(DIRECTORY)/src/mesa/drivers/beos/Makefile \
$(DIRECTORY)/src/mesa/drivers/common/*.[ch] \
$(DIRECTORY)/src/mesa/drivers/common/descrip.mms \
+ $(DIRECTORY)/src/mesa/drivers/directfb/*.[ch] \
+ $(DIRECTORY)/src/mesa/drivers/directfb/Makefile \
$(DIRECTORY)/src/mesa/drivers/dos/*.[chS] \
$(DIRECTORY)/src/mesa/drivers/dri/common/*.[ch] \
$(DIRECTORY)/src/mesa/drivers/fbdev/glfbdev.c \
$(DIRECTORY)/vms/xlib_share.opt
-DEMO_FILES = \
+GLUT_FILES = \
$(DIRECTORY)/include/GL/glut.h \
$(DIRECTORY)/include/GL/glutf90.h \
$(DIRECTORY)/src/glut/glx/Makefile* \
$(DIRECTORY)/src/glut/dos/*.[ch] \
$(DIRECTORY)/src/glut/dos/Makefile.DJ \
$(DIRECTORY)/src/glut/dos/PC_HW/*.[chS] \
+ $(DIRECTORY)/src/glut/ggi/*.[ch] \
+ $(DIRECTORY)/src/glut/ggi/Makefile
+
+
+DEMO_FILES = \
$(DIRECTORY)/progs/beos/*.cpp \
$(DIRECTORY)/progs/beos/Makefile \
$(DIRECTORY)/progs/images/*.rgb \
$(DIRECTORY)/progs/ggi/*.c
+DRI_FILES = \
+ $(DIRECTORY)/src/glx/Makefile \
+ $(DIRECTORY)/src/glx/mini/*.[ch] \
+ $(DIRECTORY)/src/glx/mini/example.miniglx.conf \
+ $(DIRECTORY)/src/glx/mini/NOTES \
+ $(DIRECTORY)/src/mesa/drivers/dri/Makefile \
+ $(DIRECTORY)/src/mesa/drivers/dri/Makefile.template \
+ $(DIRECTORY)/src/mesa/drivers/dri/common/*.[ch] \
+ $(DIRECTORY)/src/mesa/drivers/dri/dri_client/imports/*.h \
+ $(DIRECTORY)/src/mesa/drivers/dri/*/*.[ch] \
+ $(DIRECTORY)/src/mesa/drivers/dri/*/depend \
+ $(DIRECTORY)/src/mesa/drivers/dri/*/Makefile \
+ $(DIRECTORY)/src/mesa/drivers/dri/*/Doxyfile \
+ $(DIRECTORY)/src/mesa/drivers/dri/*/server/*.[ch]
+
+
+# Everything for new a Mesa release:
+tarballs: lib_gz demo_gz lib_bz2 demo_bz2 lib_zip demo_zip md5
+
+
lib_gz:
rm -f configs/current ; \
cd .. ; \
demo_gz:
cd .. ; \
- tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \
+ tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) $(GLUT_FILES) ; \
gzip $(DEMO_NAME).tar ; \
mv $(DEMO_NAME).tar.gz $(DIRECTORY)
demo_bz2:
cd .. ; \
- tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \
+ tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) $(GLUT_FILES) ; \
bzip2 $(DEMO_NAME).tar ; \
mv $(DEMO_NAME).tar.bz2 $(DIRECTORY)
demo_zip:
-rm $(DEMO_NAME).zip ; \
cd .. ; \
- zip -r $(DEMO_NAME).zip $(DEMO_FILES) ; \
+ zip -r $(DEMO_NAME).zip $(DEMO_FILES) $(GLUT_FILES) ; \
mv $(DEMO_NAME).zip $(DIRECTORY)
md5:
@-md5sum $(DEMO_NAME).tar.gz
@-md5sum $(DEMO_NAME).tar.bz2
@-md5sum $(DEMO_NAME).zip
-
-# Everything for new a Mesa release:
-tarballs: lib_gz demo_gz lib_bz2 demo_bz2 lib_zip demo_zip md5