2012-03-27 20:53:49 +02:00
|
|
|
# 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
|
2013-06-04 21:04:10 +02:00
|
|
|
LIBVERSION=0:5:0
|
2012-03-27 20:53:49 +02:00
|
|
|
|
2014-01-21 06:49:05 +01:00
|
|
|
AUTOMAKE_OPTIONS = subdir-objects
|
2012-03-27 20:53:49 +02:00
|
|
|
INCLUDES = $(all_includes) -I$(top_srcdir)/include
|
2014-01-26 13:49:39 +01:00
|
|
|
noinst_HEADERS = convenience/convenience.h
|
2012-06-13 01:29:37 +02:00
|
|
|
AM_CFLAGS = ${CFLAGS} -fPIC ${SYMBOL_VISIBILITY}
|
2012-03-27 20:53:49 +02:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = librtlsdr.la
|
|
|
|
|
2013-11-04 21:50:02 +01:00
|
|
|
librtlsdr_la_SOURCES = librtlsdr.c tuner_e4k.c tuner_fc0012.c tuner_fc0013.c tuner_fc2580.c tuner_r82xx.c
|
2012-05-14 20:48:25 +02:00
|
|
|
librtlsdr_la_LDFLAGS = -version-info $(LIBVERSION)
|
2012-03-27 20:53:49 +02:00
|
|
|
|
2013-08-20 03:25:56 +02:00
|
|
|
bin_PROGRAMS = rtl_sdr rtl_tcp rtl_test rtl_fm rtl_eeprom rtl_adsb rtl_power
|
2012-05-06 00:34:13 +02:00
|
|
|
|
2014-01-21 06:49:05 +01:00
|
|
|
rtl_sdr_SOURCES = rtl_sdr.c convenience/convenience.c
|
2012-03-27 20:53:49 +02:00
|
|
|
rtl_sdr_LDADD = librtlsdr.la
|
2012-04-19 17:46:52 +02:00
|
|
|
|
2014-01-21 06:49:05 +01:00
|
|
|
rtl_tcp_SOURCES = rtl_tcp.c convenience/convenience.c
|
2012-04-19 17:46:52 +02:00
|
|
|
rtl_tcp_LDADD = librtlsdr.la
|
2012-05-17 23:51:59 +02:00
|
|
|
|
2014-01-21 06:49:05 +01:00
|
|
|
rtl_test_SOURCES = rtl_test.c convenience/convenience.c
|
2012-10-24 17:31:22 +02:00
|
|
|
rtl_test_LDADD = librtlsdr.la $(LIBM)
|
2012-07-17 20:41:27 +02:00
|
|
|
|
2014-01-21 06:49:05 +01:00
|
|
|
rtl_fm_SOURCES = rtl_fm.c convenience/convenience.c
|
2012-07-17 20:41:27 +02:00
|
|
|
rtl_fm_LDADD = librtlsdr.la $(LIBM)
|
2012-11-02 21:47:14 +01:00
|
|
|
|
2014-01-21 06:49:05 +01:00
|
|
|
rtl_eeprom_SOURCES = rtl_eeprom.c convenience/convenience.c
|
2012-11-02 21:47:14 +01:00
|
|
|
rtl_eeprom_LDADD = librtlsdr.la $(LIBM)
|
2012-12-09 23:41:20 +01:00
|
|
|
|
2014-01-21 06:49:05 +01:00
|
|
|
rtl_adsb_SOURCES = rtl_adsb.c convenience/convenience.c
|
2012-12-27 23:14:14 +01:00
|
|
|
rtl_adsb_LDADD = librtlsdr.la $(LIBM)
|
2013-08-20 03:25:56 +02:00
|
|
|
|
2014-01-21 06:49:05 +01:00
|
|
|
rtl_power_SOURCES = rtl_power.c convenience/convenience.c
|
2013-08-20 03:25:56 +02:00
|
|
|
rtl_power_LDADD = librtlsdr.la $(LIBM)
|