mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / storage / federated / Makefile.am
blob8a5cbf10becb59ab95ddbe07782914fc753adcfd
1 # Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
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.
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.
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
16 #called from the top level Makefile
18 MYSQLDATAdir =          $(localstatedir)
19 MYSQLSHAREdir =         $(pkgdatadir)
20 MYSQLBASEdir=           $(prefix)
21 MYSQLLIBdir=            $(pkglibdir)
22 pkgplugindir =          $(pkglibdir)/plugin
23 INCLUDES =              -I$(top_srcdir)/include -I$(top_builddir)/include \
24                         -I$(top_srcdir)/regex \
25                         -I$(top_srcdir)/sql \
26                         -I$(srcdir)
27 WRAPLIBS=
29 LDADD =
31 DEFS =                  @DEFS@
33 noinst_HEADERS =        ha_federated.h
35 EXTRA_LTLIBRARIES =     ha_federated.la
36 pkgplugin_LTLIBRARIES = @plugin_federated_shared_target@
37 ha_federated_la_LDFLAGS =       -module -rpath $(pkgplugindir)
38 ha_federated_la_CXXFLAGS=       $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN
39 ha_federated_la_CFLAGS =        $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
40 ha_federated_la_SOURCES =       ha_federated.cc $(top_srcdir)/mysys/string.c
43 EXTRA_LIBRARIES =       libfederated.a
44 noinst_LIBRARIES =      @plugin_federated_static_target@
45 libfederated_a_CXXFLAGS =       $(AM_CXXFLAGS)
46 libfederated_a_CFLAGS = $(AM_CFLAGS)
47 libfederated_a_SOURCES= ha_federated.cc $(top_srcdir)/mysys/string.c
50 EXTRA_DIST =            CMakeLists.txt plug.in
51 # Don't update the files from bitkeeper
52 %::SCCS/s.%