Overview
| Comment: | Added an LDFLAGS_ADD environment variable to add options to the end of the linking command line |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
e8e77fe2505c8cc157e2a1551ccca26c |
| User & Date: | rkeene on 2012-07-14 23:29:59 |
| Other Links: | manifest | tags |
Context
|
2012-07-14
| ||
| 23:30 | Fixed missing export check-in: 9467bd623b user: rkeene tags: trunk | |
| 23:29 | Added an LDFLAGS_ADD environment variable to add options to the end of the linking command line check-in: e8e77fe250 user: rkeene tags: trunk | |
| 23:23 | Updated to allow setting variables for individual sub-projects check-in: 9fce84fc29 user: rkeene tags: trunk | |
Changes
Modified kitsh/build.sh from [440fd45f77] to [462ca525a2].
| ︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | + |
BUILDDIR="$(pwd)/build/kitsh-${KITSHVERS}"
OUTDIR="$(pwd)/out"
INSTDIR="$(pwd)/inst"
OTHERPKGSDIR="$(pwd)/../"
export KITSHVERS BUILDDIR OUTDIR INSTDIR OTHERPKGSDIR
# Set configure options for this sub-project
LDFLAGS_ADD="${KC_KITSH_LDFLAGS_ADD}"
LDFLAGS="${KC_KITSH_LDFLAGS}"
CFLAGS="${KC_KITSH_CFLAGS}"
CPPFLAGS="${KC_KITSH_CPPFLAGS}"
LIBS="${KC_KITSH_LIBS}"
export LDFLAGS CFLAGS CPPFLAGS LIBS
if [ -z "${ENABLECOMPRESSION}" ]; then
|
| ︙ |
Modified kitsh/buildsrc/kitsh-0.0/Makefile.common.in from [89e8fa6548] to [79dfb5dde5].
| ︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | + | ARCHS = @ARCHS@ STRIPLIBS = @STRIPLIBS@ @EXTRA_OBJS@ EXTRA_OBJS = @EXTRA_OBJS@ LDRUNPATH = @LDRUNPATH@ EXTRA_KIT_DEPS = @EXTRA_KIT_DEPS@ EXTRA_VFS_OBJS = @EXTRA_VFS_OBJS@ TCLSH_NATIVE = tclsh LDFLAGS_ADD = @LDFLAGS_ADD@ # Build targets ## VFS Build cvfs_data_tcl.o: cvfs_data_tcl.c cvfs_data_tcl.c: dir2c.tcl starpack.vfs cvfs_data.c "$(TCLSH_NATIVE)" dir2c.tcl tcl starpack.vfs > cvfs_data_tcl.c |
| ︙ |
Modified kitsh/buildsrc/kitsh-0.0/Makefile.kitdll.in from [903bfeecb6] to [05829b4d07].
1 2 3 4 5 6 7 8 9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | - + | OBJS = kitInit.o rechan.o pwb.o zlib.o # Default target all: libtclkit@KITDLL_LIB_VERSION@.@SHOBJEXT@ -include Makefile.common ## DLL Build libtclkit@KITDLL_LIB_VERSION@.@SHOBJEXT@: $(OBJS) $(EXTRA_KIT_DEPS) $(EXTRA_OBJS) $(EXTRA_VFS_OBJS) |
| ︙ |
Modified kitsh/buildsrc/kitsh-0.0/Makefile.tclkit.in from [9a850eafbd] to [846104f661].
1 2 3 4 5 6 7 | 1 2 3 4 5 6 7 8 | - + | OBJS = kitInit.o main.o pwb.o rechan.o zlib.o winMain.o all: kit -include Makefile.common kit: $(OBJS) $(EXTRA_OBJS) $(EXTRA_KIT_DEPS) $(EXTRA_VFS_OBJS) $(ARCHS) |
Modified kitsh/buildsrc/kitsh-0.0/configure.ac from [651eab0d38] to [f213e421dc].
| ︙ | |||
188 189 190 191 192 193 194 195 196 197 198 199 200 201 | 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | + |
dnl Add appropriate dependencies
EXTRA_KIT_DEPS="cvfs.tcl.h"
EXTRA_VFS_OBJS="${EXTRA_VFS_OBJS} cvfs_data_tcl.o"
]
)
AC_SUBST(EXTRA_KIT_DEPS)
AC_SUBST(LDFLAGS_ADD)
dnl Put correct Makefile template in place
rm -f Makefile.in
cp Makefile.${TARGET}.in Makefile.in
dnl Produce output
AC_OUTPUT(Makefile Makefile.common)
|