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