aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorEmil BarczyƄski <barczynsky@domain-yet-to-be.pl>2014-03-21 18:27:45 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-22 18:26:53 +0100
commit3acf203e565485a0bf8e217163eb7adfc14790bd (patch)
tree07fade3c87b1a6533ac0a79c005338f81dc6b69e /src/Makefile.am
parenta5e82cbf790aaa0d7f352da51398abfb8352afc6 (diff)
downloaddabmod-3acf203e565485a0bf8e217163eb7adfc14790bd.tar.gz
dabmod-3acf203e565485a0bf8e217163eb7adfc14790bd.tar.bz2
dabmod-3acf203e565485a0bf8e217163eb7adfc14790bd.zip
Add configure option to disable UHD
Signed-off-by: Matthias P. Braendli <matthias.braendli@mpb.li>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 95584e7..3e851c4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -28,6 +28,12 @@ else
ZMQ_LIBS =
endif
+if HAVE_OUTPUT_UHD_TEST
+UHD_SOURCES =OutputUHD.cpp OutputUHD.h
+else
+UHD_SOURCES =
+endif
+
FFT_DIR=$(top_builddir)/lib/kiss_fft129
FFT_INC=-I$(FFT_DIR) -I$(FFT_DIR)/tools
FFT_SRC=$(FFT_DIR)/kiss_fft.c $(FFT_DIR)/kiss_fft.h $(FFT_DIR)/tools/kiss_fftr.c $(FFT_DIR)/tools/kiss_fftr.h kiss_fftsimd.c kiss_fftsimd.h
@@ -68,7 +74,7 @@ odr_dabmod_SOURCES = DabMod.cpp \
GainControl.cpp GainControl.h \
OutputMemory.cpp OutputMemory.h \
TimestampDecoder.h TimestampDecoder.cpp \
- OutputUHD.cpp OutputUHD.h \
+ $(UHD_SOURCES) \
ModOutput.cpp ModOutput.h \
InputMemory.cpp InputMemory.h \
InputFileReader.cpp InputZeroMQReader.cpp InputReader.h \