~drizzle-trunk/drizzle/development

1257 by Brian Aker
Merge of Diego fix.
1
# vim:ft=automake
1 by brian
clean slate
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
1251.1.1 by Diego Pettenò
Fix building when using --as-needed linker option.
17
test_archive_LDADD = \
1253.2.5 by Monty Taylor
Merged from trunk.
18
			$(top_builddir)/plugin/archive/libazio.la \
19
			$(LDADD) \
20
			$(LIBINTL) \
21
			$(LTLIBZ)
992.1.29 by Monty Taylor
Migrated archive.
22
1192.3.7 by Monty Taylor
Added code necessary for building plugins dynamically.
23
noinst_LTLIBRARIES+=  plugin/archive/libazio.la
24
noinst_HEADERS+= \
1257 by Brian Aker
Merge of Diego fix.
25
                 plugin/archive/azio.h
1192.3.7 by Monty Taylor
Added code necessary for building plugins dynamically.
26
plugin_archive_libazio_la_SOURCES= \
1253.2.5 by Monty Taylor
Merged from trunk.
27
			plugin/archive/azio.cc
1241.9.64 by Monty Taylor
Moved remaining non-public portions of mysys and mystrings to drizzled/internal.
28
plugin_archive_libazio_la_LIBADD= drizzled/internal/libinternal.la
1192.3.7 by Monty Taylor
Added code necessary for building plugins dynamically.
29
30
1093.9.15 by Monty Taylor
Fixed an error when archive engine is not built.
31
if BUILD_ARCHIVE_PLUGIN
992.1.29 by Monty Taylor
Migrated archive.
32
noinst_PROGRAMS+= \
1257 by Brian Aker
Merge of Diego fix.
33
                  plugin/archive/archive_test \
34
                  plugin/archive/archive_reader \
35
                  plugin/archive/archive_performance \
36
                  plugin/archive/concurrency_test
1093.9.15 by Monty Taylor
Fixed an error when archive engine is not built.
37
endif
992.1.29 by Monty Taylor
Migrated archive.
38
39
plugin_archive_archive_performance_SOURCES= plugin/archive/archive_performance.cc
40
plugin_archive_archive_performance_LDADD= $(test_archive_LDADD)
41
42
plugin_archive_archive_test_SOURCES= plugin/archive/archive_test.cc 
43
plugin_archive_archive_test_LDADD= $(test_archive_LDADD)
44
45
plugin_archive_archive_reader_SOURCES= plugin/archive/archive_reader.cc
1099.1.2 by Monty Taylor
Merged Ross from lp:~rwmcfa1/+junk/drizzle-freebsd
46
plugin_archive_archive_reader_LDADD= $(test_archive_LDADD)
992.1.29 by Monty Taylor
Migrated archive.
47
48
plugin_archive_concurrency_test_SOURCES= plugin/archive/concurrency_test.cc
49
plugin_archive_concurrency_test_LDADD= $(test_archive_LDADD)
50
51
valgrind-test: plugin/archive/archive_test plugin/archive/archive_performance plugin/archive/concurrency_test
52
	libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  ./plugin/archive/concurrency_test
53
	libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  ./plugin/archive/archive_test
1 by brian
clean slate
54
	libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  ./archive_performance