]> git.tdb.fi Git - ext/sigc++-2.0.git/blob - tests/Makefile.am
Adjust the name of the library to match upstream
[ext/sigc++-2.0.git] / tests / Makefile.am
1 ## Copyright (c) 2009  Openismus GmbH  <http://www.openismus.com/>
2 ##
3 ## This file is part of libsigc++.
4 ##
5 ## libsigc++ is free software: you can redistribute it and/or modify it
6 ## under the terms of the GNU Lesser General Public License as published
7 ## by the Free Software Foundation, either version 2.1 of the License,
8 ## or (at your option) any later version.
9 ##
10 ## libsigc++ is distributed in the hope that it will be useful, but
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 ## See the GNU Lesser General Public License for more details.
14 ##
15 ## You should have received a copy of the GNU Lesser General Public License
16 ## along with this library.  If not, see <http://www.gnu.org/licenses/>.
17
18 AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir)
19 AM_CXXFLAGS = $(SIGC_WXXFLAGS)
20
21 sigc_libs = $(top_builddir)/sigc++/libsigc-$(SIGCXX_API_VERSION).la
22 LDADD       = $(sigc_libs)
23
24 check_PROGRAMS = \
25   test_accum_iter \
26   test_accumulated \
27   test_bind \
28   test_bind_as_slot \
29   test_bind_ref \
30   test_bind_refptr \
31   test_bind_return \
32   test_compose \
33   test_copy_invalid_slot \
34   test_cpp11_lambda \
35   test_custom \
36   test_deduce_result_type \
37   test_disconnect \
38   test_disconnect_during_emit \
39   test_exception_catch \
40   test_functor_trait \
41   test_hide \
42   test_limit_reference \
43   test_mem_fun \
44   test_ptr_fun \
45   test_retype \
46   test_retype_return \
47   test_signal \
48   test_signal_move \
49   test_size \
50   test_slot \
51   test_slot_disconnect \
52   test_slot_move \
53   test_trackable \
54   test_trackable_move \
55   test_track_obj \
56   test_visit_each
57
58 TESTS = $(check_PROGRAMS)
59
60 sigc_test_util = testutilities.h testutilities.cc
61
62 test_accum_iter_SOURCES      = test_accum_iter.cc $(sigc_test_util)
63 test_accumulated_SOURCES     = test_accumulated.cc $(sigc_test_util)
64 test_bind_SOURCES            = test_bind.cc $(sigc_test_util)
65 test_bind_as_slot_SOURCES    = test_bind_as_slot.cc $(sigc_test_util)
66 test_bind_ref_SOURCES        = test_bind_ref.cc $(sigc_test_util)
67 test_bind_refptr_SOURCES     = test_bind_refptr.cc $(sigc_test_util)
68 test_bind_return_SOURCES     = test_bind_return.cc $(sigc_test_util)
69 test_compose_SOURCES         = test_compose.cc $(sigc_test_util)
70 test_copy_invalid_slot_SOURCES = test_copy_invalid_slot.cc $(sigc_test_util)
71 test_cpp11_lambda_SOURCES    = test_cpp11_lambda.cc $(sigc_test_util)
72 test_custom_SOURCES          = test_custom.cc $(sigc_test_util)
73 test_deduce_result_type_SOURCES = test_deduce_result_type.cc $(sigc_test_util)
74 test_disconnect_SOURCES      = test_disconnect.cc $(sigc_test_util)
75 test_disconnect_during_emit_SOURCES = test_disconnect_during_emit.cc $(sigc_test_util)
76 test_exception_catch_SOURCES = test_exception_catch.cc $(sigc_test_util)
77 test_functor_trait_SOURCES   = test_functor_trait.cc $(sigc_test_util)
78 test_hide_SOURCES            = test_hide.cc $(sigc_test_util)
79 test_limit_reference_SOURCES = test_limit_reference.cc $(sigc_test_util)
80 test_mem_fun_SOURCES         = test_mem_fun.cc $(sigc_test_util)
81 test_ptr_fun_SOURCES         = test_ptr_fun.cc $(sigc_test_util)
82 test_retype_SOURCES          = test_retype.cc $(sigc_test_util)
83 test_retype_return_SOURCES   = test_retype_return.cc $(sigc_test_util)
84 test_signal_SOURCES          = test_signal.cc $(sigc_test_util)
85 test_signal_move_SOURCES     = test_signal_move.cc $(sigc_test_util)
86 test_size_SOURCES            = test_size.cc $(sigc_test_util)
87 test_slot_SOURCES            = test_slot.cc $(sigc_test_util)
88 test_slot_disconnect_SOURCES = test_slot_disconnect.cc $(sigc_test_util)
89 test_slot_move_SOURCES       = test_slot_move.cc $(sigc_test_util)
90 test_trackable_SOURCES       = test_trackable.cc $(sigc_test_util)
91 test_trackable_move_SOURCES  = test_trackable_move.cc $(sigc_test_util)
92 test_track_obj_SOURCES       = test_track_obj.cc $(sigc_test_util)
93 test_visit_each_SOURCES      = test_visit_each.cc $(sigc_test_util)
94
95 if SIGC_BUILD_BENCHMARK
96 check_PROGRAMS += benchmark
97 benchmark_SOURCES = benchmark.cc $(sigc_test_util)
98 benchmark_LDADD = $(sigc_libs) \
99         $(BOOST_SYSTEM_LIB) \
100         $(BOOST_TIMER_LIB)
101 endif