diff options
author | Emil BarczyĆski <barczynsky@domain-yet-to-be.pl> | 2014-03-21 18:27:45 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-03-22 18:26:53 +0100 |
commit | 3acf203e565485a0bf8e217163eb7adfc14790bd (patch) | |
tree | 07fade3c87b1a6533ac0a79c005338f81dc6b69e /src/Makefile.am | |
parent | a5e82cbf790aaa0d7f352da51398abfb8352afc6 (diff) | |
download | dabmod-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.am | 8 |
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 \ |