8.4:
mkdir -p $@ && cd $@ && \
cvs -d $(TCL_CVS) co -r core-8-4-branch tcl && \
- cvs -d $(TCL_CVS) co thread && \
- cvs -d $(TK_CVS) co -r core-8-4-branch tk && \
- cvs -d $(VFS_CVS) co tclvfs && \
- cvs -d $(VLERQ_CVS) co -d vlerq vlerq/tcl && \
- cvs -d $(ZLIB_CVS) co zlib
- #sh config.sh 8.4/base-aqua sym univ aqua
- #sh config.sh 8.4/base-x11 sym univ
- sh config.sh 8.4/base-std sym
+ cvs -d $(TK_CVS) co -r core-8-4-branch tk
+ #sh config.sh 8.4/base-aqua univ aqua
+ #sh config.sh 8.4/base-x11 univ
+ sh config.sh 8.4/base-std
8.5:
mkdir -p $@ && cd $@ && \
cvs -d $(TCL_CVS) co tcl && \
+ cvs -d $(TK_CVS) co tk
+ #sh config.sh 8.5/base-aqua univ aqua thread
+ #sh config.sh 8.5/base-x11 univ thread
+ sh config.sh 8.5/base-std thread
+
+8.x:
+ mkdir -p $@ && cd $@ && \
cvs -d $(TCL_CVS) co thread && \
- cvs -d $(TK_CVS) co tk && \
cvs -d $(VFS_CVS) co tclvfs && \
cvs -d $(VLERQ_CVS) co -d vlerq vlerq/tcl && \
cvs -d $(ZLIB_CVS) co zlib
- #sh config.sh 8.5/base-aqua sym univ aqua thread
- #sh config.sh 8.5/base-x11 sym univ thread
- sh config.sh 8.5/base-std sym thread
-
+
cvs:
for i in 8*/*/CVS; do (cd `dirname $$i`; cvs up); done
-small: 8.4
+small: 8.x 8.4
sh config.sh 8.4/kit-small cli dyn
cd 8.4/kit-small && $(MAKE) && $(MAKE) clean
-large: 8.5
+large: 8.x 8.5
sh config.sh 8.5/kit-large aqua univ thread allenc allmsgs tzdata
cd 8.5/kit-large && $(MAKE) && $(MAKE) clean
[3]: http://www.equi4.com/tclkit.html
[4]: http://www.vlerq.org/
-Kitgen is pronounced "kit-chen", which also means "little kit" in German.
+Kitgen is pronounced "kit-chen".
News
--- /dev/null
+# kbs.tcl -- Kitgen Build System
+#
+# Launch as "8.4/base-std/tclkit-cli kbs.tcl" to get a brief help text
+#
+# jcw, 2007-03-30
+
+cd [file dirname [info nameofexe]]
+
+proc kbs {command args} {
+ uplevel 1 ::kbs::$command $args
+}
+
+namespace eval kbs {}
+
+proc kbs::help {} {
+ puts {Kitgen Build System [$Id:$]
+
+ kbs ?help? this text
+ kbs list list all the extensions which can be built
+}
+}
+
+proc kbs::list {} {
+ puts [glob -directory ../../8.x -tails *.kbs]
+}
+
+# now process the command line to call one of the kbs::* procs
+namespace eval kbs {
+ set cmd [lindex $argv 0]
+ if {[info commands ::kbs::$cmd] ne ""} {
+ eval $argv
+ } elseif {$cmd eq ""} {
+ help
+ } else {
+ set cmdlist {}
+ foreach knowncmd [lsort [info commands ::kbs::*]] {
+ lappend cmdlist [namespace tail $knowncmd]
+ }
+ puts "'$cmd' not found, should be one of: [join $cmdlist {, }]"
+ exit 1
+ }
+}
#LDFLAGS = -framework CoreFoundation -framework Carbon -framework IOKit
#LDSTRIP = -x
+EXTDIR = ../../../../8.x
KITSRC = ../../kitInit.c ../../pwb.c ../../rechan.c ../../zlib.c \
../tcl/$(PLAT)/tclAppInit.c
STATIC = --disable-shared
threaded: build/threaddyn
build/threaddyn: build/tcl
mkdir -p $@ && cd $@ && CFLAGS="$(CFLAGS)" && export CFLAGS && \
- sh ../../../thread/configure $(TCLDIR) $(THREADDYN_OPTS) && \
+ sh $(EXTDIR)/thread/configure $(TCLDIR) $(THREADDYN_OPTS) && \
$(MAKE) install-binaries install-libraries
build/tk: build/tcl
build/tclvfs: build/tcl
mkdir -p $@ && cd $@ && CFLAGS="$(CFLAGS)" && export CFLAGS && \
- sh ../../../tclvfs/configure $(STATIC) $(TCLDIR) $(VFS_OPTS) && \
+ sh $(EXTDIR)/tclvfs/configure $(STATIC) $(TCLDIR) $(VFS_OPTS) && \
$(MAKE) install
build/vlerq: build/tcl
mkdir -p $@ && cd $@ && CFLAGS="$(CFLAGS)" && export CFLAGS && \
- sh ../../../vlerq/configure $(STATIC) $(TCLDIR) $(VLERQ_OPTS) && \
+ sh $(EXTDIR)/vlerq/configure $(STATIC) $(TCLDIR) $(VLERQ_OPTS) && \
$(MAKE) install
build/zlib: build/tcl
- cp -R ../zlib/. $@
+ cp -R ../../8.x/zlib/. $@
cd $@ && $(MAKE) install prefix=.. CC="$(CC)" CFLAGS="-O $(CFLAGS)"
base: build/tcl build/tk