added instructions how to compile on OSX

Hamlib-3.1
dh1tw 2016-05-09 02:15:36 +02:00
rodzic 62a90596dc
commit f5f35800ec
2 zmienionych plików z 37 dodań i 0 usunięć

32
README.osx 100644
Wyświetl plik

@ -0,0 +1,32 @@
OSX Builds
----------
To compile Hamlib on OSX you have to install autoconf, automake and libtool.
The easiest way to install them is via the brew packet manager.
http://brew.sh
Once brew is installed, execute
$ brew install automake autoconf libtool
Build
-----
Execute autogen.sh with the desired flags
$ ./autogen.sh
Then compile the hamlib files
$ ./make
Hint: "./make -jx" with x for the amount of CPU cores will speed up the
compilation
Install hamlib
--------------
Install the Hamlib libraries and executables
$ sudo ./make install

Wyświetl plik

@ -13,6 +13,11 @@ LIBTOOLIZE=libtoolize
AUTORECONF=autoreconf
AUTOMAKE=automake
# Check if we compile on OSX and resolve the name conflict with
# Apple's tool for creating Mach-O dynamic libraries.
case `uname` in Darwin*) LIBTOOLIZE=glibtoolize ;; esac
# variables below this line should not need modification
SRCDIR=`dirname "$0"`
test -z "$SRCDIR" && SRCDIR=.