diff options
author | ericm <ericm> | 2000-03-30 19:02:31 (GMT) |
---|---|---|
committer | ericm <ericm> | 2000-03-30 19:02:31 (GMT) |
commit | 56e8792ef11a51b6ce082136867b60e2189cc999 (patch) | |
tree | 7da0948c16584f4c3d747fd14f6d6ed0d4f2f980 /unix/Makefile.in | |
parent | 1e80b03098719125228a0114b3b1a0cd8e1e00c3 (diff) | |
download | tk-56e8792ef11a51b6ce082136867b60e2189cc999.zip tk-56e8792ef11a51b6ce082136867b60e2189cc999.tar.gz tk-56e8792ef11a51b6ce082136867b60e2189cc999.tar.bz2 |
* unix/configure.in: Applied patch from [Bug: 4237]; ensures that
srcdir is fully qualified.
* unix/Makefile.in: Applied patch from [Bug: 4237]; if tcltest was
not compiled, make test/tktest failed. Now it has a rule to build
tcltest if it has not been built.
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r-- | unix/Makefile.in | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index 5fa8bcc..e35d14b 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -5,7 +5,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.42 2000/03/02 23:53:07 hobbs Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.43 2000/03/30 19:02:31 ericm Exp $ # Current Tk version; used in various names. @@ -384,7 +384,13 @@ wish: $(WISH_OBJS) $(TK_LIB_FILE) $(TK_STUB_LIB_FILE) @TK_BUILD_LIB_SPEC@ \ $(WISH_LIBS) $(TK_CC_SEARCH_FLAGS) -o wish -tktest: $(TKTEST_OBJS) $(TK_LIB_FILE) +# This rule is executed if the user tried to run tktest without first +# building tcltest in the Tcl bin directory. Just do it for them. +${TCL_BIN_DIR}/tcltest: + cd ${TCL_BIN_DIR} ; \ + make tcltest + +tktest: ${TCL_BIN_DIR}/tcltest $(TKTEST_OBJS) $(TK_LIB_FILE) ${CC} @LDFLAGS@ $(TKTEST_OBJS) \ @TK_BUILD_LIB_SPEC@ \ $(WISH_LIBS) $(TK_CC_SEARCH_FLAGS) -o tktest @@ -409,7 +415,7 @@ test: tktest ./tktest $(TOP_DIR)/tests/all.tcl -geometry +0+0 $(TCLTESTARGS) # Useful target to launch a built tktest with the proper path,... -runtest: +runtest: tktest LD_LIBRARY_PATH=`pwd`:${TCL_BIN_DIR}:${LD_LIBRARY_PATH}; \ export LD_LIBRARY_PATH; \ LIBPATH=`pwd`:${TCL_BIN_DIR}:${LIBPATH}; export LIBPATH; \ |