aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/Makefile.am')
-rw-r--r--src/test/Makefile.am36
1 files changed, 28 insertions, 8 deletions
diff --git a/src/test/Makefile.am b/src/test/Makefile.am
index dfdfd5f..6e1b2bf 100644
--- a/src/test/Makefile.am
+++ b/src/test/Makefile.am
@@ -19,10 +19,8 @@ test_filter_LDADD = \
$(top_builddir)/src/libtimer/libtimer.a \
$(top_builddir)/src/libsamplerate/libsamplerate.a \
$(top_builddir)/src/libemphasis/libemphasis.a \
- $(top_builddir)/src/libfm/libfm.a \
$(top_builddir)/src/libfilter/libfilter.a \
$(top_builddir)/src/libwave/libwave.a \
- $(top_builddir)/src/libfft/libfft.a \
$(top_builddir)/src/libmncc/libmncc.a \
$(top_builddir)/src/libsound/libsound.a \
$(ALSA_LIBS) \
@@ -30,6 +28,13 @@ test_filter_LDADD = \
$(SOAPY_LIBS) \
-lm
+if HAVE_SDR
+test_filter_LDADD += \
+ $(top_builddir)/src/libsdr/libsdr.a \
+ $(top_builddir)/src/libfft/libfft.a \
+ $(top_builddir)/src/libfm/libfm.a
+endif
+
test_compandor_SOURCES = dummy.x test_compandor.c
test_compandor_LDADD = \
@@ -52,10 +57,8 @@ test_emphasis_LDADD = \
$(top_builddir)/src/libtimer/libtimer.a \
$(top_builddir)/src/libsamplerate/libsamplerate.a \
$(top_builddir)/src/libemphasis/libemphasis.a \
- $(top_builddir)/src/libfm/libfm.a \
$(top_builddir)/src/libfilter/libfilter.a \
$(top_builddir)/src/libwave/libwave.a \
- $(top_builddir)/src/libfft/libfft.a \
$(top_builddir)/src/libmncc/libmncc.a \
$(top_builddir)/src/libsound/libsound.a \
$(ALSA_LIBS) \
@@ -63,6 +66,13 @@ test_emphasis_LDADD = \
$(SOAPY_LIBS) \
-lm
+if HAVE_SDR
+test_emphasis_LDADD += \
+ $(top_builddir)/src/libsdr/libsdr.a \
+ $(top_builddir)/src/libfft/libfft.a \
+ $(top_builddir)/src/libfm/libfm.a
+endif
+
test_dms_SOURCES = test_dms.c dummy.c
test_dms_LDADD = \
@@ -74,10 +84,8 @@ test_dms_LDADD = \
$(top_builddir)/src/libtimer/libtimer.a \
$(top_builddir)/src/libsamplerate/libsamplerate.a \
$(top_builddir)/src/libemphasis/libemphasis.a \
- $(top_builddir)/src/libfm/libfm.a \
$(top_builddir)/src/libfilter/libfilter.a \
$(top_builddir)/src/libwave/libwave.a \
- $(top_builddir)/src/libfft/libfft.a \
$(top_builddir)/src/libmncc/libmncc.a \
$(top_builddir)/src/libsound/libsound.a \
$(ALSA_LIBS) \
@@ -85,6 +93,13 @@ test_dms_LDADD = \
$(SOAPY_LIBS) \
-lm
+if HAVE_SDR
+test_dms_LDADD += \
+ $(top_builddir)/src/libsdr/libsdr.a \
+ $(top_builddir)/src/libfft/libfft.a \
+ $(top_builddir)/src/libfm/libfm.a
+endif
+
test_sms_SOURCES = dummy.c test_sms.c
test_sms_LDADD = \
@@ -96,10 +111,8 @@ test_sms_LDADD = \
$(top_builddir)/src/libtimer/libtimer.a \
$(top_builddir)/src/libsamplerate/libsamplerate.a \
$(top_builddir)/src/libemphasis/libemphasis.a \
- $(top_builddir)/src/libfm/libfm.a \
$(top_builddir)/src/libfilter/libfilter.a \
$(top_builddir)/src/libwave/libwave.a \
- $(top_builddir)/src/libfft/libfft.a \
$(top_builddir)/src/libmncc/libmncc.a \
$(top_builddir)/src/libsound/libsound.a \
$(ALSA_LIBS) \
@@ -107,6 +120,13 @@ test_sms_LDADD = \
$(SOAPY_LIBS) \
-lm
+if HAVE_SDR
+test_sms_LDADD += \
+ $(top_builddir)/src/libsdr/libsdr.a \
+ $(top_builddir)/src/libfft/libfft.a \
+ $(top_builddir)/src/libfm/libfm.a
+endif
+
test_performance_SOURCES = dummy.c test_performance.c
test_performance_LDADD = \