1
# Copyright (C) 2000-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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
#called from the top level Makefile
18
LDADD = libserialize.la -lprotobuf
20
libserialize_la_CXXFLAGS =
22
TESTS_ENVIRONMENT = sh
23
TESTS = check_length.sh
27
%.pb.h %.pb.cc : %.proto
28
$(PROTOC) --cpp_out=${top_builddir}/drizzled/serialize $<
39
check_PROGRAMS = length
41
noinst_LTLIBRARIES = libserialize.la
43
libserialize_la_SOURCES = \
49
noinst_HEADERS = table.pb.h \
58
binlog_reader_SOURCES = binlog_reader.cc binary_log.cc
59
binlog_reader_CXXFLAGS =
61
binlog_writer_SOURCES = binlog_writer.cc binary_log.cc
62
binlog_writer_CXXFLAGS =
64
schema_reader_SOURCES = schema_reader.cc
65
schema_reader_CXXFLAGS =
67
table_reader_SOURCES = table_reader.cc
68
table_reader_CXXFLAGS =
70
table_writer_SOURCES = table_writer.cc
71
table_writer_CXXFLAGS =
73
master_list_writer_SOURCES = master_list_writer.cc
74
master_list_writer_CXXFLAGS =
76
master_list_reader_SOURCES = master_list_reader.cc
77
master_list_reader_CXXFLAGS =
79
length_SOURCES = length.cc
80
length_CXXFLAGS = -fexceptions
82
EXTRA_DIST = schema.proto table.proto binary_log.proto master_list.proto
83
BUILT_SOURCES = schema.pb.h \
88
CLEANFILES = binary_log.pb.h \