Check-in [8d94c2989e]
Overview
Comment:Removed building shared verions of code

Added support for passing arguments to child "configure" scripts

Added Solaris compile support

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:8d94c2989e89cffa47f28cd4404409471063316d
User & Date: rkeene on 2010-09-26 04:37:46
Other Links: manifest | tags
Context
2010-09-26
04:37
Added a GNU autoconf script for building the kitsh check-in: 04784f0fe8 user: rkeene tags: trunk
04:37
Removed building shared verions of code

Added support for passing arguments to child "configure" scripts

Added Solaris compile support check-in: 8d94c2989e user: rkeene tags: trunk

04:37
KitCreator 0.0.1.x

Added release procedure scripts check-in: a1b05ba814 user: rkeene tags: trunk, 0.0.1

Changes

Modified kitcreator from [bee88e3dbf] to [22d82c1327].

     1      1   #! /bin/bash
     2      2   
     3      3   TCLVERS="8.4.19"
     4      4   export TCLVERS
     5      5   
     6      6   mode="build"
     7      7   if [ "$1" = "clean" ]; then
            8  +	shift
            9  +
     8     10   	mode="clean"
     9     11   fi
    10     12   if [ "$1" = "distclean" ]; then
           13  +	shift
           14  +
    11     15   	mode="distclean"
    12     16   fi
    13     17   
           18  +CONFIGUREEXTRA="$@"
           19  +export CONFIGUREEXTRA
           20  +
    14     21   failedpkgs=""
    15     22   buildfailed="0"
    16     23   for pkg in tcl tk itcl mk4tcl tclvfs kitsh; do
    17     24   	if [ "${mode}" = "distclean" ]; then
    18     25   		rm -rf "${pkg}/src"
    19     26   	fi
    20     27   

Modified kitsh/build.sh from [bdca019302] to [9c9a954427].

    24     24   
    25     25   (
    26     26   	cp -r 'buildsrc' 'build'
    27     27   	cd "${BUILDDIR}" || exit 1
    28     28   
    29     29   	# Compile all objects...
    30     30   	## TODO: XXX: Need to replace this with a configure script
    31         -	${CC:-cc} ${CPPFLAGS} ${CFLAGS} -I${TCLCONFIGDIR} -I${TCLCONFIGDIR}/../generic -o kit *.c $(find "${OTHERPKGSDIR}" -name '*.a' | grep '/inst/') ${LDFLAGS} -lz -lm -ldl  -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic
           31  +	${CC:-cc} ${CPPFLAGS} ${CFLAGS} -I${TCLCONFIGDIR} -I${TCLCONFIGDIR}/../generic -o kit *.c $(find "${OTHERPKGSDIR}" -name '*.a' | grep '/inst/') ${LDFLAGS} -lz -lm -ldl  -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic || \
           32  +	${CC:-cc} ${CPPFLAGS} ${CFLAGS} -I${TCLCONFIGDIR} -I${TCLCONFIGDIR}/../generic -o kit *.c $(find "${OTHERPKGSDIR}" -name '*.a' | grep '/inst/') ${LDFLAGS} -lz -lm -ldl -lnsl -lsocket -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic
    32     33   	strip kit >/dev/null 2>/dev/null
    33     34   
    34     35   	# Create VFS directory
    35     36   	mkdir "starpack.vfs"
    36     37   	mkdir "starpack.vfs/lib"
    37     38   
    38     39   	## Copy in all built directories

Modified mk4tcl/build.sh from [4b3c985883] to [bcf44c2ad0].

    36     36   
    37     37   	cd "${BUILDDIR}/unix" || exit 1
    38     38   
    39     39   	# Build static libraries for linking against Tclkit
    40     40   	./configure --disable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}/../generic" ${CONFIGUREEXTRA}
    41     41   	"${MAKE:-make}" tcllibdir="${INSTDIR}/lib" || exit 1
    42     42   	"${MAKE:-make}" tcllibdir="${INSTDIR}/lib" install
    43         -	"${MAKE:-make}" tcllibdir="${INSTDIR}/lib" distclean
    44     43   
    45         -	# Build shared object version (only used for non-Kit loading)
    46         -	./configure --enable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}/../generic" ${CONFIGUREEXTRA}
    47         -	"${MAKE:-make}" tcllibdir="${INSTDIR}/lib" || exit 1
    48         -	"${MAKE:-make}" tcllibdir="${INSTDIR}/lib" install
    49         -
           44  +	exit 0
    50     45   ) || exit 1
    51     46   
    52     47   exit 0

Modified tclvfs/build.sh from [f64effe9ee] to [f3b15d2312].

    38     38   	cp generic/vfs.c .
    39     39   
    40     40   	# Build static version
    41     41   	./configure --disable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
    42     42   	"${MAKE:-make}" || exit 1
    43     43   	"${MAKE:-make}" install
    44     44   
    45         -	# Build shared version
    46         -	./configure --enable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
    47         -	"${MAKE:-make}" || exit 1
    48         -	"${MAKE:-make}" install
    49         -
    50     45   	mkdir "${OUTDIR}/lib" || exit 1
    51     46   	cp -r "${INSTDIR}/lib"/vfs*/ "${OUTDIR}/lib/"
    52     47   	rm -f "${OUTDIR}/lib"/vfs*/*.a "${OUTDIR}/lib"/vfs*/*.so
           48  +
           49  +	exit 0
    53     50   ) || exit 1
    54     51   
    55     52   exit 0