Commit graph

24 commits

Author SHA1 Message Date
Daniele Forsi IU5HKX
567d6f27f4 Add rule to build libmisc.la 2025-09-18 19:18:15 +02:00
Daniele Forsi IU5HKX
ad824fa85e Remove duplicated assignment of compilation flags
Fixes a double "-g -O2 -g -O2" in compiler invocation.
2025-05-09 22:39:17 +02:00
Daniele Forsi IU5HKX
c7ba4f5384 Fix --without-cxx-binding being ignored
Do not build the C++ bindings if the configure script was called
with the option --without-cxx-binding.
2025-05-09 22:37:35 +02:00
Daniele Forsi IU5HKX
56eea198be Remove unneeded test script testcpp.sh
Library directory ../dummy/.libs doesn't exist anymore and ../c++/.libs
(a.k.a. .libs) is already used by the libtool wrapper script that runs
the testcpp program.
2025-05-08 23:51:47 +02:00
Daniele Forsi IU5HKX
5c05881e0e Add rules to build dependencies of libhamlib.la in other directories
This makes it possible to run "make -C src/" or "make -C tests/ rigctl"
or "make -C bindings/ check" (and so on) in a clean tree, but it doesn't
rebuild those targets if libhamlib.la is changed; for this run make from
the top directory as usual, to rebuild all SUBDIRS if needed.
2025-05-08 23:51:47 +02:00
Michael Black W9MDB
82126a4f09 Phase 1 of changing sprintflst functions to use buffer length
https://github.com/Hamlib/Hamlib/issues/580
2021-03-03 08:03:18 -06:00
Michael Black W9MDB
65a9895361 Fix c++ make check when -static flag is used 2021-02-08 12:54:10 -06:00
Nate Bargmann
81775bc03d Add library paths for tests.
Richard Sahw, KF5OIM, reported a failure in the C++ test when attempting
to build an RPM package in a clean environment.  This patch amends the
LD_LIBRARY_PATH in the generated shell scripts in the c++ and tests
directories.
2015-09-03 12:03:53 -05:00
Nate Bargmann
6ea09a138a Clean up build system, fix test programs
Clean up various left over commented lines from dlopen to single
libhamlib transition.  Remove unneeded configure variables.

Correct minor inconsistencies in Makefile.am files.

Define a new variable, READLINE_LIBS, so that only programs that offer
Readline support are linked against it.

Fix various compilation warnings and errors in test files revealed with
'make check' on MinGW.

Define rig and rotor backends to (mostly) be built in alphabetical
order.
2013-12-10 20:14:22 -06:00
Nate Bargmann
69c2ceb957 Set LD_LIBRARY_PATH for test programs
Setting LD_LIBRARY_PATH for testcpp and testrig in the generated test
shell scripts corrects a long-standing bug that broke 'make check'.

Add Hamlib_design.eps to allow 'make dvi' to succeed when running
'make distcheck'.
2013-05-07 22:22:07 -05:00
Nate Bargmann
0232e30fc0 ABI backward compatibility enhancement
Use the libtool link mode argument '-version-info' to set the Hamlib 3
ABI to be compatible with Hamlib 1.2 ABI.  As the current ABI has not
been changed or removed, we should be able to maintain backward
compatibility.  The libtool docs state that so long as the ABI is only
added to, backward compatibility should be maintained.

My idea here is to be able to have presently compiled programs be able
to use binary libraries of Hamlib 3 without recompiling.  So far I have
tested this locally on Linux and Windows.  More testing is welcome.
2012-10-08 13:07:35 -05:00
Nate Bargmann
deda9ccc4a Set versions for 1.3.0~alpha 2011-06-08 21:01:23 -05:00
Stéphane Fillod, F8CFE
43c2084e31 drop the release version from shared library name
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2085 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-03-06 23:02:38 +00:00
Stéphane Fillod, F8CFE
1c47d9ced6 follow frontend ABI version
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1681 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-02-09 22:05:51 +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
771f3d896c bump version info, testcpp is TEST
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1239 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-04 22:17:48 +00:00
Stéphane Fillod, F8CFE
440ebc0c99 build only when requested
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1206 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-10-07 21:55:28 +00:00
Stéphane Fillod, F8CFE
01b565d2b3 testcpp moved from ../tests
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@913 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 14:45:52 +00:00
Stéphane Fillod, F8CFE
1fa554a818 added Rotator class
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@874 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-16 22:44:18 +00:00
Stéphane Fillod, F8CFE
382c69b2bd cleaned up static build and flags, introduced lib version 0:0:0
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@772 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-19 03:31:53 +00:00
Stéphane Fillod, F8CFE
dc9487a284 static/dynamic build fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@744 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:07:54 +00:00
Stéphane Fillod, F8CFE
897e3582e4 misc dep update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@699 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-22 20:33:11 +00:00
Stéphane Fillod, F8CFE
fdec672130 workaround for automake/libtool install bug?
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@601 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-21 13:03:13 +00:00
Stéphane Fillod, F8CFE
398c0d580a Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@550 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-15 06:58:12 +00:00