~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/Makefile.am

  • Committer: Monty Taylor
  • Date: 2009-10-06 19:14:39 UTC
  • mfrom: (1130.2.18 plugin-base-class)
  • mto: This revision was merged to the branch mainline in revision 1184.
  • Revision ID: mordred@inaugust.com-20091006191439-fd1vvlp22654l3k3
Merged latest plugin-base-class.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# vim:ft=automake
2
1
# Copyright (C) 2000-2006 MySQL AB
3
 
# Copyright (C) 2010 Brian Aker
4
2
5
3
# This program is free software; you can redistribute it and/or modify
6
4
# it under the terms of the GNU General Public License as published by
13
11
14
12
# You should have received a copy of the GNU General Public License
15
13
# along with this program; if not, write to the Free Software
16
 
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17
 
 
18
 
MESSAGE_DIR=drizzled/message
19
 
MESSAGE_LDADD= \
20
 
               ${MESSAGE_DIR}/libdrizzledmessage.la \
21
 
               ${LIBPROTOBUF} \
22
 
               ${LIBUUID} \
23
 
               ${LTLIBINTL} \
24
 
               $(GCOV_LIBS)
25
 
 
26
 
MESSAGE_AM_CXXFLAGS = ${AM_CXXFLAGS} ${PROTOSKIP_WARNINGS} ${NO_VISIBILITY}
27
 
 
28
 
noinst_PROGRAMS+= \
29
 
                  drizzled/message/catalog_reader \
30
 
                  drizzled/message/catalog_writer \
31
 
                  drizzled/message/schema_reader \
32
 
                  drizzled/message/schema_writer \
33
 
                  drizzled/message/table_raw_reader \
34
 
                  drizzled/message/table_reader \
35
 
                  drizzled/message/table_writer \
36
 
                  drizzled/message/transaction_writer
37
 
 
38
 
lib_LTLIBRARIES += drizzled/message/libdrizzledmessage.la
39
 
 
40
 
drizzled_message_libdrizzledmessage_la_CXXFLAGS = ${MESSAGE_AM_CXXFLAGS} ${NO_WERROR}
41
 
 
42
 
drizzled_message_libdrizzledmessage_la_SOURCES = drizzled/message/statement_transform.cc
43
 
drizzled_message_libdrizzledmessage_la_LIBADD= ${LTLIBPROTOBUF} $(GCOV_LIBS) drizzled/libcharset.la
44
 
 
45
 
nobase_dist_pkginclude_HEADERS+= \
46
 
                              drizzled/message/statement_transform.h
47
 
 
48
 
nodist_drizzled_message_libdrizzledmessage_la_SOURCES= \
49
 
                                                       drizzled/message/catalog.pb.cc \
50
 
                                                       drizzled/message/engine.pb.cc \
51
 
                                                       drizzled/message/event.pb.cc \
52
 
                                                       drizzled/message/resultset.pb.cc \
53
 
                                                       drizzled/message/schema.pb.cc \
54
 
                                                       drizzled/message/table.pb.cc \
55
 
                                                       drizzled/message/transaction.pb.cc
56
 
 
57
 
nobase_nodist_pkginclude_HEADERS+= \
58
 
                                drizzled/message/catalog.pb.h \
59
 
                                drizzled/message/engine.pb.h \
60
 
                                drizzled/message/event.pb.h \
61
 
                                drizzled/message/resultset.pb.h \
62
 
                                drizzled/message/schema.pb.h \
63
 
                                drizzled/message/table.pb.h \
64
 
                                drizzled/message/transaction.pb.h
65
 
 
66
 
noinst_HEADERS+= \
67
 
                 drizzled/message/ioutil.h
68
 
 
69
 
drizzled_message_catalog_reader_SOURCES =  drizzled/message/catalog_reader.cc
70
 
drizzled_message_catalog_reader_LDADD = ${MESSAGE_LDADD}
71
 
drizzled_message_catalog_reader_CXXFLAGS = ${MESSAGE_AM_CXXFLAGS}
72
 
 
73
 
drizzled_message_catalog_writer_SOURCES =  drizzled/message/catalog_writer.cc
74
 
drizzled_message_catalog_writer_LDADD = ${MESSAGE_LDADD}
75
 
drizzled_message_catalog_writer_CXXFLAGS = ${MESSAGE_AM_CXXFLAGS}
76
 
 
77
 
drizzled_message_schema_reader_SOURCES =  drizzled/message/schema_reader.cc
78
 
drizzled_message_schema_reader_LDADD = ${MESSAGE_LDADD}
79
 
drizzled_message_schema_reader_CXXFLAGS = ${MESSAGE_AM_CXXFLAGS}
80
 
 
81
 
drizzled_message_schema_writer_SOURCES =  drizzled/message/schema_writer.cc
82
 
drizzled_message_schema_writer_LDADD = ${MESSAGE_LDADD}
83
 
drizzled_message_schema_writer_CXXFLAGS = ${MESSAGE_AM_CXXFLAGS}
84
 
 
85
 
drizzled_message_table_reader_SOURCES =  drizzled/message/table_reader.cc
86
 
drizzled_message_table_reader_LDADD = ${MESSAGE_LDADD}
87
 
drizzled_message_table_reader_CXXFLAGS = ${MESSAGE_AM_CXXFLAGS}
88
 
 
89
 
drizzled_message_table_raw_reader_SOURCES =  drizzled/message/table_raw_reader.cc
90
 
drizzled_message_table_raw_reader_LDADD = ${MESSAGE_LDADD}
91
 
drizzled_message_table_raw_reader_CXXFLAGS = ${MESSAGE_AM_CXXFLAGS}
92
 
 
93
 
drizzled_message_table_writer_SOURCES =  drizzled/message/table_writer.cc
94
 
drizzled_message_table_writer_LDADD = ${MESSAGE_LDADD} ${BOOST_LIBS}
95
 
drizzled_message_table_writer_CXXFLAGS = ${MESSAGE_AM_CXXFLAGS}
96
 
 
97
 
drizzled_message_transaction_writer_SOURCES =  drizzled/message/transaction_writer.cc
98
 
drizzled_message_transaction_writer_LDADD = ${MESSAGE_LDADD} ${top_builddir}/drizzled/algorithm/libhash.la
99
 
drizzled_message_transaction_writer_CXXFLAGS = ${MESSAGE_AM_CXXFLAGS} ${NO_WERROR}
100
 
 
101
 
EXTRA_DIST += \
102
 
              ${MESSAGE_DIR}/catalog.proto \
103
 
              ${MESSAGE_DIR}/engine.proto \
104
 
              ${MESSAGE_DIR}/event.proto \
105
 
              ${MESSAGE_DIR}/resultset.proto \
106
 
              ${MESSAGE_DIR}/schema.proto \
107
 
              ${MESSAGE_DIR}/table.proto \
108
 
              ${MESSAGE_DIR}/transaction.proto
109
 
 
110
 
BUILT_SOURCES += \
111
 
                 ${MESSAGE_DIR}/catalog.pb.h \
112
 
                 ${MESSAGE_DIR}/engine.pb.h \
113
 
                 ${MESSAGE_DIR}/event.pb.h \
114
 
                 ${MESSAGE_DIR}/resultset.pb.h \
115
 
                 ${MESSAGE_DIR}/schema.pb.h \
116
 
                 ${MESSAGE_DIR}/table.pb.h \
117
 
                 ${MESSAGE_DIR}/transaction.pb.h
118
 
 
119
 
CLEANFILES += \
120
 
              ${MESSAGE_DIR}/catalog.pb.cc \
121
 
              ${MESSAGE_DIR}/catalog.pb.h \
122
 
              ${MESSAGE_DIR}/engine.pb.cc \
123
 
              ${MESSAGE_DIR}/engine.pb.h \
124
 
              ${MESSAGE_DIR}/event.pb.cc \
125
 
              ${MESSAGE_DIR}/event.pb.h \
126
 
              ${MESSAGE_DIR}/resultset.pb.cc \
127
 
              ${MESSAGE_DIR}/resultset.pb.h \
128
 
              ${MESSAGE_DIR}/schema.pb.cc \
129
 
              ${MESSAGE_DIR}/schema.pb.h \
130
 
              ${MESSAGE_DIR}/table.pb.cc \
131
 
              ${MESSAGE_DIR}/table.pb.h \
132
 
              ${MESSAGE_DIR}/transaction.pb.cc \
133
 
              ${MESSAGE_DIR}/transaction.pb.h
134
 
 
135
 
SUFFIXES += .proto .pb.cc .pb.h
136
 
 
137
 
MESSAGE_PROTO_PATH=${top_builddir}/${MESSAGE_DIR}:${top_srcdir}/${MESSAGE_DIR}
138
 
 
 
14
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
15
 
 
16
LDADD= libdrizzledmessage.la \
 
17
        ${LIBPROTOBUF} \
 
18
        ${LIBUUID} \
 
19
        ${LTLIBINTL} \
 
20
        ${top_builddir}/gnulib/libgnu.la
 
21
 
 
22
AM_CXXFLAGS += ${PROTOSKIP_WARNINGS}
 
23
TESTS_ENVIRONMENT = BINDIR=${top_builddir}/drizzled/message sh
 
24
TESTS = check_length.sh
 
25
 
 
26
noinst_PROGRAMS = \
 
27
                table_reader \
 
28
                table_raw_reader \
 
29
                table_writer \
 
30
                transaction_reader \
 
31
                command_reader \
 
32
                transaction_writer \
 
33
                master_list_reader \
 
34
                master_list_writer \
 
35
                binlog_reader \
 
36
                binlog_writer \
 
37
                schema_reader
 
38
 
 
39
check_PROGRAMS = length
 
40
 
 
41
noinst_LTLIBRARIES = libdrizzledmessage.la
 
42
 
 
43
libdrizzledmessage_la_CXXFLAGS = ${AM_CXXFLAGS} ${NO_WERROR}
 
44
 
 
45
libdrizzledmessage_la_SOURCES = command_transform.cc
 
46
 
 
47
messageincludedir= ${includedir}/drizzled/message
 
48
messageinclude_HEADERS= command_transform.h
 
49
 
 
50
nodist_libdrizzledmessage_la_SOURCES = \
 
51
                binary_log.pb.cc \
 
52
                master_list.pb.cc \
 
53
                replication.pb.cc \
 
54
                schema.pb.cc \
 
55
                table.pb.cc
 
56
 
 
57
nodist_noinst_HEADERS= \
 
58
                binary_log.pb.h \
 
59
                master_list.pb.h \
 
60
                replication.pb.h \
 
61
                schema.pb.h \
 
62
                table.pb.h \
 
63
                command_transform.h
 
64
 
 
65
noinst_HEADERS= \
 
66
                binary_log.h \
 
67
                binlog_encoding.h \
 
68
                ioutil.h \
 
69
                all.h
 
70
 
 
71
 
 
72
binlog_reader_SOURCES = binlog_reader.cc binary_log.cc
 
73
 
 
74
binlog_writer_SOURCES = binlog_writer.cc binary_log.cc
 
75
 
 
76
schema_reader_SOURCES =  schema_reader.cc
 
77
 
 
78
table_reader_SOURCES =  table_reader.cc
 
79
 
 
80
table_raw_reader_SOURCES =  table_raw_reader.cc
 
81
 
 
82
table_writer_SOURCES =  table_writer.cc
 
83
 
 
84
master_list_writer_SOURCES =  master_list_writer.cc
 
85
 
 
86
master_list_reader_SOURCES =  master_list_reader.cc
 
87
 
 
88
transaction_writer_SOURCES =  transaction_writer.cc
 
89
 
 
90
transaction_reader_SOURCES =  transaction_reader.cc
 
91
 
 
92
command_reader_SOURCES =  command_reader.cc
 
93
 
 
94
length_SOURCES = length.cc
 
95
 
 
96
EXTRA_DIST = \
 
97
                schema.proto \
 
98
                table.proto \
 
99
                binary_log.proto \
 
100
                master_list.proto \
 
101
                replication.proto \
 
102
                check_length.sh
 
103
 
 
104
BUILT_SOURCES = \
 
105
                schema.pb.h \
 
106
                table.pb.h \
 
107
                binary_log.pb.h \
 
108
                replication.pb.h \
 
109
                master_list.pb.h
 
110
 
 
111
CLEANFILES = \
 
112
                binary_log.pb.h \
 
113
                binary_log.pb.cc \
 
114
                schema.pb.h \
 
115
                schema.pb.cc \
 
116
                table.pb.h \
 
117
                table.pb.cc \
 
118
                replication.pb.h \
 
119
                replication.pb.cc \
 
120
                master_list.pb.h \
 
121
                master_list.pb.cc
 
122
 
 
123
SUFFIXES = .proto .pb.cc .pb.h
139
124
.proto.pb.cc:
140
 
        $(PROTOC) --proto_path=${MESSAGE_PROTO_PATH} \
141
 
                --cpp_out=${top_builddir}/${MESSAGE_DIR} $<
 
125
        $(PROTOC) --proto_path=.:${top_srcdir}/drizzled/message \
 
126
                --cpp_out=${top_builddir}/drizzled/message $<
142
127
.proto.pb.h:
143
 
        $(PROTOC) --proto_path=${MESSAGE_PROTO_PATH} \
 
128
        $(PROTOC) --proto_path=.:${top_srcdir}/drizzled/message \
144
129
                --cpp_out=${top_builddir}/drizzled/message $<