~drizzle-trunk/drizzle/development

316 by Brian Aker
First pass of new sql_db.cc work
1
# Copyright (C) 2000-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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15
16
#called from the top level Makefile
17
344 by Monty Taylor
Removed full-path reference to libserialize, since it's a depend from this dir.
18
LDADD = libserialize.la -lprotobuf
323 by Brian Aker
Updated proto file for table (not FRM work).
19
328 by Brian Aker
Fix for slave build (just do not use any flags on google generated code)
20
libserialize_la_CXXFLAGS =
323 by Brian Aker
Updated proto file for table (not FRM work).
21
324.1.1 by Mats Kindahl
Adding specification of a simple protobuf-based binary log format,
22
TESTS_ENVIRONMENT = sh
23
TESTS = check_length.sh
24
25
PROTOC = protoc
26
27
%.pb.h %.pb.cc : %.proto
28
	$(PROTOC) --cpp_out=${top_builddir}/drizzled/serialize $<
29
323 by Brian Aker
Updated proto file for table (not FRM work).
30
bin_PROGRAMS = \
31
	       table_reader \
32
	       table_writer \
324.1.1 by Mats Kindahl
Adding specification of a simple protobuf-based binary log format,
33
               binlog_writer \
34
               binlog_reader \
323 by Brian Aker
Updated proto file for table (not FRM work).
35
	       schema_reader
36
324.1.1 by Mats Kindahl
Adding specification of a simple protobuf-based binary log format,
37
check_PROGRAMS = length
38
323 by Brian Aker
Updated proto file for table (not FRM work).
39
noinst_LTLIBRARIES = libserialize.la
316 by Brian Aker
First pass of new sql_db.cc work
40
41
libserialize_la_SOURCES = \
323 by Brian Aker
Updated proto file for table (not FRM work).
42
			  table.pb.cc \
324.1.1 by Mats Kindahl
Adding specification of a simple protobuf-based binary log format,
43
			  binary_log.pb.cc \
44
			  schema.pb.cc
45
350 by Monty Taylor
Merged from Mats.
46
noinst_HEADERS = table.pb.h \
316 by Brian Aker
First pass of new sql_db.cc work
47
		 schema.pb.h \
350 by Monty Taylor
Merged from Mats.
48
		 binary_log.pb.h \
49
		 binlog_encoding.h \
316 by Brian Aker
First pass of new sql_db.cc work
50
		 serialize.h
324.1.1 by Mats Kindahl
Adding specification of a simple protobuf-based binary log format,
51
324 by Brian Aker
Merge from Monty.
52
DEFS= @DEFS@
323 by Brian Aker
Updated proto file for table (not FRM work).
53
351 by Monty Taylor
Removed .h files from sources.
54
binlog_reader_SOURCES = binlog_reader.cc binary_log.cc
350 by Monty Taylor
Merged from Mats.
55
binlog_reader_CXXFLAGS = 
324.1.1 by Mats Kindahl
Adding specification of a simple protobuf-based binary log format,
56
351 by Monty Taylor
Removed .h files from sources.
57
binlog_writer_SOURCES = binlog_writer.cc binary_log.cc
350 by Monty Taylor
Merged from Mats.
58
binlog_writer_CXXFLAGS = 
327.1.3 by Brian Aker
Cleaned up depend in Proto utils. Modified int to bool. Put TmpTable class
59
323 by Brian Aker
Updated proto file for table (not FRM work).
60
schema_reader_SOURCES =  schema_reader.cc
352 by Brian Aker
Merge of Brian's tree to main tree.
61
schema_reader_CXXFLAGS =
323 by Brian Aker
Updated proto file for table (not FRM work).
62
63
table_reader_SOURCES =  table_reader.cc
328 by Brian Aker
Fix for slave build (just do not use any flags on google generated code)
64
table_reader_CXXFLAGS =
323 by Brian Aker
Updated proto file for table (not FRM work).
65
66
table_writer_SOURCES =  table_writer.cc
328 by Brian Aker
Fix for slave build (just do not use any flags on google generated code)
67
table_writer_CXXFLAGS =
323 by Brian Aker
Updated proto file for table (not FRM work).
68
351 by Monty Taylor
Removed .h files from sources.
69
length_SOURCES = length.cc
324.1.1 by Mats Kindahl
Adding specification of a simple protobuf-based binary log format,
70
length_CXXFLAGS = -fexceptions
71
72
EXTRA_DIST = schema.proto table.proto binary_log.proto
350 by Monty Taylor
Merged from Mats.
73
BUILT_SOURCES = schema.pb.h \
74
		table.pb.h \
75
		schema.pb.cc \
76
		table.pb.cc \
77
		binary_log.pb.cc