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