OLD | NEW |
1 ## Process this file with automake to produce Makefile.in | 1 ## Process this file with automake to produce Makefile.in |
2 | 2 |
3 if HAVE_ZLIB | 3 if HAVE_ZLIB |
4 GZCHECKPROGRAMS = zcgzip zcgunzip | 4 GZCHECKPROGRAMS = zcgzip zcgunzip |
5 GZHEADERS = google/protobuf/io/gzip_stream.h | 5 GZHEADERS = google/protobuf/io/gzip_stream.h |
6 GZTESTS = google/protobuf/io/gzip_stream_unittest.sh | 6 GZTESTS = google/protobuf/io/gzip_stream_unittest.sh |
7 ZLIB_DEF = -DHAVE_ZLIB=1 | |
8 else | 7 else |
9 GZCHECKPROGRAMS = | 8 GZCHECKPROGRAMS = |
10 GZHEADERS = | 9 GZHEADERS = |
11 GZTESTS = | 10 GZTESTS = |
12 ZLIB_DEF = | |
13 endif | |
14 | |
15 if HAVE_PTHREAD | |
16 PTHREAD_DEF = -DHAVE_PTHREAD=1 | |
17 else | |
18 PTHREAD_DEF = | |
19 endif | 11 endif |
20 | 12 |
21 if GCC | 13 if GCC |
22 # These are good warnings to turn on by default | 14 # These are good warnings to turn on by default |
23 NO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF) -Wall -Wwrite-str
ings -Woverloaded-virtual -Wno-sign-compare | 15 NO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) -Wall -Wwrite-strings -Woverloaded-virtual -
Wno-sign-compare |
24 else | 16 else |
25 NO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF) | 17 NO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) |
26 endif | 18 endif |
27 | 19 |
28 AM_CXXFLAGS = $(NO_OPT_CXXFLAGS) $(PROTOBUF_OPT_FLAG) | 20 AM_CXXFLAGS = $(NO_OPT_CXXFLAGS) $(PROTOBUF_OPT_FLAG) |
29 | 21 |
30 AM_LDFLAGS = $(PTHREAD_CFLAGS) | 22 AM_LDFLAGS = $(PTHREAD_CFLAGS) |
31 | 23 |
32 # If I say "dist_include_DATA", automake complains that $(includedir) is not | 24 # If I say "dist_include_DATA", automake complains that $(includedir) is not |
33 # a "legitimate" directory for DATA. Screw you, automake. | 25 # a "legitimate" directory for DATA. Screw you, automake. |
34 protodir = $(includedir) | 26 protodir = $(includedir) |
35 nobase_dist_proto_DATA = google/protobuf/descriptor.proto \ | 27 nobase_dist_proto_DATA = google/protobuf/descriptor.proto \ |
36 google/protobuf/any.proto \ | |
37 google/protobuf/api.proto \ | |
38 google/protobuf/duration.proto \ | |
39 google/protobuf/empty.proto \ | |
40 google/protobuf/field_mask.proto \ | |
41 google/protobuf/source_context.proto \ | |
42 google/protobuf/struct.proto \ | |
43 google/protobuf/timestamp.proto \ | |
44 google/protobuf/type.proto \ | |
45 google/protobuf/wrappers.proto \ | |
46 google/protobuf/compiler/plugin.proto | 28 google/protobuf/compiler/plugin.proto |
47 | 29 |
48 # Not sure why these don't get cleaned automatically. | 30 # Not sure why these don't get cleaned automatically. |
49 clean-local: | 31 clean-local: |
50 rm -f *.loT | 32 rm -f *.loT |
51 | 33 |
52 CLEANFILES = $(protoc_outputs) unittest_proto_middleman \ | 34 CLEANFILES = $(protoc_outputs) unittest_proto_middleman \ |
53 testzip.jar testzip.list testzip.proto testzip.zip | 35 testzip.jar testzip.list testzip.proto testzip.zip |
54 | 36 |
55 MAINTAINERCLEANFILES = \ | 37 MAINTAINERCLEANFILES = \ |
56 Makefile.in | 38 Makefile.in |
57 | 39 |
58 nobase_include_HEADERS = \ | 40 nobase_include_HEADERS = \ |
59 google/protobuf/stubs/atomic_sequence_num.h \ | |
60 google/protobuf/stubs/atomicops.h \ | 41 google/protobuf/stubs/atomicops.h \ |
61 google/protobuf/stubs/atomicops_internals_aix.h \ | |
62 google/protobuf/stubs/atomicops_internals_arm64_gcc.h \ | |
63 google/protobuf/stubs/atomicops_internals_arm_gcc.h \ | 42 google/protobuf/stubs/atomicops_internals_arm_gcc.h \ |
64 google/protobuf/stubs/atomicops_internals_arm_qnx.h \ | 43 google/protobuf/stubs/atomicops_internals_arm_qnx.h \ |
65 google/protobuf/stubs/atomicops_internals_atomicword_compat.h \ | 44 google/protobuf/stubs/atomicops_internals_atomicword_compat.h \ |
66 google/protobuf/stubs/atomicops_internals_generic_gcc.h \ | |
67 google/protobuf/stubs/atomicops_internals_macosx.h \ | 45 google/protobuf/stubs/atomicops_internals_macosx.h \ |
68 google/protobuf/stubs/atomicops_internals_mips_gcc.h \ | 46 google/protobuf/stubs/atomicops_internals_mips_gcc.h \ |
69 google/protobuf/stubs/atomicops_internals_pnacl.h \ | 47 google/protobuf/stubs/atomicops_internals_pnacl.h \ |
70 google/protobuf/stubs/atomicops_internals_solaris.h \ | |
71 google/protobuf/stubs/atomicops_internals_tsan.h \ | |
72 google/protobuf/stubs/atomicops_internals_x86_gcc.h \ | 48 google/protobuf/stubs/atomicops_internals_x86_gcc.h \ |
73 google/protobuf/stubs/atomicops_internals_x86_msvc.h \ | 49 google/protobuf/stubs/atomicops_internals_x86_msvc.h \ |
74 google/protobuf/stubs/callback.h \ | |
75 google/protobuf/stubs/bytestream.h \ | |
76 google/protobuf/stubs/casts.h \ | |
77 google/protobuf/stubs/common.h \ | 50 google/protobuf/stubs/common.h \ |
78 google/protobuf/stubs/fastmem.h \ | 51 google/protobuf/stubs/platform_macros.h \ |
79 google/protobuf/stubs/hash.h \ | |
80 google/protobuf/stubs/logging.h \ | |
81 google/protobuf/stubs/macros.h \ | |
82 google/protobuf/stubs/mutex.h \ | |
83 google/protobuf/stubs/once.h \ | 52 google/protobuf/stubs/once.h \ |
84 google/protobuf/stubs/platform_macros.h \ | |
85 google/protobuf/stubs/port.h \ | |
86 google/protobuf/stubs/scoped_ptr.h \ | |
87 google/protobuf/stubs/shared_ptr.h \ | |
88 google/protobuf/stubs/singleton.h \ | |
89 google/protobuf/stubs/status.h \ | |
90 google/protobuf/stubs/stl_util.h \ | |
91 google/protobuf/stubs/stringpiece.h \ | |
92 google/protobuf/stubs/template_util.h \ | 53 google/protobuf/stubs/template_util.h \ |
93 google/protobuf/stubs/type_traits.h \ | 54 google/protobuf/stubs/type_traits.h \ |
94 google/protobuf/any.pb.h \ | |
95 google/protobuf/api.pb.h \ | |
96 google/protobuf/any.h \ | |
97 google/protobuf/arena.h \ | |
98 google/protobuf/arenastring.h \ | |
99 google/protobuf/descriptor_database.h \ | |
100 google/protobuf/descriptor.h \ | 55 google/protobuf/descriptor.h \ |
101 google/protobuf/descriptor.pb.h \ | 56 google/protobuf/descriptor.pb.h \ |
102 google/protobuf/duration.pb.h \ | 57 google/protobuf/descriptor_database.h \ |
103 google/protobuf/dynamic_message.h \ | 58 google/protobuf/dynamic_message.h \ |
104 google/protobuf/empty.pb.h \ | |
105 google/protobuf/extension_set.h \ | 59 google/protobuf/extension_set.h \ |
106 google/protobuf/field_mask.pb.h \ | |
107 google/protobuf/generated_enum_reflection.h \ | 60 google/protobuf/generated_enum_reflection.h \ |
108 google/protobuf/generated_enum_util.h \ | 61 google/protobuf/generated_message_util.h \ |
109 google/protobuf/generated_message_reflection.h \ | 62 google/protobuf/generated_message_reflection.h \ |
110 google/protobuf/generated_message_util.h \ | |
111 google/protobuf/map_entry.h \ | |
112 google/protobuf/map_entry_lite.h \ | |
113 google/protobuf/map_field.h \ | |
114 google/protobuf/map_field_inl.h \ | |
115 google/protobuf/map_field_lite.h \ | |
116 google/protobuf/map.h \ | |
117 google/protobuf/map_type_handler.h \ | |
118 google/protobuf/message.h \ | 63 google/protobuf/message.h \ |
119 google/protobuf/message_lite.h \ | 64 google/protobuf/message_lite.h \ |
120 google/protobuf/metadata.h \ | |
121 google/protobuf/reflection.h \ | |
122 google/protobuf/reflection_ops.h \ | 65 google/protobuf/reflection_ops.h \ |
123 google/protobuf/repeated_field.h \ | 66 google/protobuf/repeated_field.h \ |
124 google/protobuf/repeated_field_reflection.h \ | |
125 google/protobuf/service.h \ | 67 google/protobuf/service.h \ |
126 google/protobuf/source_context.pb.h \ | |
127 google/protobuf/struct.pb.h \ | |
128 google/protobuf/text_format.h \ | 68 google/protobuf/text_format.h \ |
129 google/protobuf/timestamp.pb.h \ | |
130 google/protobuf/type.pb.h \ | |
131 google/protobuf/unknown_field_set.h \ | 69 google/protobuf/unknown_field_set.h \ |
132 google/protobuf/wire_format.h \ | 70 google/protobuf/wire_format.h \ |
133 google/protobuf/wire_format_lite.h \ | 71 google/protobuf/wire_format_lite.h \ |
134 google/protobuf/wire_format_lite_inl.h \ | 72 google/protobuf/wire_format_lite_inl.h \ |
135 google/protobuf/wrappers.pb.h \ | |
136 google/protobuf/io/coded_stream.h \ | 73 google/protobuf/io/coded_stream.h \ |
137 $(GZHEADERS) \ | 74 $(GZHEADERS) \ |
138 google/protobuf/io/printer.h \ | 75 google/protobuf/io/printer.h \ |
139 google/protobuf/io/strtod.h \ | |
140 google/protobuf/io/tokenizer.h \ | 76 google/protobuf/io/tokenizer.h \ |
141 google/protobuf/io/zero_copy_stream.h \ | 77 google/protobuf/io/zero_copy_stream.h \ |
142 google/protobuf/io/zero_copy_stream_impl.h \ | 78 google/protobuf/io/zero_copy_stream_impl.h \ |
143 google/protobuf/io/zero_copy_stream_impl_lite.h \ | 79 google/protobuf/io/zero_copy_stream_impl_lite.h \ |
144 google/protobuf/compiler/code_generator.h \ | 80 google/protobuf/compiler/code_generator.h \ |
145 google/protobuf/compiler/command_line_interface.h \ | 81 google/protobuf/compiler/command_line_interface.h \ |
146 google/protobuf/compiler/importer.h \ | 82 google/protobuf/compiler/importer.h \ |
147 google/protobuf/compiler/parser.h \ | 83 google/protobuf/compiler/parser.h \ |
148 google/protobuf/compiler/plugin.h \ | 84 google/protobuf/compiler/plugin.h \ |
149 google/protobuf/compiler/plugin.pb.h \ | 85 google/protobuf/compiler/plugin.pb.h \ |
150 google/protobuf/compiler/cpp/cpp_generator.h \ | 86 google/protobuf/compiler/cpp/cpp_generator.h \ |
151 google/protobuf/compiler/java/java_generator.h \ | 87 google/protobuf/compiler/java/java_generator.h \ |
152 google/protobuf/compiler/java/java_names.h \ | 88 google/protobuf/compiler/python/python_generator.h |
153 google/protobuf/compiler/javanano/javanano_generator.h \ | |
154 google/protobuf/compiler/objectivec/objectivec_generator.h \ | |
155 google/protobuf/compiler/objectivec/objectivec_helpers.h \ | |
156 google/protobuf/compiler/python/python_generator.h \ | |
157 google/protobuf/compiler/ruby/ruby_generator.h \ | |
158 google/protobuf/compiler/csharp/csharp_generator.h \ | |
159 google/protobuf/compiler/csharp/csharp_names.h \ | |
160 google/protobuf/util/type_resolver.h \ | |
161 google/protobuf/util/type_resolver_util.h \ | |
162 google/protobuf/util/json_util.h \ | |
163 google/protobuf/util/field_comparator.h \ | |
164 google/protobuf/util/message_differencer.h | |
165 | 89 |
166 lib_LTLIBRARIES = libprotobuf-lite.la libprotobuf.la libprotoc.la | 90 lib_LTLIBRARIES = libprotobuf-lite.la libprotobuf.la libprotoc.la |
167 | 91 |
168 libprotobuf_lite_la_LIBADD = $(PTHREAD_LIBS) | 92 libprotobuf_lite_la_LIBADD = $(PTHREAD_LIBS) |
169 libprotobuf_lite_la_LDFLAGS = -version-info 10:0:0 -export-dynamic -no-undefined | 93 libprotobuf_lite_la_LDFLAGS = -version-info 8:0:0 -export-dynamic -no-undefined |
170 libprotobuf_lite_la_SOURCES = \ | 94 libprotobuf_lite_la_SOURCES = \ |
171 google/protobuf/stubs/atomicops_internals_x86_gcc.cc \ | 95 google/protobuf/stubs/atomicops_internals_x86_gcc.cc \ |
172 google/protobuf/stubs/atomicops_internals_x86_msvc.cc \ | 96 google/protobuf/stubs/atomicops_internals_x86_msvc.cc \ |
173 google/protobuf/stubs/bytestream.cc \ | |
174 google/protobuf/stubs/bytestream.h \ | |
175 google/protobuf/stubs/common.cc \ | 97 google/protobuf/stubs/common.cc \ |
| 98 google/protobuf/stubs/once.cc \ |
176 google/protobuf/stubs/hash.h \ | 99 google/protobuf/stubs/hash.h \ |
177 google/protobuf/stubs/map_util.h \ | 100 google/protobuf/stubs/map-util.h \ |
178 google/protobuf/stubs/mathutil.h \ | 101 google/protobuf/stubs/stl_util.h \ |
179 google/protobuf/stubs/once.cc \ | |
180 google/protobuf/stubs/shared_ptr.h \ | |
181 google/protobuf/stubs/status.cc \ | |
182 google/protobuf/stubs/status.h \ | |
183 google/protobuf/stubs/status_macros.h \ | |
184 google/protobuf/stubs/statusor.cc \ | |
185 google/protobuf/stubs/statusor.h \ | |
186 google/protobuf/stubs/stringpiece.cc \ | |
187 google/protobuf/stubs/stringpiece.h \ | |
188 google/protobuf/stubs/stringprintf.cc \ | 102 google/protobuf/stubs/stringprintf.cc \ |
189 google/protobuf/stubs/stringprintf.h \ | 103 google/protobuf/stubs/stringprintf.h \ |
190 google/protobuf/stubs/strutil.cc \ | |
191 google/protobuf/stubs/strutil.h \ | |
192 google/protobuf/stubs/time.cc \ | |
193 google/protobuf/stubs/time.h \ | |
194 google/protobuf/arena.cc \ | |
195 google/protobuf/arenastring.cc \ | |
196 google/protobuf/extension_set.cc \ | 104 google/protobuf/extension_set.cc \ |
197 google/protobuf/generated_message_util.cc \ | 105 google/protobuf/generated_message_util.cc \ |
198 google/protobuf/message_lite.cc \ | 106 google/protobuf/message_lite.cc \ |
199 google/protobuf/repeated_field.cc \ | 107 google/protobuf/repeated_field.cc \ |
200 google/protobuf/wire_format_lite.cc \ | 108 google/protobuf/wire_format_lite.cc \ |
201 google/protobuf/io/coded_stream.cc \ | 109 google/protobuf/io/coded_stream.cc \ |
202 google/protobuf/io/coded_stream_inl.h \ | 110 google/protobuf/io/coded_stream_inl.h \ |
203 google/protobuf/io/zero_copy_stream.cc \ | 111 google/protobuf/io/zero_copy_stream.cc \ |
204 google/protobuf/io/zero_copy_stream_impl_lite.cc | 112 google/protobuf/io/zero_copy_stream_impl_lite.cc |
205 | 113 |
206 libprotobuf_la_LIBADD = $(PTHREAD_LIBS) | 114 libprotobuf_la_LIBADD = $(PTHREAD_LIBS) |
207 libprotobuf_la_LDFLAGS = -version-info 10:0:0 -export-dynamic -no-undefined | 115 libprotobuf_la_LDFLAGS = -version-info 8:0:0 -export-dynamic -no-undefined |
208 libprotobuf_la_SOURCES = \ | 116 libprotobuf_la_SOURCES = \ |
209 $(libprotobuf_lite_la_SOURCES) \ | 117 $(libprotobuf_lite_la_SOURCES) \ |
210 google/protobuf/any.pb.cc \ | 118 google/protobuf/stubs/strutil.cc \ |
211 google/protobuf/api.pb.cc \ | 119 google/protobuf/stubs/strutil.h \ |
212 google/protobuf/stubs/mathlimits.h \ | 120 google/protobuf/stubs/substitute.cc \ |
213 google/protobuf/stubs/mathlimits.cc \ | 121 google/protobuf/stubs/substitute.h \ |
214 google/protobuf/any.cc \ | 122 google/protobuf/stubs/structurally_valid.cc \ |
215 google/protobuf/descriptor.cc \ | 123 google/protobuf/descriptor.cc \ |
| 124 google/protobuf/descriptor.pb.cc \ |
216 google/protobuf/descriptor_database.cc \ | 125 google/protobuf/descriptor_database.cc \ |
217 google/protobuf/descriptor.pb.cc \ | |
218 google/protobuf/duration.pb.cc \ | |
219 google/protobuf/dynamic_message.cc \ | 126 google/protobuf/dynamic_message.cc \ |
220 google/protobuf/empty.pb.cc \ | |
221 google/protobuf/extension_set_heavy.cc \ | 127 google/protobuf/extension_set_heavy.cc \ |
222 google/protobuf/field_mask.pb.cc \ | |
223 google/protobuf/generated_message_reflection.cc \ | 128 google/protobuf/generated_message_reflection.cc \ |
224 google/protobuf/map_field.cc \ | |
225 google/protobuf/message.cc \ | 129 google/protobuf/message.cc \ |
226 google/protobuf/reflection_internal.h \ | |
227 google/protobuf/reflection_ops.cc \ | 130 google/protobuf/reflection_ops.cc \ |
228 google/protobuf/service.cc \ | 131 google/protobuf/service.cc \ |
229 google/protobuf/source_context.pb.cc \ | |
230 google/protobuf/struct.pb.cc \ | |
231 google/protobuf/stubs/structurally_valid.cc \ | |
232 google/protobuf/stubs/substitute.cc \ | |
233 google/protobuf/stubs/substitute.h \ | |
234 google/protobuf/text_format.cc \ | 132 google/protobuf/text_format.cc \ |
235 google/protobuf/timestamp.pb.cc \ | |
236 google/protobuf/type.pb.cc \ | |
237 google/protobuf/unknown_field_set.cc \ | 133 google/protobuf/unknown_field_set.cc \ |
238 google/protobuf/wire_format.cc \ | 134 google/protobuf/wire_format.cc \ |
239 google/protobuf/wrappers.pb.cc \ | |
240 google/protobuf/io/gzip_stream.cc \ | 135 google/protobuf/io/gzip_stream.cc \ |
241 google/protobuf/io/printer.cc \ | 136 google/protobuf/io/printer.cc \ |
242 google/protobuf/io/strtod.cc \ | |
243 google/protobuf/io/tokenizer.cc \ | 137 google/protobuf/io/tokenizer.cc \ |
244 google/protobuf/io/zero_copy_stream_impl.cc \ | 138 google/protobuf/io/zero_copy_stream_impl.cc \ |
245 google/protobuf/compiler/importer.cc \ | 139 google/protobuf/compiler/importer.cc \ |
246 google/protobuf/compiler/parser.cc \ | 140 google/protobuf/compiler/parser.cc |
247 google/protobuf/util/field_comparator.cc \ | |
248 google/protobuf/util/internal/constants.h \ | |
249 google/protobuf/util/internal/datapiece.cc \ | |
250 google/protobuf/util/internal/datapiece.h \ | |
251 google/protobuf/util/internal/default_value_objectwriter.cc \ | |
252 google/protobuf/util/internal/default_value_objectwriter.h \ | |
253 google/protobuf/util/internal/error_listener.cc \ | |
254 google/protobuf/util/internal/error_listener.h \ | |
255 google/protobuf/util/internal/expecting_objectwriter.h \ | |
256 google/protobuf/util/internal/field_mask_utility.cc \ | |
257 google/protobuf/util/internal/field_mask_utility.h \ | |
258 google/protobuf/util/internal/json_escaping.cc \ | |
259 google/protobuf/util/internal/json_escaping.h \ | |
260 google/protobuf/util/internal/json_objectwriter.cc \ | |
261 google/protobuf/util/internal/json_objectwriter.h \ | |
262 google/protobuf/util/internal/json_stream_parser.cc \ | |
263 google/protobuf/util/internal/json_stream_parser.h \ | |
264 google/protobuf/util/internal/location_tracker.h \ | |
265 google/protobuf/util/internal/mock_error_listener.h \ | |
266 google/protobuf/util/internal/object_location_tracker.h \ | |
267 google/protobuf/util/internal/object_source.h \ | |
268 google/protobuf/util/internal/object_writer.cc \ | |
269 google/protobuf/util/internal/object_writer.h \ | |
270 google/protobuf/util/internal/protostream_objectsource.cc \ | |
271 google/protobuf/util/internal/protostream_objectsource.h \ | |
272 google/protobuf/util/internal/protostream_objectwriter.cc \ | |
273 google/protobuf/util/internal/protostream_objectwriter.h \ | |
274 google/protobuf/util/internal/snake2camel_objectwriter.h \ | |
275 google/protobuf/util/internal/structured_objectwriter.h \ | |
276 google/protobuf/util/internal/testdata \ | |
277 google/protobuf/util/internal/type_info.cc \ | |
278 google/protobuf/util/internal/type_info.h \ | |
279 google/protobuf/util/internal/type_info_test_helper.cc \ | |
280 google/protobuf/util/internal/type_info_test_helper.h \ | |
281 google/protobuf/util/internal/utility.cc \ | |
282 google/protobuf/util/internal/utility.h \ | |
283 google/protobuf/util/json_util.cc \ | |
284 google/protobuf/util/type_resolver_util.cc \ | |
285 google/protobuf/util/message_differencer.cc | |
286 nodist_libprotobuf_la_SOURCES = $(nodist_libprotobuf_lite_la_SOURCES) | |
287 | 141 |
288 libprotoc_la_LIBADD = $(PTHREAD_LIBS) libprotobuf.la | 142 libprotoc_la_LIBADD = $(PTHREAD_LIBS) libprotobuf.la |
289 libprotoc_la_LDFLAGS = -version-info 10:0:0 -export-dynamic -no-undefined | 143 libprotoc_la_LDFLAGS = -version-info 8:0:0 -export-dynamic -no-undefined |
290 libprotoc_la_SOURCES = \ | 144 libprotoc_la_SOURCES = \ |
291 google/protobuf/compiler/code_generator.cc \ | 145 google/protobuf/compiler/code_generator.cc \ |
292 google/protobuf/compiler/command_line_interface.cc \ | 146 google/protobuf/compiler/command_line_interface.cc \ |
293 google/protobuf/compiler/plugin.cc \ | 147 google/protobuf/compiler/plugin.cc \ |
294 google/protobuf/compiler/plugin.pb.cc \ | 148 google/protobuf/compiler/plugin.pb.cc \ |
295 google/protobuf/compiler/subprocess.cc \ | 149 google/protobuf/compiler/subprocess.cc \ |
296 google/protobuf/compiler/subprocess.h \ | 150 google/protobuf/compiler/subprocess.h \ |
297 google/protobuf/compiler/zip_writer.cc \ | 151 google/protobuf/compiler/zip_writer.cc \ |
298 google/protobuf/compiler/zip_writer.h \ | 152 google/protobuf/compiler/zip_writer.h \ |
299 google/protobuf/compiler/cpp/cpp_enum.cc \ | 153 google/protobuf/compiler/cpp/cpp_enum.cc \ |
300 google/protobuf/compiler/cpp/cpp_enum.h \ | 154 google/protobuf/compiler/cpp/cpp_enum.h \ |
301 google/protobuf/compiler/cpp/cpp_enum_field.cc \ | 155 google/protobuf/compiler/cpp/cpp_enum_field.cc \ |
302 google/protobuf/compiler/cpp/cpp_enum_field.h \ | 156 google/protobuf/compiler/cpp/cpp_enum_field.h \ |
303 google/protobuf/compiler/cpp/cpp_extension.cc \ | 157 google/protobuf/compiler/cpp/cpp_extension.cc \ |
304 google/protobuf/compiler/cpp/cpp_extension.h \ | 158 google/protobuf/compiler/cpp/cpp_extension.h \ |
305 google/protobuf/compiler/cpp/cpp_field.cc \ | 159 google/protobuf/compiler/cpp/cpp_field.cc \ |
306 google/protobuf/compiler/cpp/cpp_field.h \ | 160 google/protobuf/compiler/cpp/cpp_field.h \ |
307 google/protobuf/compiler/cpp/cpp_file.cc \ | 161 google/protobuf/compiler/cpp/cpp_file.cc \ |
308 google/protobuf/compiler/cpp/cpp_file.h \ | 162 google/protobuf/compiler/cpp/cpp_file.h \ |
309 google/protobuf/compiler/cpp/cpp_generator.cc \ | 163 google/protobuf/compiler/cpp/cpp_generator.cc \ |
310 google/protobuf/compiler/cpp/cpp_helpers.cc \ | 164 google/protobuf/compiler/cpp/cpp_helpers.cc \ |
311 google/protobuf/compiler/cpp/cpp_helpers.h \ | 165 google/protobuf/compiler/cpp/cpp_helpers.h \ |
312 google/protobuf/compiler/cpp/cpp_map_field.cc \ | |
313 google/protobuf/compiler/cpp/cpp_map_field.h \ | |
314 google/protobuf/compiler/cpp/cpp_message.cc \ | 166 google/protobuf/compiler/cpp/cpp_message.cc \ |
315 google/protobuf/compiler/cpp/cpp_message.h \ | 167 google/protobuf/compiler/cpp/cpp_message.h \ |
316 google/protobuf/compiler/cpp/cpp_message_field.cc \ | 168 google/protobuf/compiler/cpp/cpp_message_field.cc \ |
317 google/protobuf/compiler/cpp/cpp_message_field.h \ | 169 google/protobuf/compiler/cpp/cpp_message_field.h \ |
318 google/protobuf/compiler/cpp/cpp_options.h \ | 170 google/protobuf/compiler/cpp/cpp_options.h \ |
319 google/protobuf/compiler/cpp/cpp_primitive_field.cc \ | 171 google/protobuf/compiler/cpp/cpp_primitive_field.cc \ |
320 google/protobuf/compiler/cpp/cpp_primitive_field.h \ | 172 google/protobuf/compiler/cpp/cpp_primitive_field.h \ |
321 google/protobuf/compiler/cpp/cpp_service.cc \ | 173 google/protobuf/compiler/cpp/cpp_service.cc \ |
322 google/protobuf/compiler/cpp/cpp_service.h \ | 174 google/protobuf/compiler/cpp/cpp_service.h \ |
323 google/protobuf/compiler/cpp/cpp_string_field.cc \ | 175 google/protobuf/compiler/cpp/cpp_string_field.cc \ |
324 google/protobuf/compiler/cpp/cpp_string_field.h \ | 176 google/protobuf/compiler/cpp/cpp_string_field.h \ |
325 google/protobuf/compiler/java/java_context.cc \ | |
326 google/protobuf/compiler/java/java_context.h \ | |
327 google/protobuf/compiler/java/java_enum.cc \ | 177 google/protobuf/compiler/java/java_enum.cc \ |
| 178 google/protobuf/compiler/java/java_enum.h \ |
328 google/protobuf/compiler/java/java_enum_field.cc \ | 179 google/protobuf/compiler/java/java_enum_field.cc \ |
329 google/protobuf/compiler/java/java_enum_field.h \ | 180 google/protobuf/compiler/java/java_enum_field.h \ |
330 google/protobuf/compiler/java/java_enum_field_lite.cc \ | |
331 google/protobuf/compiler/java/java_enum_field_lite.h \ | |
332 google/protobuf/compiler/java/java_enum.h \ | |
333 google/protobuf/compiler/java/java_extension.cc \ | 181 google/protobuf/compiler/java/java_extension.cc \ |
334 google/protobuf/compiler/java/java_extension.h \ | 182 google/protobuf/compiler/java/java_extension.h \ |
335 google/protobuf/compiler/java/java_field.cc \ | 183 google/protobuf/compiler/java/java_field.cc \ |
336 google/protobuf/compiler/java/java_field.h \ | 184 google/protobuf/compiler/java/java_field.h \ |
337 google/protobuf/compiler/java/java_file.cc \ | 185 google/protobuf/compiler/java/java_file.cc \ |
338 google/protobuf/compiler/java/java_file.h \ | 186 google/protobuf/compiler/java/java_file.h \ |
339 google/protobuf/compiler/java/java_generator.cc \ | 187 google/protobuf/compiler/java/java_generator.cc \ |
340 google/protobuf/compiler/java/java_generator_factory.cc \ | |
341 google/protobuf/compiler/java/java_generator_factory.h \ | |
342 google/protobuf/compiler/java/java_helpers.cc \ | 188 google/protobuf/compiler/java/java_helpers.cc \ |
343 google/protobuf/compiler/java/java_helpers.h \ | 189 google/protobuf/compiler/java/java_helpers.h \ |
344 google/protobuf/compiler/java/java_lazy_message_field.cc \ | |
345 google/protobuf/compiler/java/java_lazy_message_field.h \ | |
346 google/protobuf/compiler/java/java_lazy_message_field_lite.cc\ | |
347 google/protobuf/compiler/java/java_lazy_message_field_lite.h \ | |
348 google/protobuf/compiler/java/java_map_field.cc \ | |
349 google/protobuf/compiler/java/java_map_field.h \ | |
350 google/protobuf/compiler/java/java_map_field_lite.cc \ | |
351 google/protobuf/compiler/java/java_map_field_lite.h \ | |
352 google/protobuf/compiler/java/java_message.cc \ | 190 google/protobuf/compiler/java/java_message.cc \ |
353 google/protobuf/compiler/java/java_message_lite.cc \ | 191 google/protobuf/compiler/java/java_message.h \ |
354 google/protobuf/compiler/java/java_message_builder.cc \ | |
355 google/protobuf/compiler/java/java_message_builder_lite.cc \ | |
356 google/protobuf/compiler/java/java_message_field.cc \ | 192 google/protobuf/compiler/java/java_message_field.cc \ |
357 google/protobuf/compiler/java/java_message_field.h \ | 193 google/protobuf/compiler/java/java_message_field.h \ |
358 google/protobuf/compiler/java/java_message_field_lite.cc \ | |
359 google/protobuf/compiler/java/java_message_field_lite.h \ | |
360 google/protobuf/compiler/java/java_message.h \ | |
361 google/protobuf/compiler/java/java_message_lite.h \ | |
362 google/protobuf/compiler/java/java_message_builder.h \ | |
363 google/protobuf/compiler/java/java_message_builder_lite.h \ | |
364 google/protobuf/compiler/java/java_name_resolver.cc \ | |
365 google/protobuf/compiler/java/java_name_resolver.h \ | |
366 google/protobuf/compiler/java/java_primitive_field.cc \ | 194 google/protobuf/compiler/java/java_primitive_field.cc \ |
367 google/protobuf/compiler/java/java_primitive_field.h \ | 195 google/protobuf/compiler/java/java_primitive_field.h \ |
368 google/protobuf/compiler/java/java_primitive_field_lite.cc \ | |
369 google/protobuf/compiler/java/java_primitive_field_lite.h \ | |
370 google/protobuf/compiler/java/java_shared_code_generator.cc \ | |
371 google/protobuf/compiler/java/java_shared_code_generator.h \ | |
372 google/protobuf/compiler/java/java_service.cc \ | 196 google/protobuf/compiler/java/java_service.cc \ |
373 google/protobuf/compiler/java/java_service.h \ | 197 google/protobuf/compiler/java/java_service.h \ |
374 google/protobuf/compiler/java/java_string_field.cc \ | 198 google/protobuf/compiler/java/java_string_field.cc \ |
375 google/protobuf/compiler/java/java_string_field.h \ | 199 google/protobuf/compiler/java/java_string_field.h \ |
376 google/protobuf/compiler/java/java_string_field_lite.cc \ | |
377 google/protobuf/compiler/java/java_string_field_lite.h \ | |
378 google/protobuf/compiler/java/java_doc_comment.cc \ | 200 google/protobuf/compiler/java/java_doc_comment.cc \ |
379 google/protobuf/compiler/java/java_doc_comment.h \ | 201 google/protobuf/compiler/java/java_doc_comment.h \ |
380 google/protobuf/compiler/javanano/javanano_enum.cc \ | 202 google/protobuf/compiler/python/python_generator.cc |
381 google/protobuf/compiler/javanano/javanano_enum.h \ | |
382 google/protobuf/compiler/javanano/javanano_enum_field.cc \ | |
383 google/protobuf/compiler/javanano/javanano_enum_field.h \ | |
384 google/protobuf/compiler/javanano/javanano_extension.cc \ | |
385 google/protobuf/compiler/javanano/javanano_extension.h \ | |
386 google/protobuf/compiler/javanano/javanano_field.cc \ | |
387 google/protobuf/compiler/javanano/javanano_field.h \ | |
388 google/protobuf/compiler/javanano/javanano_file.cc \ | |
389 google/protobuf/compiler/javanano/javanano_file.h \ | |
390 google/protobuf/compiler/javanano/javanano_generator.cc \ | |
391 google/protobuf/compiler/javanano/javanano_generator.h \ | |
392 google/protobuf/compiler/javanano/javanano_helpers.cc \ | |
393 google/protobuf/compiler/javanano/javanano_helpers.h \ | |
394 google/protobuf/compiler/javanano/javanano_map_field.cc \ | |
395 google/protobuf/compiler/javanano/javanano_map_field.h \ | |
396 google/protobuf/compiler/javanano/javanano_message.cc \ | |
397 google/protobuf/compiler/javanano/javanano_message.h \ | |
398 google/protobuf/compiler/javanano/javanano_message_field.cc \ | |
399 google/protobuf/compiler/javanano/javanano_message_field.h \ | |
400 google/protobuf/compiler/javanano/javanano_params.h \ | |
401 google/protobuf/compiler/javanano/javanano_primitive_field.cc \ | |
402 google/protobuf/compiler/javanano/javanano_primitive_field.h \ | |
403 google/protobuf/compiler/objectivec/objectivec_enum.cc \ | |
404 google/protobuf/compiler/objectivec/objectivec_enum.h \ | |
405 google/protobuf/compiler/objectivec/objectivec_enum_field.cc \ | |
406 google/protobuf/compiler/objectivec/objectivec_enum_field.h \ | |
407 google/protobuf/compiler/objectivec/objectivec_extension.cc \ | |
408 google/protobuf/compiler/objectivec/objectivec_extension.h \ | |
409 google/protobuf/compiler/objectivec/objectivec_field.cc \ | |
410 google/protobuf/compiler/objectivec/objectivec_field.h \ | |
411 google/protobuf/compiler/objectivec/objectivec_file.cc \ | |
412 google/protobuf/compiler/objectivec/objectivec_file.h \ | |
413 google/protobuf/compiler/objectivec/objectivec_generator.cc \ | |
414 google/protobuf/compiler/objectivec/objectivec_helpers.cc \ | |
415 google/protobuf/compiler/objectivec/objectivec_helpers.h \ | |
416 google/protobuf/compiler/objectivec/objectivec_map_field.cc \ | |
417 google/protobuf/compiler/objectivec/objectivec_map_field.h \ | |
418 google/protobuf/compiler/objectivec/objectivec_message.cc \ | |
419 google/protobuf/compiler/objectivec/objectivec_message.h \ | |
420 google/protobuf/compiler/objectivec/objectivec_message_field.cc \ | |
421 google/protobuf/compiler/objectivec/objectivec_message_field.h \ | |
422 google/protobuf/compiler/objectivec/objectivec_oneof.cc \ | |
423 google/protobuf/compiler/objectivec/objectivec_oneof.h \ | |
424 google/protobuf/compiler/objectivec/objectivec_primitive_field.cc \ | |
425 google/protobuf/compiler/objectivec/objectivec_primitive_field.h \ | |
426 google/protobuf/compiler/python/python_generator.cc \ | |
427 google/protobuf/compiler/ruby/ruby_generator.cc \ | |
428 google/protobuf/compiler/csharp/csharp_enum.cc \ | |
429 google/protobuf/compiler/csharp/csharp_enum.h \ | |
430 google/protobuf/compiler/csharp/csharp_enum_field.cc \ | |
431 google/protobuf/compiler/csharp/csharp_enum_field.h \ | |
432 google/protobuf/compiler/csharp/csharp_field_base.cc \ | |
433 google/protobuf/compiler/csharp/csharp_field_base.h \ | |
434 google/protobuf/compiler/csharp/csharp_generator.cc \ | |
435 google/protobuf/compiler/csharp/csharp_helpers.cc \ | |
436 google/protobuf/compiler/csharp/csharp_helpers.h \ | |
437 google/protobuf/compiler/csharp/csharp_map_field.cc \ | |
438 google/protobuf/compiler/csharp/csharp_map_field.h \ | |
439 google/protobuf/compiler/csharp/csharp_message.cc \ | |
440 google/protobuf/compiler/csharp/csharp_message.h \ | |
441 google/protobuf/compiler/csharp/csharp_message_field.cc \ | |
442 google/protobuf/compiler/csharp/csharp_message_field.h \ | |
443 google/protobuf/compiler/csharp/csharp_primitive_field.cc \ | |
444 google/protobuf/compiler/csharp/csharp_primitive_field.h \ | |
445 google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc \ | |
446 google/protobuf/compiler/csharp/csharp_repeated_enum_field.h \ | |
447 google/protobuf/compiler/csharp/csharp_repeated_message_field.cc \ | |
448 google/protobuf/compiler/csharp/csharp_repeated_message_field.h \ | |
449 google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc \ | |
450 google/protobuf/compiler/csharp/csharp_repeated_primitive_field.h \ | |
451 google/protobuf/compiler/csharp/csharp_source_generator_base.cc \ | |
452 google/protobuf/compiler/csharp/csharp_source_generator_base.h \ | |
453 google/protobuf/compiler/csharp/csharp_umbrella_class.cc \ | |
454 google/protobuf/compiler/csharp/csharp_umbrella_class.h \ | |
455 google/protobuf/compiler/csharp/csharp_wrapper_field.cc \ | |
456 google/protobuf/compiler/csharp/csharp_wrapper_field.h | |
457 | 203 |
458 bin_PROGRAMS = protoc | 204 bin_PROGRAMS = protoc |
459 protoc_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la | 205 protoc_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la |
460 protoc_SOURCES = google/protobuf/compiler/main.cc | 206 protoc_SOURCES = google/protobuf/compiler/main.cc |
461 | 207 |
462 # Tests ============================================================== | 208 # Tests ============================================================== |
463 | 209 |
464 protoc_inputs = \ | 210 protoc_inputs = \ |
465 google/protobuf/any_test.proto \ | 211 google/protobuf/unittest.proto \ |
466 google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto \ | 212 google/protobuf/unittest_empty.proto \ |
467 google/protobuf/map_lite_unittest.proto \ | 213 google/protobuf/unittest_import.proto \ |
468 google/protobuf/map_proto2_unittest.proto \ | 214 google/protobuf/unittest_import_public.proto \ |
469 google/protobuf/map_unittest.proto \ | 215 google/protobuf/unittest_mset.proto \ |
470 google/protobuf/unittest_arena.proto \ | 216 google/protobuf/unittest_optimize_for.proto \ |
471 google/protobuf/unittest_custom_options.proto \ | 217 google/protobuf/unittest_embed_optimize_for.proto \ |
472 google/protobuf/unittest_drop_unknown_fields.proto \ | 218 google/protobuf/unittest_custom_options.proto \ |
473 google/protobuf/unittest_embed_optimize_for.proto \ | 219 google/protobuf/unittest_lite.proto \ |
474 google/protobuf/unittest_empty.proto \ | 220 google/protobuf/unittest_import_lite.proto \ |
475 google/protobuf/unittest_enormous_descriptor.proto \ | 221 google/protobuf/unittest_import_public_lite.proto \ |
476 google/protobuf/unittest_import_lite.proto \ | 222 google/protobuf/unittest_lite_imports_nonlite.proto \ |
477 google/protobuf/unittest_import.proto \ | 223 google/protobuf/unittest_no_generic_services.proto \ |
478 google/protobuf/unittest_import_public_lite.proto \ | 224 google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto |
479 google/protobuf/unittest_import_public.proto \ | |
480 google/protobuf/unittest_lite_imports_nonlite.proto \ | |
481 google/protobuf/unittest_lite.proto \ | |
482 google/protobuf/unittest_mset.proto \ | |
483 google/protobuf/unittest_no_arena_import.proto \ | |
484 google/protobuf/unittest_no_arena.proto \ | |
485 google/protobuf/unittest_no_field_presence.proto \ | |
486 google/protobuf/unittest_no_generic_services.proto \ | |
487 google/protobuf/unittest_optimize_for.proto \ | |
488 google/protobuf/unittest_preserve_unknown_enum2.proto \ | |
489 google/protobuf/unittest_preserve_unknown_enum.proto \ | |
490 google/protobuf/unittest.proto \ | |
491 google/protobuf/unittest_proto3_arena.proto \ | |
492 google/protobuf/unittest_well_known_types.proto \ | |
493 google/protobuf/util/internal/testdata/anys.proto \ | |
494 google/protobuf/util/internal/testdata/books.proto \ | |
495 google/protobuf/util/internal/testdata/default_value.proto \ | |
496 google/protobuf/util/internal/testdata/default_value_test.proto \ | |
497 google/protobuf/util/internal/testdata/field_mask.proto \ | |
498 google/protobuf/util/internal/testdata/maps.proto \ | |
499 google/protobuf/util/internal/testdata/struct.proto \ | |
500 google/protobuf/util/internal/testdata/timestamp_duration.proto \ | |
501 google/protobuf/util/json_format_proto3.proto \ | |
502 google/protobuf/compiler/cpp/cpp_test_large_enum_value.proto | |
503 | 225 |
504 EXTRA_DIST = \ | 226 EXTRA_DIST = \ |
505 $(protoc_inputs) \ | 227 $(protoc_inputs) \ |
506 solaris/libstdc++.la \ | 228 solaris/libstdc++.la \ |
507 google/protobuf/io/gzip_stream.h \ | 229 google/protobuf/io/gzip_stream.h \ |
508 google/protobuf/io/gzip_stream_unittest.sh \ | 230 google/protobuf/io/gzip_stream_unittest.sh \ |
509 google/protobuf/testdata/golden_message \ | 231 google/protobuf/testdata/golden_message \ |
510 google/protobuf/testdata/golden_message_oneof_implemented \ | |
511 google/protobuf/testdata/golden_message_proto3 \ | |
512 google/protobuf/testdata/golden_packed_fields_message \ | 232 google/protobuf/testdata/golden_packed_fields_message \ |
513 google/protobuf/testdata/bad_utf8_string \ | |
514 google/protobuf/testdata/map_test_data.txt \ | |
515 google/protobuf/testdata/text_format_unittest_data.txt \ | 233 google/protobuf/testdata/text_format_unittest_data.txt \ |
516 google/protobuf/testdata/text_format_unittest_data_oneof_implemented.txt \ | 234 google/protobuf/testdata/text_format_unittest_extensions_data.txt \ |
517 google/protobuf/testdata/text_format_unittest_data_pointy.txt \ | |
518 google/protobuf/testdata/text_format_unittest_data_pointy_oneof.txt \ | |
519 google/protobuf/testdata/text_format_unittest_extensions_data.txt \ | |
520 google/protobuf/testdata/text_format_unittest_extensions_data_pointy.txt \ | |
521 google/protobuf/package_info.h \ | 235 google/protobuf/package_info.h \ |
522 google/protobuf/io/package_info.h \ | 236 google/protobuf/io/package_info.h \ |
523 google/protobuf/compiler/ruby/ruby_generated_code.proto \ | |
524 google/protobuf/compiler/ruby/ruby_generated_code.rb \ | |
525 google/protobuf/compiler/package_info.h \ | 237 google/protobuf/compiler/package_info.h \ |
526 google/protobuf/compiler/zip_output_unittest.sh | 238 google/protobuf/compiler/zip_output_unittest.sh \ |
| 239 google/protobuf/unittest_enormous_descriptor.proto |
527 | 240 |
528 protoc_lite_outputs = \ | 241 protoc_lite_outputs = \ |
529 google/protobuf/map_lite_unittest.pb.cc \ | |
530 google/protobuf/map_lite_unittest.pb.h \ | |
531 google/protobuf/unittest_lite.pb.cc \ | 242 google/protobuf/unittest_lite.pb.cc \ |
532 google/protobuf/unittest_lite.pb.h \ | 243 google/protobuf/unittest_lite.pb.h \ |
533 google/protobuf/unittest_import_lite.pb.cc \ | 244 google/protobuf/unittest_import_lite.pb.cc \ |
534 google/protobuf/unittest_import_lite.pb.h \ | 245 google/protobuf/unittest_import_lite.pb.h \ |
535 google/protobuf/unittest_import_public_lite.pb.cc \ | 246 google/protobuf/unittest_import_public_lite.pb.cc \ |
536 google/protobuf/unittest_import_public_lite.pb.h | 247 google/protobuf/unittest_import_public_lite.pb.h |
537 | 248 |
538 protoc_outputs = \ | 249 protoc_outputs = \ |
539 $(protoc_lite_outputs) \ | 250 $(protoc_lite_outputs) \ |
540 google/protobuf/any_test.pb.cc \ | 251 google/protobuf/unittest.pb.cc \ |
541 google/protobuf/any_test.pb.h \ | 252 google/protobuf/unittest.pb.h \ |
542 google/protobuf/compiler/cpp/cpp_test_bad_identifiers.pb.cc \ | 253 google/protobuf/unittest_empty.pb.cc \ |
543 google/protobuf/compiler/cpp/cpp_test_bad_identifiers.pb.h \ | 254 google/protobuf/unittest_empty.pb.h \ |
544 google/protobuf/compiler/cpp/cpp_test_large_enum_value.pb.cc \ | 255 google/protobuf/unittest_import.pb.cc \ |
545 google/protobuf/compiler/cpp/cpp_test_large_enum_value.pb.h \ | 256 google/protobuf/unittest_import.pb.h \ |
546 google/protobuf/map_proto2_unittest.pb.cc \ | 257 google/protobuf/unittest_import_public.pb.cc \ |
547 google/protobuf/map_proto2_unittest.pb.h \ | 258 google/protobuf/unittest_import_public.pb.h \ |
548 google/protobuf/map_unittest.pb.cc \ | 259 google/protobuf/unittest_mset.pb.cc \ |
549 google/protobuf/map_unittest.pb.h \ | 260 google/protobuf/unittest_mset.pb.h \ |
550 google/protobuf/unittest_arena.pb.cc \ | 261 google/protobuf/unittest_optimize_for.pb.cc \ |
551 google/protobuf/unittest_arena.pb.h \ | 262 google/protobuf/unittest_optimize_for.pb.h \ |
552 google/protobuf/unittest_custom_options.pb.cc \ | 263 google/protobuf/unittest_embed_optimize_for.pb.cc \ |
553 google/protobuf/unittest_custom_options.pb.h \ | 264 google/protobuf/unittest_embed_optimize_for.pb.h \ |
554 google/protobuf/unittest_drop_unknown_fields.pb.cc \ | 265 google/protobuf/unittest_custom_options.pb.cc \ |
555 google/protobuf/unittest_drop_unknown_fields.pb.h \ | 266 google/protobuf/unittest_custom_options.pb.h \ |
556 google/protobuf/unittest_embed_optimize_for.pb.cc \ | 267 google/protobuf/unittest_lite_imports_nonlite.pb.cc \ |
557 google/protobuf/unittest_embed_optimize_for.pb.h \ | 268 google/protobuf/unittest_lite_imports_nonlite.pb.h \ |
558 google/protobuf/unittest_empty.pb.cc \ | 269 google/protobuf/unittest_no_generic_services.pb.cc \ |
559 google/protobuf/unittest_empty.pb.h \ | 270 google/protobuf/unittest_no_generic_services.pb.h \ |
560 google/protobuf/unittest_enormous_descriptor.pb.cc \ | 271 google/protobuf/compiler/cpp/cpp_test_bad_identifiers.pb.cc \ |
561 google/protobuf/unittest_enormous_descriptor.pb.h \ | 272 google/protobuf/compiler/cpp/cpp_test_bad_identifiers.pb.h |
562 google/protobuf/unittest_import.pb.cc \ | |
563 google/protobuf/unittest_import.pb.h \ | |
564 google/protobuf/unittest_import_public.pb.cc \ | |
565 google/protobuf/unittest_import_public.pb.h \ | |
566 google/protobuf/unittest_lite_imports_nonlite.pb.cc \ | |
567 google/protobuf/unittest_lite_imports_nonlite.pb.h \ | |
568 google/protobuf/unittest_mset.pb.cc \ | |
569 google/protobuf/unittest_mset.pb.h \ | |
570 google/protobuf/unittest_no_arena_import.pb.cc \ | |
571 google/protobuf/unittest_no_arena_import.pb.h \ | |
572 google/protobuf/unittest_no_arena.pb.cc \ | |
573 google/protobuf/unittest_no_arena.pb.h \ | |
574 google/protobuf/unittest_no_field_presence.pb.cc \ | |
575 google/protobuf/unittest_no_field_presence.pb.h \ | |
576 google/protobuf/unittest_no_generic_services.pb.cc \ | |
577 google/protobuf/unittest_no_generic_services.pb.h \ | |
578 google/protobuf/unittest_optimize_for.pb.cc \ | |
579 google/protobuf/unittest_optimize_for.pb.h \ | |
580 google/protobuf/unittest.pb.cc \ | |
581 google/protobuf/unittest.pb.h \ | |
582 google/protobuf/unittest_preserve_unknown_enum2.pb.cc \ | |
583 google/protobuf/unittest_preserve_unknown_enum2.pb.h \ | |
584 google/protobuf/unittest_preserve_unknown_enum.pb.cc \ | |
585 google/protobuf/unittest_preserve_unknown_enum.pb.h \ | |
586 google/protobuf/unittest_proto3_arena.pb.cc \ | |
587 google/protobuf/unittest_proto3_arena.pb.h \ | |
588 google/protobuf/unittest_well_known_types.pb.cc \ | |
589 google/protobuf/unittest_well_known_types.pb.h \ | |
590 google/protobuf/util/internal/testdata/anys.pb.cc \ | |
591 google/protobuf/util/internal/testdata/anys.pb.h \ | |
592 google/protobuf/util/internal/testdata/books.pb.cc \ | |
593 google/protobuf/util/internal/testdata/books.pb.h \ | |
594 google/protobuf/util/internal/testdata/default_value.pb.cc \ | |
595 google/protobuf/util/internal/testdata/default_value.pb.h \ | |
596 google/protobuf/util/internal/testdata/default_value_test.pb.cc \ | |
597 google/protobuf/util/internal/testdata/default_value_test.pb.h \ | |
598 google/protobuf/util/internal/testdata/field_mask.pb.cc \ | |
599 google/protobuf/util/internal/testdata/field_mask.pb.h \ | |
600 google/protobuf/util/internal/testdata/maps.pb.cc \ | |
601 google/protobuf/util/internal/testdata/maps.pb.h \ | |
602 google/protobuf/util/internal/testdata/struct.pb.cc \ | |
603 google/protobuf/util/internal/testdata/struct.pb.h \ | |
604 google/protobuf/util/internal/testdata/timestamp_duration.pb.cc \ | |
605 google/protobuf/util/internal/testdata/timestamp_duration.pb.h \ | |
606 google/protobuf/util/json_format_proto3.pb.cc \ | |
607 google/protobuf/util/json_format_proto3.pb.h | |
608 | 273 |
609 BUILT_SOURCES = $(protoc_outputs) | 274 BUILT_SOURCES = $(protoc_outputs) |
610 | 275 |
611 if USE_EXTERNAL_PROTOC | 276 if USE_EXTERNAL_PROTOC |
612 | 277 |
613 unittest_proto_middleman: $(protoc_inputs) | 278 unittest_proto_middleman: $(protoc_inputs) |
614 $(PROTOC) -I$(srcdir) --cpp_out=. $^ | 279 $(PROTOC) -I$(srcdir) --cpp_out=. $^ |
615 touch unittest_proto_middleman | 280 touch unittest_proto_middleman |
616 | 281 |
617 else | 282 else |
618 | 283 |
619 # We have to cd to $(srcdir) before executing protoc because $(protoc_inputs) is | 284 # We have to cd to $(srcdir) before executing protoc because $(protoc_inputs) is |
620 # relative to srcdir, which may not be the same as the current directory when | 285 # relative to srcdir, which may not be the same as the current directory when |
621 # building out-of-tree. | 286 # building out-of-tree. |
622 unittest_proto_middleman: protoc$(EXEEXT) $(protoc_inputs) | 287 unittest_proto_middleman: protoc$(EXEEXT) $(protoc_inputs) |
623 oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/protoc$(EXEEXT) -I. --cpp_out
=$$oldpwd $(protoc_inputs) ) | 288 oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/protoc$(EXEEXT) -I. --cpp_out
=$$oldpwd $(protoc_inputs) ) |
624 touch unittest_proto_middleman | 289 touch unittest_proto_middleman |
625 | 290 |
626 endif | 291 endif |
627 | 292 |
628 $(protoc_outputs): unittest_proto_middleman | 293 $(protoc_outputs): unittest_proto_middleman |
629 | 294 |
630 COMMON_TEST_SOURCES = \ | 295 COMMON_TEST_SOURCES = \ |
631 google/protobuf/arena_test_util.cc \ | |
632 google/protobuf/arena_test_util.h \ | |
633 google/protobuf/map_test_util.cc \ | |
634 google/protobuf/map_test_util.h \ | |
635 google/protobuf/map_test_util_impl.h \ | |
636 google/protobuf/test_util.cc \ | 296 google/protobuf/test_util.cc \ |
637 google/protobuf/test_util.h \ | 297 google/protobuf/test_util.h \ |
638 google/protobuf/testing/googletest.cc \ | 298 google/protobuf/testing/googletest.cc \ |
639 google/protobuf/testing/googletest.h \ | 299 google/protobuf/testing/googletest.h \ |
640 google/protobuf/testing/file.cc \ | 300 google/protobuf/testing/file.cc \ |
641 google/protobuf/testing/file.h | 301 google/protobuf/testing/file.h |
642 | 302 |
643 check_PROGRAMS = protoc protobuf-test protobuf-lazy-descriptor-test \ | 303 check_PROGRAMS = protoc protobuf-test protobuf-lazy-descriptor-test \ |
644 protobuf-lite-test test_plugin $(GZCHECKPROGRAMS) | 304 protobuf-lite-test test_plugin $(GZCHECKPROGRAMS) |
645 protobuf_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \ | 305 protobuf_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \ |
646 ../gmock/gtest/lib/libgtest.la \ | 306 $(top_builddir)/gtest/lib/libgtest.la \ |
647 ../gmock/lib/libgmock.la \ | 307 $(top_builddir)/gtest/lib/libgtest_main.la |
648 ../gmock/lib/libgmock_main.la | 308 protobuf_test_CPPFLAGS = -I$(top_srcdir)/gtest/include \ |
649 protobuf_test_CPPFLAGS = -I$(srcdir)/../gmock/gtest/include \ | 309 -I$(top_builddir)/gtest/include |
650 -I$(srcdir)/../gmock/include | |
651 # Disable optimization for tests unless the user explicitly asked for it, | 310 # Disable optimization for tests unless the user explicitly asked for it, |
652 # since test_util.cc takes forever to compile with optimization (with GCC). | 311 # since test_util.cc takes forever to compile with optimization (with GCC). |
653 # See configure.ac for more info. | 312 # See configure.ac for more info. |
654 protobuf_test_CXXFLAGS = $(NO_OPT_CXXFLAGS) | 313 protobuf_test_CXXFLAGS = $(NO_OPT_CXXFLAGS) |
655 protobuf_test_SOURCES = \ | 314 protobuf_test_SOURCES = \ |
656 google/protobuf/stubs/bytestream_unittest.cc \ | |
657 google/protobuf/stubs/common_unittest.cc \ | 315 google/protobuf/stubs/common_unittest.cc \ |
658 google/protobuf/stubs/once_unittest.cc \ | 316 google/protobuf/stubs/once_unittest.cc \ |
659 google/protobuf/stubs/statusor_test.cc \ | 317 google/protobuf/stubs/strutil_unittest.cc \ |
660 google/protobuf/stubs/status_test.cc \ | 318 google/protobuf/stubs/structurally_valid_unittest.cc \ |
661 google/protobuf/stubs/stringpiece_unittest.cc \ | |
662 google/protobuf/stubs/stringprintf_unittest.cc \ | 319 google/protobuf/stubs/stringprintf_unittest.cc \ |
663 google/protobuf/stubs/structurally_valid_unittest.cc \ | |
664 google/protobuf/stubs/strutil_unittest.cc \ | |
665 google/protobuf/stubs/template_util_unittest.cc \ | 320 google/protobuf/stubs/template_util_unittest.cc \ |
666 google/protobuf/stubs/time_test.cc \ | |
667 google/protobuf/stubs/type_traits_unittest.cc \ | 321 google/protobuf/stubs/type_traits_unittest.cc \ |
668 google/protobuf/any_test.cc \ | |
669 google/protobuf/arenastring_unittest.cc \ | |
670 google/protobuf/arena_unittest.cc \ | |
671 google/protobuf/descriptor_database_unittest.cc \ | 322 google/protobuf/descriptor_database_unittest.cc \ |
672 google/protobuf/descriptor_unittest.cc \ | 323 google/protobuf/descriptor_unittest.cc \ |
673 google/protobuf/drop_unknown_fields_test.cc \ | |
674 google/protobuf/dynamic_message_unittest.cc \ | 324 google/protobuf/dynamic_message_unittest.cc \ |
675 google/protobuf/extension_set_unittest.cc \ | 325 google/protobuf/extension_set_unittest.cc \ |
676 google/protobuf/generated_message_reflection_unittest.cc \ | 326 google/protobuf/generated_message_reflection_unittest.cc \ |
677 google/protobuf/map_field_test.cc \ | |
678 google/protobuf/map_test.cc \ | |
679 google/protobuf/message_unittest.cc \ | 327 google/protobuf/message_unittest.cc \ |
680 google/protobuf/no_field_presence_test.cc \ | |
681 google/protobuf/preserve_unknown_enum_test.cc \ | |
682 google/protobuf/proto3_arena_unittest.cc \ | |
683 google/protobuf/reflection_ops_unittest.cc \ | 328 google/protobuf/reflection_ops_unittest.cc \ |
| 329 google/protobuf/repeated_field_unittest.cc \ |
684 google/protobuf/repeated_field_reflection_unittest.cc \ | 330 google/protobuf/repeated_field_reflection_unittest.cc \ |
685 google/protobuf/repeated_field_unittest.cc \ | |
686 google/protobuf/text_format_unittest.cc \ | 331 google/protobuf/text_format_unittest.cc \ |
687 google/protobuf/unknown_field_set_unittest.cc \ | 332 google/protobuf/unknown_field_set_unittest.cc \ |
688 google/protobuf/well_known_types_unittest.cc \ | |
689 google/protobuf/wire_format_unittest.cc \ | 333 google/protobuf/wire_format_unittest.cc \ |
690 google/protobuf/io/coded_stream_unittest.cc \ | 334 google/protobuf/io/coded_stream_unittest.cc \ |
691 google/protobuf/io/printer_unittest.cc \ | 335 google/protobuf/io/printer_unittest.cc \ |
692 google/protobuf/io/tokenizer_unittest.cc \ | 336 google/protobuf/io/tokenizer_unittest.cc \ |
693 google/protobuf/io/zero_copy_stream_unittest.cc \ | 337 google/protobuf/io/zero_copy_stream_unittest.cc \ |
694 google/protobuf/compiler/command_line_interface_unittest.cc \ | 338 google/protobuf/compiler/command_line_interface_unittest.cc \ |
695 google/protobuf/compiler/importer_unittest.cc \ | 339 google/protobuf/compiler/importer_unittest.cc \ |
696 google/protobuf/compiler/mock_code_generator.cc \ | 340 google/protobuf/compiler/mock_code_generator.cc \ |
697 google/protobuf/compiler/mock_code_generator.h \ | 341 google/protobuf/compiler/mock_code_generator.h \ |
698 google/protobuf/compiler/parser_unittest.cc \ | 342 google/protobuf/compiler/parser_unittest.cc \ |
699 google/protobuf/compiler/cpp/cpp_bootstrap_unittest.cc \ | 343 google/protobuf/compiler/cpp/cpp_bootstrap_unittest.cc \ |
700 google/protobuf/compiler/cpp/cpp_unittest.h \ | 344 google/protobuf/compiler/cpp/cpp_unittest.h \ |
701 google/protobuf/compiler/cpp/cpp_unittest.cc \ | 345 google/protobuf/compiler/cpp/cpp_unittest.cc \ |
702 google/protobuf/compiler/cpp/cpp_plugin_unittest.cc \ | 346 google/protobuf/compiler/cpp/cpp_plugin_unittest.cc \ |
703 google/protobuf/compiler/java/java_plugin_unittest.cc \ | 347 google/protobuf/compiler/java/java_plugin_unittest.cc \ |
704 google/protobuf/compiler/java/java_doc_comment_unittest.cc \ | 348 google/protobuf/compiler/java/java_doc_comment_unittest.cc \ |
705 google/protobuf/compiler/objectivec/objectivec_helpers_unittest.cc \ | |
706 google/protobuf/compiler/python/python_plugin_unittest.cc \ | 349 google/protobuf/compiler/python/python_plugin_unittest.cc \ |
707 google/protobuf/compiler/ruby/ruby_generator_unittest.cc \ | |
708 google/protobuf/compiler/csharp/csharp_generator_unittest.cc \ | |
709 google/protobuf/util/field_comparator_test.cc \ | |
710 google/protobuf/util/internal/default_value_objectwriter_test.cc \ | |
711 google/protobuf/util/internal/json_objectwriter_test.cc \ | |
712 google/protobuf/util/internal/json_stream_parser_test.cc \ | |
713 google/protobuf/util/internal/protostream_objectsource_test.cc \ | |
714 google/protobuf/util/internal/protostream_objectwriter_test.cc \ | |
715 google/protobuf/util/internal/type_info_test_helper.cc \ | |
716 google/protobuf/util/json_util_test.cc \ | |
717 google/protobuf/util/type_resolver_util_test.cc \ | |
718 $(COMMON_TEST_SOURCES) | 350 $(COMMON_TEST_SOURCES) |
719 | |
720 | |
721 nodist_protobuf_test_SOURCES = $(protoc_outputs) | 351 nodist_protobuf_test_SOURCES = $(protoc_outputs) |
722 | 352 |
723 # Run cpp_unittest again with PROTOBUF_TEST_NO_DESCRIPTORS defined. | 353 # Run cpp_unittest again with PROTOBUF_TEST_NO_DESCRIPTORS defined. |
724 protobuf_lazy_descriptor_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la \ | 354 protobuf_lazy_descriptor_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la \ |
725 libprotoc.la \ | 355 $(top_builddir)/gtest/lib/libgtest.la \ |
726 ../gmock/gtest/lib/libgtest.la \ | 356 $(top_builddir)/gtest/lib/libgtest_main.la |
727 ../gmock/lib/libgmock.la \ | 357 protobuf_lazy_descriptor_test_CPPFLAGS = -I$(top_srcdir)/gtest/include \ |
728 ../gmock/lib/libgmock_main.la | 358 -I$(top_builddir)/gtest/include \ |
729 protobuf_lazy_descriptor_test_CPPFLAGS = -I$(srcdir)/../gmock/include \ | |
730 -I$(srcdir)/../gmock/gtest/include \ | |
731 -DPROTOBUF_TEST_NO_DESCRIPTORS | 359 -DPROTOBUF_TEST_NO_DESCRIPTORS |
732 protobuf_lazy_descriptor_test_CXXFLAGS = $(NO_OPT_CXXFLAGS) | 360 protobuf_lazy_descriptor_test_CXXFLAGS = $(NO_OPT_CXXFLAGS) |
733 protobuf_lazy_descriptor_test_SOURCES = \ | 361 protobuf_lazy_descriptor_test_SOURCES = \ |
734 google/protobuf/compiler/cpp/cpp_unittest.cc \ | 362 google/protobuf/compiler/cpp/cpp_unittest.cc \ |
735 $(COMMON_TEST_SOURCES) | 363 $(COMMON_TEST_SOURCES) |
736 nodist_protobuf_lazy_descriptor_test_SOURCES = $(protoc_outputs) | 364 nodist_protobuf_lazy_descriptor_test_SOURCES = $(protoc_outputs) |
737 | 365 |
738 # Build lite_unittest separately, since it doesn't use gtest. | 366 # Build lite_unittest separately, since it doesn't use gtest. |
739 protobuf_lite_test_LDADD = $(PTHREAD_LIBS) libprotobuf-lite.la | 367 protobuf_lite_test_LDADD = $(PTHREAD_LIBS) libprotobuf-lite.la |
740 protobuf_lite_test_CXXFLAGS = $(NO_OPT_CXXFLAGS) | 368 protobuf_lite_test_CXXFLAGS = $(NO_OPT_CXXFLAGS) |
741 protobuf_lite_test_SOURCES = \ | 369 protobuf_lite_test_SOURCES = \ |
742 google/protobuf/arena_test_util.cc \ | |
743 google/protobuf/arena_test_util.h \ | |
744 google/protobuf/lite_unittest.cc \ | 370 google/protobuf/lite_unittest.cc \ |
745 google/protobuf/map_lite_test_util.cc \ | |
746 google/protobuf/map_lite_test_util.h \ | |
747 google/protobuf/test_util_lite.cc \ | 371 google/protobuf/test_util_lite.cc \ |
748 google/protobuf/test_util_lite.h | 372 google/protobuf/test_util_lite.h |
749 # TODO(teboring) add the file back and make the test build. | |
750 # google/protobuf/map_lite_test.cc | |
751 nodist_protobuf_lite_test_SOURCES = $(protoc_lite_outputs) | 373 nodist_protobuf_lite_test_SOURCES = $(protoc_lite_outputs) |
752 | 374 |
753 # Test plugin binary. | 375 # Test plugin binary. |
754 test_plugin_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \ | 376 test_plugin_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \ |
755 ../gmock/gtest/lib/libgtest.la | 377 $(top_builddir)/gtest/lib/libgtest.la |
756 test_plugin_CPPFLAGS = -I$(srcdir)/../gmock/gtest/include | 378 test_plugin_CPPFLAGS = -I$(top_srcdir)/gtest/include \ |
| 379 -I$(top_builddir)/gtest/include |
757 test_plugin_SOURCES = \ | 380 test_plugin_SOURCES = \ |
758 google/protobuf/compiler/mock_code_generator.cc \ | 381 google/protobuf/compiler/mock_code_generator.cc \ |
759 google/protobuf/testing/file.cc \ | 382 google/protobuf/testing/file.cc \ |
760 google/protobuf/testing/file.h \ | 383 google/protobuf/testing/file.h \ |
761 google/protobuf/compiler/test_plugin.cc | 384 google/protobuf/compiler/test_plugin.cc |
762 | 385 |
763 if HAVE_ZLIB | 386 if HAVE_ZLIB |
764 zcgzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la | 387 zcgzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la |
765 zcgzip_SOURCES = google/protobuf/testing/zcgzip.cc | 388 zcgzip_SOURCES = google/protobuf/testing/zcgzip.cc |
766 | 389 |
767 zcgunzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la | 390 zcgunzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la |
768 zcgunzip_SOURCES = google/protobuf/testing/zcgunzip.cc | 391 zcgunzip_SOURCES = google/protobuf/testing/zcgunzip.cc |
769 endif | 392 endif |
770 | 393 |
771 TESTS = protobuf-test protobuf-lazy-descriptor-test protobuf-lite-test \ | 394 TESTS = protobuf-test protobuf-lazy-descriptor-test protobuf-lite-test \ |
772 google/protobuf/compiler/zip_output_unittest.sh $(GZTESTS) | 395 google/protobuf/compiler/zip_output_unittest.sh $(GZTESTS) |
OLD | NEW |