-# $Id: Makefile.X11,v 1.72 2003/02/08 16:23:44 brianp Exp $
+# $Id: Makefile.X11,v 1.73 2003/02/08 22:09:04 brianp Exp $
# Mesa 3-D graphics library
# Version: 5.1
$(DIRECTORY)/src-glut.beos/*.h
-lib_tar:
+lib_gz:
cp Makefile.X11 Makefile ; \
cd .. ; \
tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \
gzip $(LIB_NAME).tar ; \
mv $(LIB_NAME).tar.gz $(DIRECTORY)
-demo_tar:
+demo_gz:
cd .. ; \
tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \
gzip $(DEMO_NAME).tar ; \
mv $(DEMO_NAME).tar.gz $(DIRECTORY)
-glu_tar:
+lib_bz2:
cp Makefile.X11 Makefile ; \
cd .. ; \
- tar -cvf $(GLU_NAME).tar $(GLU_FILES) ; \
- gzip $(GLU_NAME).tar ; \
- mv $(GLU_NAME).tar.gz $(DIRECTORY)
+ tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \
+ bzip2 $(LIB_NAME).tar ; \
+ mv $(LIB_NAME).tar.bz2 $(DIRECTORY)
-glut_tar:
- cp Makefile.X11 Makefile ; \
+demo_bz2:
cd .. ; \
- tar -cvf $(GLUT_NAME).tar $(GLUT_FILES) ; \
- gzip $(GLUT_NAME).tar ; \
- mv $(GLUT_NAME).tar.gz $(DIRECTORY)
-
+ tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \
+ bzip2 $(DEMO_NAME).tar ; \
+ mv $(DEMO_NAME).tar.bz2 $(DIRECTORY)
lib_zip:
-rm $(LIB_NAME).zip ; \
zip -r $(DEMO_NAME).zip $(DEMO_FILES) ; \
mv $(DEMO_NAME).zip $(DIRECTORY)
+md5:
+ @-md5sum $(LIB_NAME).tar.gz
+ @-md5sum $(LIB_NAME).tar.bz2
+ @-md5sum $(LIB_NAME).zip
+ @-md5sum $(DEMO_NAME).tar.gz
+ @-md5sum $(DEMO_NAME).tar.bz2
+ @-md5sum $(DEMO_NAME).zip
+# Everything for new Mesa release:
+tarballs: lib_gz demo_gz lib_bz2 demo_bz2 lib_zip demo_zip md5
-SRC_FILES = \
- RELNOTES \
- src/Makefile* \
- src/depend \
- src/*.[chS] \
- src/*/*.[ch] \
- include/GL/*.h
-srctar:
- tar -cvf src.tar $(SRC_FILES) ; \
- gzip src.tar
+# not used
+glu_gz:
+ cp Makefile.X11 Makefile ; \
+ cd .. ; \
+ tar -cvf $(GLU_NAME).tar $(GLU_FILES) ; \
+ gzip $(GLU_NAME).tar ; \
+ mv $(GLU_NAME).tar.gz $(DIRECTORY)
-srctar.zip:
- -rm src.zip
- zip -r src.zip $(SRC_FILES) ; \
+glut_gz:
+ cp Makefile.X11 Makefile ; \
+ cd .. ; \
+ tar -cvf $(GLUT_NAME).tar $(GLUT_FILES) ; \
+ gzip $(GLUT_NAME).tar ; \
+ mv $(GLUT_NAME).tar.gz $(DIRECTORY)