Tcl Extension Architecture (TEA) Sample Extension

Check-in [2a4d988206]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Put valgrind back into a var.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 2a4d98820686bc67d2dd9561b79dafcf45061f450771c48743927a84d9b291c7
User & Date: stu 2018-06-15 19:37:00
Context
2018-06-15
20:20
Missing .PHONYs. check-in: 97ba416ca2 user: stu tags: trunk
19:37
Put valgrind back into a var. check-in: 2a4d988206 user: stu tags: trunk
19:34
Tidy. check-in: 2d41f1db6d user: stu tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.in.

   164    164   CPPFLAGS	= @[email protected]
   165    165   LIBS		= @[email protected] @[email protected]
   166    166   AR		= @[email protected]
   167    167   CFLAGS		= @[email protected]
   168    168   COMPILE		= $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
   169    169   
   170    170   GDB		= gdb
          171  +VALGRIND	= valgrind
   171    172   VALGRINDARGS	= --tool=memcheck --num-callers=8 --leak-resolution=high \
   172    173   		  --leak-check=yes --show-reachable=yes -v
   173    174   
   174    175   .SUFFIXES: .c .$(OBJEXT)
   175    176   
   176    177   #========================================================================
   177    178   # Start of user-definable TARGETS section
................................................................................
   255    256   	$(TCLSH_ENV) $(PKG_ENV) $(GDB) \
   256    257   		--args $(TCLSH_PROG) `@[email protected] $(srcdir)/tests/all.tcl` \
   257    258   		$(TESTFLAGS) -singleproc 1 \
   258    259   		-load "package ifneeded $(PACKAGE_NAME) $(PACKAGE_VERSION) \
   259    260   			[list load `@[email protected] $(PKG_LIB_FILE)` $(PACKAGE_NAME)]"
   260    261   
   261    262   valgrind: binaries libraries
   262         -	$(TCLSH_ENV) $(PKG_ENV) valgrind $(VALGRINDARGS) $(TCLSH_PROG) \
          263  +	$(TCLSH_ENV) $(PKG_ENV) $(VALGRIND) $(VALGRINDARGS) $(TCLSH_PROG) \
   263    264   		`@[email protected] $(srcdir)/tests/all.tcl` $(TESTFLAGS)
   264    265   
   265    266   valgrindshell: binaries libraries
   266         -	$(TCLSH_ENV) $(PKG_ENV) valgrind $(VALGRINDARGS) $(TCLSH_PROG) $(SCRIPT)
          267  +	$(TCLSH_ENV) $(PKG_ENV) $(VALGRIND) $(VALGRINDARGS) $(TCLSH_PROG) $(SCRIPT)
   267    268   
   268    269   depend:
   269    270   
   270    271   #========================================================================
   271    272   # $(PKG_LIB_FILE) should be listed as part of the BINARIES variable
   272    273   # mentioned above.  That will ensure that this target is built when you
   273    274   # run "make binaries".