[195] | 1 | TDOM_URL = http://github.com/downloads/tDOM/tdom/tDOM-0.8.3.tgz
|
---|
[198] | 2 | TCLLIB_URL = http://github.com/tcltk/tcllib/archive/tcllib_1_16.tar.gz
|
---|
[195] | 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
|
---|
[198] | 6 | SQLITE_URL = http://www.sqlite.org/2014/sqlite-autoconf-3080600.tar.gz
|
---|
[195] | 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
|
---|
[175] | 8 |
|
---|
[195] | 9 | TCL_CVS = :pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl
|
---|
| 10 | TK_CVS = :pserver:anonymous@tktoolkit.cvs.sourceforge.net:/cvsroot/tktoolkit
|
---|
[175] | 11 |
|
---|
[195] | 12 | VFS_CVS = :pserver:anonymous@tclvfs.cvs.sourceforge.net:/cvsroot/tclvfs
|
---|
[175] | 13 |
|
---|
| 14 | unspecified-target:
|
---|
| 15 |
|
---|
| 16 | cvs:
|
---|
| 17 | mkdir -p 8.x && cd 8.x && \
|
---|
[195] | 18 | cvs -d $(VFS_CVS) co tclvfs
|
---|
[175] | 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 && \
|
---|
[198] | 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)
|
---|
[175] | 32 |
|
---|
| 33 | untar:
|
---|
| 34 | mkdir -p 8.x && cd 8.x && \
|
---|
| 35 | tar xfz tDOM-0.8.3.tgz && \
|
---|
[195] | 36 | tar xfz tcllib_1_16.tar.gz && \
|
---|
| 37 | tar xfz zlib-1.2.3.tar.gz && \
|
---|
[175] | 38 | tar xfz xotcl-1.6.7.tar.gz && \
|
---|
[195] | 39 | tar xfz Tktable2.10.tar.gz && \
|
---|
[198] | 40 | tar xfz sqlite-autoconf-3080600.tar.gz && \
|
---|
[175] | 41 | tar xfz libusb-0.1.12.tar.gz && \
|
---|
| 42 | mv tDOM-0.8.3 tdom && \
|
---|
[195] | 43 | mv tcllib-tcllib_1_16 tcllib && \
|
---|
| 44 | mv zlib-1.2.3 zlib && \
|
---|
[175] | 45 | mv xotcl-1.6.7 xotcl && \
|
---|
[195] | 46 | mv Tktable2.10 Tktable && \
|
---|
[198] | 47 | mv sqlite-autoconf-3080600 sqlite && \
|
---|
[175] | 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
|
---|