summaryrefslogtreecommitdiff
path: root/testsuite/backend/genesys/Makefile.am
blob: 3c0443e9f9a2a7a13b413f1c5223362d06425589 (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
##  Makefile.am -- an automake template for Makefile.in file
##  Copyright (C) 2019  Sane Developers.
##
##  This file is part of the "Sane" build infra-structure.  See
##  included LICENSE file for license information.

TEST_LDADD = \
  ../../../sanei/libsanei.la \
  ../../../sanei/sanei_usb.lo \
  ../../../sanei/sanei_magic.lo \
  ../../../lib/liblib.la \
  ../../../backend/libgenesys.la \
  ../../../backend/sane_strstatus.lo \
  $(MATH_LIB) $(TIFF_LIBS) $(USB_LIBS) $(XML_LIBS) $(PTHREAD_LIBS)

check_PROGRAMS = genesys_unit_tests genesys_session_config_tests
TESTS = genesys_unit_tests

AM_CPPFLAGS += -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include $(USB_CFLAGS) \
    -DBACKEND_NAME=genesys -DTESTSUITE_BACKEND_GENESYS_SRCDIR=$(srcdir)

genesys_unit_tests_SOURCES = tests.cpp tests.h \
    minigtest.cpp minigtest.h tests_printers.h \
    tests_calibration.cpp \
    tests_image.cpp \
    tests_image_pipeline.cpp \
    tests_motor.cpp \
    tests_row_buffer.cpp \
    tests_utilities.cpp

genesys_unit_tests_LDADD = $(TEST_LDADD)

genesys_session_config_tests_SOURCES = session_config_test.cpp

genesys_session_config_tests_LDADD = $(TEST_LDADD)