diff options
author | mdejong <mdejong@noemail.net> | 2002-07-16 22:44:42 (GMT) |
---|---|---|
committer | mdejong <mdejong@noemail.net> | 2002-07-16 22:44:42 (GMT) |
commit | d1bbe26303472ef014682732b16fe09afe9f728e (patch) | |
tree | c9beb615e2e6295797502be11dc9c58c43c9102c /unix/dltest | |
parent | 9a42afa6b4a7fdb10b9f6eb608a87771c139fba2 (diff) | |
download | tcl-d1bbe26303472ef014682732b16fe09afe9f728e.zip tcl-d1bbe26303472ef014682732b16fe09afe9f728e.tar.gz tcl-d1bbe26303472ef014682732b16fe09afe9f728e.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.
FossilOrigin-Name: 8e674b1fe2633a597612723e118b6b1fdd956b55
Diffstat (limited to 'unix/dltest')
-rw-r--r-- | unix/dltest/Makefile.in | 6 |
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 |