- Timestamp:
- May 22, 2014, 1:18:03 PM (10 years ago)
- Location:
- trunk/kitgen
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kitgen/Makefile
r175 r195 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 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 7 8 8 TCL_CVS = :pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl9 TK_CVS = :pserver:anonymous@tktoolkit.cvs.sourceforge.net:/cvsroot/tktoolkit9 TCL_CVS = :pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl 10 TK_CVS = :pserver:anonymous@tktoolkit.cvs.sourceforge.net:/cvsroot/tktoolkit 10 11 11 VFS_CVS = :pserver:anonymous@tclvfs.cvs.sourceforge.net:/cvsroot/tclvfs 12 TCLLIB_CVS = :pserver:anonymous@tcllib.cvs.sourceforge.net:/cvsroot/tcllib 12 VFS_CVS = :pserver:anonymous@tclvfs.cvs.sourceforge.net:/cvsroot/tclvfs 13 13 14 14 unspecified-target: … … 16 16 cvs: 17 17 mkdir -p 8.x && cd 8.x && \ 18 cvs -d $(VFS_CVS) co tclvfs && \ 19 cvs -d ${TCLLIB_CVS} co tcllib 18 cvs -d $(VFS_CVS) co tclvfs 20 19 mkdir -p 8.5 && cd 8.5 && \ 21 20 cvs -d $(TCL_CVS) co -r core-8-5-branch tcl && \ … … 24 23 tars: 25 24 mkdir -p 8.x && cd 8.x && \ 26 wget -q $(GSL_URL) && \27 25 wget -q $(TDOM_URL) && \ 26 wget -q $(TCLLIB_URL) && \ 28 27 wget -q $(ZLIB_URL) && \ 29 28 wget -q $(XOTCL_URL) && \ 29 wget -q $(TKTABLE_URL) && \ 30 30 wget -q $(SQLITE_URL) && \ 31 31 wget -q $(LIBUSB_URL) … … 33 33 untar: 34 34 mkdir -p 8.x && cd 8.x && \ 35 tar xfz gsl-1.15.tar.gz && \36 35 tar xfz tDOM-0.8.3.tgz && \ 37 tar xfz zlib-1.2.7.tar.gz && \ 36 tar xfz tcllib_1_16.tar.gz && \ 37 tar xfz zlib-1.2.3.tar.gz && \ 38 38 tar xfz xotcl-1.6.7.tar.gz && \ 39 tar xfz sqlite-autoconf-3071401.tar.gz && \ 39 tar xfz Tktable2.10.tar.gz && \ 40 tar xfz sqlite-autoconf-3080403.tar.gz && \ 40 41 tar xfz libusb-0.1.12.tar.gz && \ 41 mv gsl-1.15 gsl && \42 42 mv tDOM-0.8.3 tdom && \ 43 mv zlib-1.2.7 zlib && \ 43 mv tcllib-tcllib_1_16 tcllib && \ 44 mv zlib-1.2.3 zlib && \ 44 45 mv xotcl-1.6.7 xotcl && \ 45 mv sqlite-autoconf-3071401 sqlite && \ 46 mv Tktable2.10 Tktable && \ 47 mv sqlite-autoconf-3080403 sqlite && \ 46 48 mv libusb-0.1.12 libusb 47 49 -
trunk/kitgen/kitInit.c
r175 r195 44 44 #ifdef KIT_INCLUDES_TK 45 45 Tcl_AppInitProc Blt_Init, Blt_SafeInit; 46 Tcl_AppInitProc Tktable_Init, Tktable_SafeInit; 46 47 #endif 47 48 … … 114 115 Tcl_StaticPackage(0, "Tk", Tk_Init, Tk_SafeInit); 115 116 Tcl_StaticPackage(0, "Blt", Blt_Init, Blt_SafeInit); 117 Tcl_StaticPackage(0, "Tktable", Tktable_Init, Tktable_SafeInit); 116 118 #endif 117 119 -
trunk/kitgen/makefile.include
r176 r195 27 27 28 28 BLT_OPTS = --disable-threads 29 TKTABLE_OPTS = --disable-threads 29 30 VFS_OPTS = --disable-threads 30 31 TDOM_OPTS = --disable-threads … … 43 44 44 45 ifeq ($(PLAT), win) 45 kit-gui$(EXE): build/tcl build/tk build/blt build/ tclvfs build/zlib \46 kit-gui$(EXE): build/tcl build/tk build/blt build/Tktable build/tclvfs build/zlib \ 46 47 build/tdom build/tcllib build/xotcl build/sqlite build/libusb-win32 $(GUIOBJ) 47 48 $(CC) -o $@ $(CFLAGS) ../../kitInit.c $(GUIOBJ) \ … … 52 53 build/lib/*tcl8*$A \ 53 54 build/lib/BLT2*/*BLT2*$A \ 55 build/lib/Tktable2*/*Tktable2*$A \ 54 56 build/lib/tdom0*/*tdom0*$A \ 55 57 build/lib/sqlite3*/*sqlite3*$A \ … … 57 59 $(LDFLAGS) $(GUI_OPTS) 58 60 else 59 kit-gui$(EXE): build/tcl build/tk build/blt build/ tclvfs build/zlib \61 kit-gui$(EXE): build/tcl build/tk build/blt build/Tktable build/tclvfs build/zlib \ 60 62 build/tdom build/tcllib build/xotcl build/sqlite build/libusb $(GUIOBJ) 61 63 $(CC) -o $@ $(CFLAGS) ../../kitInit.c $(GUIOBJ) \ … … 66 68 build/lib/*tcl8*$A \ 67 69 build/lib/BLT2*/*BLT2*$A \ 70 build/lib/Tktable2*/*Tktable2*$A \ 68 71 build/lib/tdom0*/*tdom0*$A \ 69 72 build/lib/sqlite3*/*sqlite3*$A \ … … 89 92 mkdir -p $@ && cd $@ && CFLAGS="$(CFLAGS)" && export CFLAGS && \ 90 93 sh $(EXTDIR)/blt/configure $(STATIC) $(TCLDIR) $(BLT_OPTS) && \ 94 $(MAKE) install-binaries install-libraries 95 96 build/Tktable: build/tk 97 mkdir -p $@ && cd $@ && CFLAGS="$(CFLAGS)" && export CFLAGS && \ 98 sh $(EXTDIR)/Tktable/configure $(STATIC) $(TCLDIR) $(TKTABLE_OPTS) && \ 91 99 $(MAKE) install-binaries install-libraries 92 100 -
trunk/kitgen/setupvfs.tcl
r175 r195 40 40 exit 1 41 41 } 42 43 set tcl_library ../tcl/library 44 source ../tcl/library/init.tcl ;# for tcl::CopyDirectory 45 46 package require platform 47 48 set platform [lindex [split [platform::generic] -] 0] 42 49 43 50 load {} zlib … … 64 71 csr0@ csr[package require csr]] 65 72 73 if {[string equal $platform win32]} { 74 load {} registry 75 lappend versmap registry1@ registry[package require registry] 76 } 77 66 78 if {$debugOpt} { 67 79 puts "Starting [info script]" … … 74 86 } 75 87 76 set tcl_library ../tcl/library77 source ../tcl/library/init.tcl ;# for tcl::CopyDirectory78 79 88 # Create package index files for the static extensions. 80 set exts {swt csr usb g2lite XOTcl zlib} 89 set exts [list swt csr usb g2lite XOTcl zlib] 90 if {[string equal $platform win32]} { 91 lappend exts registry 92 } 81 93 foreach ext $exts { 82 94 load {} $ext … … 89 101 set clifiles { 90 102 boot.tcl 91 main.tcl92 103 config.tcl 93 104 lib/tcl8@/auto.tcl … … 115 126 lib/csr0@/pkgIndex.tcl 116 127 lib/zlib1@/pkgIndex.tcl 117 lib/tcllib1.14/pkgIndex.tcl 118 lib/tcllib1.14/asn 119 lib/tcllib1.14/base64 120 lib/tcllib1.14/comm 121 lib/tcllib1.14/cmdline 122 lib/tcllib1.14/fileutil 123 lib/tcllib1.14/ldap 124 lib/tcllib1.14/log 125 lib/tcllib1.14/math 126 lib/tcllib1.14/snit 127 lib/tcllib1.14/uri} 128 lib/tcllib1.16/pkgIndex.tcl 129 lib/tcllib1.16/asn 130 lib/tcllib1.16/base64 131 lib/tcllib1.16/comm 132 lib/tcllib1.16/cmdline 133 lib/tcllib1.16/csv 134 lib/tcllib1.16/fileutil 135 lib/tcllib1.16/ldap 136 lib/tcllib1.16/log 137 lib/tcllib1.16/math 138 lib/tcllib1.16/snit 139 lib/tcllib1.16/struct 140 lib/tcllib1.16/uri 141 } 142 143 if {[string equal $platform win32]} { 144 lappend clifiles lib/registry1@/pkgIndex.tcl 145 } 128 146 129 147 set guifiles { … … 168 186 lib/BLT2.4/bltCanvEps.pro 169 187 lib/BLT2.4/bltGraph.pro 188 lib/Tktable2.10/pkgIndex.tcl 189 lib/Tktable2.10/tkTable.tcl 170 190 } 171 191
Note:
See TracChangeset
for help on using the changeset viewer.