[Starkit] just a thought

Rene Zaumseil r.zaumseil at freenet.de
Fri Mar 9 09:37:24 CET 2007


Hi,

currently I can create tclkits with the new kitgen approach.
To create starkits of binary extensions I still have to do a seperate compile.

Why not include these in the kitgen process and build platform specific 
starkits?

This is p.e. a patch of "makefile.include" to create sqlite:

SHARED = --enable-shared
INSTALLDIR = `uname`-`uname -m`
$(INSTALLDIR):
        mkdir -p $(INSTALLDIR)
build/sqlite: build/tcl $(INSTALLDIR)
        mkdir -p $@ && cd $@ && CFLAGS="$(CFLAGS)" && export CFLAGS && \
          sh ../../../sqlite-3_3_13-tea/configure $(SHARED) $(TCLDIR) && \
          $(MAKE) install-binaries && \
          cp -r ../lib/sqlite3.3.13 ../../$(INSTALLDIR)

What do you think?

The binary is from "http:://www.sqlite.org/sqlite-3_3_13-tea.tar.gz".


rene
r.zaumseil at freenet.de


More information about the Starkit mailing list