summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in12
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