~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/serialize/Makefile.am

  • Committer: Mats Kindahl
  • Date: 2008-08-19 07:43:02 UTC
  • mto: This revision was merged to the branch mainline in revision 350.
  • Revision ID: mats@mysql.com-20080819074302-78dxfv9ukmo3jj3d
Adding specification of a simple protobuf-based binary log format,
including a reader and a writer. The intention is to produce some
tools to experiment with the format and see what needs to be done.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
#called from the top level Makefile
17
17
 
 
18
TESTS_ENVIRONMENT = sh
 
19
TESTS = check_length.sh
 
20
 
 
21
PROTOC = protoc
 
22
 
18
23
LDADD = $(top_builddir)/drizzled/serialize/libserialize.la -lprotobuf
19
24
 
 
25
%.pb.h %.pb.cc : %.proto
 
26
        $(PROTOC) --cpp_out=${top_builddir}/drizzled/serialize $<
 
27
 
20
28
bin_PROGRAMS = \
21
29
               table_reader \
22
30
               table_writer \
 
31
               binlog_writer \
 
32
               binlog_reader \
23
33
               schema_reader
24
34
 
 
35
check_PROGRAMS = length
 
36
 
25
37
libserialize_la_CXXFLAGS = -Wno-all -Wno-error
26
38
 
27
39
noinst_LTLIBRARIES = libserialize.la
28
40
 
29
41
libserialize_la_SOURCES = \
30
42
                          table.pb.cc \
31
 
                          schema.pb.cc 
32
 
 
33
 
noinst_HEADERS = \
34
 
                 table.pb.h \
35
 
                 schema.pb.h \
36
 
                 serialize.h
37
 
 
38
 
schema.pb.cc: schema.proto
39
 
        protoc --cpp_out=${top_builddir}/drizzled/serialize schema.proto
40
 
 
41
 
table.pb.cc: table.proto
42
 
        protoc --cpp_out=${top_builddir}/drizzled/serialize table.proto
43
 
        
 
43
                          binary_log.pb.cc \
 
44
                          schema.pb.cc
 
45
 
 
46
noinst_HEADERS = table.pb.h schema.pb.h binary_log.pb.h \
 
47
                 binlog_encoding.h serialize.h
 
48
 
44
49
DEFS= @DEFS@
45
50
 
 
51
binlog_reader_SOURCES = binlog_reader.cc binary_log.cc binlog_encoding.h
 
52
binlog_reader_CXXFLAGS = -Wno-all -Wno-error
 
53
 
 
54
binlog_writer_SOURCES = binlog_writer.cc binary_log.cc binlog_encoding.h
 
55
binlog_writer_CXXFLAGS = -Wno-all -Wno-error
 
56
 
46
57
schema_reader_SOURCES =  schema_reader.cc
47
58
 
48
59
table_reader_SOURCES =  table_reader.cc
51
62
table_writer_SOURCES =  table_writer.cc
52
63
table_writer_CXXFLAGS = -Wno-all -Wno-error
53
64
 
54
 
EXTRA_DIST = schema.proto table.proto
55
 
BUILT_SOURCES = schema.pb.cc table.pb.cc
 
65
length_SOURCES = length.cc binlog_encoding.h
 
66
length_CXXFLAGS = -fexceptions
 
67
 
 
68
EXTRA_DIST = schema.proto table.proto binary_log.proto
 
69
BUILT_SOURCES = schema.pb.cc table.pb.cc binary_log.pb.cc