2010-03-24 18:22:39 +01:00
|
|
|
#called from the top level Makefile
|
|
|
|
|
|
|
|
MYSQLDATAdir = $(localstatedir)
|
|
|
|
MYSQLSHAREdir = $(pkgdatadir)
|
2010-03-24 21:35:41 +01:00
|
|
|
MYSQLBASEdir = $(prefix)
|
|
|
|
MYSQLLIBdir = $(pkglibdir)
|
2010-03-25 16:50:44 +01:00
|
|
|
pkgplugindir = $(pkglibdir)/plugin
|
2010-03-24 18:22:39 +01:00
|
|
|
INCLUDES = -I$(top_builddir)/include \
|
|
|
|
-I$(top_srcdir)/include \
|
|
|
|
-I$(top_srcdir)/regex \
|
|
|
|
-I$(top_srcdir)/sql \
|
|
|
|
-I$(srcdir) \
|
2010-03-24 21:04:45 +01:00
|
|
|
-I$(TOKUFRACTALTREE)/include
|
2010-03-25 18:28:51 +01:00
|
|
|
|
2010-03-24 18:22:39 +01:00
|
|
|
LDADD =
|
|
|
|
|
|
|
|
DEFS = @DEFS@
|
2010-03-25 18:28:51 +01:00
|
|
|
|
2010-03-24 18:22:39 +01:00
|
|
|
noinst_HEADERS =
|
|
|
|
|
|
|
|
EXTRA_LTLIBRARIES = ha_tokudb.la
|
2010-03-25 18:28:51 +01:00
|
|
|
pkgplugin_LTLIBRARIES = @plugin_tokudb_shared_target@
|
2010-03-24 21:35:41 +01:00
|
|
|
ha_tokudb_la_LIBADD = -L$(TOKUFRACTALTREE)/lib -l$(TOKUFRACTALTREE_LIBNAME) -ltokuportability
|
2010-03-25 16:50:44 +01:00
|
|
|
ha_tokudb_la_LDFLAGS = -module -rpath $(pkgplugindir)
|
|
|
|
ha_tokudb_la_CXXFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN -DTOKUDB_VERSION=\"$(TOKUDB_VERSION)\" -Wall
|
2010-03-24 18:22:39 +01:00
|
|
|
ha_tokudb_la_SOURCES = hatoku_hton.cc hatoku_cmp.cc ha_tokudb.cc
|
|
|
|
|
2010-03-24 21:04:45 +01:00
|
|
|
EXTRA_LIBRARIES = libtokudb.a
|
|
|
|
noinst_LIBRARIES = @plugin_tokudb_static_target@
|
2010-03-25 14:16:03 +01:00
|
|
|
libtokudb_a_CXXFLAGS = $(AM_CFLAGS) -Wall
|
2010-03-24 21:04:45 +01:00
|
|
|
libtokudb_a_SOURCES = hatoku_hton.cc hatoku_cmp.cc ha_tokudb.cc
|
2010-03-24 18:22:39 +01:00
|
|
|
|
|
|
|
EXTRA_DIST = CMakeLists.txt plug.in
|
|
|
|
# Don't update the files from bitkeeper
|
|
|
|
%::SCCS/s.%
|