summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authorhypnotoad <yoda@etoyoc.com>2014-09-04 01:50:41 (GMT)
committerhypnotoad <yoda@etoyoc.com>2014-09-04 01:50:41 (GMT)
commit0a4b9ca9d871f2b473eb1a4b742687f4f02d68a3 (patch)
tree1d50d2e48a1c2ac539cad9aea8497fd2ecf9593b /unix/Makefile.in
parent8e9fbefe6e69fc053fa7f2f42681391ab72f4796 (diff)
downloadtk-0a4b9ca9d871f2b473eb1a4b742687f4f02d68a3.zip
tk-0a4b9ca9d871f2b473eb1a4b742687f4f02d68a3.tar.gz
tk-0a4b9ca9d871f2b473eb1a4b742687f4f02d68a3.tar.bz2
Tweaks for tkkits under Unix.
tkkit is now compiled like wish or tktest. Kit-specific behavior is now wrapped in macros
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 11e4073..c2a03ce 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -623,9 +623,13 @@ null.zip:
touch .empty
zip null.zip .empty
-${TKKIT_EXE}: ${WISH_EXE} null.zip
+${TKKIT_EXE}: $(TK_STUB_LIB_FILE) $(TK_LIB_FILE) @APP_RSRC_FILE@ null.zip
+ rm -f tkKitInit.o
+ $(CC) -c $(APP_CC_SWITCHES) \
+ -DTCL_KIT $(UNIX_DIR)/tkAppInit.c -o tkKitInit.o
+ ${CC} ${CFLAGS} ${LDFLAGS} tkKitInit.o @TK_BUILD_LIB_SPEC@ \
+ $(WISH_LIBS) $(CC_SEARCH_FLAGS) -o ${TKKIT_EXE}
PWD=`pwd`
- cp -f ${WISH_EXE} ${TKKIT_EXE}
cat null.zip >> ${TKKIT_EXE}
cd ${prefix}/lib ; zip -rAq ${PWD}/${TKKIT_EXE} tcl8 tcl8.6 tk8.6