~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 \
30
		transaction_writer \
31
		master_list_reader \
32
		master_list_writer \
33
		binlog_reader \
34
		binlog_writer \
35
		schema_reader
323 by Brian Aker
Updated proto file for table (not FRM work).
36
324.1.1 by Mats Kindahl
Adding specification of a simple protobuf-based binary log format,
37
check_PROGRAMS = length
38
988.1.1 by Jay Pipes
Changes libserialize to libdrizzledmessage per ML discussion. All GPB messages are now in the drizzled::message namespace.
39
noinst_LTLIBRARIES = libdrizzledmessage.la
316 by Brian Aker
First pass of new sql_db.cc work
40
988.1.1 by Jay Pipes
Changes libserialize to libdrizzledmessage per ML discussion. All GPB messages are now in the drizzled::message namespace.
41
nodist_libdrizzledmessage_la_SOURCES = \
685.1.8 by Monty Taylor
Added missing things to Makefiles for distcheck.
42
		binary_log.pb.cc \
43
		master_list.pb.cc \
988.1.4 by Jay Pipes
Removed binlog and correct sql_builtin generation.
44
		transaction.pb.cc \
685.1.8 by Monty Taylor
Added missing things to Makefiles for distcheck.
45
		schema.pb.cc \
46
		table.pb.cc
47
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.
48
nodist_noinst_HEADERS= \
49
		binary_log.pb.h \
50
		master_list.pb.h \
988.1.4 by Jay Pipes
Removed binlog and correct sql_builtin generation.
51
		transaction.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.
52
		schema.pb.h \
53
		table.pb.h
54
685.1.8 by Monty Taylor
Added missing things to Makefiles for distcheck.
55
noinst_HEADERS= \
56
		binary_log.h \
57
		binlog_encoding.h \
58
		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.
59
		all.h
685.1.8 by Monty Taylor
Added missing things to Makefiles for distcheck.
60
323 by Brian Aker
Updated proto file for table (not FRM work).
61
351 by Monty Taylor
Removed .h files from sources.
62
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,
63
351 by Monty Taylor
Removed .h files from sources.
64
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
65
323 by Brian Aker
Updated proto file for table (not FRM work).
66
schema_reader_SOURCES =  schema_reader.cc
67
68
table_reader_SOURCES =  table_reader.cc
69
70
table_writer_SOURCES =  table_writer.cc
71
487 by Brian Aker
First pieces to new master.info file.
72
master_list_writer_SOURCES =  master_list_writer.cc
73
74
master_list_reader_SOURCES =  master_list_reader.cc
75
988.1.4 by Jay Pipes
Removed binlog and correct sql_builtin generation.
76
transaction_writer_SOURCES =  transaction_writer.cc
636 by Brian Aker
First pass with new event API (yeah... it will be better).
77
988.1.4 by Jay Pipes
Removed binlog and correct sql_builtin generation.
78
transaction_reader_SOURCES =  transaction_reader.cc
636 by Brian Aker
First pass with new event API (yeah... it will be better).
79
351 by Monty Taylor
Removed .h files from sources.
80
length_SOURCES = length.cc
324.1.1 by Mats Kindahl
Adding specification of a simple protobuf-based binary log format,
81
992.1.28 by Monty Taylor
Fixed some spacing.
82
EXTRA_DIST = \
83
		schema.proto \
84
		table.proto \
85
		binary_log.proto \
86
		master_list.proto \
87
		transaction.proto \
88
		check_length.sh
89
90
BUILT_SOURCES = \
91
		schema.pb.h \
92
		table.pb.h \
93
		binary_log.pb.h \
94
		transaction.pb.h \
95
		master_list.pb.h
96
97
CLEANFILES = \
98
		binary_log.pb.h \
99
		binary_log.pb.cc \
100
		schema.pb.h \
101
		schema.pb.cc \
102
		table.pb.h \
103
		table.pb.cc \
104
		transaction.pb.h \
105
		transaction.pb.cc \
106
		master_list.pb.h \
107
		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.
108
109
SUFFIXES = .proto .pb.cc .pb.h
110
.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.
111
	$(PROTOC) --proto_path=.:${top_srcdir}/drizzled/message \
112
		--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.
113
.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.
114
	$(PROTOC) --proto_path=.:${top_srcdir}/drizzled/message \
115
		--cpp_out=${top_builddir}/drizzled/message $<