~ubuntu-branches/ubuntu/trusty/geis/trusty

« back to all changes in this revision

Viewing changes to testsuite/geis1/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Chase Douglas
  • Date: 2012-07-30 08:51:42 UTC
  • Revision ID: package-import@ubuntu.com-20120730085142-jrc33ygjvt0ob1wl
Tags: upstream-2.2.11
ImportĀ upstreamĀ versionĀ 2.2.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# @file testsuite/geis1/Makefile.am 
 
3
# @brief automake recipe for the geis v1.0 testsuite unit testing directory
 
4
#
 
5
 
 
6
test_targets =
 
7
if HAVE_CHECK
 
8
  test_targets += check_geis1_api
 
9
endif
 
10
if ENABLE_INTEGRATION_TESTS
 
11
  test_targets += gtest_geis1_instance gtest_geis1_api
 
12
endif
 
13
 
 
14
TESTS = $(test_targets)
 
15
 
 
16
check_PROGRAMS = $(test_targets)
 
17
 
 
18
check_geis1_api_SOURCES = \
 
19
        check_instance.c \
 
20
        check_gesture_types.c \
 
21
        check_gesture_attrs.c \
 
22
        check_subscription.c \
 
23
        check_geis1_api.c
 
24
 
 
25
check_geis1_api_CFLAGS = \
 
26
        -Wno-unused-but-set-variable \
 
27
        -I$(top_srcdir) \
 
28
        -I$(top_srcdir)/include \
 
29
        -I$(top_srcdir)/libgeis \
 
30
        $(CHECK_CFLAGS)
 
31
 
 
32
check_geis1_api_LDADD = \
 
33
        $(top_builddir)/libgeis/libgeis.la \
 
34
        $(CHECK_LIBS)
 
35
 
 
36
gtest_geis1_api_SOURCES = \
 
37
        gtest_attrs.cpp \
 
38
        gtest_devices.cpp \
 
39
        gtest_subscription.cpp
 
40
 
 
41
nodist_gtest_geis1_api_SOURCES = \
 
42
        $(XORG_GTEST_SOURCE)/src/xorg-gtest_main.cpp
 
43
 
 
44
gtest_geis1_api_CPPFLAGS = \
 
45
        --std=c++0x \
 
46
        -I$(top_srcdir) \
 
47
        -I$(top_srcdir)/include \
 
48
        -I$(top_srcdir)/libgeis \
 
49
        -I$(top_srcdir)/testsuite/gtest \
 
50
        -DTEST_ROOT_DIR=\"$(abs_top_srcdir)/testsuite/\" \
 
51
        $(GTEST_CFLAGS) \
 
52
        $(EVEMU_CFLAGS) \
 
53
        $(XORG_GTEST_CFLAGS)
 
54
 
 
55
gtest_geis1_api_LDADD = \
 
56
        $(top_builddir)/testsuite/gtest/libgtest_geis.a \
 
57
        $(top_builddir)/libgeis/libgeis.la \
 
58
        $(XORG_GTEST_LIBS) \
 
59
        $(EVEMU_LIBS) \
 
60
        $(XI2_LIBS)
 
61
 
 
62
gtest_geis1_instance_SOURCES = gtest_instance.cpp
 
63
nodist_gtest_geis1_instance_SOURCES = $(nodist_gtest_geis1_api_SOURCES)
 
64
gtest_geis1_instance_CPPFLAGS = $(gtest_geis1_api_CPPFLAGS)
 
65
gtest_geis1_instance_LDADD = $(gtest_geis1_api_LDADD)
 
66
 
 
67
MOSTLYCLEANFILES = \
 
68
        geis1_api.log \
 
69
        geis1_api.xml
 
70