Differences From Artifact [2d66362eb1]:
- Executable file kitsh/build.sh — part of check-in [d2e00f0f73] at 2010-09-26 04:41:24 on branch trunk — Added support for specifying a STRIP environment variable (user: rkeene, size: 2342) [annotate] [blame] [check-ins using]
To Artifact [6be18087ad]:
- Executable file
kitsh/build.sh
— part of check-in
[fd276919ad]
at
2010-09-26 04:43:24
on branch trunk
— Fixed issue with zlib checking
Added support for checking for "tkbase.res.o" (present on Win32 builds) and adding to EXTRA_OBJS to link to the "kit" application (user: rkeene, size: 2778) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
31 32 33 34 35 36 37 |
cp -r 'buildsrc' 'build'
cd "${BUILDDIR}" || exit 1
# Cleanup, just incase the incoming directory was not pre-cleaned
${MAKE:-make} distclean >/dev/null 2>/dev/null
# Figure out if zlib compiled
| | | > > > > > > > > > > > > > > | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
cp -r 'buildsrc' 'build'
cd "${BUILDDIR}" || exit 1
# Cleanup, just incase the incoming directory was not pre-cleaned
${MAKE:-make} distclean >/dev/null 2>/dev/null
# Figure out if zlib compiled
ZLIBDIR="$(cd "${OTHERPKGSDIR}/zlib/inst" 2>/dev/null && pwd)"
export ZLIBDIR
if [ -z "${ZLIBDIR}" -o ! -f "${ZLIBDIR}/lib/libz.a" ]; then
unset ZLIBDIR
fi
# Include extra objects as required
## Initialize list of extra objects
EXTRA_OBJS=""
## 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
# Compile Kitsh
if [ -z "${ZLIBDIR}" ]; then
echo "./configure --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}"
./configure --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
else
|
| ︙ | ︙ |