diff options
author | mdejong <mdejong> | 2001-11-11 03:21:24 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2001-11-11 03:21:24 (GMT) |
commit | 904dc05e2d57b6693f8e2f56791b1c72a28edadb (patch) | |
tree | ec383ba82b29d004551926c34a652db7150b5288 /unix | |
parent | d1b8e1178cde9bd9858bd427a2dcc665ad903152 (diff) | |
download | tk-904dc05e2d57b6693f8e2f56791b1c72a28edadb.zip tk-904dc05e2d57b6693f8e2f56791b1c72a28edadb.tar.gz tk-904dc05e2d57b6693f8e2f56791b1c72a28edadb.tar.bz2 |
* unix/Makefile.in:
* win/Makefile.in: Add "make gdb" target. This target
can run wish inside either gdb or insight.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/Makefile.in | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index 4b1f53e..541f74b 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.55 2001/11/09 07:14:23 mdejong Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.56 2001/11/11 03:21:24 mdejong Exp $ # Current Tk version; used in various names. @@ -468,6 +468,16 @@ shell: wish TK_LIBRARY=@TK_SRC_DIR@/library; export TK_LIBRARY; \ ./wish $(SCRIPT) +# This target can be used to run wish inside either gdb or insight +gdb: wish + @echo "set env LD_LIBRARY_PATH=`pwd`:${TCL_BIN_DIR}:${LD_LIBRARY_PATH}" > gdb.run + @echo "set env LIBPATH=`pwd`:${TCL_BIN_DIR}:${LIBPATH}" >> gdb.run + @echo "set env SHLIB_PATH=`pwd`:${TCL_BIN_DIR}:${SHLIB_PATH}" >> gdb.run + @echo "set env TCL_LIBRARY=@TCL_SRC_DIR@/library" >> gdb.run + @echo "set env TK_LIBRARY=@TK_SRC_DIR@/library" >> gdb.run + gdb ./wish --command=gdb.run + rm gdb.run + install: all install-binaries install-libraries install-demos install-doc # Note: before running ranlib below, must cd to target directory because |