Nate Bargmann
f1c0267867
Apply silent rules to LUA
...
Use $(LUA) to run luatest.lua.
2017-07-27 16:48:03 -05:00
Nate Bargmann
2ef6d5ce0e
Apply silent rules to Perl to the extent possible
...
Run the perltest.pl script for the check-perl test.
2017-07-27 15:54:57 -05:00
Nate Bargmann
7f76171259
Apply silent rule variables to Python
2017-07-27 15:08:22 -05:00
Nate Bargmann
21a86f429e
Fix TCL script test target--check-tcl
...
Found that when nothing was installed that check-tcl failed with a
failure of tclsh not being able to load the shared library. Thanks to
assistance from comp.lang.tcl, copying pkgIndex.tcl to $(builddir)/.libs
prior to loading the test script allows the script to load the shared
library immediately after 'make' and before 'make install'.
Prefixed various TCL section target commands with either $(AM_V_GEN) or
$(AM_V_at) to conditionally silence the output of 'make'.
2017-07-27 14:44:40 -05:00
Nate Bargmann
4f9085f8f5
Bindings tweaks for Python and TCL
...
Remove execute bits for all test scripts and install them into
doc/examples.
Make sure check-py and check-tcl targets work.
Set a conditional for Python3 or Python2 and install/test the correct
script file.
Use Makefile variables instead of configure substitutions wherever
possible.
Generate tcltest.tcl at make time to insert installation library path
into the script so that tests pass.
2017-07-26 06:33:42 -05:00
Nate Bargmann
a2a873bbc9
Update ax_python_devel.m4 macro
...
Also reorder its call in configure.ac which now allows the PYTHON_VERSION
environment variable to be recognized and processed correctly by the
build system.
Correctly add PYTHON_LIBS (correct ouput variable of AX_PYTHON_DEVEL) to the
Makefile for the Python bindings.
Update README.python for use of PYTHON_VERSION.
2017-07-23 10:52:16 -05:00
Nate Bargmann
6e3b79fc69
Initial Python3 build steps and test script
...
The increasing popularity of Python3 requires that Hamlib provide a
means of instruction for building and installing its module concurrent
with the Python2 module. README.python outlines the required steps.
py3test.py is a reworking of the pytest.py script for Python3 syntax.
2017-07-19 21:17:34 -05:00
Ervin Hegedus
2b657e7c9d
Added Lua binding and demo script
2016-12-13 16:28:41 -06:00
Richard Shaw
c2337d9597
Fix location of custom Python bindings.
...
I have a small patch to correct the install location of the python
bindings.
Since it's not a pure python extension is belongs in pyexecdir instead
of pythondir, which for multilib systems like Fedora will get installed
into /usr/lib64/python{ver}/site-packages on 64bit systems.
This is consistent with the automake documentation:
http://www.gnu.org/software/automake/manual/html_node/Python.html
(Patch adjusted by n0nb for Hamlib 3.0 bindings/Makefile.am)
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2014-09-08 20:48:38 -05:00
Nate Bargmann
44d99a61cd
Build system fixes for the Perl/Python/TCL bindings
...
Various fixes for building the bindings properly.
Install TCL binding to $(libdir)/tcl/Hamlib, arbitrarily chosen since
there seems to be no standard installation location. When install
location is changed, tcltest.tcl documents the needed change to a TCL
script.
In the Perl and Python test scripts, improved the QRA examples. In all
scripts used tabs to line up printed values nicely.
Updated INSTALL and NEWS for recent updates. Better documented bindings
installation and uninstallation in INSTALL.
2012-11-28 17:11:41 -06:00
Nate Bargmann
aa504fe024
bindings/Makefile.am: Group variables and targets
2012-11-19 14:30:48 -06:00
Nate Bargmann
a62d40647e
bindings/Makefile.am: Fix 'make dist'
...
'make dist' was broken by the previous patch. Now tell Automake not to
build or distribute Hamlib.py.
2012-11-19 12:10:25 -06:00
Nate Bargmann
00aaaf4c50
configure.ac: Clean up the binding builds a bit.
...
A Perl file was being compile whether Perl binding was enabled or not.
Fixed that and configured an AM_CONDITIONAL for Perl so its components
will not be built when it is not enabled.
2012-11-17 08:45:16 -06:00
Nate Bargmann
33f25820ac
Fix bindings build by replacing *all* INCLUDES!
2012-02-04 07:51:25 -06:00
Nate Bargmann
a5f13e0056
Set AC_PREREQ to 2.67, enable Automake warnings
...
Deprecate the use of the INCLUDES variable in favor of the AM_CPPFLAGS
variable per Automake warnings and documentation.
2012-02-03 22:09:45 -06:00
Stéphane Fillod, F8CFE
a02cf50c71
fix simple make dist
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2906 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-04 22:18:11 +00:00
Stéphane Fillod, F8CFE
3de1b6918d
fix build when tcl binding selected but not python
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2903 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-02 21:55:00 +00:00
Thomas Beierlein, DL1JBE
28eb7c00b0
Fix for python install path. Goes now to .../site-packages where it belongs.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2855 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-14 15:01:09 +00:00
Stéphane Fillod, F8CFE
9b363f9c96
Make building tcl-bindings optional
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2684 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-03-23 22:49:45 +00:00
Thomas Beierlein, DL1JBE
bd65eb907e
fix for gcc warnings: dereferencing type-punned pointer will break strict-aliasing rules"
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2369 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-06-26 15:23:06 +00:00
Stéphane Fillod, F8CFE
1cba659924
allow perl binding to find libhamlib in src, but nuke LD_RUN_PATH, hence preventing any rpath backdoor
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2360 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-17 16:36:54 +00:00
Stéphane Fillod, F8CFE
24e179a397
partly fix dependencies
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2350 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 21:36:33 +00:00
Joop Stakenborg, PG4I
6486540e36
no need to link to python
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2259 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-27 19:55:19 +00:00
Nate Bargmann, N0NB
dcefad2213
Revert change in bindings/Makefile.am that broke autogen.sh
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2175 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-01-27 02:14:00 +00:00
Diane Bruce, VA3DB
456b899b2b
- first cut at fixing configure to recognise --without-tcl-binding
...
and --without-python-binding options
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2173 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-12-27 04:41:39 +00:00
Nate Bargmann, N0NB
fcf1546fdd
20061108:
...
Update:
Commented out the commands to the uninstall-perl target
as it's broken and causes a make error and failure.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2161 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-11-09 04:32:35 +00:00
Nate Bargmann, N0NB
d7e04abffd
20061106:
...
Update:
Fix distclean bug in bindings Makefile
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2158 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-11-07 04:28:26 +00:00
Joop Stakenborg, PG4I
00610b3321
remove rpath backdoor
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2102 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-04-10 17:27:42 +00:00
Stéphane Fillod, F8CFE
1a47b54ec9
fix problem: build bindings libs as real LT libs and not convenience libs(ar format) with some automake/libtool
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2060 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-01-15 14:22:00 +00:00
Stéphane Fillod, F8CFE
2f18531e26
check for Python presence
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2012 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-13 18:56:19 +00:00
Stéphane Fillod, F8CFE
81d9a7b369
allow to select indivial bindings to build, patch by Hargobind S. Khalsa
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1960 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-03 17:06:37 +00:00
Stéphane Fillod, F8CFE
7f7b2c6dd6
VB script
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1774 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-01 21:18:23 +00:00
Stéphane Fillod, F8CFE
0972851aaf
new install methods
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1675 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-02-08 17:52:59 +00:00
Stéphane Fillod, F8CFE
2da3150ecb
gr_swig.m4 macro
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1598 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-16 22:09:38 +00:00
Stéphane Fillod, F8CFE
870f016e0a
added python binding initial support
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1521 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-25 22:26:08 +00:00
Stéphane Fillod, F8CFE
9976a1a143
add rotator and lists in deps
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1488 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-06-22 19:54:06 +00:00
Stéphane Fillod, F8CFE
4067b4db71
VPATH build fix, tcl build fix
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1456 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-23 22:17:19 +00:00
Stéphane Fillod, F8CFE
bc27cdd523
Reworked. Use perl install helper
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1426 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-06 18:43:48 +00:00
Stéphane Fillod, F8CFE
3497d098a5
misc Makefile fixes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1282 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-13 20:39:07 +00:00
Stéphane Fillod, F8CFE
b219e102f7
VPATH build, avoid version on modules
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1238 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-04 22:16:19 +00:00
Stéphane Fillod, F8CFE
87803995c7
VPATH and distcheck fixes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1233 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-10-31 01:43:22 +00:00
Stéphane Fillod, F8CFE
42a8b5409c
do not distribute swig'generated files
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1231 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-10-31 00:47:31 +00:00
Stéphane Fillod, F8CFE
03160aa72f
more work on swig bindings, nearly every calls supported, some chan wrapping missing, and also lists
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1200 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-10-07 21:44:51 +00:00
Stéphane Fillod, F8CFE
dee8c252f4
Initial release
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1165 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-09-08 22:31:01 +00:00