1 | TDOM_URL = http://github.com/downloads/tDOM/tdom/tDOM-0.8.3.tgz
|
---|
2 | TCLLIB_URL = http://github.com/tcltk/tcllib/archive/tcllib_1_16.tar.gz -O tcllib_1_16.tar.gz
|
---|
3 | ZLIB_URL = http://heanet.dl.sourceforge.net/project/libpng/zlib/1.2.3/zlib-1.2.3.tar.gz
|
---|
4 | XOTCL_URL = http://heanet.dl.sourceforge.net/project/xotcl/xotcl/1.6.7/xotcl-1.6.7.tar.gz
|
---|
5 | TKTABLE_URL = http://heanet.dl.sourceforge.net/project/tktable/tktable/2.10/Tktable2.10.tar.gz
|
---|
6 | SQLITE_URL = http://www.sqlite.org/2014/sqlite-autoconf-3080403.tar.gz
|
---|
7 | LIBUSB_URL = http://heanet.dl.sourceforge.net/project/libusb/libusb-0.1%20%28LEGACY%29/0.1.12/libusb-0.1.12.tar.gz
|
---|
8 |
|
---|
9 | TCL_CVS = :pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl
|
---|
10 | TK_CVS = :pserver:anonymous@tktoolkit.cvs.sourceforge.net:/cvsroot/tktoolkit
|
---|
11 |
|
---|
12 | VFS_CVS = :pserver:anonymous@tclvfs.cvs.sourceforge.net:/cvsroot/tclvfs
|
---|
13 |
|
---|
14 | unspecified-target:
|
---|
15 |
|
---|
16 | cvs:
|
---|
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 |
|
---|
23 | tars:
|
---|
24 | mkdir -p 8.x && cd 8.x && \
|
---|
25 | wget -q $(TDOM_URL) && \
|
---|
26 | wget -q $(TCLLIB_URL) && \
|
---|
27 | wget -q $(ZLIB_URL) && \
|
---|
28 | wget -q $(XOTCL_URL) && \
|
---|
29 | wget -q $(TKTABLE_URL) && \
|
---|
30 | wget -q $(SQLITE_URL) && \
|
---|
31 | wget -q $(LIBUSB_URL)
|
---|
32 |
|
---|
33 | untar:
|
---|
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-3080403.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-3080403 sqlite && \
|
---|
48 | mv libusb-0.1.12 libusb
|
---|
49 |
|
---|
50 | configs:
|
---|
51 | sh config.sh 8.5/base-std
|
---|
52 | sh config.sh 8.5/kit-small gui
|
---|
53 |
|
---|
54 | small: configs
|
---|
55 | cd 8.5/kit-small && $(MAKE)
|
---|
56 |
|
---|
57 | base tidy:
|
---|
58 | for i in 8*/base-*/Makefile; do (cd `dirname $$i`; $(MAKE) $@); done
|
---|
59 |
|
---|
60 | all 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
|
---|