-# 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 = ${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_r820t.c
-librtlsdr_la_LDFLAGS = -version-info $(LIBVERSION)
-
-bin_PROGRAMS = rtl_sdr rtl_tcp rtl_test rtl_fm rtl_eeprom rtl_adsb rtl_433
-
-rtl_sdr_SOURCES = rtl_sdr.c
-rtl_sdr_LDADD = librtlsdr.la
-
-rtl_tcp_SOURCES = rtl_tcp.c
-rtl_tcp_LDADD = librtlsdr.la
-
-rtl_test_SOURCES = rtl_test.c
-rtl_test_LDADD = librtlsdr.la $(LIBM)
-
-rtl_fm_SOURCES = rtl_fm.c
-rtl_fm_LDADD = librtlsdr.la $(LIBM)
-
-rtl_eeprom_SOURCES = rtl_eeprom.c
-rtl_eeprom_LDADD = librtlsdr.la $(LIBM)
+bin_PROGRAMS = rtl_433
-rtl_adsb_SOURCES = rtl_adsb.c
-rtl_adsb_LDADD = librtlsdr.la $(LIBM)
+rtl_433_SOURCES = baseband.c \
+ bitbuffer.c \
+ data.c \
+ pulse_demod.c \
+ pulse_detect.c \
+ rtl_433.c \
+ util.c \
+ devices/acurite.c \
+ devices/alecto.c \
+ devices/ambient_weather.c \
+ devices/blyss.c \
+ devices/brennenstuhl_rcs_2044.c \
+ devices/calibeur.c \
+ devices/cardin.c \
+ devices/current_cost.c \
+ devices/chuango.c \
+ devices/danfoss.c \
+ devices/dsc.c \
+ devices/ec3k.c \
+ devices/efergy_e2_classic.c \
+ devices/efergy_optical.c \
+ devices/elro_db286a.c \
+ devices/elv.c \
+ devices/emontx.c \
+ devices/esperanza_ews.c \
+ devices/fineoffset.c \
+ devices/fineoffset_wh1080.c \
+ devices/generic_remote.c \
+ devices/generic_temperature_sensor.c \
+ devices/gt_wt_02.c \
+ devices/hideki.c \
+ devices/hondaremote.c \
+ devices/ht680.c \
+ devices/inovalley-kw9015b.c \
+ devices/intertechno.c \
+ devices/kedsum.c \
+ devices/lacrosse.c \
+ devices/lacrosse_TX141TH_Bv2.c \
+ devices/lacrossews.c \
+ devices/lacrosse_tx35.c \
+ devices/lightwave_rf.c \
+ devices/mebus.c \
+ devices/newkaku.c \
+ devices/nexus.c \
+ devices/oil_watchman.c \
+ devices/oregon_scientific.c \
+ devices/oregon_scientific_v1.c \
+ devices/prologue.c \
+ devices/quhwa.c \
+ devices/rubicson.c \
+ devices/silvercrest.c \
+ devices/springfield.c \
+ devices/steffen.c \
+ devices/tfa_twin_plus_30.3049.c \
+ devices/tfa_pool_thermometer.c \
+ devices/valeo.c \
+ devices/waveman.c \
+ devices/wt450.c \
+ devices/x10_rf.c \
+ devices/s3318p.c \
+ devices/akhan_100F14.c \
+ devices/proove.c \
+ devices/bresser_3ch.c \
+ devices/oregon_scientific_sl109h.c \
+ devices/steelmate.c \
+ devices/schraeder.c \
+ devices/new_template.c \
+ devices/radiohead_ask.c \
+ devices/kerui.c \
+ devices/fineoffset_wh1050.c \
+ devices/honeywell.c \
+ devices/lelux.c
+ devices/maverick_et73x.c \
+ devices/rftech.c \
+ devices/wg_pb12v1.c
-rtl_433_SOURCES = rtl_433.c
-rtl_433_LDADD = librtlsdr.la $(LIBM)
+rtl_433_LDADD = $(LIBRTLSDR) $(LIBM)