~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/include.am

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# included from Top Level Makefile.am
3
3
# All paths should be given relative to the root
4
4
 
5
 
if HAVE_LIBGTEST
 
5
#  Copyright (C) 2010 Monty Taylor
 
6
#
 
7
#  This program is free software; you can redistribute it and/or modify
 
8
#  it under the terms of the GNU General Public License as published by
 
9
#  the Free Software Foundation; version 2 of the License.
 
10
#
 
11
#  This program is distributed in the hope that it will be useful,
 
12
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
#  GNU General Public License for more details.
 
15
#
 
16
#  You should have received a copy of the GNU General Public License
 
17
#  along with this program; if not, write to the Free Software
 
18
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
19
 
 
20
if HAVE_BOOST_TEST
6
21
check_PROGRAMS += unittests/unittests
7
22
endif
8
23
 
10
25
                  unittests/plugin/plugin_stubs.h \
11
26
                  unittests/temporal_generator.h
12
27
 
13
 
EXTRA_DIST += \
14
 
              unittests/client_server.c
15
 
 
16
28
unit: unittests/unittests
17
29
        unittests/unittests
18
30
 
22
34
#                    
23
35
 
24
36
unittests_unittests_SOURCES = \
 
37
                              unittests/main.cc \
25
38
                              unittests/atomics_test.cc \
26
39
                              unittests/calendar_test.cc \
27
40
                              unittests/constrained_value.cc \
28
41
                              unittests/date_test.cc \
29
42
                              unittests/date_time_test.cc \
30
 
                              unittests/generators.cc \
31
 
                              unittests/global_buffer_test.cc \
32
 
                              unittests/libdrizzle_test.cc \
33
 
                              unittests/main.cc \
 
43
                              unittests/global_buffer_test.cc \
 
44
                              unittests/libdrizzle_test.cc \
34
45
                              unittests/micro_timestamp_test.cc \
35
46
                              unittests/nano_timestamp_test.cc \
36
47
                              unittests/option_context.cc \
37
 
                              unittests/plugin/authentication_test.cc \
38
 
                              unittests/plugin/client_test.cc \
39
 
                              unittests/plugin/error_message_test.cc \
40
48
                              unittests/pthread_atomics_test.cc \
41
49
                              unittests/table_identifier.cc \
42
50
                              unittests/temporal_format_test.cc \
43
 
                              unittests/temporal_generator.cc \
 
51
                              unittests/temporal_generator.cc  \
 
52
                              unittests/timestamp_test.cc \
44
53
                              unittests/time_test.cc \
45
 
                              unittests/timestamp_test.cc \
46
54
                              unittests/utf8_test.cc
47
55
 
48
56
unittests_unittests_LDADD= \
49
57
  $(filter-out drizzled/main.$(OBJEXT), ${am_drizzled_drizzled_OBJECTS}) \
50
 
  ${drizzled_drizzled_LDADD} ${LTLIBGTEST} ${BOOST_LIBS} \
51
 
  libdrizzle/libdrizzle.la
 
58
  ${drizzled_drizzled_LDADD} ${BOOST_LIBS} libdrizzle/libdrizzle.la \
 
59
  ${LTLIBBOOST_UNIT_TEST_FRAMEWORK} ${LTLIBBOOST_UNIT_TEST_FRAMEWORK_MT}