Tcl Extension Architecture (TEA) Sample Extension

Check-in [01c4815528]
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:Add TCLLIBPATH and friends to VALGRIND target. Use abs_top_build_dir instead of ".".
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 01c48155288944b2b0aadb4a6f7824dfe573a486dd89ad7e50c04719c7f61493
User & Date: pooryorick 2018-06-05 13:38:41
Context
2018-06-05
14:35
Refine the changes to the VALGRIND targets. check-in: 26c8d5fddd user: pooryorick tags: trunk
13:38
Add TCLLIBPATH and friends to VALGRIND target. Use abs_top_build_dir instead of ".". check-in: 01c4815528 user: pooryorick tags: trunk
2018-05-28
20:54
To avoid file permissions issues, perform RANLIB step before install step. check-in: 887db07569 user: pooryorick tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.in.

    79     79   DESTDIR		=
    80     80   
    81     81   PKG_DIR		= $(PACKAGE_NAME)$(PACKAGE_VERSION)
    82     82   pkgdatadir	= $(datadir)/$(PKG_DIR)
    83     83   pkglibdir	= $(libdir)/$(PKG_DIR)
    84     84   pkgincludedir	= $(includedir)/$(PKG_DIR)
    85     85   
    86         -top_builddir	= .
           86  +top_builddir	= @[email protected]
    87     87   
    88     88   INSTALL_OPTIONS	=
    89     89   INSTALL		= @[email protected] $(INSTALL_OPTIONS)
    90     90   INSTALL_DATA_DIR = @[email protected]
    91     91   INSTALL_DATA	= @[email protected]
    92     92   INSTALL_PROGRAM	= @[email protected]
    93     93   INSTALL_SCRIPT	= @[email protected]
................................................................................
   247    247   gdb:
   248    248   	$(TCLSH_ENV) gdb $(TCLSH_PROG) $(SCRIPT)
   249    249   
   250    250   VALGRINDARGS =	--tool=memcheck --num-callers=8 --leak-resolution=high \
   251    251   		--leak-check=yes --show-reachable=yes -v
   252    252   
   253    253   valgrind: binaries libraries
   254         -	$(TCLSH_ENV) valgrind $(VALGRINDARGS) $(TCLSH_PROG) \
          254  +	$(PKG_ENV) $(TCLSH_ENV) valgrind $(VALGRINDARGS) $(TCLSH_PROG) \
   255    255   		`@[email protected] $(srcdir)/tests/all.tcl` $(TESTFLAGS)
   256    256   
   257    257   valgrindshell: binaries libraries
   258    258   	$(TCLSH_ENV) valgrind $(VALGRINDARGS) $(TCLSH_PROG) $(SCRIPT)
   259    259   
   260    260   depend:
   261    261