~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/Makefile.am

  • Committer: Brian Aker
  • Date: 2009-06-05 05:40:36 UTC
  • mfrom: (1046.1.15 merge)
  • Revision ID: brian@gaz-20090605054036-1024tm3gv0oloipw
Merge of Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
# along with this program; if not, write to the Free Software
14
14
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15
15
 
16
 
#called from the top level Makefile
17
 
 
18
 
LDADD = libserialize.la -lprotobuf
19
 
 
20
 
libserialize_la_CXXFLAGS =
21
 
 
22
 
TESTS_ENVIRONMENT = sh
 
16
LDADD= libdrizzledmessage.la \
 
17
        ${LIBPROTOBUF} \
 
18
        ${LIBUUID} \
 
19
        ${LIBINTL} \
 
20
        ${top_builddir}/gnulib/libgnu.la
 
21
 
 
22
AM_CXXFLAGS += ${PROTOSKIP_WARNINGS}
 
23
TESTS_ENVIRONMENT = BINDIR=${top_builddir}/drizzled/message sh
23
24
TESTS = check_length.sh
24
25
 
25
 
PROTOC = protoc
26
 
 
27
 
%.pb.h %.pb.cc : %.proto
28
 
        $(PROTOC) --cpp_out=${top_builddir}/drizzled/serialize $<
29
 
 
30
 
bin_PROGRAMS = \
31
 
               table_reader \
32
 
               table_writer \
33
 
               binlog_writer \
34
 
               binlog_reader \
35
 
               schema_reader
 
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
36
36
 
37
37
check_PROGRAMS = length
38
38
 
39
 
noinst_LTLIBRARIES = libserialize.la
40
 
 
41
 
libserialize_la_SOURCES = \
42
 
                          table.pb.cc \
43
 
                          binary_log.pb.cc \
44
 
                          schema.pb.cc
45
 
 
46
 
noinst_HEADERS = table.pb.h \
47
 
                 schema.pb.h \
48
 
                 binary_log.pb.h \
49
 
                 binlog_encoding.h \
50
 
                 serialize.h
51
 
 
52
 
DEFS= @DEFS@
 
39
noinst_LTLIBRARIES = libdrizzledmessage.la
 
40
 
 
41
nodist_libdrizzledmessage_la_SOURCES = \
 
42
                binary_log.pb.cc \
 
43
                master_list.pb.cc \
 
44
                transaction.pb.cc \
 
45
                schema.pb.cc \
 
46
                table.pb.cc
 
47
 
 
48
nodist_noinst_HEADERS= \
 
49
                binary_log.pb.h \
 
50
                master_list.pb.h \
 
51
                transaction.pb.h \
 
52
                schema.pb.h \
 
53
                table.pb.h
 
54
 
 
55
noinst_HEADERS= \
 
56
                binary_log.h \
 
57
                binlog_encoding.h \
 
58
                ioutil.h \
 
59
                all.h
 
60
 
53
61
 
54
62
binlog_reader_SOURCES = binlog_reader.cc binary_log.cc
55
 
binlog_reader_CXXFLAGS = 
56
63
 
57
64
binlog_writer_SOURCES = binlog_writer.cc binary_log.cc
58
 
binlog_writer_CXXFLAGS = 
59
65
 
60
66
schema_reader_SOURCES =  schema_reader.cc
61
 
schema_reader_CXXFLAGS =
62
67
 
63
68
table_reader_SOURCES =  table_reader.cc
64
 
table_reader_CXXFLAGS =
65
69
 
66
70
table_writer_SOURCES =  table_writer.cc
67
 
table_writer_CXXFLAGS =
 
71
 
 
72
master_list_writer_SOURCES =  master_list_writer.cc
 
73
 
 
74
master_list_reader_SOURCES =  master_list_reader.cc
 
75
 
 
76
transaction_writer_SOURCES =  transaction_writer.cc
 
77
 
 
78
transaction_reader_SOURCES =  transaction_reader.cc
68
79
 
69
80
length_SOURCES = length.cc
70
 
length_CXXFLAGS = -fexceptions
71
 
 
72
 
EXTRA_DIST = schema.proto table.proto binary_log.proto
73
 
BUILT_SOURCES = schema.pb.h \
 
81
 
 
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 \
74
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 \
75
101
                schema.pb.cc \
 
102
                table.pb.h \
76
103
                table.pb.cc \
77
 
                binary_log.pb.cc
 
104
                transaction.pb.h \
 
105
                transaction.pb.cc \
 
106
                master_list.pb.h \
 
107
                master_list.pb.cc
 
108
 
 
109
SUFFIXES = .proto .pb.cc .pb.h
 
110
.proto.pb.cc:
 
111
        $(PROTOC) --proto_path=.:${top_srcdir}/drizzled/message \
 
112
                --cpp_out=${top_builddir}/drizzled/message $<
 
113
.proto.pb.h:
 
114
        $(PROTOC) --proto_path=.:${top_srcdir}/drizzled/message \
 
115
                --cpp_out=${top_builddir}/drizzled/message $<