aboutsummaryrefslogtreecommitdiffstats
path: root/src/libsdr/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsdr/Makefile.am')
-rw-r--r--src/libsdr/Makefile.am26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/libsdr/Makefile.am b/src/libsdr/Makefile.am
new file mode 100644
index 0000000..5a00457
--- /dev/null
+++ b/src/libsdr/Makefile.am
@@ -0,0 +1,26 @@
+AM_CPPFLAGS = -Wall -Wextra -g $(all_includes)
+
+noinst_LIBRARIES = libsdr.a
+
+libsdr_a_SOURCES = \
+dd sdr_config.c \
+ sdr.c \
+ display_iq.c \
+ display_spectrum.c
+
+AM_CPPFLAGS += -DHAVE_SDR
+
+if HAVE_UHD
+AM_CPPFLAGS += -DHAVE_UHD
+
+libsdr_a_SOURCES += \
+ uhd.c
+endif
+
+if HAVE_SOAPY
+AM_CPPFLAGS += -DHAVE_SOAPY
+
+libsdr_a_SOURCES += \
+ soapy.c
+endif
+