mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / storage / blackhole / Makefile.am
blob1ec739f85b14991b9ea0bb2b2d38c327c23742fd
1 # Copyright (c) 2006, 2010, 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_blackhole.h
35 EXTRA_LTLIBRARIES =     ha_blackhole.la
36 pkgplugin_LTLIBRARIES = @plugin_blackhole_shared_target@
37 ha_blackhole_la_LDFLAGS=-module -rpath $(pkgplugindir)
38 ha_blackhole_la_CXXFLAGS=$(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN
39 ha_blackhole_la_CFLAGS= $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
40 ha_blackhole_la_SOURCES=ha_blackhole.cc
43 EXTRA_LIBRARIES =       libblackhole.a
44 noinst_LIBRARIES =      @plugin_blackhole_static_target@
45 libblackhole_a_CXXFLAGS=$(AM_CXXFLAGS)
46 libblackhole_a_CFLAGS = $(AM_CFLAGS)
47 libblackhole_a_SOURCES= ha_blackhole.cc
50 EXTRA_DIST =            CMakeLists.txt plug.in
51 # Don't update the files from bitkeeper
52 %::SCCS/s.%