source: trunk/kitgen/Makefile

Last change on this file was 198, checked in by demin, 10 years ago

replace wget with curl and update sqlite version in Makefile

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