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 | 7 ZLIB_DEF = -DHAVE_ZLIB=1 |
8 else | 8 else |
9 GZCHECKPROGRAMS = | 9 GZCHECKPROGRAMS = |
10 GZHEADERS = | 10 GZHEADERS = |
11 GZTESTS = | 11 GZTESTS = |
12 ZLIB_DEF = | 12 ZLIB_DEF = |
13 endif | 13 endif |
14 | 14 |
15 if HAVE_PTHREAD | 15 if HAVE_PTHREAD |
16 PTHREAD_DEF = -DHAVE_PTHREAD=1 | 16 PTHREAD_DEF = -DHAVE_PTHREAD=1 |
17 else | 17 else |
18 PTHREAD_DEF = | 18 PTHREAD_DEF = |
19 endif | 19 endif |
20 | 20 |
21 if GCC | 21 if GCC |
22 # These are good warnings to turn on by default | 22 # Turn on all warnings except for sign comparison (we ignore sign comparison |
23 NO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF) -Wall -Wwrite-str
ings -Woverloaded-virtual -Wno-sign-compare | 23 # in Google so our code base have tons of such warnings). |
| 24 NO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF) -Wall -Wno-sign-c
ompare |
24 else | 25 else |
25 NO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF) | 26 NO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF) |
26 endif | 27 endif |
27 | 28 |
28 AM_CXXFLAGS = $(NO_OPT_CXXFLAGS) $(PROTOBUF_OPT_FLAG) | 29 AM_CXXFLAGS = $(NO_OPT_CXXFLAGS) $(PROTOBUF_OPT_FLAG) |
29 | 30 |
30 AM_LDFLAGS = $(PTHREAD_CFLAGS) | 31 AM_LDFLAGS = $(PTHREAD_CFLAGS) |
31 | 32 |
32 # If I say "dist_include_DATA", automake complains that $(includedir) is not | 33 # If I say "dist_include_DATA", automake complains that $(includedir) is not |
33 # a "legitimate" directory for DATA. Screw you, automake. | 34 # a "legitimate" directory for DATA. Screw you, automake. |
34 protodir = $(includedir) | 35 protodir = $(includedir) |
| 36 |
| 37 # If you are adding new files here, also remember to change the build files for |
| 38 # all other languages, //protoc-artifacts/build-zip.sh and run |
| 39 # //update_file_list.sh for bazel. |
35 nobase_dist_proto_DATA = google/protobuf/descriptor.proto \ | 40 nobase_dist_proto_DATA = google/protobuf/descriptor.proto \ |
36 google/protobuf/any.proto \ | 41 google/protobuf/any.proto \ |
37 google/protobuf/api.proto \ | 42 google/protobuf/api.proto \ |
38 google/protobuf/duration.proto \ | 43 google/protobuf/duration.proto \ |
39 google/protobuf/empty.proto \ | 44 google/protobuf/empty.proto \ |
40 google/protobuf/field_mask.proto \ | 45 google/protobuf/field_mask.proto \ |
41 google/protobuf/source_context.proto \ | 46 google/protobuf/source_context.proto \ |
42 google/protobuf/struct.proto \ | 47 google/protobuf/struct.proto \ |
43 google/protobuf/timestamp.proto \ | 48 google/protobuf/timestamp.proto \ |
44 google/protobuf/type.proto \ | 49 google/protobuf/type.proto \ |
45 google/protobuf/wrappers.proto \ | 50 google/protobuf/wrappers.proto \ |
46 google/protobuf/compiler/plugin.proto | 51 google/protobuf/compiler/plugin.proto |
47 | 52 |
48 # Not sure why these don't get cleaned automatically. | 53 # Not sure why these don't get cleaned automatically. |
49 clean-local: | 54 clean-local: |
50 rm -f *.loT | 55 rm -f *.loT |
51 | 56 |
52 CLEANFILES = $(protoc_outputs) unittest_proto_middleman \ | 57 CLEANFILES = $(protoc_outputs) unittest_proto_middleman \ |
53 testzip.jar testzip.list testzip.proto testzip.zip | 58 testzip.jar testzip.list testzip.proto testzip.zip \ |
| 59 no_warning_test.cc |
54 | 60 |
55 MAINTAINERCLEANFILES = \ | 61 MAINTAINERCLEANFILES = \ |
56 Makefile.in | 62 Makefile.in |
57 | 63 |
58 nobase_include_HEADERS = \ | 64 nobase_include_HEADERS = \ |
59 google/protobuf/stubs/atomic_sequence_num.h \ | 65 google/protobuf/stubs/atomic_sequence_num.h \ |
60 google/protobuf/stubs/atomicops.h \ | 66 google/protobuf/stubs/atomicops.h \ |
61 google/protobuf/stubs/atomicops_internals_power.h \ | 67 google/protobuf/stubs/atomicops_internals_power.h \ |
62 google/protobuf/stubs/atomicops_internals_arm64_gcc.h \ | 68 google/protobuf/stubs/atomicops_internals_ppc_gcc.h \ |
63 google/protobuf/stubs/atomicops_internals_arm_gcc.h \ | 69 google/protobuf/stubs/atomicops_internals_arm64_gcc.h \ |
64 google/protobuf/stubs/atomicops_internals_arm_qnx.h \ | 70 google/protobuf/stubs/atomicops_internals_arm_gcc.h \ |
65 google/protobuf/stubs/atomicops_internals_atomicword_compat.h \ | 71 google/protobuf/stubs/atomicops_internals_arm_qnx.h \ |
66 google/protobuf/stubs/atomicops_internals_generic_gcc.h \ | 72 google/protobuf/stubs/atomicops_internals_atomicword_compat.h \ |
67 google/protobuf/stubs/atomicops_internals_macosx.h \ | 73 google/protobuf/stubs/atomicops_internals_generic_c11_atomic.h \ |
68 google/protobuf/stubs/atomicops_internals_mips_gcc.h \ | 74 google/protobuf/stubs/atomicops_internals_generic_gcc.h \ |
69 google/protobuf/stubs/atomicops_internals_pnacl.h \ | 75 google/protobuf/stubs/atomicops_internals_macosx.h \ |
70 google/protobuf/stubs/atomicops_internals_solaris.h \ | 76 google/protobuf/stubs/atomicops_internals_mips_gcc.h \ |
71 google/protobuf/stubs/atomicops_internals_tsan.h \ | 77 google/protobuf/stubs/atomicops_internals_solaris.h \ |
72 google/protobuf/stubs/atomicops_internals_x86_gcc.h \ | 78 google/protobuf/stubs/atomicops_internals_tsan.h \ |
73 google/protobuf/stubs/atomicops_internals_x86_msvc.h \ | 79 google/protobuf/stubs/atomicops_internals_x86_gcc.h \ |
74 google/protobuf/stubs/callback.h \ | 80 google/protobuf/stubs/atomicops_internals_x86_msvc.h \ |
75 google/protobuf/stubs/bytestream.h \ | 81 google/protobuf/stubs/callback.h \ |
76 google/protobuf/stubs/casts.h \ | 82 google/protobuf/stubs/bytestream.h \ |
77 google/protobuf/stubs/common.h \ | 83 google/protobuf/stubs/casts.h \ |
78 google/protobuf/stubs/fastmem.h \ | 84 google/protobuf/stubs/common.h \ |
79 google/protobuf/stubs/hash.h \ | 85 google/protobuf/stubs/fastmem.h \ |
80 google/protobuf/stubs/logging.h \ | 86 google/protobuf/stubs/hash.h \ |
81 google/protobuf/stubs/macros.h \ | 87 google/protobuf/stubs/logging.h \ |
82 google/protobuf/stubs/mutex.h \ | 88 google/protobuf/stubs/macros.h \ |
83 google/protobuf/stubs/once.h \ | 89 google/protobuf/stubs/mutex.h \ |
84 google/protobuf/stubs/platform_macros.h \ | 90 google/protobuf/stubs/once.h \ |
85 google/protobuf/stubs/port.h \ | 91 google/protobuf/stubs/platform_macros.h \ |
86 google/protobuf/stubs/scoped_ptr.h \ | 92 google/protobuf/stubs/port.h \ |
87 google/protobuf/stubs/shared_ptr.h \ | 93 google/protobuf/stubs/scoped_ptr.h \ |
88 google/protobuf/stubs/singleton.h \ | 94 google/protobuf/stubs/shared_ptr.h \ |
89 google/protobuf/stubs/status.h \ | 95 google/protobuf/stubs/singleton.h \ |
90 google/protobuf/stubs/stl_util.h \ | 96 google/protobuf/stubs/status.h \ |
91 google/protobuf/stubs/stringpiece.h \ | 97 google/protobuf/stubs/stl_util.h \ |
92 google/protobuf/stubs/template_util.h \ | 98 google/protobuf/stubs/stringpiece.h \ |
93 google/protobuf/stubs/type_traits.h \ | 99 google/protobuf/stubs/template_util.h \ |
94 google/protobuf/any.pb.h \ | 100 google/protobuf/stubs/type_traits.h \ |
95 google/protobuf/api.pb.h \ | 101 google/protobuf/any.pb.h \ |
96 google/protobuf/any.h \ | 102 google/protobuf/api.pb.h \ |
97 google/protobuf/arena.h \ | 103 google/protobuf/any.h \ |
98 google/protobuf/arenastring.h \ | 104 google/protobuf/arena.h \ |
99 google/protobuf/descriptor_database.h \ | 105 google/protobuf/arenastring.h \ |
100 google/protobuf/descriptor.h \ | 106 google/protobuf/descriptor_database.h \ |
101 google/protobuf/descriptor.pb.h \ | 107 google/protobuf/descriptor.h \ |
102 google/protobuf/duration.pb.h \ | 108 google/protobuf/descriptor.pb.h \ |
103 google/protobuf/dynamic_message.h \ | 109 google/protobuf/duration.pb.h \ |
104 google/protobuf/empty.pb.h \ | 110 google/protobuf/dynamic_message.h \ |
105 google/protobuf/extension_set.h \ | 111 google/protobuf/empty.pb.h \ |
106 google/protobuf/field_mask.pb.h \ | 112 google/protobuf/extension_set.h \ |
107 google/protobuf/generated_enum_reflection.h \ | 113 google/protobuf/field_mask.pb.h \ |
108 google/protobuf/generated_enum_util.h \ | 114 google/protobuf/generated_enum_reflection.h \ |
109 google/protobuf/generated_message_reflection.h \ | 115 google/protobuf/generated_enum_util.h \ |
110 google/protobuf/generated_message_util.h \ | 116 google/protobuf/generated_message_reflection.h \ |
111 google/protobuf/map_entry.h \ | 117 google/protobuf/generated_message_util.h \ |
112 google/protobuf/map_entry_lite.h \ | 118 google/protobuf/has_bits.h \ |
113 google/protobuf/map_field.h \ | 119 google/protobuf/map_entry.h \ |
114 google/protobuf/map_field_inl.h \ | 120 google/protobuf/map_entry_lite.h \ |
115 google/protobuf/map_field_lite.h \ | 121 google/protobuf/map_field.h \ |
116 google/protobuf/map.h \ | 122 google/protobuf/map_field_inl.h \ |
117 google/protobuf/map_type_handler.h \ | 123 google/protobuf/map_field_lite.h \ |
118 google/protobuf/message.h \ | 124 google/protobuf/map.h \ |
119 google/protobuf/message_lite.h \ | 125 google/protobuf/map_type_handler.h \ |
120 google/protobuf/metadata.h \ | 126 google/protobuf/message.h \ |
121 google/protobuf/reflection.h \ | 127 google/protobuf/message_lite.h \ |
122 google/protobuf/reflection_ops.h \ | 128 google/protobuf/metadata.h \ |
123 google/protobuf/repeated_field.h \ | 129 google/protobuf/reflection.h \ |
124 google/protobuf/repeated_field_reflection.h \ | 130 google/protobuf/reflection_ops.h \ |
125 google/protobuf/service.h \ | 131 google/protobuf/repeated_field.h \ |
126 google/protobuf/source_context.pb.h \ | 132 google/protobuf/service.h \ |
127 google/protobuf/struct.pb.h \ | 133 google/protobuf/source_context.pb.h \ |
128 google/protobuf/text_format.h \ | 134 google/protobuf/struct.pb.h \ |
129 google/protobuf/timestamp.pb.h \ | 135 google/protobuf/text_format.h \ |
130 google/protobuf/type.pb.h \ | 136 google/protobuf/timestamp.pb.h \ |
131 google/protobuf/unknown_field_set.h \ | 137 google/protobuf/type.pb.h \ |
132 google/protobuf/wire_format.h \ | 138 google/protobuf/unknown_field_set.h \ |
133 google/protobuf/wire_format_lite.h \ | 139 google/protobuf/wire_format.h \ |
134 google/protobuf/wire_format_lite_inl.h \ | 140 google/protobuf/wire_format_lite.h \ |
135 google/protobuf/wrappers.pb.h \ | 141 google/protobuf/wire_format_lite_inl.h \ |
136 google/protobuf/io/coded_stream.h \ | 142 google/protobuf/wrappers.pb.h \ |
137 $(GZHEADERS) \ | 143 google/protobuf/io/coded_stream.h \ |
138 google/protobuf/io/printer.h \ | 144 $(GZHEADERS) \ |
139 google/protobuf/io/strtod.h \ | 145 google/protobuf/io/printer.h \ |
140 google/protobuf/io/tokenizer.h \ | 146 google/protobuf/io/strtod.h \ |
141 google/protobuf/io/zero_copy_stream.h \ | 147 google/protobuf/io/tokenizer.h \ |
142 google/protobuf/io/zero_copy_stream_impl.h \ | 148 google/protobuf/io/zero_copy_stream.h \ |
143 google/protobuf/io/zero_copy_stream_impl_lite.h \ | 149 google/protobuf/io/zero_copy_stream_impl.h \ |
144 google/protobuf/compiler/code_generator.h \ | 150 google/protobuf/io/zero_copy_stream_impl_lite.h \ |
145 google/protobuf/compiler/command_line_interface.h \ | 151 google/protobuf/compiler/code_generator.h \ |
146 google/protobuf/compiler/importer.h \ | 152 google/protobuf/compiler/command_line_interface.h \ |
147 google/protobuf/compiler/parser.h \ | 153 google/protobuf/compiler/importer.h \ |
148 google/protobuf/compiler/plugin.h \ | 154 google/protobuf/compiler/parser.h \ |
149 google/protobuf/compiler/plugin.pb.h \ | 155 google/protobuf/compiler/plugin.h \ |
150 google/protobuf/compiler/cpp/cpp_generator.h \ | 156 google/protobuf/compiler/plugin.pb.h \ |
151 google/protobuf/compiler/csharp/csharp_generator.h \ | 157 google/protobuf/compiler/cpp/cpp_generator.h \ |
152 google/protobuf/compiler/csharp/csharp_names.h \ | 158 google/protobuf/compiler/csharp/csharp_generator.h \ |
153 google/protobuf/compiler/java/java_generator.h \ | 159 google/protobuf/compiler/csharp/csharp_names.h \ |
154 google/protobuf/compiler/java/java_names.h \ | 160 google/protobuf/compiler/java/java_generator.h \ |
155 google/protobuf/compiler/javanano/javanano_generator.h \ | 161 google/protobuf/compiler/java/java_names.h \ |
156 google/protobuf/compiler/js/js_generator.h \ | 162 google/protobuf/compiler/javanano/javanano_generator.h \ |
157 google/protobuf/compiler/objectivec/objectivec_generator.h \ | 163 google/protobuf/compiler/js/js_generator.h \ |
158 google/protobuf/compiler/objectivec/objectivec_helpers.h \ | 164 google/protobuf/compiler/js/well_known_types_embed.h \ |
159 google/protobuf/compiler/python/python_generator.h \ | 165 google/protobuf/compiler/objectivec/objectivec_generator.h \ |
160 google/protobuf/compiler/ruby/ruby_generator.h \ | 166 google/protobuf/compiler/objectivec/objectivec_helpers.h \ |
161 google/protobuf/util/type_resolver.h \ | 167 google/protobuf/compiler/php/php_generator.h \ |
162 google/protobuf/util/field_comparator.h \ | 168 google/protobuf/compiler/python/python_generator.h \ |
163 google/protobuf/util/field_mask_util.h \ | 169 google/protobuf/compiler/ruby/ruby_generator.h \ |
164 google/protobuf/util/json_util.h \ | 170 google/protobuf/util/type_resolver.h \ |
165 google/protobuf/util/time_util.h \ | 171 google/protobuf/util/field_comparator.h \ |
166 google/protobuf/util/type_resolver_util.h \ | 172 google/protobuf/util/field_mask_util.h \ |
| 173 google/protobuf/util/json_util.h \ |
| 174 google/protobuf/util/time_util.h \ |
| 175 google/protobuf/util/type_resolver_util.h \ |
167 google/protobuf/util/message_differencer.h | 176 google/protobuf/util/message_differencer.h |
168 | 177 |
169 lib_LTLIBRARIES = libprotobuf-lite.la libprotobuf.la libprotoc.la | 178 lib_LTLIBRARIES = libprotobuf-lite.la libprotobuf.la libprotoc.la |
170 | 179 |
171 libprotobuf_lite_la_LIBADD = $(PTHREAD_LIBS) | 180 libprotobuf_lite_la_LIBADD = $(PTHREAD_LIBS) |
172 libprotobuf_lite_la_LDFLAGS = -version-info 10:0:0 -export-dynamic -no-undefined | 181 libprotobuf_lite_la_LDFLAGS = -version-info 11:0:0 -export-dynamic -no-undefined |
173 libprotobuf_lite_la_SOURCES = \ | 182 libprotobuf_lite_la_SOURCES = \ |
174 google/protobuf/stubs/atomicops_internals_x86_gcc.cc \ | 183 google/protobuf/stubs/atomicops_internals_x86_gcc.cc \ |
175 google/protobuf/stubs/atomicops_internals_x86_msvc.cc \ | 184 google/protobuf/stubs/atomicops_internals_x86_msvc.cc \ |
176 google/protobuf/stubs/bytestream.cc \ | 185 google/protobuf/stubs/bytestream.cc \ |
177 google/protobuf/stubs/bytestream.h \ | 186 google/protobuf/stubs/bytestream.h \ |
178 google/protobuf/stubs/common.cc \ | 187 google/protobuf/stubs/common.cc \ |
179 google/protobuf/stubs/hash.h \ | 188 google/protobuf/stubs/hash.h \ |
180 google/protobuf/stubs/int128.cc \ | 189 google/protobuf/stubs/int128.cc \ |
181 google/protobuf/stubs/int128.h \ | 190 google/protobuf/stubs/int128.h \ |
182 google/protobuf/stubs/map_util.h \ | 191 google/protobuf/stubs/map_util.h \ |
(...skipping 20 matching lines...) Expand all Loading... |
203 google/protobuf/generated_message_util.cc \ | 212 google/protobuf/generated_message_util.cc \ |
204 google/protobuf/message_lite.cc \ | 213 google/protobuf/message_lite.cc \ |
205 google/protobuf/repeated_field.cc \ | 214 google/protobuf/repeated_field.cc \ |
206 google/protobuf/wire_format_lite.cc \ | 215 google/protobuf/wire_format_lite.cc \ |
207 google/protobuf/io/coded_stream.cc \ | 216 google/protobuf/io/coded_stream.cc \ |
208 google/protobuf/io/coded_stream_inl.h \ | 217 google/protobuf/io/coded_stream_inl.h \ |
209 google/protobuf/io/zero_copy_stream.cc \ | 218 google/protobuf/io/zero_copy_stream.cc \ |
210 google/protobuf/io/zero_copy_stream_impl_lite.cc | 219 google/protobuf/io/zero_copy_stream_impl_lite.cc |
211 | 220 |
212 libprotobuf_la_LIBADD = $(PTHREAD_LIBS) | 221 libprotobuf_la_LIBADD = $(PTHREAD_LIBS) |
213 libprotobuf_la_LDFLAGS = -version-info 10:0:0 -export-dynamic -no-undefined | 222 libprotobuf_la_LDFLAGS = -version-info 11:0:0 -export-dynamic -no-undefined |
214 libprotobuf_la_SOURCES = \ | 223 libprotobuf_la_SOURCES = \ |
215 $(libprotobuf_lite_la_SOURCES) \ | 224 $(libprotobuf_lite_la_SOURCES) \ |
216 google/protobuf/any.pb.cc \ | 225 google/protobuf/any.pb.cc \ |
217 google/protobuf/api.pb.cc \ | 226 google/protobuf/api.pb.cc \ |
218 google/protobuf/stubs/mathlimits.cc \ | 227 google/protobuf/stubs/mathlimits.cc \ |
219 google/protobuf/stubs/mathlimits.h \ | 228 google/protobuf/stubs/mathlimits.h \ |
220 google/protobuf/any.cc \ | 229 google/protobuf/any.cc \ |
221 google/protobuf/descriptor.cc \ | 230 google/protobuf/descriptor.cc \ |
222 google/protobuf/descriptor_database.cc \ | 231 google/protobuf/descriptor_database.cc \ |
223 google/protobuf/descriptor.pb.cc \ | 232 google/protobuf/descriptor.pb.cc \ |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 google/protobuf/util/internal/utility.cc \ | 296 google/protobuf/util/internal/utility.cc \ |
288 google/protobuf/util/internal/utility.h \ | 297 google/protobuf/util/internal/utility.h \ |
289 google/protobuf/util/json_util.cc \ | 298 google/protobuf/util/json_util.cc \ |
290 google/protobuf/util/message_differencer.cc \ | 299 google/protobuf/util/message_differencer.cc \ |
291 google/protobuf/util/time_util.cc \ | 300 google/protobuf/util/time_util.cc \ |
292 google/protobuf/util/type_resolver_util.cc | 301 google/protobuf/util/type_resolver_util.cc |
293 | 302 |
294 nodist_libprotobuf_la_SOURCES = $(nodist_libprotobuf_lite_la_SOURCES) | 303 nodist_libprotobuf_la_SOURCES = $(nodist_libprotobuf_lite_la_SOURCES) |
295 | 304 |
296 libprotoc_la_LIBADD = $(PTHREAD_LIBS) libprotobuf.la | 305 libprotoc_la_LIBADD = $(PTHREAD_LIBS) libprotobuf.la |
297 libprotoc_la_LDFLAGS = -version-info 10:0:0 -export-dynamic -no-undefined | 306 libprotoc_la_LDFLAGS = -version-info 11:0:0 -export-dynamic -no-undefined |
298 libprotoc_la_SOURCES = \ | 307 libprotoc_la_SOURCES = \ |
299 google/protobuf/compiler/code_generator.cc \ | 308 google/protobuf/compiler/code_generator.cc \ |
300 google/protobuf/compiler/command_line_interface.cc \ | 309 google/protobuf/compiler/command_line_interface.cc \ |
301 google/protobuf/compiler/plugin.cc \ | 310 google/protobuf/compiler/plugin.cc \ |
302 google/protobuf/compiler/plugin.pb.cc \ | 311 google/protobuf/compiler/plugin.pb.cc \ |
303 google/protobuf/compiler/subprocess.cc \ | 312 google/protobuf/compiler/subprocess.cc \ |
304 google/protobuf/compiler/subprocess.h \ | 313 google/protobuf/compiler/subprocess.h \ |
305 google/protobuf/compiler/zip_writer.cc \ | 314 google/protobuf/compiler/zip_writer.cc \ |
306 google/protobuf/compiler/zip_writer.h \ | 315 google/protobuf/compiler/zip_writer.h \ |
307 google/protobuf/compiler/cpp/cpp_enum.cc \ | 316 google/protobuf/compiler/cpp/cpp_enum.cc \ |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 google/protobuf/compiler/java/java_message_field.cc \ | 377 google/protobuf/compiler/java/java_message_field.cc \ |
369 google/protobuf/compiler/java/java_message_field.h \ | 378 google/protobuf/compiler/java/java_message_field.h \ |
370 google/protobuf/compiler/java/java_message_field_lite.cc \ | 379 google/protobuf/compiler/java/java_message_field_lite.cc \ |
371 google/protobuf/compiler/java/java_message_field_lite.h \ | 380 google/protobuf/compiler/java/java_message_field_lite.h \ |
372 google/protobuf/compiler/java/java_message.h \ | 381 google/protobuf/compiler/java/java_message.h \ |
373 google/protobuf/compiler/java/java_message_lite.h \ | 382 google/protobuf/compiler/java/java_message_lite.h \ |
374 google/protobuf/compiler/java/java_message_builder.h \ | 383 google/protobuf/compiler/java/java_message_builder.h \ |
375 google/protobuf/compiler/java/java_message_builder_lite.h \ | 384 google/protobuf/compiler/java/java_message_builder_lite.h \ |
376 google/protobuf/compiler/java/java_name_resolver.cc \ | 385 google/protobuf/compiler/java/java_name_resolver.cc \ |
377 google/protobuf/compiler/java/java_name_resolver.h \ | 386 google/protobuf/compiler/java/java_name_resolver.h \ |
| 387 google/protobuf/compiler/java/java_options.h \ |
378 google/protobuf/compiler/java/java_primitive_field.cc \ | 388 google/protobuf/compiler/java/java_primitive_field.cc \ |
379 google/protobuf/compiler/java/java_primitive_field.h \ | 389 google/protobuf/compiler/java/java_primitive_field.h \ |
380 google/protobuf/compiler/java/java_primitive_field_lite.cc \ | 390 google/protobuf/compiler/java/java_primitive_field_lite.cc \ |
381 google/protobuf/compiler/java/java_primitive_field_lite.h \ | 391 google/protobuf/compiler/java/java_primitive_field_lite.h \ |
382 google/protobuf/compiler/java/java_shared_code_generator.cc \ | 392 google/protobuf/compiler/java/java_shared_code_generator.cc \ |
383 google/protobuf/compiler/java/java_shared_code_generator.h \ | 393 google/protobuf/compiler/java/java_shared_code_generator.h \ |
384 google/protobuf/compiler/java/java_service.cc \ | 394 google/protobuf/compiler/java/java_service.cc \ |
385 google/protobuf/compiler/java/java_service.h \ | 395 google/protobuf/compiler/java/java_service.h \ |
386 google/protobuf/compiler/java/java_string_field.cc \ | 396 google/protobuf/compiler/java/java_string_field.cc \ |
387 google/protobuf/compiler/java/java_string_field.h \ | 397 google/protobuf/compiler/java/java_string_field.h \ |
388 google/protobuf/compiler/java/java_string_field_lite.cc \ | 398 google/protobuf/compiler/java/java_string_field_lite.cc \ |
389 google/protobuf/compiler/java/java_string_field_lite.h \ | 399 google/protobuf/compiler/java/java_string_field_lite.h \ |
390 google/protobuf/compiler/java/java_doc_comment.cc \ | 400 google/protobuf/compiler/java/java_doc_comment.cc \ |
391 google/protobuf/compiler/java/java_doc_comment.h \ | 401 google/protobuf/compiler/java/java_doc_comment.h \ |
392 google/protobuf/compiler/js/js_generator.cc \ | 402 google/protobuf/compiler/js/js_generator.cc \ |
| 403 google/protobuf/compiler/js/well_known_types_embed.cc \ |
393 google/protobuf/compiler/javanano/javanano_enum.cc \ | 404 google/protobuf/compiler/javanano/javanano_enum.cc \ |
394 google/protobuf/compiler/javanano/javanano_enum.h \ | 405 google/protobuf/compiler/javanano/javanano_enum.h \ |
395 google/protobuf/compiler/javanano/javanano_enum_field.cc \ | 406 google/protobuf/compiler/javanano/javanano_enum_field.cc \ |
396 google/protobuf/compiler/javanano/javanano_enum_field.h \ | 407 google/protobuf/compiler/javanano/javanano_enum_field.h \ |
397 google/protobuf/compiler/javanano/javanano_extension.cc \ | 408 google/protobuf/compiler/javanano/javanano_extension.cc \ |
398 google/protobuf/compiler/javanano/javanano_extension.h \ | 409 google/protobuf/compiler/javanano/javanano_extension.h \ |
399 google/protobuf/compiler/javanano/javanano_field.cc \ | 410 google/protobuf/compiler/javanano/javanano_field.cc \ |
400 google/protobuf/compiler/javanano/javanano_field.h \ | 411 google/protobuf/compiler/javanano/javanano_field.h \ |
401 google/protobuf/compiler/javanano/javanano_file.cc \ | 412 google/protobuf/compiler/javanano/javanano_file.cc \ |
402 google/protobuf/compiler/javanano/javanano_file.h \ | 413 google/protobuf/compiler/javanano/javanano_file.h \ |
(...skipping 26 matching lines...) Expand all Loading... |
429 google/protobuf/compiler/objectivec/objectivec_map_field.cc \ | 440 google/protobuf/compiler/objectivec/objectivec_map_field.cc \ |
430 google/protobuf/compiler/objectivec/objectivec_map_field.h \ | 441 google/protobuf/compiler/objectivec/objectivec_map_field.h \ |
431 google/protobuf/compiler/objectivec/objectivec_message.cc \ | 442 google/protobuf/compiler/objectivec/objectivec_message.cc \ |
432 google/protobuf/compiler/objectivec/objectivec_message.h \ | 443 google/protobuf/compiler/objectivec/objectivec_message.h \ |
433 google/protobuf/compiler/objectivec/objectivec_message_field.cc \ | 444 google/protobuf/compiler/objectivec/objectivec_message_field.cc \ |
434 google/protobuf/compiler/objectivec/objectivec_message_field.h \ | 445 google/protobuf/compiler/objectivec/objectivec_message_field.h \ |
435 google/protobuf/compiler/objectivec/objectivec_oneof.cc \ | 446 google/protobuf/compiler/objectivec/objectivec_oneof.cc \ |
436 google/protobuf/compiler/objectivec/objectivec_oneof.h \ | 447 google/protobuf/compiler/objectivec/objectivec_oneof.h \ |
437 google/protobuf/compiler/objectivec/objectivec_primitive_field.cc \ | 448 google/protobuf/compiler/objectivec/objectivec_primitive_field.cc \ |
438 google/protobuf/compiler/objectivec/objectivec_primitive_field.h \ | 449 google/protobuf/compiler/objectivec/objectivec_primitive_field.h \ |
| 450 google/protobuf/compiler/php/php_generator.cc \ |
439 google/protobuf/compiler/python/python_generator.cc \ | 451 google/protobuf/compiler/python/python_generator.cc \ |
440 google/protobuf/compiler/ruby/ruby_generator.cc \ | 452 google/protobuf/compiler/ruby/ruby_generator.cc \ |
441 google/protobuf/compiler/csharp/csharp_doc_comment.cc \ | 453 google/protobuf/compiler/csharp/csharp_doc_comment.cc \ |
442 google/protobuf/compiler/csharp/csharp_doc_comment.h \ | 454 google/protobuf/compiler/csharp/csharp_doc_comment.h \ |
443 google/protobuf/compiler/csharp/csharp_enum.cc \ | 455 google/protobuf/compiler/csharp/csharp_enum.cc \ |
444 google/protobuf/compiler/csharp/csharp_enum.h \ | 456 google/protobuf/compiler/csharp/csharp_enum.h \ |
445 google/protobuf/compiler/csharp/csharp_enum_field.cc \ | 457 google/protobuf/compiler/csharp/csharp_enum_field.cc \ |
446 google/protobuf/compiler/csharp/csharp_enum_field.h \ | 458 google/protobuf/compiler/csharp/csharp_enum_field.h \ |
447 google/protobuf/compiler/csharp/csharp_field_base.cc \ | 459 google/protobuf/compiler/csharp/csharp_field_base.cc \ |
448 google/protobuf/compiler/csharp/csharp_field_base.h \ | 460 google/protobuf/compiler/csharp/csharp_field_base.h \ |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 google/protobuf/unittest_proto3_arena_lite.proto \ | 522 google/protobuf/unittest_proto3_arena_lite.proto \ |
511 google/protobuf/unittest_proto3_lite.proto \ | 523 google/protobuf/unittest_proto3_lite.proto \ |
512 google/protobuf/unittest_well_known_types.proto \ | 524 google/protobuf/unittest_well_known_types.proto \ |
513 google/protobuf/util/internal/testdata/anys.proto \ | 525 google/protobuf/util/internal/testdata/anys.proto \ |
514 google/protobuf/util/internal/testdata/books.proto \ | 526 google/protobuf/util/internal/testdata/books.proto \ |
515 google/protobuf/util/internal/testdata/default_value.proto \ | 527 google/protobuf/util/internal/testdata/default_value.proto \ |
516 google/protobuf/util/internal/testdata/default_value_test.proto \ | 528 google/protobuf/util/internal/testdata/default_value_test.proto \ |
517 google/protobuf/util/internal/testdata/field_mask.proto \ | 529 google/protobuf/util/internal/testdata/field_mask.proto \ |
518 google/protobuf/util/internal/testdata/maps.proto \ | 530 google/protobuf/util/internal/testdata/maps.proto \ |
519 google/protobuf/util/internal/testdata/oneofs.proto \ | 531 google/protobuf/util/internal/testdata/oneofs.proto \ |
| 532 google/protobuf/util/internal/testdata/proto3.proto \ |
520 google/protobuf/util/internal/testdata/struct.proto \ | 533 google/protobuf/util/internal/testdata/struct.proto \ |
521 google/protobuf/util/internal/testdata/timestamp_duration.proto \ | 534 google/protobuf/util/internal/testdata/timestamp_duration.proto \ |
| 535 google/protobuf/util/internal/testdata/wrappers.proto \ |
522 google/protobuf/util/json_format_proto3.proto \ | 536 google/protobuf/util/json_format_proto3.proto \ |
523 google/protobuf/util/message_differencer_unittest.proto \ | 537 google/protobuf/util/message_differencer_unittest.proto \ |
524 google/protobuf/compiler/cpp/cpp_test_large_enum_value.proto | 538 google/protobuf/compiler/cpp/cpp_test_large_enum_value.proto |
525 | 539 |
526 EXTRA_DIST = \ | 540 EXTRA_DIST = \ |
527 $(protoc_inputs) \ | 541 $(protoc_inputs) \ |
528 solaris/libstdc++.la \ | 542 solaris/libstdc++.la \ |
529 google/protobuf/io/gzip_stream.h \ | 543 google/protobuf/io/gzip_stream.h \ |
530 google/protobuf/io/gzip_stream_unittest.sh \ | 544 google/protobuf/io/gzip_stream_unittest.sh \ |
531 google/protobuf/testdata/golden_message \ | 545 google/protobuf/testdata/golden_message \ |
| 546 google/protobuf/testdata/golden_message_maps \ |
532 google/protobuf/testdata/golden_message_oneof_implemented \ | 547 google/protobuf/testdata/golden_message_oneof_implemented \ |
533 google/protobuf/testdata/golden_message_proto3 \ | 548 google/protobuf/testdata/golden_message_proto3 \ |
534 google/protobuf/testdata/golden_packed_fields_message \ | 549 google/protobuf/testdata/golden_packed_fields_message \ |
535 google/protobuf/testdata/bad_utf8_string \ | 550 google/protobuf/testdata/bad_utf8_string \ |
536 google/protobuf/testdata/map_test_data.txt \ | 551 google/protobuf/testdata/map_test_data.txt \ |
537 google/protobuf/testdata/text_format_unittest_data.txt \ | 552 google/protobuf/testdata/text_format_unittest_data.txt \ |
538 google/protobuf/testdata/text_format_unittest_data_oneof_implemented.txt \ | 553 google/protobuf/testdata/text_format_unittest_data_oneof_implemented.txt \ |
539 google/protobuf/testdata/text_format_unittest_data_pointy.txt \ | 554 google/protobuf/testdata/text_format_unittest_data_pointy.txt \ |
540 google/protobuf/testdata/text_format_unittest_data_pointy_oneof.txt \ | 555 google/protobuf/testdata/text_format_unittest_data_pointy_oneof.txt \ |
541 google/protobuf/testdata/text_format_unittest_extensions_data.txt \ | 556 google/protobuf/testdata/text_format_unittest_extensions_data.txt \ |
542 google/protobuf/testdata/text_format_unittest_extensions_data_pointy.txt \ | 557 google/protobuf/testdata/text_format_unittest_extensions_data_pointy.txt \ |
543 google/protobuf/package_info.h \ | 558 google/protobuf/package_info.h \ |
544 google/protobuf/io/package_info.h \ | 559 google/protobuf/io/package_info.h \ |
| 560 google/protobuf/util/package_info.h \ |
545 google/protobuf/compiler/ruby/ruby_generated_code.proto \ | 561 google/protobuf/compiler/ruby/ruby_generated_code.proto \ |
546 google/protobuf/compiler/ruby/ruby_generated_code.rb \ | 562 google/protobuf/compiler/ruby/ruby_generated_code_pb.rb \ |
547 google/protobuf/compiler/package_info.h \ | 563 google/protobuf/compiler/package_info.h \ |
548 google/protobuf/compiler/zip_output_unittest.sh | 564 google/protobuf/compiler/zip_output_unittest.sh \ |
| 565 README.md |
549 | 566 |
550 protoc_lite_outputs = \ | 567 protoc_lite_outputs = \ |
551 google/protobuf/map_lite_unittest.pb.cc \ | 568 google/protobuf/map_lite_unittest.pb.cc \ |
552 google/protobuf/map_lite_unittest.pb.h \ | 569 google/protobuf/map_lite_unittest.pb.h \ |
553 google/protobuf/unittest_lite.pb.cc \ | 570 google/protobuf/unittest_lite.pb.cc \ |
554 google/protobuf/unittest_lite.pb.h \ | 571 google/protobuf/unittest_lite.pb.h \ |
555 google/protobuf/unittest_no_arena_lite.pb.cc \ | 572 google/protobuf/unittest_no_arena_lite.pb.cc \ |
556 google/protobuf/unittest_no_arena_lite.pb.h \ | 573 google/protobuf/unittest_no_arena_lite.pb.h \ |
557 google/protobuf/unittest_import_lite.pb.cc \ | 574 google/protobuf/unittest_import_lite.pb.cc \ |
558 google/protobuf/unittest_import_lite.pb.h \ | 575 google/protobuf/unittest_import_lite.pb.h \ |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 google/protobuf/util/internal/testdata/default_value.pb.cc \ | 641 google/protobuf/util/internal/testdata/default_value.pb.cc \ |
625 google/protobuf/util/internal/testdata/default_value.pb.h \ | 642 google/protobuf/util/internal/testdata/default_value.pb.h \ |
626 google/protobuf/util/internal/testdata/default_value_test.pb.cc \ | 643 google/protobuf/util/internal/testdata/default_value_test.pb.cc \ |
627 google/protobuf/util/internal/testdata/default_value_test.pb.h \ | 644 google/protobuf/util/internal/testdata/default_value_test.pb.h \ |
628 google/protobuf/util/internal/testdata/field_mask.pb.cc \ | 645 google/protobuf/util/internal/testdata/field_mask.pb.cc \ |
629 google/protobuf/util/internal/testdata/field_mask.pb.h \ | 646 google/protobuf/util/internal/testdata/field_mask.pb.h \ |
630 google/protobuf/util/internal/testdata/maps.pb.cc \ | 647 google/protobuf/util/internal/testdata/maps.pb.cc \ |
631 google/protobuf/util/internal/testdata/maps.pb.h \ | 648 google/protobuf/util/internal/testdata/maps.pb.h \ |
632 google/protobuf/util/internal/testdata/oneofs.pb.cc \ | 649 google/protobuf/util/internal/testdata/oneofs.pb.cc \ |
633 google/protobuf/util/internal/testdata/oneofs.pb.h \ | 650 google/protobuf/util/internal/testdata/oneofs.pb.h \ |
| 651 google/protobuf/util/internal/testdata/proto3.pb.cc \ |
| 652 google/protobuf/util/internal/testdata/proto3.pb.h \ |
634 google/protobuf/util/internal/testdata/struct.pb.cc \ | 653 google/protobuf/util/internal/testdata/struct.pb.cc \ |
635 google/protobuf/util/internal/testdata/struct.pb.h \ | 654 google/protobuf/util/internal/testdata/struct.pb.h \ |
636 google/protobuf/util/internal/testdata/timestamp_duration.pb.cc \ | 655 google/protobuf/util/internal/testdata/timestamp_duration.pb.cc \ |
637 google/protobuf/util/internal/testdata/timestamp_duration.pb.h \ | 656 google/protobuf/util/internal/testdata/timestamp_duration.pb.h \ |
| 657 google/protobuf/util/internal/testdata/wrappers.pb.cc \ |
| 658 google/protobuf/util/internal/testdata/wrappers.pb.h \ |
638 google/protobuf/util/json_format_proto3.pb.cc \ | 659 google/protobuf/util/json_format_proto3.pb.cc \ |
639 google/protobuf/util/json_format_proto3.pb.h \ | 660 google/protobuf/util/json_format_proto3.pb.h \ |
640 google/protobuf/util/message_differencer_unittest.pb.cc \ | 661 google/protobuf/util/message_differencer_unittest.pb.cc \ |
641 google/protobuf/util/message_differencer_unittest.pb.h | 662 google/protobuf/util/message_differencer_unittest.pb.h |
642 | 663 |
643 BUILT_SOURCES = $(protoc_outputs) | 664 BUILT_SOURCES = $(protoc_outputs) |
644 | 665 |
645 if USE_EXTERNAL_PROTOC | 666 if USE_EXTERNAL_PROTOC |
646 | 667 |
647 unittest_proto_middleman: $(protoc_inputs) | 668 unittest_proto_middleman: $(protoc_inputs) |
(...skipping 21 matching lines...) Expand all Loading... |
669 google/protobuf/map_test_util_impl.h \ | 690 google/protobuf/map_test_util_impl.h \ |
670 google/protobuf/test_util.cc \ | 691 google/protobuf/test_util.cc \ |
671 google/protobuf/test_util.h \ | 692 google/protobuf/test_util.h \ |
672 google/protobuf/testing/googletest.cc \ | 693 google/protobuf/testing/googletest.cc \ |
673 google/protobuf/testing/googletest.h \ | 694 google/protobuf/testing/googletest.h \ |
674 google/protobuf/testing/file.cc \ | 695 google/protobuf/testing/file.cc \ |
675 google/protobuf/testing/file.h | 696 google/protobuf/testing/file.h |
676 | 697 |
677 check_PROGRAMS = protoc protobuf-test protobuf-lazy-descriptor-test \ | 698 check_PROGRAMS = protoc protobuf-test protobuf-lazy-descriptor-test \ |
678 protobuf-lite-test test_plugin protobuf-lite-arena-test \ | 699 protobuf-lite-test test_plugin protobuf-lite-arena-test \ |
679 $(GZCHECKPROGRAMS) | 700 no-warning-test $(GZCHECKPROGRAMS) |
680 protobuf_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \ | 701 protobuf_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \ |
681 ../gmock/gtest/lib/libgtest.la \ | 702 ../gmock/gtest/lib/libgtest.la \ |
682 ../gmock/lib/libgmock.la \ | 703 ../gmock/lib/libgmock.la \ |
683 ../gmock/lib/libgmock_main.la | 704 ../gmock/lib/libgmock_main.la |
684 protobuf_test_CPPFLAGS = -I$(srcdir)/../gmock/gtest/include \ | 705 protobuf_test_CPPFLAGS = -I$(srcdir)/../gmock/gtest/include \ |
685 -I$(srcdir)/../gmock/include | 706 -I$(srcdir)/../gmock/include |
686 # Disable optimization for tests unless the user explicitly asked for it, | 707 # Disable optimization for tests unless the user explicitly asked for it, |
687 # since test_util.cc takes forever to compile with optimization (with GCC). | 708 # since test_util.cc takes forever to compile with optimization (with GCC). |
688 # See configure.ac for more info. | 709 # See configure.ac for more info. |
689 protobuf_test_CXXFLAGS = $(NO_OPT_CXXFLAGS) | 710 protobuf_test_CXXFLAGS = $(NO_OPT_CXXFLAGS) |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
822 google/protobuf/compiler/test_plugin.cc | 843 google/protobuf/compiler/test_plugin.cc |
823 | 844 |
824 if HAVE_ZLIB | 845 if HAVE_ZLIB |
825 zcgzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la | 846 zcgzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la |
826 zcgzip_SOURCES = google/protobuf/testing/zcgzip.cc | 847 zcgzip_SOURCES = google/protobuf/testing/zcgzip.cc |
827 | 848 |
828 zcgunzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la | 849 zcgunzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la |
829 zcgunzip_SOURCES = google/protobuf/testing/zcgunzip.cc | 850 zcgunzip_SOURCES = google/protobuf/testing/zcgunzip.cc |
830 endif | 851 endif |
831 | 852 |
| 853 # This test target is to ensure all our public header files and generated |
| 854 # code is free from warnings. We have to be more pedantic about these |
| 855 # files because they are compiled by users with different compiler flags. |
| 856 no_warning_test.cc: |
| 857 echo "// Generated from Makefile.am" > no_warning_test.cc |
| 858 for FILE in $(nobase_include_HEADERS); do \ |
| 859 if ! echo $${FILE} | grep "atomicops"; then \ |
| 860 echo "#include <$${FILE}>" >> no_warning_test.cc; \ |
| 861 fi \ |
| 862 done |
| 863 echo "#include <gtest/gtest.h>" >> no_warning_test.cc |
| 864 echo "TEST(NoWarningTest, Empty) {}" >> no_warning_test.cc |
| 865 |
| 866 no_warning_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la \ |
| 867 ../gmock/gtest/lib/libgtest.la \ |
| 868 ../gmock/gtest/lib/libgtest_main.la |
| 869 no_warning_test_CPPFLAGS = -I$(srcdir)/../gmock/gtest/include |
| 870 no_warning_test_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF) \ |
| 871 -Wall -Werror |
| 872 nodist_no_warning_test_SOURCES = no_warning_test.cc $(protoc_outputs) |
| 873 |
832 TESTS = protobuf-test protobuf-lazy-descriptor-test protobuf-lite-test \ | 874 TESTS = protobuf-test protobuf-lazy-descriptor-test protobuf-lite-test \ |
833 google/protobuf/compiler/zip_output_unittest.sh $(GZTESTS) \ | 875 google/protobuf/compiler/zip_output_unittest.sh $(GZTESTS) \ |
834 protobuf-lite-arena-test | 876 protobuf-lite-arena-test no-warning-test |
OLD | NEW |