summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authorhypnotoad <yoda@etoyoc.com>2014-11-15 14:48:22 (GMT)
committerhypnotoad <yoda@etoyoc.com>2014-11-15 14:48:22 (GMT)
commite1db3fcbdeac8ad795d2d381e2a220a8e5faee5b (patch)
treebed0bdd0089d48e9bb2222632e2e240106eee308 /unix/Makefile.in
parent4ec0703eaed08fe2c28d1fc08fe5ed4121e8b319 (diff)
downloadtcl-e1db3fcbdeac8ad795d2d381e2a220a8e5faee5b.zip
tcl-e1db3fcbdeac8ad795d2d381e2a220a8e5faee5b.tar.gz
tcl-e1db3fcbdeac8ad795d2d381e2a220a8e5faee5b.tar.bz2
Added the C implementation of the zipvfs encoder that was originally bundled into
the zvfs.c file as a separate tool.
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 291f73b..fd9b548 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -285,7 +285,7 @@ LIBS = @TCL_LIBS@
DEPEND_SWITCHES = ${CFLAGS} -I${UNIX_DIR} -I${GENERIC_DIR} \
${AC_FLAGS} ${PROTO_FLAGS} ${EXTRA_CFLAGS} @EXTRA_CC_SWITCHES@
-TCLSH_OBJS = tclAppInit.o tclZipVfs.o tclZipVfsBoot.o
+TCLSH_OBJS = tclAppInit.o tclZipVfs.o tclZipVfsBoot.o tclZipTools.o
TCLTEST_OBJS = tclTestInit.o tclTest.o tclTestObj.o tclTestProcBodyObj.o \
tclThreadTest.o tclUnixTest.o
@@ -662,14 +662,14 @@ basekit.vfs:
"$(UNIX_DIR)/basekit.vfs/boot/tcl" "$(TOP_DIR)" unix
# Builds an executable directly from the Tcl sources
-${BASEKIT_EXE}: ${TCLSH_OBJS} ${OBJS} ${ZLIB_OBJS} basekit.vfs
+${BASEKIT_EXE}: ${TCLSH_OBJS} ${OBJS} ${ZLIB_OBJS} ${TCL_EXE} basekit.vfs
${CC} ${CFLAGS} ${LDFLAGS} \
${TCLSH_OBJS} ${OBJS} ${ZLIB_OBJS} \
${LIBS} @EXTRA_TCLSH_LIBS@ \
${CC_SEARCH_FLAGS} -o ${BASEKIT_EXE}_bare
- @echo zipping...
- @$(TCL_EXE) ../tools/mkzip.tcl ${BASEKIT_EXE} \
+ @echo zipping... $(TCL_EXE)
+ ./$(TCL_EXE) ../tools/mkzip.tcl ${BASEKIT_EXE} \
-runtime ${BASEKIT_EXE}_bare \
-directory basekit.vfs
chmod a+x ${BASEKIT_EXE}
@@ -1362,6 +1362,9 @@ tclZipVfs.o: $(GENERIC_DIR)/tclZipVfs.c
tclZipVfsBoot.o: $(GENERIC_DIR)/tclZipVfsBoot.c
$(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tclZipVfsBoot.c
+tclZipTools.o: $(GENERIC_DIR)/tclZipTools.c
+ $(CC) -c $(CC_SWITCHES) $(ZLIB_INCLUDE) $(GENERIC_DIR)/tclZipTools.c
+
tclZlib.o: $(GENERIC_DIR)/tclZlib.c
$(CC) -c $(CC_SWITCHES) $(ZLIB_INCLUDE) $(GENERIC_DIR)/tclZlib.c