diff options
author | mdejong <mdejong> | 2004-09-23 20:02:36 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2004-09-23 20:02:36 (GMT) |
commit | 910d08025cdac3f37d7cf798cee2b634f6ebd711 (patch) | |
tree | d47e4ebc1cfed1945789d9f3df34faef78e8863e /unix/dltest | |
parent | 4f322d5b3ce0b5f7a1c8dd8dd0871b23eb879f1f (diff) | |
download | tcl-910d08025cdac3f37d7cf798cee2b634f6ebd711.zip tcl-910d08025cdac3f37d7cf798cee2b634f6ebd711.tar.gz tcl-910d08025cdac3f37d7cf798cee2b634f6ebd711.tar.bz2 |
* unix/dltest/Makefile.in (clean): Fixup make clean
rule so that it does not delete all files when
SHLIB_SUFFIX is set to the empty string in a static build.
[Bug 1016726]
Diffstat (limited to 'unix/dltest')
-rw-r--r-- | unix/dltest/Makefile.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/unix/dltest/Makefile.in b/unix/dltest/Makefile.in index 6db2f6a..06f4345 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.14 2004/05/26 22:51:58 hobbs Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.15 2004/09/23 20:02:50 mdejong Exp $ TCL_DBGX = @TCL_DBGX@ CC = @CC@ @@ -49,8 +49,12 @@ pkgua${SHLIB_SUFFIX}: $(SRC_DIR)/pkgua.c ${SHLIB_LD} -o pkgua${SHLIB_SUFFIX} pkgua.o ${SHLIB_LD_LIBS} clean: - rm -f *.o *${SHLIB_SUFFIX} config.cache config.log config.status + rm -f *.o config.cache config.log config.status rm -f lib.exp ../dltest.marker + @if test "$(SHLIB_SUFFIX)" != ""; then \ + echo "rm -f *${SHLIB_SUFFIX}" ; \ + rm -f *${SHLIB_SUFFIX} ; \ + fi distclean: clean rm -f Makefile |