[175] | 1 | GSL_URL = http://ftp.gnu.org/gnu/gsl/gsl-1.15.tar.gz
|
---|
| 2 | TDOM_URL = http://github.com/downloads/tDOM/tdom/tDOM-0.8.3.tgz
|
---|
| 3 | ZLIB_URL = http://downloads.sourceforge.net/project/libpng/zlib/1.2.7/zlib-1.2.7.tar.gz
|
---|
| 4 | XOTCL_URL = http://downloads.sourceforge.net/project/xotcl/xotcl/1.6.7/xotcl-1.6.7.tar.gz
|
---|
| 5 | SQLITE_URL = http://www.sqlite.org/sqlite-autoconf-3071401.tar.gz
|
---|
| 6 | LIBUSB_URL = http://heanet.dl.sourceforge.net/project/libusb/libusb-0.1%20%28LEGACY%29/0.1.12/libusb-0.1.12.tar.gz
|
---|
| 7 |
|
---|
| 8 | TCL_CVS = :pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl
|
---|
| 9 | TK_CVS = :pserver:anonymous@tktoolkit.cvs.sourceforge.net:/cvsroot/tktoolkit
|
---|
| 10 |
|
---|
| 11 | VFS_CVS = :pserver:anonymous@tclvfs.cvs.sourceforge.net:/cvsroot/tclvfs
|
---|
| 12 | TCLLIB_CVS = :pserver:anonymous@tcllib.cvs.sourceforge.net:/cvsroot/tcllib
|
---|
| 13 |
|
---|
| 14 | unspecified-target:
|
---|
| 15 |
|
---|
| 16 | cvs:
|
---|
| 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 |
|
---|
| 24 | tars:
|
---|
| 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 |
|
---|
| 33 | untar:
|
---|
| 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 |
|
---|
| 48 | configs:
|
---|
| 49 | sh config.sh 8.5/base-std
|
---|
| 50 | sh config.sh 8.5/kit-small gui
|
---|
| 51 |
|
---|
| 52 | small: configs
|
---|
| 53 | cd 8.5/kit-small && $(MAKE)
|
---|
| 54 |
|
---|
| 55 | base tidy:
|
---|
| 56 | for i in 8*/base-*/Makefile; do (cd `dirname $$i`; $(MAKE) $@); done
|
---|
| 57 |
|
---|
| 58 | all 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
|
---|