1
# Copyright (C) 2006 MySQL AB
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
#Makefile.am for semi-synchronous replication
17
mysql_basedir = @MYSQL_BASEDIR@
18
pkgplugindir = $(mysql_basedir)/lib/mysql/plugin
19
INCLUDES = -I$(mysql_basedir)/include \
20
-I$(mysql_basedir)/include/mysql \
23
pkgplugin_LTLIBRARIES = libsemisync_master.la libsemisync_slave.la
25
libsemisync_master_la_LDFLAGS = -module
26
libsemisync_master_la_CXXFLAGS= $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
27
libsemisync_master_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
28
libsemisync_master_la_SOURCES = semisync.cc semisync_master.cc semisync_master_plugin.cc
30
libsemisync_slave_la_LDFLAGS = -module
31
libsemisync_slave_la_CXXFLAGS= $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
32
libsemisync_slave_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
33
libsemisync_slave_la_SOURCES = semisync.cc semisync_slave.cc semisync_slave_plugin.cc