From 001bfb96ef410c24927d04d6b294fe0a2aab4623 Mon Sep 17 00:00:00 2001 From: Dimitri Stolnikov Date: Tue, 27 Mar 2012 20:53:49 +0200 Subject: add autotools based build system --- src/Makefile.am | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/Makefile.am (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..4313876 --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,15 @@ +# This is _NOT_ the library release version, it's an API version. +# Please read Chapter 6 "Library interface versions" of the libtool documentation before making any modification +LIBVERSION=0:0:0 + +INCLUDES = $(all_includes) -I$(top_srcdir)/include +AM_CFLAGS = -fPIC -Wall + +lib_LTLIBRARIES = librtlsdr.la + +librtlsdr_la_SOURCES = rtl-sdr.c tuner_e4000.c tuner_fc0013.c +librtlsdr_la_LDFALGS = -version-info $(LIBVERSION) + +bin_PROGRAMS = rtl_sdr +rtl_sdr_SOURCES = main.c +rtl_sdr_LDADD = librtlsdr.la -- cgit v1.3.1