summaryrefslogtreecommitdiffstats
path: root/unix/dltest
diff options
context:
space:
mode:
authormdejong <mdejong>2002-07-16 22:44:42 (GMT)
committermdejong <mdejong>2002-07-16 22:44:42 (GMT)
commite46c639416a00a4f912e570ce4609ae79b10a447 (patch)
treec9beb615e2e6295797502be11dc9c58c43c9102c /unix/dltest
parent997cbc8e44adfb82f296221d13d45f79714f745b (diff)
downloadtcl-e46c639416a00a4f912e570ce4609ae79b10a447.zip
tcl-e46c639416a00a4f912e570ce4609ae79b10a447.tar.gz
tcl-e46c639416a00a4f912e570ce4609ae79b10a447.tar.bz2
* unix/Makefile.in: Use dltest.marker file
to keep track of when the dltest package is up to date. This fixes [Tcl bug 575768] since tcltest is no longer linked every time. * unix/dltest/Makefile.in: Create ../dltest.marker after a successful `make all` run in dltest.
Diffstat (limited to 'unix/dltest')
-rw-r--r--unix/dltest/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/unix/dltest/Makefile.in b/unix/dltest/Makefile.in
index 5d0776e..f9dd775 100644
--- a/unix/dltest/Makefile.in
+++ b/unix/dltest/Makefile.in
@@ -1,7 +1,7 @@
# This Makefile is used to create several test cases for Tcl's load
# command. It also illustrates how to take advantage of configuration
# exported by Tcl to set up Makefiles for shared libraries.
-# RCS: @(#) $Id: Makefile.in,v 1.10 2002/06/06 19:45:47 mdejong Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.11 2002/07/16 22:44:43 mdejong Exp $
TCL_DBGX = @TCL_DBGX@
CC = @CC@
@@ -22,6 +22,7 @@ CC_SWITCHES = $(CFLAGS) -I${SRC_DIR}/../../generic -DTCL_MEM_DEBUG \
${SHLIB_CFLAGS} -DUSE_TCL_STUBS ${AC_FLAGS}
all: pkga${SHLIB_SUFFIX} pkgb${SHLIB_SUFFIX} pkgc${SHLIB_SUFFIX} pkgd${SHLIB_SUFFIX} pkge${SHLIB_SUFFIX}
+ @touch ../dltest.marker
pkga${SHLIB_SUFFIX}: $(SRC_DIR)/pkga.c
$(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkga.c
@@ -44,7 +45,8 @@ pkge${SHLIB_SUFFIX}: $(SRC_DIR)/pkge.c
${SHLIB_LD} -o pkge${SHLIB_SUFFIX} pkge.o ${SHLIB_LD_LIBS}
clean:
- rm -f *.o *${SHLIB_SUFFIX} config.cache config.log config.status lib.exp
+ rm -f *.o *${SHLIB_SUFFIX} config.cache config.log config.status
+ rm -f lib.exp ../dltest.marker
distclean: clean
rm -f Makefile