blob: 011698726f69a2f3b0b226b4565da9d2ce53030c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
## 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
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 $(USB_CFLAGS)
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"
|