summaryrefslogtreecommitdiff
path: root/testsuite/sanei/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/sanei/Makefile.am')
-rw-r--r--testsuite/sanei/Makefile.am7
1 files changed, 2 insertions, 5 deletions
diff --git a/testsuite/sanei/Makefile.am b/testsuite/sanei/Makefile.am
index 74cde52..0116987 100644
--- a/testsuite/sanei/Makefile.am
+++ b/testsuite/sanei/Makefile.am
@@ -10,15 +10,12 @@ EXTRA_DIST = data/boolean.conf data/empty.conf data/fixed.conf data/int.conf \
data/wrong-fixed.conf data/wrong-range.conf \
data/wrong-string-list.conf
-MATH_LIB = @MATH_LIB@
-USB_LIBS = @USB_LIBS@
-PTHREAD_LIBS = @PTHREAD_LIBS@
-TEST_LDADD = ../../sanei/libsanei.la ../../lib/liblib.la ../../lib/libfelib.la $(MATH_LIB) $(USB_LIBS) $(PTHREAD_LIBS)
+TEST_LDADD = ../../sanei/libsanei.la ../../lib/liblib.la $(MATH_LIB) $(USB_LIBS) $(PTHREAD_LIBS)
check_PROGRAMS = sanei_usb_test test_wire sanei_check_test sanei_config_test sanei_constrain_test
TESTS = $(check_PROGRAMS)
-AM_CPPFLAGS = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include
+AM_CPPFLAGS += -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include $(USB_CFLAGS)
sanei_constrain_test_SOURCES = sanei_constrain_test.c
sanei_constrain_test_LDADD = $(TEST_LDADD)