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