source: trunk/kitgen/Makefile@ 180

Last change on this file since 180 was 175, checked in by demin, 12 years ago

initial commit

File size: 2.0 KB
Line 
1GSL_URL = http://ftp.gnu.org/gnu/gsl/gsl-1.15.tar.gz
2TDOM_URL = http://github.com/downloads/tDOM/tdom/tDOM-0.8.3.tgz
3ZLIB_URL = http://downloads.sourceforge.net/project/libpng/zlib/1.2.7/zlib-1.2.7.tar.gz
4XOTCL_URL = http://downloads.sourceforge.net/project/xotcl/xotcl/1.6.7/xotcl-1.6.7.tar.gz
5SQLITE_URL = http://www.sqlite.org/sqlite-autoconf-3071401.tar.gz
6LIBUSB_URL = http://heanet.dl.sourceforge.net/project/libusb/libusb-0.1%20%28LEGACY%29/0.1.12/libusb-0.1.12.tar.gz
7
8TCL_CVS = :pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl
9TK_CVS = :pserver:anonymous@tktoolkit.cvs.sourceforge.net:/cvsroot/tktoolkit
10
11VFS_CVS = :pserver:anonymous@tclvfs.cvs.sourceforge.net:/cvsroot/tclvfs
12TCLLIB_CVS = :pserver:anonymous@tcllib.cvs.sourceforge.net:/cvsroot/tcllib
13
14unspecified-target:
15
16cvs:
17 mkdir -p 8.x && cd 8.x && \
18 cvs -d $(VFS_CVS) co tclvfs && \
19 cvs -d ${TCLLIB_CVS} co tcllib
20 mkdir -p 8.5 && cd 8.5 && \
21 cvs -d $(TCL_CVS) co -r core-8-5-branch tcl && \
22 cvs -d $(TK_CVS) co -r core-8-5-branch tk
23
24tars:
25 mkdir -p 8.x && cd 8.x && \
26 wget -q $(GSL_URL) && \
27 wget -q $(TDOM_URL) && \
28 wget -q $(ZLIB_URL) && \
29 wget -q $(XOTCL_URL) && \
30 wget -q $(SQLITE_URL) && \
31 wget -q $(LIBUSB_URL)
32
33untar:
34 mkdir -p 8.x && cd 8.x && \
35 tar xfz gsl-1.15.tar.gz && \
36 tar xfz tDOM-0.8.3.tgz && \
37 tar xfz zlib-1.2.7.tar.gz && \
38 tar xfz xotcl-1.6.7.tar.gz && \
39 tar xfz sqlite-autoconf-3071401.tar.gz && \
40 tar xfz libusb-0.1.12.tar.gz && \
41 mv gsl-1.15 gsl && \
42 mv tDOM-0.8.3 tdom && \
43 mv zlib-1.2.7 zlib && \
44 mv xotcl-1.6.7 xotcl && \
45 mv sqlite-autoconf-3071401 sqlite && \
46 mv libusb-0.1.12 libusb
47
48configs:
49 sh config.sh 8.5/base-std
50 sh config.sh 8.5/kit-small gui
51
52small: configs
53 cd 8.5/kit-small && $(MAKE)
54
55base tidy:
56 for i in 8*/base-*/Makefile; do (cd `dirname $$i`; $(MAKE) $@); done
57
58all clean distclean tclkit-gui:
59 for i in 8*/kit-*/Makefile; do (cd `dirname $$i`; $(MAKE) $@); done
60
61.PHONY: all base tidy clean distclean small tars configs
Note: See TracBrowser for help on using the repository browser.