~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
# Copyright (C) 2005-2006 MySQL AB
2
#
3
# This program is free software; you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation; version 2 of the License.
6
#
7
# This program is distributed in the hope that it will be useful,
8
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
# GNU General Public License for more details.
11
#
12
# You should have received a copy of the GNU General Public License
13
# along with this program; if not, write to the Free Software
14
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
15
992.1.29 by Monty Taylor
Migrated archive.
16
test_archive_LDADD = $(LIBINTL) $(LTLIBZ) \
1192.3.7 by Monty Taylor
Added code necessary for building plugins dynamically.
17
		$(top_builddir)/plugin/archive/libazio.la \
992.1.29 by Monty Taylor
Migrated archive.
18
		$(top_builddir)/mysys/libmysys.la \
19
		$(top_builddir)/mystrings/libmystrings.la \
20
		$(LDADD)
21
1192.3.7 by Monty Taylor
Added code necessary for building plugins dynamically.
22
noinst_LTLIBRARIES+=  plugin/archive/libazio.la
23
noinst_HEADERS+= \
24
      plugin/archive/azio.h
25
plugin_archive_libazio_la_SOURCES= \
26
      plugin/archive/azio.cc
27
28
1093.9.15 by Monty Taylor
Fixed an error when archive engine is not built.
29
if BUILD_ARCHIVE_PLUGIN
992.1.29 by Monty Taylor
Migrated archive.
30
noinst_PROGRAMS+= \
31
		plugin/archive/archive_test \
32
		plugin/archive/archive_reader \
33
		plugin/archive/archive_performance \
34
		plugin/archive/concurrency_test
1093.9.15 by Monty Taylor
Fixed an error when archive engine is not built.
35
endif
992.1.29 by Monty Taylor
Migrated archive.
36
37
plugin_archive_archive_performance_SOURCES= plugin/archive/archive_performance.cc
38
plugin_archive_archive_performance_LDADD= $(test_archive_LDADD)
39
40
plugin_archive_archive_test_SOURCES= plugin/archive/archive_test.cc 
41
plugin_archive_archive_test_LDADD= $(test_archive_LDADD)
42
43
plugin_archive_archive_reader_SOURCES= plugin/archive/archive_reader.cc
1099.1.2 by Monty Taylor
Merged Ross from lp:~rwmcfa1/+junk/drizzle-freebsd
44
plugin_archive_archive_reader_LDADD= $(test_archive_LDADD)
992.1.29 by Monty Taylor
Migrated archive.
45
46
plugin_archive_concurrency_test_SOURCES= plugin/archive/concurrency_test.cc
47
plugin_archive_concurrency_test_LDADD= $(test_archive_LDADD)
48
49
valgrind-test: plugin/archive/archive_test plugin/archive/archive_performance plugin/archive/concurrency_test
50
	libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  ./plugin/archive/concurrency_test
51
	libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  ./plugin/archive/archive_test
1 by brian
clean slate
52
	libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  ./archive_performance