aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
AgeCommit message (Collapse)AuthorFilesLines
2020-05-04build: Improve coverage supportSteve Bennett1-3/+13
Disable optimisation during coverage. Set CCACHE_DISABLE=1 in the environment, just to be sure to disable ccache Also cleanup coverage files in subdirs too Add support for both lcov and gcovr Signed-off-by: Steve Bennett <steveb@workware.net.au>
2020-04-17build: Add ./configure --coverageSteve Bennett1-0/+14
To make it easier to generate code coverage output. Ensure that gcovr is installed, then do: ./configure --coverage make test coverage And see the report in coverage.html Signed-off-by: Steve Bennett <steveb@workware.net.au>
2019-11-06build: improve build for shared objectsSteve Bennett1-96/+1
Rather than listing the build rules for each shared object (loadable module) in the Makefile template, generate the build rules in configure. Also, if an extension is configured as a module, any automatic dependencies required by the extension are configured as modules by default. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2018-07-28distclean: Remove generated tests/MakefileSteve Bennett1-1/+1
2018-07-25Update autosetup to v0.6.8Steve Bennett1-5/+5
autosetup changes: - The syntax for templates has changed slightly - Update config.guess and config.sub to 2018-03-08 - Add rpath support - Add --runstatedir Also: - enable rpath when building libjim as shared - ensure that 'make test' works on MacOS when libjim is shared Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-11-27build: Fix out-of-tree buildsSteve Bennett1-1/+1
Was broken by the support for --silent-rules Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-11-26build: Support --silent-rulesSteve Bennett1-42/+99
And enable silent rules by default if using GNU make. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-11-25build: During install, make sure pkgconfig dir existsSteve Bennett1-0/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-10-17signal, exec, wait, pid: improvements, especially to execSteve Bennett1-1/+1
- fix popen [open "|pipeline ..."] to return meaningful status in close (but note that stderr is not captured) - popen pipelines can now be used as the target of exec redirection - overally improvements to exec on windows. Now crt file descriptors are used throughout - add support for [pid], [wait] and popen on windows - os.wait is now wait, and integrates with [exec ... &] to be able to wait for running background tasks - [socket pipe] is now also [pipe] and is supported on windows - [file tempfile] is supported on windows - move duplicated code between jim-aio.c and jim-exec.c to jimiocompat.c - Fix [exec] on windows to match unix semantics wrt sharing the parent stream unless redirected rather than using /dev/null - On windows redirect to or from /dev/null is automatically converted to NUL: - If signal support is disabled, implement a minimal Jim_SignalId() for exec and wait - aio now supports getfd, to return the underlying file descriptor. This is used by exec to support redirection, and allows popen channels to support exec redirection. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-09-13docs: Remove Last Modified footer - take 2Steve Bennett1-1/+1
More reliable way to remove the footer Reported-by: Bernhard M. Wiedemann <bwiedemann@suse.de> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-09-13docs: Remove Last Modified footerSteve Bennett1-2/+2
For reproducible builds Reported-by: Bernhard M. Wiedemann <bwiedemann@suse.de> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-11-19build: remove jimtcl.pc on distcleanSteve Bennett1-0/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-17Add pkg-config support: jimtcl.pcSteve Bennett1-0/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-13Fix distclean of jimsh0 when building not in source dirEvan Hunter1-1/+1
2016-10-09docs: Only try to build Tcl.html if asciidoc is foundSteve Bennett1-11/+24
Otherwise install the shipped docs with a warning. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-06Fix makefile dependenciesEvan Hunter1-1/+1
Not all objects were dependent on the Makefile/headers, so the following build sequence resulted in failure: ./configure CFLAGS="--coverage" LDFLAGS="--coverage" && make ./configure && make
2016-10-06Fix test target for out-of-tree buildsEvan Hunter1-1/+1
2016-09-09utf8: Extract wide char data from EastAsianWidth.txtSteve Bennett1-1/+1
Rather than using a hard-coded table Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-05Add utf-8 display width infoSteve Bennett1-1/+1
Needed when using linenoise line editing with utf-8 support Note that variable width support is not yet added to linenoise Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-08-28zlib: fix build of --with-mod=zlibSteve Bennett1-0/+4
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-08-26Add support for sub-interpretersSteve Bennett1-0/+4
Includes support for aliases in sub-interp These are not identical to Tcl interp, but are conceptually very similar For example: set i [interp] $i alias localcmd parentcmd arg1 $i eval { localcmd x } Invokes: parentcmd arg1 x Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-08-17Don't unconditionally define _GNU_SOURCESteve Bennett1-2/+2
Also, fix build if JIM_OPTIMIZATION is disabled Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-04-29add support for configure --docdirSteve Bennett1-2/+3
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-04-06ensure that tests can find tcltest.tclSteve Bennett1-1/+1
Reported-By: Stuart Cassoff <stwo@bell.net> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-10-15Install tcltest compatibility packageSteve Bennett1-1/+1
Allow 3rd party tests to be written and use: package require tcltest Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-05-12Makefile.in: pass CPPFLAGS where appropriatePaul Fertser1-1/+1
CPPFLAGS is a standard variable to pass additional preprocessor-related parameters. Debian build system uses that to add -D_FORTIFY_SOURCE=2 and then checks the buildlogs to ensure the command line contained all the fortification parameters (they use "-fstack-protector --param=ssp-buffer-size=4" for CFLAGS). Example blhc output before the fix: CPPFLAGS missing (-D_FORTIFY_SOURCE=2): cc -D_GNU_SOURCE -Wall -I. -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c -o _load-static-exts.o _load-static-exts.c Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2014-04-29Makefile.in: add LIBS handlingPaul Fertser1-2/+3
In the autoconf universe LDFLAGS are used for all linker flags, and LIBS are used to specify additional libraries. Autosetup has support for that but Makefile.in needs to honour them too. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2014-01-17build: make check is now an alias for make testSteve Bennett1-1/+1
Compatibility with some build systems Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-01-17build: remove shared libjim on cleanSteve Bennett1-1/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-12-21Avoid .eh_frame bloat with newer gccSteve Bennett1-2/+2
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-11-19Allow install programs to be overriddenSteve Bennett1-13/+19
Signed-off-by: Stuart Cassoff <stwo@bell.net> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-08-23Unbreak shared build on Windows. Collect all version ids to auto.def.Vadim Zborovskii1-3/+6
2013-08-12Bump version to 0.75Steve Bennett1-2/+2
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-07-22Fix --shared buildSteve Bennett1-1/+1
Need to include the version in the name of the library to match the link line Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-07-22Update documentation and version to 0.74Steve Bennett1-1/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-06-12Fix hardcoded install pathsSteve Bennett1-17/+17
Many path inside the makefile are hardcoded, replace them with the appropriate variables. (Main purpose: '$prefix/lib' is simply wrong on 64bit systems). Reported-by: Markus Mayer <lotharlutz@gmx.de> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-06-12Give libjim.so an sonameSteve Bennett1-1/+1
Reported-by: Markus Mayer <lotharlutz@gmx.de> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-06-12Don't remove _*.c files during buildSteve Bennett1-3/+2
It can be easier for debugging if these files are left around. They are still deleted by make clean. Reported-By: Markus Mayer <lotharlutz@gmx.de> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-05-18Allow docs not to be built/installedSteve Bennett1-3/+9
With --disable-docs Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-05-18Fix installation of Tcl modulesSteve Bennett1-1/+2
When building out of tree Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-03-30Makefile.in: Depend on the headersLauri Kasanen1-1/+1
Removes the need to do a "make clean" after changing jim.h or other headers. Signed-off-by: Lauri Kasanen <cand@gmx.com>
2012-01-10build-jim-ext should be removed on distcleanSteve Bennett1-3/+3
not clean, since it is generated by ./configure Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-16cygwin also wants shared libraries named .dllSteve Bennett1-1/+1
And other minor changes for windows platforms
2011-12-13mingw requires shared libs to have a .dll extensionSteve Bennett1-1/+1
Otherwise they can't be linked with -l Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-12Better dynamic extension buildingSteve Bennett1-0/+4
If libjim is built shared, ensure that all symbols are resolved. This can't be done if libjim is built static. Also, build-jim-ext now shows stderr from the compiler and linker Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-12Remove old sqlite0 extensionSteve Bennett1-4/+0
Anything older than sqlite3 is no longer worth supporting Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-08Add support for tcl::prefix as an optional extensionSteve Bennett1-0/+4
Also adds Jim_ListGetIndex(), like Jim_ListIndex() but with a more convenient interface
2011-12-01Remove reference to jim-nvp.h from Makefile.inSteve Bennett1-1/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-11-29Ensure that 'make test' works out-of-treeSteve Bennett1-2/+2
If --shared is enabled Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-11-29Remove trailing white spaceSteve Bennett1-8/+8
Signed-off-by: Steve Bennett <steveb@workware.net.au>