2
# @file testsuite/libgeis/Makefile.am
3
# @brief automake recipe for the GEIS v2.0 internals unit test suite
6
# Copyright 2010, 2011 Canonical, Ltd.
8
# This file is part of the geis library. This library is free software;
9
# you can redistribute it and/or modify it under the terms of the GNU Lesser
10
# General Public License as published by the Free Software Foundation; either
11
# version 3 of the License, or (at your option) any later version.
13
# This library is distributed in the hope that it will be useful, but WITHOUT
14
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
18
# You should have received a copy of the GNU Lesser General Public License
19
# along with this program; if not, write to the Free Software Foundation, Inc.,
20
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24
test_targets = check_geis2_internals
29
compile_tests = check-c-compile check-cxx-compile
32
-I$(top_srcdir)/include \
33
-I$(top_srcdir)/libgeis
35
TESTS = $(test_targets) $(compile_tests)
37
check_PROGRAMS = $(test_targets) $(compile_tests)
39
check_c_compile_SOURCES = check-c-compile.c
40
check_c_compile_CPPFLAGS = $(test_cppflags)
41
check_c_compile_LDADD = $(top_builddir)/libgeis/libgeis.la
43
check_cxx_compile_SOURCES = check-cxx-compile.cpp
44
check_cxx_compile_CPPFLAGS = $(test_cppflags)
45
check_cxx_compile_LDADD = $(top_builddir)/libgeis/libgeis.la
47
check_geis2_internals_SOURCES = \
49
check_backend_multiplexor.c \
50
check_backend_token.c \
53
check_error_reporting.c \
57
check_geis_private.c \
59
check_subscription.c \
60
check_select_devices.c \
62
check_geis2_internals.c
64
check_geis2_internals_CPPFLAGS = \
69
# Link against the (non-distributed) static libgeis to pick up the
72
check_geis2_internals_LDADD = \
73
$(top_builddir)/libgeis/.libs/libgeis.a \