aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: 200990a204fd400f273bfac01297f842cc27dc3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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:5:0

AUTOMAKE_OPTIONS = subdir-objects
INCLUDES = $(all_includes) -I$(top_srcdir)/include
noinst_HEADERS = convenience/convenience.h
AM_CFLAGS = ${CFLAGS} -fPIC ${SYMBOL_VISIBILITY}

lib_LTLIBRARIES = librtlsdr.la

librtlsdr_la_SOURCES = librtlsdr.c tuner_e4k.c tuner_fc0012.c tuner_fc0013.c tuner_fc2580.c tuner_r82xx.c
librtlsdr_la_LDFLAGS = -version-info $(LIBVERSION)

bin_PROGRAMS         = rtl_sdr rtl_tcp rtl_test rtl_fm rtl_eeprom rtl_adsb rtl_power

rtl_sdr_SOURCES      = rtl_sdr.c convenience/convenience.c
rtl_sdr_LDADD        = librtlsdr.la

rtl_tcp_SOURCES      = rtl_tcp.c convenience/convenience.c
rtl_tcp_LDADD        = librtlsdr.la

rtl_test_SOURCES      = rtl_test.c convenience/convenience.c
rtl_test_LDADD        = librtlsdr.la $(LIBM)

rtl_fm_SOURCES      = rtl_fm.c convenience/convenience.c
rtl_fm_LDADD        = librtlsdr.la $(LIBM)

rtl_eeprom_SOURCES      = rtl_eeprom.c convenience/convenience.c
rtl_eeprom_LDADD        = librtlsdr.la $(LIBM)

rtl_adsb_SOURCES      = rtl_adsb.c convenience/convenience.c
rtl_adsb_LDADD        = librtlsdr.la $(LIBM)

rtl_power_SOURCES     = rtl_power.c convenience/convenience.c
rtl_power_LDADD       = librtlsdr.la $(LIBM)