summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authormdejong <mdejong>2001-11-11 03:21:24 (GMT)
committermdejong <mdejong>2001-11-11 03:21:24 (GMT)
commit904dc05e2d57b6693f8e2f56791b1c72a28edadb (patch)
treeec383ba82b29d004551926c34a652db7150b5288 /win
parentd1b8e1178cde9bd9858bd427a2dcc665ad903152 (diff)
downloadtk-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 'win')
-rw-r--r--win/Makefile.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/win/Makefile.in b/win/Makefile.in
index 6f81cd4..c8b4c4c 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -4,7 +4,7 @@
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.44 2001/09/10 03:23:54 mdejong Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.45 2001/11/11 03:21:24 mdejong Exp $
TCLVERSION = @TCL_VERSION@
VERSION = @TK_VERSION@
@@ -397,6 +397,14 @@ shell: $(WISH)
PATH="$(PATH):$(TCL_BIN_DIR)"; export PATH; \
./$(WISH) $(SCRIPT)
+# This target can be used to run wish inside either gdb or insight
+gdb: $(WISH)
+ @echo "set env TCL_LIBRARY=$(TCL_SRC_DIR_NATIVE)/library" > gdb.run
+ @echo "set env TK_LIBRARY=$(ROOT_DIR_NATIVE)/library" >> gdb.run
+ PATH="$(PATH):$(TCL_BIN_DIR)"; export PATH; \
+ gdb ./$(WISH) --command=gdb.run
+ rm gdb.run
+
install: all install-binaries install-libraries install-doc install-demos
install-binaries: binaries