2
# @file testsuite/geis1/Makefile.am
3
# @brief automake recipe for the geis v1.0 testsuite unit testing directory
2
# @file testsuite/geis2/Makefile.am
3
# @brief automake recipe for the geis v2.0 testsuite testing directory
8
##### check_geis2_api - Tests using Check C testing framework #####
8
11
test_targets += check_geis2_api
10
if ENABLE_INTEGRATION_TESTS
11
test_targets += gtest_geis2_api
14
TESTS = $(test_targets)
16
check_PROGRAMS = $(test_targets)
18
14
check_geis2_api_SOURCES = \
35
31
-Wno-unused -Wno-unused-function -Wno-unused-but-set-variable \
37
33
-I$(top_srcdir)/include \
38
-I$(top_srcdir)/libutouch-geis \
34
-I$(top_srcdir)/libgeis \
41
37
check_geis2_api_LDADD = \
42
$(top_builddir)/libutouch-geis/libutouch-geis.la \
38
$(top_builddir)/libgeis/libgeis.la \
41
#### gtest_geis2_grail_backend - Test for the GRAIL backend of Geis v2 API #####
42
#### using gtest #####
45
test_targets += gtest_geis2_grail_backend
48
gtest_geis2_grail_backend_SOURCES = \
49
gtest_grail_backend.h gtest_grail_backend.cpp \
50
gtest_gbe_accept_ended_grail_gesture.cpp \
51
gtest_gbe_deactivate_sub.cpp \
52
gtest_gbe_direct_touch_coords.cpp \
53
gtest_gbe_outdated_events.cpp
55
gtest_geis2_grail_backend_CPPFLAGS = \
58
-I$(top_srcdir)/include \
59
-I$(top_srcdir)/libgeis \
60
-I$(top_srcdir)/testsuite/gtest \
61
-I$(top_srcdir)/testsuite/x11_mocks \
62
-DTEST_ROOT_DIR=\"$(abs_top_srcdir)/testsuite/\"
65
gtest_geis2_grail_backend_LDFLAGS = \
68
gtest_geis2_grail_backend_LDADD = \
69
$(top_builddir)/testsuite/gtest/libgtest_geis.a \
70
$(top_builddir)/testsuite/x11_mocks/libx11_mocks.a \
71
$(top_builddir)/libgeis/libgeis.la \
74
#### gtest_geis2_api - Integration tests using xorg-gest and evemu #####
76
if ENABLE_INTEGRATION_TESTS
77
test_targets += gtest_geis2_api
45
80
gtest_geis2_api_SOURCES = \
47
82
gtest_devices.cpp \
56
91
-I$(top_srcdir)/include \
57
-I$(top_srcdir)/libutouch-geis \
92
-I$(top_srcdir)/libgeis \
58
93
-I$(top_srcdir)/testsuite/gtest \
59
94
-DTEST_ROOT_DIR=\"$(abs_top_srcdir)/testsuite/\"