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 |
||
16 |
#called from the top level Makefile
|
|
17 |
||
53.2.24
by Monty Taylor
Added an automake conditional to not build the dbug dir, since I don't want to keep seeing errors for it while cleaning up other parts of the tree. |
18 |
|
1
by brian
clean slate |
19 |
MYSQLDATAdir = $(localstatedir) |
20 |
MYSQLSHAREdir = $(pkgdatadir) |
|
21 |
MYSQLBASEdir= $(prefix) |
|
22 |
MYSQLLIBdir= $(pkglibdir) |
|
23 |
pkgplugindir = $(pkglibdir)/plugin |
|
24 |
||
25 |
LDADD = |
|
26 |
AM_CFLAGS = -DHAVE_MYSQL_CONFIG_H |
|
27 |
||
28 |
DEFS = @DEFS@ |
|
29 |
||
30 |
noinst_HEADERS = ha_archive.h azio.h |
|
31 |
noinst_PROGRAMS = archive_test archive_reader archive_performance concurrency_test |
|
32 |
||
33 |
EXTRA_LTLIBRARIES = ha_archive.la |
|
34 |
pkglib_LTLIBRARIES = @plugin_archive_shared_target@ |
|
35 |
ha_archive_la_LDFLAGS = -module -rpath $(pkgplugindir) $(LDADD) |
|
36 |
ha_archive_la_CXXFLAGS= $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN |
|
37 |
ha_archive_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN |
|
38 |
ha_archive_la_SOURCES = ha_archive.cc azio.c |
|
39 |
||
40 |
||
41 |
EXTRA_LIBRARIES = libarchive.a |
|
42 |
noinst_LIBRARIES = @plugin_archive_static_target@ |
|
43 |
libarchive_a_CXXFLAGS = $(AM_CFLAGS) |
|
44 |
libarchive_a_CFLAGS = $(AM_CFLAGS) |
|
45 |
libarchive_a_SOURCES = ha_archive.cc azio.c |
|
46 |
||
47 |
archive_performance_SOURCES = archive_performance.c azio.c |
|
48 |
archive_performance_CFLAGS = $(AM_CFLAGS) |
|
28.1.2
by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2 |
49 |
archive_performance_LDADD = $(top_builddir)/mysys/libmysyslt.la \ |
212.5.4
by Monty Taylor
Renamed strings to mystrings, for include/lib naming consistency. |
50 |
$(top_builddir)/mystrings/libmystringslt.la \ |
1
by brian
clean slate |
51 |
$(LDADD) \ |
52 |
-lz |
|
25
by Brian Aker
Clean up of configure.in |
53 |
archive_performance_LDFLAGS = |
1
by brian
clean slate |
54 |
|
55 |
archive_test_SOURCES = archive_test.c azio.c |
|
56 |
archive_test_CFLAGS = $(AM_CFLAGS) |
|
28.1.2
by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2 |
57 |
archive_test_LDADD = $(top_builddir)/mysys/libmysyslt.la \ |
212.5.4
by Monty Taylor
Renamed strings to mystrings, for include/lib naming consistency. |
58 |
$(top_builddir)/mystrings/libmystringslt.la \ |
1
by brian
clean slate |
59 |
$(LDADD) \ |
60 |
-lz |
|
25
by Brian Aker
Clean up of configure.in |
61 |
archive_test_LDFLAGS = |
1
by brian
clean slate |
62 |
|
63 |
archive_reader_SOURCES = archive_reader.c azio.c |
|
64 |
archive_reader_CFLAGS = $(AM_CFLAGS) |
|
28.1.2
by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2 |
65 |
archive_reader_LDADD = $(top_builddir)/mysys/libmysyslt.la \ |
212.5.4
by Monty Taylor
Renamed strings to mystrings, for include/lib naming consistency. |
66 |
$(top_builddir)/mystrings/libmystringslt.la \ |
1
by brian
clean slate |
67 |
$(LDADD) \ |
68 |
-lz |
|
25
by Brian Aker
Clean up of configure.in |
69 |
archive_reader_LDFLAGS = |
1
by brian
clean slate |
70 |
|
71 |
concurrency_test_SOURCES = concurrency_test.c azio.c |
|
72 |
concurrency_test_CFLAGS = $(AM_CFLAGS) |
|
28.1.2
by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2 |
73 |
concurrency_test_LDADD = $(top_builddir)/mysys/libmysyslt.la \ |
212.5.4
by Monty Taylor
Renamed strings to mystrings, for include/lib naming consistency. |
74 |
$(top_builddir)/mystrings/libmystringslt.la \ |
77.1.38
by Monty Taylor
Renamed more stuff to drizzle. |
75 |
$(top_builddir)/libdrizzle/libdrizzle.la \ |
1
by brian
clean slate |
76 |
$(LDADD) \ |
77 |
-lz |
|
25
by Brian Aker
Clean up of configure.in |
78 |
concurrency_test_LDFLAGS = |
1
by brian
clean slate |
79 |
|
80 |
valgrind-test: archive_test archive_performance |
|
81 |
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes ./concurrency_test |
|
82 |
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes ./archive_test |
|
83 |
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes ./archive_performance |
|
84 |
||
28.1.25
by Monty Taylor
Removed CMake file references. |
85 |
EXTRA_DIST = plug.in |