1 # Copyright (c) 2005, 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 INCLUDES = -I$(top_builddir)/include \
23 -I$(top_srcdir)/include \
24 -I$(top_srcdir)/regex \
30 noinst_HEADERS = ha_tina.h transparent_file.h
32 EXTRA_LTLIBRARIES = ha_csv.la
33 pkglib_LTLIBRARIES = @plugin_csv_shared_target@
34 ha_csv_la_LDFLAGS = -module -rpath $(MYSQLLIBdir)
35 ha_csv_la_CXXFLAGS = $(AM_CXXFLAGS) -DMYSQL_PLUGIN
36 ha_csv_la_SOURCES = transparent_file.cc ha_tina.cc
38 EXTRA_LIBRARIES = libcsv.a
39 noinst_LIBRARIES = @plugin_csv_static_target@
40 libcsv_a_CXXFLAGS = $(AM_CXXFLAGS)
41 libcsv_a_SOURCES = transparent_file.cc ha_tina.cc
43 EXTRA_DIST = CMakeLists.txt plug.in
44 # Don't update the files from bitkeeper