Wykres commitów

19 Commity (revert-38-master)

Autor SHA1 Wiadomość Data
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
Ladislav Vaiz f632695131 Android build updates for monolithic build
Android is now built as a static library.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-09-19 07:25:08 -05:00
Nate Bargmann 332a04b7cd Clean up backend Makefile.am files
Moved all backend *.h files into the SOURCES primary as Automake
documentation states all source file types should be listed.  This
causes Automake to include *.h files in rebuild rules for the targets.

Removed the '-DIN_HAMLIB' assignment from the CFLAGS primary in each
backend and assigned it to AM_CPPFLAGS in configure.ac.  The effect is
the same and it simplifies the backend Makefile.am files.

Removed all commented lines.
2013-09-16 21:51:39 -05:00
Nate Bargmann 36f5f4cf6a Revert to previous handling of getaddrinfo()
Use the system gettaddrinfo function when possible as before.  Tested on
GNU, Cygwin, MinGW on Linux, and MinGW on Windows.  Under MinGW the
replacement getaddrinfo is used.  Perhaps this is an area for
investigation to be certain MinGW really doesn't supply getaddrinfo.
This reverts some of the patches from Remi Chateauneu in commit
60019c9.  This fixes build issues encountered building the Windows
binary daily snapshots.

Enabled static library build by default at configure time.

Fixed pthread library linking for the ars backend on MinGW.
2013-09-15 19:47:49 -05:00
Remi Chateauneu 60019c9444 Monolitic libraries. 2013-09-08 14:56:28 +01:00
Nate Bargmann ea97c7c3e9 Preserve CFLAGS & CXXFLAGS for the configure user
The Automake manual makes it clear that certain user variables such as
CC, CFLAGS, CXXFLAGS, CPPFLAGS, and so on are to be preserved for the
user running configure.  This patch cleans up such assignments and
assures that PTHREAD_CFLAGS and so forth are applied to those targets
that require it.
2013-05-25 06:00:36 -05:00
Nate Bargmann 2d6361397b Link to Pthread-win32 library in MinGW
The AX_PTHREAD macro sets the PTHREAD_LIBS variable, however we were not
providing this variable to the needed *_LDFLAGS variable.  With the
addition of PTHREAD_LIBS, rigctld and rotctld are now multi-threaded on
MS Windows.  Tested on Windows 2000, Windows XP, and Windows 7.
2013-05-17 21:34:24 -05:00
Ladislav Vaiz 6d4295af2c Add Android build support
Android makefile fragments are distributed as extra distribution files
by the GNU build system but are otherwise ignored.  The Android build
support is independent and does not rely on the GNU build system.

See android/README.android for more info.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-04-26 22:31:56 -05:00
Nate Bargmann 9eb74acd14 Update LGPL header in ARS source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:34 -05:00
Kamal Mostafa, KA6MAL 2567b93af7 Move backend libraries into /usr/lib/hamlib directory.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2988 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-26 02:23:50 +00:00
Stéphane Fillod, F8CFE a6e646cfa8 renamed ARS-RCI AZ&EL, and introduce new backend ARS-RCI azimuth-only
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2937 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-31 21:15:58 +00:00
Stéphane Fillod, F8CFE 13da145b7f - set adc resolution to 10 bits
- fix EL watchdog


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2925 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-27 21:16:15 +00:00
Stéphane Fillod, F8CFE f8de70f0b3 only trigger set_pos thread handler on demand
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2923 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-26 20:09:31 +00:00
Stéphane Fillod, F8CFE 7a42ff1b85 asynchronous set_position() using thread
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2920 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-25 21:02:16 +00:00
Stéphane Fillod, F8CFE efd45500b8 increase clocking speed, esp. making ars_get_pos() faster
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2919 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-25 06:56:52 +00:00
Stéphane Fillod, F8CFE 6cbd65d3fe * introduce settling delay when changing direction
* set_pos: AZ range is now +/- 3 deg to hopefully take into account latency
* added watchdog detecting when rotator is blocked unexpectedly
* need a full dummy read in ars_get_position


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2910 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-08 21:25:29 +00:00
Stéphane Fillod, F8CFE 44b5bb78c9 Bug report from Chris (G3WIE), with fix in ars_set_position(az),
and fresh acquisition in ars_get_position.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2905 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-04 21:42:13 +00:00
Stéphane Fillod, F8CFE 7fe961974a remove autogenerated file
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2901 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-26 20:10:26 +00:00
Stéphane Fillod, F8CFE a81145dd96 first release of ARS-RCI
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2898 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-25 21:30:17 +00:00