~hezx/mysql-server/semi-sync-replication

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: He Zhenxing
  • Date: 2008-10-15 03:18:28 UTC
  • Revision ID: hezx@mysql.com-20081015031828-kozqcu4tr9fl8s21
initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (C) 2006 MySQL AB
 
2
#
 
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.
 
6
#
 
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.
 
11
#
 
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
 
15
 
 
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 \
 
21
                        -I$(srcdir)
 
22
 
 
23
pkgplugin_LTLIBRARIES = libsemisync_master.la libsemisync_slave.la
 
24
 
 
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
 
29
 
 
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