~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/include.am

  • Committer: Monty Taylor
  • Date: 2008-07-26 16:22:28 UTC
  • mto: (236.1.42 codestyle)
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: monty@inaugust.com-20080726162228-atatk41l6w4np70m
Added gettext calls in to my_getopt.c and drizzle.c

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# vim:ft=automake
2
 
# Copyright (C) 2000-2006 MySQL AB
3
 
# Copyright (C) 2010 Brian Aker
4
 
5
 
# This program is free software; you can redistribute it and/or modify
6
 
# it under the terms of the GNU General Public License as published by
7
 
# the Free Software Foundation; version 2 of the License.
8
 
9
 
# This program is distributed in the hope that it will be useful,
10
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
 
# GNU General Public License for more details.
13
 
14
 
# You should have received a copy of the GNU General Public License
15
 
# 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
 
 
139
 
.proto.pb.cc:
140
 
        $(PROTOC) --proto_path=${MESSAGE_PROTO_PATH} \
141
 
                --cpp_out=${top_builddir}/${MESSAGE_DIR} $<
142
 
.proto.pb.h:
143
 
        $(PROTOC) --proto_path=${MESSAGE_PROTO_PATH} \
144
 
                --cpp_out=${top_builddir}/drizzled/message $<