2006-12-31 02:29:11 +01:00
|
|
|
# Copyright (C) 2005-2006 MySQL AB
|
|
|
|
#
|
2005-12-23 04:50:10 +01:00
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
2006-12-27 02:23:51 +01:00
|
|
|
# the Free Software Foundation; version 2 of the License.
|
2006-12-31 02:29:11 +01:00
|
|
|
#
|
2005-12-23 04:50:10 +01:00
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
2006-12-31 02:29:11 +01:00
|
|
|
#
|
2005-12-23 04:50:10 +01:00
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
2006-12-31 02:29:11 +01:00
|
|
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
2005-12-23 04:50:10 +01:00
|
|
|
|
2006-04-13 22:49:29 +02:00
|
|
|
#called from the top level Makefile
|
2005-12-23 04:50:10 +01:00
|
|
|
|
2006-04-13 22:49:29 +02:00
|
|
|
MYSQLDATAdir = $(localstatedir)
|
|
|
|
MYSQLSHAREdir = $(pkgdatadir)
|
|
|
|
MYSQLBASEdir= $(prefix)
|
|
|
|
MYSQLLIBdir= $(pkglibdir)
|
2006-04-29 18:33:34 +02:00
|
|
|
INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include \
|
2006-04-13 22:49:29 +02:00
|
|
|
-I$(top_srcdir)/regex \
|
|
|
|
-I$(top_srcdir)/sql \
|
|
|
|
-I$(srcdir) @ZLIB_INCLUDES@
|
|
|
|
WRAPLIBS=
|
|
|
|
|
|
|
|
LDADD =
|
|
|
|
|
|
|
|
DEFS = @DEFS@
|
|
|
|
|
|
|
|
noinst_HEADERS = ha_archive.h azlib.h
|
2007-01-11 08:53:08 +01:00
|
|
|
noinst_PROGRAMS = archive_test archive_reader
|
2006-04-13 22:49:29 +02:00
|
|
|
|
|
|
|
EXTRA_LTLIBRARIES = ha_archive.la
|
|
|
|
pkglib_LTLIBRARIES = @plugin_archive_shared_target@
|
|
|
|
ha_archive_la_LDFLAGS = -module -rpath $(MYSQLLIBdir)
|
|
|
|
ha_archive_la_CXXFLAGS= $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
|
|
|
|
ha_archive_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
|
|
|
|
ha_archive_la_SOURCES = ha_archive.cc azio.c
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_LIBRARIES = libarchive.a
|
|
|
|
noinst_LIBRARIES = @plugin_archive_static_target@
|
|
|
|
libarchive_a_CXXFLAGS = $(AM_CFLAGS)
|
|
|
|
libarchive_a_CFLAGS = $(AM_CFLAGS)
|
|
|
|
libarchive_a_SOURCES = ha_archive.cc azio.c
|
|
|
|
|
|
|
|
|
|
|
|
archive_test_SOURCES = archive_test.c azio.c
|
|
|
|
archive_test_CFLAGS = $(AM_CFLAGS)
|
2006-04-29 18:33:34 +02:00
|
|
|
archive_test_LDADD = $(top_builddir)/mysys/libmysys.a \
|
|
|
|
$(top_builddir)/dbug/libdbug.a \
|
|
|
|
$(top_builddir)/strings/libmystrings.a \
|
2006-04-13 22:49:29 +02:00
|
|
|
@ZLIB_LIBS@
|
2005-12-23 04:50:10 +01:00
|
|
|
archive_test_LDFLAGS = @NOINST_LDFLAGS@
|
2006-04-13 22:49:29 +02:00
|
|
|
|
2007-01-11 08:53:08 +01:00
|
|
|
archive_reader_SOURCES = archive_reader.c azio.c
|
|
|
|
archive_reader_CFLAGS = $(AM_CFLAGS)
|
|
|
|
archive_reader_LDADD = $(top_builddir)/mysys/libmysys.a \
|
|
|
|
$(top_builddir)/dbug/libdbug.a \
|
|
|
|
$(top_builddir)/strings/libmystrings.a \
|
|
|
|
@ZLIB_LIBS@
|
|
|
|
archive_reader_LDFLAGS = @NOINST_LDFLAGS@
|
|
|
|
|
2005-12-23 04:50:10 +01:00
|
|
|
|
2006-09-19 04:31:08 +02:00
|
|
|
EXTRA_DIST = CMakeLists.txt plug.in
|
2005-12-23 04:50:10 +01:00
|
|
|
# Don't update the files from bitkeeper
|
|
|
|
%::SCCS/s.%
|