2019-07-22 23:00:44 +00:00
|
|
|
## 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 \
|
2019-08-09 06:40:54 +00:00
|
|
|
../../../sanei/sanei_usb.lo \
|
|
|
|
../../../sanei/sanei_magic.lo \
|
2019-07-22 23:00:44 +00:00
|
|
|
../../../lib/liblib.la \
|
|
|
|
../../../backend/libgenesys.la \
|
|
|
|
../../../backend/sane_strstatus.lo \
|
2020-05-23 11:03:01 +00:00
|
|
|
$(MATH_LIB) $(TIFF_LIBS) $(USB_LIBS) $(XML_LIBS) $(PTHREAD_LIBS)
|
2019-07-22 23:00:44 +00:00
|
|
|
|
2019-10-26 10:42:48 +00:00
|
|
|
check_PROGRAMS = genesys_unit_tests genesys_session_config_tests
|
|
|
|
TESTS = genesys_unit_tests
|
2019-07-22 23:00:44 +00:00
|
|
|
|
|
|
|
AM_CPPFLAGS += -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include $(USB_CFLAGS) \
|
2019-10-26 10:42:48 +00:00
|
|
|
-DBACKEND_NAME=genesys -DTESTSUITE_BACKEND_GENESYS_SRCDIR=$(srcdir)
|
2019-07-22 23:00:44 +00:00
|
|
|
|
2019-10-26 10:42:48 +00:00
|
|
|
genesys_unit_tests_SOURCES = tests.cpp tests.h \
|
2019-10-01 05:42:09 +00:00
|
|
|
minigtest.cpp minigtest.h tests_printers.h \
|
|
|
|
tests_calibration.cpp \
|
|
|
|
tests_image.cpp \
|
|
|
|
tests_image_pipeline.cpp \
|
2019-11-23 10:38:43 +00:00
|
|
|
tests_motor.cpp \
|
2019-10-17 19:07:00 +00:00
|
|
|
tests_row_buffer.cpp \
|
|
|
|
tests_utilities.cpp
|
2019-07-22 23:00:44 +00:00
|
|
|
|
2019-10-26 10:42:48 +00:00
|
|
|
genesys_unit_tests_LDADD = $(TEST_LDADD)
|
|
|
|
|
|
|
|
genesys_session_config_tests_SOURCES = session_config_test.cpp
|
|
|
|
|
|
|
|
genesys_session_config_tests_LDADD = $(TEST_LDADD)
|