From ae61414d6dff8ca06ae2bf7f7b2c371299e769e7 Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Mon, 23 Mar 2009 01:06:46 +0000 Subject: [PATCH] Added a 'checkout' target to build the kitgen tree with the required dependencies from cvs or svn checkouts from the various repositories. Switched the tcl and tk tars to the sourceforge location. Cleanup the metakit tclkits too. git-svn-id: svn://svn.equi4.com/kitgen/trunk@4469 9e558909-932a-0410-a563-af77432da1eb --- Makefile | 36 ++++++++++++++++++++++++++++++------ makefile.include | 4 ++-- 2 files changed, 32 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 93913a5..2c45a47 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,31 @@ -TAR_URL = http://www.equi4.com/pub/tk/tars +TCL_URL = http://prdownloads.sourceforge.net/tcl/ +TK_URL = http://prdownloads.sourceforge.net/tcl/ + +TCL_CVS =":pserver:anonymous@tcl.cvs.sourceforge.net/cvsroot/tcl" +TK_CVS =":pserver:anonymous@tktoolkit.cvs.sourceforge.net/cvsroot/tktoolkit" +VFS_CVS =":pserver:anonymous@tclvfs.cvs.sourceforge.net/cvsroot/tclvfs" +ZLIB_CVS =":pserver:anonymous@tkimg.cvs.sourceforge.net/cvsroot/tkimg" +ITCL_CVS =":pserver:anonymous@incrtcl.cvs.sourceforge.net/cvsroot/incrtcl" +VQTCL_SVN ="http://tclkit.googlecode.com/svn/trunk/vqtcl" +MK_SVN ="svn://svn.equi4.com/metakit/trunk" unspecified-target: +checkout: + mkdir 8.x && cd 8.x && \ + cvs -qz6 -d$(VFS_CVS) co -d vfs tclvfs && \ + cvs -qz6 -d$(ZLIB_CVS) co -d zlib tkimg/libz && \ + cvs -qz6 -d$(TCL_CVS) co thread && \ + cvs -qz6 -d$(ITCL_CVS) co -d itcl incrTcl/itcl && \ + svn checkout $(VQTCL_SVN) vqtcl && \ + svn checkout $(MK_SVN) mk + mkdir 8.4 && cd 8.4 && \ + cvs -qz6 -d$(TCL_CVS) co -r core-8-4-branch tcl && \ + cvs -qz6 -d$(TK_CVS) co -r core-8-4-branch tk + mkdir 8.5 && cd 8.5 && \ + cvs -qz6 -d$(TCL_CVS) co -r core-8-5-branch tcl && \ + cvs -qz6 -d$(TK_CVS) co -r core-8-5-branch tk + tars: mkdir 8.x && cd 8.x && \ wget -q $(TAR_URL)/vfs.tar.gz && tar xfz vfs.tar.gz && \ @@ -9,13 +33,13 @@ tars: wget -q $(TAR_URL)/vqtcl.tgz && tar xfz vqtcl.tgz && \ rm *gz && mv vfs tclvfs mkdir 8.4 && cd 8.4 && \ - wget -q $(TAR_URL)/tcl.tar.gz && tar xfz tcl.tar.gz && \ - wget -q $(TAR_URL)/tk.tar.gz && tar xfz tk.tar.gz && \ + wget -q $(TCL_URL)/tcl8.4.19-src.tar.gz && tar xfz tcl8.4.19-src.tar.gz && \ + wget -q $(TK_URL)/tk8.4.19-src.tar.gz && tar xfz tk8.4.19-src.tar.gz && \ rm *gz mkdir 8.5 && cd 8.5 && \ - wget -q $(TAR_URL)/tcl85.tar.gz && tar xfz tcl85.tar.gz && \ - wget -q $(TAR_URL)/tk85.tar.gz && tar xfz tk85.tar.gz && \ - rm *gz && mv tcl85 tcl && mv tk85 tk + wget -q $(TCL_URL)/tcl8.5.6-src.tar.gz && tar xfz tcl8.5.6-src.tar.gz && \ + wget -q $(TK_URL)/tk8.5.6-src.tar.gz && tar xfz tk8.5.6-src.tar.gz && \ + rm *gz configs: sh config.sh 8.4/base-std diff --git a/makefile.include b/makefile.include index fe0fe9e..d7d06c6 100644 --- a/makefile.include +++ b/makefile.include @@ -108,10 +108,10 @@ cleanext: rm -rf build/lib/vfs* build/lib/thread* build/lib/vqtcl* clean: - rm -rf build kit-cli$(EXE) kit-gui$(EXE) kit-dyn$(EXE) + rm -rf build kit-cli$(EXE) kit-gui$(EXE) kit-dyn$(EXE) kitsh$(EXE) kit$(EXE) distclean: clean - rm -f tclkit-cli$(EXE) tclkit-dyn$(EXE) tclkit-gui$(EXE) + rm -f tclkit-cli$(EXE) tclkit-dyn$(EXE) tclkit-gui$(EXE) tclkitsh$(EXE) tclkit$(EXE) .PHONY: all base clean distclean threaded tidy -- 2.23.0