Wykres commitów

13 Commity (astyle-formatting)

Autor SHA1 Wiadomość Data
Nate Bargmann 725ffde3a9 New document detailing source code formatting
New indentation and alignment rules and recommended formatting style for
the C and C++ source code.
2017-08-05 09:01:05 -05:00
Nate Bargmann 022ba0f48b Add preferred astylerc configuration
Astyle is a code formatting utility that can quickly reformat a source
file based on the settings of its configuration file.  The added
configuration file will format to a style mostly consistent with the
Linux Kernel Style guide:

https://www.kernel.org/doc/Documentation/CodingStyle

While conformance to this document is not the goal, it supplies a
reasonable set of guidelines to be used in Hamlib.
2016-02-14 13:40:35 -06:00
Nate Bargmann 342068fe38 Restore inclusion of libusb.dll
Also add libgcc_s_sjlj-1.dll required since Debian's MinGW was upgraded
to GCC 4.8.
2013-12-10 20:05:00 -06:00
Nate Bargmann 0eda2b55d1 No longer rely on pkg-config for libusb
Use AC_CHECK_LIB macro to search for libusb rather than rely on
pkg-config.  Preserve environment variables LIBUSB_CFLAGS and
LIBUSB_LIBS as user precious variables.  Two features,
--with-xml-support and --enable-usrp still rely on pkg-config so only
invoke pkg-config when either or both of these features are selected.
Only the Winradio g313 model uses libdl so test for it only when
Winradio backend is enabled.
2013-10-30 22:29:50 -05:00
Nate Bargmann 9210621c75 Remove dependency on libltdl
No longer depend on libltdl from the libtool package.  The
winradio/linradio/wg313api backend still depends on libdl, but since it
is only compiled on POSIX, it will use the POSIX supplied libdl.

Update documentation to remove references to libltdl.
2013-09-18 22:58:00 -05:00
Nate Bargmann d331253f42 build-win32.sh: Distribute hamlib.html
Distribute the Texinfo generated HTML manual which includes
documentation on rigctl, rotctl, rigctld, rotctld and no longer
distribute their respective PDF files in the MS Windows binary releases.
2013-04-26 22:37:16 -05:00
Nate Bargmann 95ec564af2 Disable static builds by default
Static libs are generally not wanted so disable their builds by default.
Remove references to '--disable-static' from documentation and example
scripts.
2012-10-11 09:17:58 -05:00
Nate Bargmann 52be3c47b8 Provide libltdl in source tarballs
Initializing libltdl is now done by the LTDL_INIT macro in configure.ac.
This now creates a libltdl directory in the tree (not tracked in Git)
when autoreconf is run.  The downside is that this complicates the build
a little bit with the advantage that the build can now take place on a
system that does not have libltdl-dev installed as Hamlib will build on
such systems by passing the '--with-included-ltdl' flag to the configure
script.  In particular, this simplifies the build on Linux for the mingw32
host by not having to run libtoolize manually and assures that libltdl
is built with the same build and host architectures as Hamlib.

Now check if '--with-included-ltdl' has been passed to configure and if
not, only then test for the presence of an installed ltdl.h.

Commented out AM_MAINTAINER_MODE macro.  It is recommended by the
Automake manual that this macro and its configure options not be used as
the Autotools system is designed to regenerate its files.  Let me know
if this is problem as it can be reversed easily enough.  The autogen.sh
script no longer passes the '--enable-maintainer-mode' option to
configure when bootstrapping the build system from Git.

Minor edits in configure.ac to improve readability.

Updated build-win32 files in scripts/
2012-10-07 08:31:10 -05:00
Nate Bargmann ca0899ddc5 Update hard coded version value--need to fix. 2012-02-04 19:40:34 -06:00
Nate Bargmann b2b4d312f8 Generate PDF documents from test utils man pages
Use groff and ps2pdf to generate PDF documetation from the nroff
formatted man pages for the utilities in tests/ and include them in the
generated ZIP archive.  Document the needed utilities and availability.
2011-06-21 13:38:39 -05:00
Nate Bargmann 11bf209038 Distribute scripts/ in source releases. 2011-06-20 22:26:27 -05:00
Nate Bargmann 72b46957aa Add build-VB.NET.sh and README files to scripts/
Removed README_VB as its info is now embedded in the build-VB.NET.sh
script and is output into a custom README file upon creation of the ZIP
archive.

Added README.scripts to document reason for the directory and included
scripts.
2011-06-20 21:35:06 -05:00
Nate Bargmann a4d84e3338 Add helper scripts/ directory
The scripts/ directory will contain helper scripts for building Hamlib
binary releases for Win32 and possibly other target platforms.  EAch
script should be accompanied by a companion README file with information
on the script and build requirements.

Initial release of build-win32.sh for building Win32 DLLs and EXEs for
use with MS VC++.
2011-06-19 20:12:35 -05:00