~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/Makefile.am

  • Committer: Jay Pipes
  • Date: 2009-09-15 21:01:42 UTC
  • mto: (1126.2.5 merge)
  • mto: This revision was merged to the branch mainline in revision 1128.
  • Revision ID: jpipes@serialcoder-20090915210142-x8mwiqn1q0vzjspp
Moves Alter_info out into its own header and source file, cleans up some related include mess in sql_lex.h, and renames Alter_info to AlterInfo.

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
        ${LIBINTL} \
 
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
nodist_libdrizzledmessage_la_SOURCES = \
 
45
                binary_log.pb.cc \
 
46
                master_list.pb.cc \
 
47
                replication.pb.cc \
 
48
                schema.pb.cc \
 
49
                table.pb.cc
 
50
 
 
51
nodist_noinst_HEADERS= \
 
52
                binary_log.pb.h \
 
53
                master_list.pb.h \
 
54
                replication.pb.h \
 
55
                schema.pb.h \
 
56
                table.pb.h
 
57
 
 
58
noinst_HEADERS= \
 
59
                binary_log.h \
 
60
                binlog_encoding.h \
 
61
                ioutil.h \
 
62
                all.h
 
63
 
 
64
 
 
65
binlog_reader_SOURCES = binlog_reader.cc binary_log.cc
 
66
 
 
67
binlog_writer_SOURCES = binlog_writer.cc binary_log.cc
 
68
 
 
69
schema_reader_SOURCES =  schema_reader.cc
 
70
 
 
71
table_reader_SOURCES =  table_reader.cc
 
72
 
 
73
table_raw_reader_SOURCES =  table_raw_reader.cc
 
74
 
 
75
table_writer_SOURCES =  table_writer.cc
 
76
 
 
77
master_list_writer_SOURCES =  master_list_writer.cc
 
78
 
 
79
master_list_reader_SOURCES =  master_list_reader.cc
 
80
 
 
81
transaction_writer_SOURCES =  transaction_writer.cc
 
82
 
 
83
transaction_reader_SOURCES =  transaction_reader.cc
 
84
 
 
85
command_reader_SOURCES =  command_reader.cc
 
86
 
 
87
length_SOURCES = length.cc
 
88
 
 
89
EXTRA_DIST = \
 
90
                schema.proto \
 
91
                table.proto \
 
92
                binary_log.proto \
 
93
                master_list.proto \
 
94
                replication.proto \
 
95
                check_length.sh
 
96
 
 
97
BUILT_SOURCES = \
 
98
                schema.pb.h \
 
99
                table.pb.h \
 
100
                binary_log.pb.h \
 
101
                replication.pb.h \
 
102
                master_list.pb.h
 
103
 
 
104
CLEANFILES = \
 
105
                binary_log.pb.h \
 
106
                binary_log.pb.cc \
 
107
                schema.pb.h \
 
108
                schema.pb.cc \
 
109
                table.pb.h \
 
110
                table.pb.cc \
 
111
                replication.pb.h \
 
112
                replication.pb.cc \
 
113
                master_list.pb.h \
 
114
                master_list.pb.cc
 
115
 
 
116
SUFFIXES = .proto .pb.cc .pb.h
139
117
.proto.pb.cc:
140
 
        $(PROTOC) --proto_path=${MESSAGE_PROTO_PATH} \
141
 
                --cpp_out=${top_builddir}/${MESSAGE_DIR} $<
 
118
        $(PROTOC) --proto_path=.:${top_srcdir}/drizzled/message \
 
119
                --cpp_out=${top_builddir}/drizzled/message $<
142
120
.proto.pb.h:
143
 
        $(PROTOC) --proto_path=${MESSAGE_PROTO_PATH} \
 
121
        $(PROTOC) --proto_path=.:${top_srcdir}/drizzled/message \
144
122
                --cpp_out=${top_builddir}/drizzled/message $<