~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/plugin.am

Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# vim:ft=automake
2
 
# Copyright (C) 2005-2006 MySQL AB
3
 
#
4
 
# This program is free software; you can redistribute it and/or modify
5
 
# it under the terms of the GNU General Public License as published by
6
 
# the Free Software Foundation; version 2 of the License.
7
 
#
8
 
# This program is distributed in the hope that it will be useful,
9
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
 
# GNU General Public License for more details.
12
 
#
13
 
# You should have received a copy of the GNU General Public License
14
 
# along with this program; if not, write to the Free Software
15
 
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
16
 
 
17
 
test_archive_LDADD = \
18
 
                        $(top_builddir)/plugin/archive/libazio.la \
19
 
                        $(top_builddir)/drizzled/internal/libinternal.la \
20
 
                        $(LDADD) \
21
 
                        $(BOOST_LIBS) \
22
 
                        $(LIBINTL) \
23
 
                        $(LTLIBZ)
24
 
 
25
 
if BUILD_ARCHIVE_PLUGIN
26
 
noinst_LTLIBRARIES+=  plugin/archive/libazio.la
27
 
endif
28
 
noinst_HEADERS+= \
29
 
                 plugin/archive/azio.h
30
 
plugin_archive_libazio_la_SOURCES= \
31
 
                        plugin/archive/azio.cc
32
 
 
33
 
 
34
 
if BUILD_ARCHIVE_PLUGIN
35
 
noinst_PROGRAMS+= \
36
 
                  plugin/archive/archive_test \
37
 
                  plugin/archive/archive_reader \
38
 
                  plugin/archive/archive_performance \
39
 
                  plugin/archive/concurrency_test
40
 
endif
41
 
 
42
 
plugin_archive_archive_performance_SOURCES= plugin/archive/archive_performance.cc
43
 
plugin_archive_archive_performance_LDADD= $(test_archive_LDADD)
44
 
 
45
 
plugin_archive_archive_test_SOURCES= plugin/archive/archive_test.cc 
46
 
plugin_archive_archive_test_LDADD= $(test_archive_LDADD)
47
 
 
48
 
plugin_archive_archive_reader_SOURCES= plugin/archive/archive_reader.cc
49
 
plugin_archive_archive_reader_LDADD= $(test_archive_LDADD) ${BOOST_LIBS}
50
 
plugin_archive_archive_reader_CXXFLAGS= ${AM_CXXFLAGS} ${BOOSTSKIP_WARNINGS}
51
 
 
52
 
plugin_archive_concurrency_test_SOURCES= plugin/archive/concurrency_test.cc
53
 
plugin_archive_concurrency_test_LDADD= $(test_archive_LDADD)
54
 
 
55
 
valgrind-test: plugin/archive/archive_test plugin/archive/archive_performance plugin/archive/concurrency_test
56
 
        libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  ./plugin/archive/concurrency_test
57
 
        libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  ./plugin/archive/archive_test
58
 
        libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  ./archive_performance