~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
988.1.1 by Jay Pipes
Changes libserialize to libdrizzledmessage per ML discussion. All GPB messages are now in the drizzled::message namespace.
16
LDADD= libdrizzledmessage.la \
840.2.1 by Monty Taylor
Use LIB* instead of LTLIB*.
17
	${LIBPROTOBUF} \
18
	${LIBUUID} \
19
	${LIBINTL} \
815.1.6 by Monty Taylor
Some tweaks to get timegm working on Solaris.
20
	${top_builddir}/gnulib/libgnu.la
779.2.1 by Monty Taylor
Added new pthread m4 file. Changing lib checks to use AC_LIB_HAVE_LINKFLAGS
21
919.2.7 by Monty Taylor
Added back PROTOSKIP_WARNINGS - we still need it on Solaris. But it's empty now for GCC.
22
AM_CXXFLAGS += ${PROTOSKIP_WARNINGS}
988.1.1 by Jay Pipes
Changes libserialize to libdrizzledmessage per ML discussion. All GPB messages are now in the drizzled::message namespace.
23
TESTS_ENVIRONMENT = BINDIR=${top_builddir}/drizzled/message sh
324.1.1 by Mats Kindahl
Adding specification of a simple protobuf-based binary log format,
24
TESTS = check_length.sh
25
992.1.28 by Monty Taylor
Fixed some spacing.
26
noinst_PROGRAMS = \
27
		table_reader \
28
		table_writer \
29
		transaction_reader \
1039.5.1 by Jay Pipes
* New serial event log plugin
30
		command_reader \
992.1.28 by Monty Taylor
Fixed some spacing.
31
		transaction_writer \
32
		master_list_reader \
33
		master_list_writer \
34
		binlog_reader \
35
		binlog_writer \
36
		schema_reader
323 by Brian Aker
Updated proto file for table (not FRM work).
37
324.1.1 by Mats Kindahl
Adding specification of a simple protobuf-based binary log format,
38
check_PROGRAMS = length
39
988.1.1 by Jay Pipes
Changes libserialize to libdrizzledmessage per ML discussion. All GPB messages are now in the drizzled::message namespace.
40
noinst_LTLIBRARIES = libdrizzledmessage.la
316 by Brian Aker
First pass of new sql_db.cc work
41
988.1.1 by Jay Pipes
Changes libserialize to libdrizzledmessage per ML discussion. All GPB messages are now in the drizzled::message namespace.
42
nodist_libdrizzledmessage_la_SOURCES = \
685.1.8 by Monty Taylor
Added missing things to Makefiles for distcheck.
43
		binary_log.pb.cc \
44
		master_list.pb.cc \
1039.5.31 by Jay Pipes
This patch does a few things:
45
		replication.pb.cc \
685.1.8 by Monty Taylor
Added missing things to Makefiles for distcheck.
46
		schema.pb.cc \
47
		table.pb.cc
48
917.1.6 by Monty Taylor
Fixed Stewart's problem of distributed pb-generated files not matching the libprotobuf on the target machine. Solution? We don't need to distribute these, since we're requiring protobuf anyway.
49
nodist_noinst_HEADERS= \
50
		binary_log.pb.h \
51
		master_list.pb.h \
1039.5.31 by Jay Pipes
This patch does a few things:
52
		replication.pb.h \
917.1.6 by Monty Taylor
Fixed Stewart's problem of distributed pb-generated files not matching the libprotobuf on the target machine. Solution? We don't need to distribute these, since we're requiring protobuf anyway.
53
		schema.pb.h \
54
		table.pb.h
55
685.1.8 by Monty Taylor
Added missing things to Makefiles for distcheck.
56
noinst_HEADERS= \
57
		binary_log.h \
58
		binlog_encoding.h \
59
		ioutil.h \
988.1.1 by Jay Pipes
Changes libserialize to libdrizzledmessage per ML discussion. All GPB messages are now in the drizzled::message namespace.
60
		all.h
685.1.8 by Monty Taylor
Added missing things to Makefiles for distcheck.
61
323 by Brian Aker
Updated proto file for table (not FRM work).
62
351 by Monty Taylor
Removed .h files from sources.
63
binlog_reader_SOURCES = binlog_reader.cc binary_log.cc
324.1.1 by Mats Kindahl
Adding specification of a simple protobuf-based binary log format,
64
351 by Monty Taylor
Removed .h files from sources.
65
binlog_writer_SOURCES = binlog_writer.cc binary_log.cc
327.1.3 by Brian Aker
Cleaned up depend in Proto utils. Modified int to bool. Put TmpTable class
66
323 by Brian Aker
Updated proto file for table (not FRM work).
67
schema_reader_SOURCES =  schema_reader.cc
68
69
table_reader_SOURCES =  table_reader.cc
70
71
table_writer_SOURCES =  table_writer.cc
72
487 by Brian Aker
First pieces to new master.info file.
73
master_list_writer_SOURCES =  master_list_writer.cc
74
75
master_list_reader_SOURCES =  master_list_reader.cc
76
988.1.4 by Jay Pipes
Removed binlog and correct sql_builtin generation.
77
transaction_writer_SOURCES =  transaction_writer.cc
636 by Brian Aker
First pass with new event API (yeah... it will be better).
78
988.1.4 by Jay Pipes
Removed binlog and correct sql_builtin generation.
79
transaction_reader_SOURCES =  transaction_reader.cc
636 by Brian Aker
First pass with new event API (yeah... it will be better).
80
1039.5.1 by Jay Pipes
* New serial event log plugin
81
command_reader_SOURCES =  command_reader.cc
82
351 by Monty Taylor
Removed .h files from sources.
83
length_SOURCES = length.cc
324.1.1 by Mats Kindahl
Adding specification of a simple protobuf-based binary log format,
84
992.1.28 by Monty Taylor
Fixed some spacing.
85
EXTRA_DIST = \
86
		schema.proto \
87
		table.proto \
88
		binary_log.proto \
89
		master_list.proto \
1101.1.12 by Monty Taylor
Fixed make dist - renamed the proto file in Makefile.
90
		replication.proto \
992.1.28 by Monty Taylor
Fixed some spacing.
91
		check_length.sh
92
93
BUILT_SOURCES = \
94
		schema.pb.h \
95
		table.pb.h \
96
		binary_log.pb.h \
1039.5.31 by Jay Pipes
This patch does a few things:
97
		replication.pb.h \
992.1.28 by Monty Taylor
Fixed some spacing.
98
		master_list.pb.h
99
100
CLEANFILES = \
101
		binary_log.pb.h \
102
		binary_log.pb.cc \
103
		schema.pb.h \
104
		schema.pb.cc \
105
		table.pb.h \
106
		table.pb.cc \
1039.5.31 by Jay Pipes
This patch does a few things:
107
		replication.pb.h \
108
		replication.pb.cc \
992.1.28 by Monty Taylor
Fixed some spacing.
109
		master_list.pb.h \
110
		master_list.pb.cc
722.1.1 by Monty Taylor
Removed Gnu-Make-isms, since there were only two and we really don't need them and I'm sick of having make break when I accidentally type "make" (silly me) on Solaris.
111
112
SUFFIXES = .proto .pb.cc .pb.h
113
.proto.pb.cc:
988.1.1 by Jay Pipes
Changes libserialize to libdrizzledmessage per ML discussion. All GPB messages are now in the drizzled::message namespace.
114
	$(PROTOC) --proto_path=.:${top_srcdir}/drizzled/message \
115
		--cpp_out=${top_builddir}/drizzled/message $<
722.1.1 by Monty Taylor
Removed Gnu-Make-isms, since there were only two and we really don't need them and I'm sick of having make break when I accidentally type "make" (silly me) on Solaris.
116
.proto.pb.h:
988.1.1 by Jay Pipes
Changes libserialize to libdrizzledmessage per ML discussion. All GPB messages are now in the drizzled::message namespace.
117
	$(PROTOC) --proto_path=.:${top_srcdir}/drizzled/message \
118
		--cpp_out=${top_builddir}/drizzled/message $<