Differences From Artifact [47f9c339e5]:
- Executable file
kitdll/build.sh
— part of check-in
[2dbaa7246a]
at
2010-09-30 09:25:08
on branch trunk
— Added Tk support
Added wish test driver
Fixed issue with stripping KitDLL
Minor cleanup (user: rkeene, size: 2077) [annotate] [blame] [check-ins using]
To Artifact [e1e2ad264c]:
- Executable file kitdll/build.sh — part of check-in [83003c57a9] at 2010-10-01 04:41:49 on branch trunk — Updated to link DLL and wish/tclsh against tkbase.res.o from Wish if building Tk (user: rkeene, size: 2787) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
cp -r "${OTHERPKGSDIR}"/*/out/* 'starpack.vfs/'
## Rename the "vfs" package directory to what "boot.tcl" expects
mv 'starpack.vfs/lib'/vfs* 'starpack.vfs/lib/vfs'
## Install "boot.tcl"
cp 'boot.tcl' 'starpack.vfs/'
# Build KitDLL
echo "Running: ./configure --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}"
./configure --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
echo "Running: ${MAKE:-make}"
${MAKE:-make} TCLSH_NATIVE="${TCLSH_NATIVE}" || exit 1
| > > > > > > > > > > > > > > > > > > > > > > | 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
cp -r "${OTHERPKGSDIR}"/*/out/* 'starpack.vfs/'
## Rename the "vfs" package directory to what "boot.tcl" expects
mv 'starpack.vfs/lib'/vfs* 'starpack.vfs/lib/vfs'
## Install "boot.tcl"
cp 'boot.tcl' 'starpack.vfs/'
# Include extra objects as required
## Initialize list of extra objects
EXTRA_OBJS=""
## Figure out if zlib compiled (if not, the system zlib will be used and we
## will need to have that present)
ZLIBDIR="$(cd "${OTHERPKGSDIR}/zlib/inst" 2>/dev/null && pwd)"
export ZLIBDIR
if [ -n "${ZLIBDIR}" -a -f "${ZLIBDIR}/lib/libz.a" ]; then
EXTRA_OBJS="${EXTRA_OBJS} ${ZLIBDIR}/lib/libz.a"
fi
## Tk Resources (needed for Win32 support)
TKDIR="$(cd "${OTHERPKGSDIR}/tk/inst" && pwd)"
TKRSRC="${TKDIR}/lib/tkbase.res.o"
if [ -n "${TKDIR}" -a -f "${TKRSRC}" ]; then
EXTRA_OBJS="${EXTRA_OBJS} ${TKRSRC}"
fi
## Export to the environment, to be picked up by the "configure" script
export EXTRA_OBJS
# Build KitDLL
echo "Running: ./configure --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}"
./configure --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
echo "Running: ${MAKE:-make}"
${MAKE:-make} TCLSH_NATIVE="${TCLSH_NATIVE}" || exit 1
|
| ︙ | ︙ |