summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authorhobbs <hobbs>2010-08-27 01:00:23 (GMT)
committerhobbs <hobbs>2010-08-27 01:00:23 (GMT)
commit150c641fd97016ea9763332fb13122e5351f546b (patch)
tree686c4c1b59bacb749c96c6194ee837401443e058 /unix/Makefile.in
parent155e123e4e947abf2377f6ee66f2326843155394 (diff)
downloadtk-150c641fd97016ea9763332fb13122e5351f546b.zip
tk-150c641fd97016ea9763332fb13122e5351f546b.tar.gz
tk-150c641fd97016ea9763332fb13122e5351f546b.tar.bz2
* unix/Makefile.in: add valgrind target
* unix/configure, unix/tcl.m4: SHLIB_LD_LIBS='${LIBS}' for OSF1-V*. Add /usr/lib64 to set of auto-search dirs. [Bug 1230554] (SC_PATH_X): Correct syntax error when xincludes not found.
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index b2f9086..56fcaf3 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.169 2010/08/12 00:34:56 hobbs Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.170 2010/08/27 01:00:23 hobbs Exp $
# Current Tk version; used in various names.
@@ -683,6 +683,14 @@ gdb: ${WISH_EXE}
gdb ./${WISH_EXE} --command=gdb.run
rm gdb.run
+VALGRINDARGS=--tool=memcheck --num-callers=8 --leak-resolution=high --leak-check=yes --show-reachable=yes -v
+
+valgrind: tktest@EXEEXT@
+ $(SHELL_ENV) valgrind $(VALGRINDARGS) ./tktest${EXE_SUFFIX} $(TEST_DIR)/all.tcl -geometry +0+0 -singleproc 1 $(TESTFLAGS)
+
+valgrindshell: tktest@EXEEXT@
+ $(SHELL_ENV) valgrind $(VALGRINDARGS) ./tktest${EXE_SUFFIX} $(SCRIPT)
+
INSTALL_TARGETS = install-binaries install-libraries install-demos install-doc @EXTRA_INSTALL@
install: $(INSTALL_TARGETS)