diff options
author | hypnotoad <yoda@etoyoc.com> | 2014-09-02 11:03:32 (GMT) |
---|---|---|
committer | hypnotoad <yoda@etoyoc.com> | 2014-09-02 11:03:32 (GMT) |
commit | f7735792d01215199bd7144625150f9b6880822b (patch) | |
tree | 630f8dd325d7bd7a565721d63fce2094fb70f4b6 /unix/Makefile.in | |
parent | 9a6ca92c8b004a3023ddb692bd2f882d01fe408a (diff) | |
download | tk-f7735792d01215199bd7144625150f9b6880822b.zip tk-f7735792d01215199bd7144625150f9b6880822b.tar.gz tk-f7735792d01215199bd7144625150f9b6880822b.tar.bz2 |
Rather than make special executables, tkkits are now just a copy of wish with
an attached zipfile
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r-- | unix/Makefile.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index f21fdbb..9957701 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -210,6 +210,7 @@ BUILD_TCLSH = @BUILD_TCLSH@ EXE_SUFFIX = @EXEEXT@ TCL_EXE = @TCLSH_PROG@ WISH_EXE = wish${EXE_SUFFIX} +TKKIT_EXE = tkkit${EXE_SUFFIX} TKTEST_EXE = tktest${EXE_SUFFIX} # Tk used to let the configure script choose which program to use @@ -618,6 +619,13 @@ ${WISH_EXE}: $(TK_STUB_LIB_FILE) $(WISH_OBJS) $(TK_LIB_FILE) @APP_RSRC_FILE@ ${CC} ${CFLAGS} ${LDFLAGS} $(WISH_OBJS) @TK_BUILD_LIB_SPEC@ \ $(WISH_LIBS) $(CC_SEARCH_FLAGS) -o ${WISH_EXE} +${TKKIT_EXE}: ${WISH_EXE} + rm -f tkkit.zip + PWD=`pwd` + cd ${prefix}/lib ; zip -rAq ${PWD}/tkkit.zip tcl8 tcl8.6 tk8.6 + cp -f ${WISH_EXE} ${TKKIT_EXE} + cat tkkit.zip >> ${TKKIT_EXE} + # Resetting the LIB_RUNTIME_DIR below is required so that # the generated tktest executable gets the build directory # burned into its ld search path. This keeps tktest from |