diff options
Diffstat (limited to 'testsuite/sanei/Makefile.am')
-rw-r--r-- | testsuite/sanei/Makefile.am | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testsuite/sanei/Makefile.am b/testsuite/sanei/Makefile.am new file mode 100644 index 0000000..74cde52 --- /dev/null +++ b/testsuite/sanei/Makefile.am @@ -0,0 +1,43 @@ +## Makefile.am -- an automake template for Makefile.in file +## Copyright (C) 2013 Stéphane Voltz and Sane Developers. +## +## This file is part of the "Sane" build infra-structure. See +## included LICENSE file for license information. + +EXTRA_DIST = data/boolean.conf data/empty.conf data/fixed.conf data/int.conf \ + data/snapscan.conf data/string.conf data/string-list.conf \ + data/umax_pp.conf data/word-array.conf data/wrong-boolean.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) + +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 + +sanei_constrain_test_SOURCES = sanei_constrain_test.c +sanei_constrain_test_LDADD = $(TEST_LDADD) + +sanei_config_test_SOURCES = sanei_config_test.c +sanei_config_test_CPPFLAGS = $(AM_CPPFLAGS) -DTESTSUITE_SANEI_SRCDIR=$(srcdir) +sanei_config_test_LDADD = $(TEST_LDADD) + +sanei_check_test_SOURCES = sanei_check_test.c +sanei_check_test_LDADD = $(TEST_LDADD) + +sanei_usb_test_SOURCES = sanei_usb_test.c +sanei_usb_test_LDADD = $(TEST_LDADD) + +test_wire_SOURCES = test_wire.c +test_wire_LDADD = $(TEST_LDADD) + +clean-local: + rm -f test_wire.out + +all: + @echo "run 'make check' to run tests" |