Makefile.am 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # This is _NOT_ the library release version, it's an API version.
  2. # Please read Chapter 6 "Library interface versions" of the libtool documentation before making any modification
  3. LIBVERSION=0:5:0
  4. AUTOMAKE_OPTIONS = subdir-objects
  5. INCLUDES = $(all_includes) -I$(top_srcdir)/include
  6. noinst_HEADERS = convenience/convenience.h
  7. AM_CFLAGS = ${CFLAGS} -fPIC ${SYMBOL_VISIBILITY}
  8. lib_LTLIBRARIES = librtlsdr.la
  9. librtlsdr_la_SOURCES = librtlsdr.c tuner_e4k.c tuner_fc0012.c tuner_fc0013.c tuner_fc2580.c tuner_r82xx.c
  10. librtlsdr_la_LDFLAGS = -version-info $(LIBVERSION)
  11. bin_PROGRAMS = rtl_sdr rtl_tcp rtl_test rtl_fm rtl_eeprom rtl_adsb rtl_power
  12. rtl_sdr_SOURCES = rtl_sdr.c convenience/convenience.c
  13. rtl_sdr_LDADD = librtlsdr.la
  14. rtl_tcp_SOURCES = rtl_tcp.c convenience/convenience.c
  15. rtl_tcp_LDADD = librtlsdr.la
  16. rtl_test_SOURCES = rtl_test.c convenience/convenience.c
  17. rtl_test_LDADD = librtlsdr.la $(LIBM)
  18. rtl_fm_SOURCES = rtl_fm.c convenience/convenience.c
  19. rtl_fm_LDADD = librtlsdr.la $(LIBM)
  20. rtl_eeprom_SOURCES = rtl_eeprom.c convenience/convenience.c
  21. rtl_eeprom_LDADD = librtlsdr.la $(LIBM)
  22. rtl_adsb_SOURCES = rtl_adsb.c convenience/convenience.c
  23. rtl_adsb_LDADD = librtlsdr.la $(LIBM)
  24. rtl_power_SOURCES = rtl_power.c convenience/convenience.c
  25. rtl_power_LDADD = librtlsdr.la $(LIBM)