xref: /aosp_15_r20/external/protobuf/src/Makefile.am (revision 1b3f573f81763fcece89efc2b6a5209149e44ab8)
1*1b3f573fSAndroid Build Coastguard Worker## Process this file with automake to produce Makefile.in
2*1b3f573fSAndroid Build Coastguard Worker
3*1b3f573fSAndroid Build Coastguard Workerif HAVE_ZLIB
4*1b3f573fSAndroid Build Coastguard WorkerGZCHECKPROGRAMS = zcgzip zcgunzip
5*1b3f573fSAndroid Build Coastguard WorkerGZHEADERS = google/protobuf/io/gzip_stream.h
6*1b3f573fSAndroid Build Coastguard WorkerGZTESTS = google/protobuf/io/gzip_stream_unittest.sh
7*1b3f573fSAndroid Build Coastguard WorkerZLIB_DEF = -DHAVE_ZLIB=1
8*1b3f573fSAndroid Build Coastguard Workerelse
9*1b3f573fSAndroid Build Coastguard WorkerGZCHECKPROGRAMS =
10*1b3f573fSAndroid Build Coastguard WorkerGZHEADERS =
11*1b3f573fSAndroid Build Coastguard WorkerGZTESTS =
12*1b3f573fSAndroid Build Coastguard WorkerZLIB_DEF =
13*1b3f573fSAndroid Build Coastguard Workerendif
14*1b3f573fSAndroid Build Coastguard Worker
15*1b3f573fSAndroid Build Coastguard Workerif HAVE_PTHREAD
16*1b3f573fSAndroid Build Coastguard WorkerPTHREAD_DEF = -DHAVE_PTHREAD=1
17*1b3f573fSAndroid Build Coastguard Workerelse
18*1b3f573fSAndroid Build Coastguard WorkerPTHREAD_DEF =
19*1b3f573fSAndroid Build Coastguard Workerendif
20*1b3f573fSAndroid Build Coastguard Worker
21*1b3f573fSAndroid Build Coastguard WorkerPROTOBUF_VERSION = 32:12:0
22*1b3f573fSAndroid Build Coastguard Worker
23*1b3f573fSAndroid Build Coastguard Workerif GCC
24*1b3f573fSAndroid Build Coastguard Worker# Turn on all warnings except for sign comparison (we ignore sign comparison
25*1b3f573fSAndroid Build Coastguard Worker# in Google so our code base have tons of such warnings).
26*1b3f573fSAndroid Build Coastguard WorkerNO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF) -Wall -Wno-sign-compare
27*1b3f573fSAndroid Build Coastguard Workerelse
28*1b3f573fSAndroid Build Coastguard WorkerNO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF)
29*1b3f573fSAndroid Build Coastguard Workerendif
30*1b3f573fSAndroid Build Coastguard Worker
31*1b3f573fSAndroid Build Coastguard WorkerAM_CXXFLAGS = $(NO_OPT_CXXFLAGS) $(PROTOBUF_OPT_FLAG)
32*1b3f573fSAndroid Build Coastguard Worker
33*1b3f573fSAndroid Build Coastguard WorkerAM_LDFLAGS = $(PTHREAD_CFLAGS) ${LIBLOG_LIBS}
34*1b3f573fSAndroid Build Coastguard Worker
35*1b3f573fSAndroid Build Coastguard Worker# If I say "dist_include_DATA", automake complains that $(includedir) is not
36*1b3f573fSAndroid Build Coastguard Worker# a "legitimate" directory for DATA.  Screw you, automake.
37*1b3f573fSAndroid Build Coastguard Workerprotodir = $(includedir)
38*1b3f573fSAndroid Build Coastguard Worker
39*1b3f573fSAndroid Build Coastguard Worker# If you are adding new files here, also remember to change the build files for
40*1b3f573fSAndroid Build Coastguard Worker# all other languages, //protoc-artifacts/build-zip.sh and run
41*1b3f573fSAndroid Build Coastguard Worker# //update_file_list.sh for bazel.
42*1b3f573fSAndroid Build Coastguard Workernobase_dist_proto_DATA =                \
43*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/any.proto             \
44*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/api.proto             \
45*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/plugin.proto \
46*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/descriptor.proto      \
47*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/duration.proto        \
48*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/empty.proto           \
49*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/field_mask.proto      \
50*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/source_context.proto  \
51*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/struct.proto          \
52*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/timestamp.proto       \
53*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/type.proto            \
54*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/wrappers.proto
55*1b3f573fSAndroid Build Coastguard Worker
56*1b3f573fSAndroid Build Coastguard Worker# Not sure why these don't get cleaned automatically.
57*1b3f573fSAndroid Build Coastguard Workerclean-local:
58*1b3f573fSAndroid Build Coastguard Worker	rm -f *.loT
59*1b3f573fSAndroid Build Coastguard Worker
60*1b3f573fSAndroid Build Coastguard WorkerCLEANFILES = $(protoc_outputs) unittest_proto_middleman \
61*1b3f573fSAndroid Build Coastguard Worker             testzip.jar testzip.list testzip.proto testzip.zip \
62*1b3f573fSAndroid Build Coastguard Worker             no_warning_test.cc
63*1b3f573fSAndroid Build Coastguard Worker
64*1b3f573fSAndroid Build Coastguard WorkerMAINTAINERCLEANFILES =   \
65*1b3f573fSAndroid Build Coastguard Worker  Makefile.in
66*1b3f573fSAndroid Build Coastguard Worker
67*1b3f573fSAndroid Build Coastguard Workernobase_include_HEADERS =                                         \
68*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/any.h                                          \
69*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/any.pb.h                                       \
70*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/api.pb.h                                       \
71*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/arena.h                                        \
72*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/arena_impl.h                                   \
73*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/arenastring.h                                  \
74*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/arenaz_sampler.h                               \
75*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/code_generator.h                      \
76*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/command_line_interface.h              \
77*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/cpp_generator.h                   \
78*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/file.h                            \
79*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/generator.h                       \
80*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/helpers.h                         \
81*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/names.h                           \
82*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_doc_comment.h           \
83*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_generator.h             \
84*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_names.h                 \
85*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_options.h               \
86*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/importer.h                            \
87*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/generator.h                      \
88*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/java_generator.h                 \
89*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/kotlin_generator.h               \
90*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/names.h                          \
91*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_generator.h     \
92*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_helpers.h       \
93*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/parser.h                              \
94*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/php/php_generator.h                   \
95*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/plugin.h                              \
96*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/plugin.pb.h                           \
97*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/python/generator.h                    \
98*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/python/pyi_generator.h                \
99*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/python/python_generator.h             \
100*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/ruby/ruby_generator.h                 \
101*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/descriptor.h                                   \
102*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/descriptor.pb.h                                \
103*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/descriptor_database.h                          \
104*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/duration.pb.h                                  \
105*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/dynamic_message.h                              \
106*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/empty.pb.h                                     \
107*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/endian.h                                       \
108*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/explicitly_constructed.h                       \
109*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/extension_set.h                                \
110*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/extension_set_inl.h                            \
111*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/field_access_listener.h                        \
112*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/field_mask.pb.h                                \
113*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/generated_enum_reflection.h                    \
114*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/generated_enum_util.h                          \
115*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/generated_message_bases.h                      \
116*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/generated_message_reflection.h                 \
117*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/generated_message_tctable_decl.h               \
118*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/generated_message_tctable_impl.h               \
119*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/generated_message_util.h                       \
120*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/has_bits.h                                     \
121*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/implicit_weak_message.h                        \
122*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/inlined_string_field.h                         \
123*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/coded_stream.h                              \
124*1b3f573fSAndroid Build Coastguard Worker  $(GZHEADERS)                                                   \
125*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/io_win32.h                                  \
126*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/printer.h                                   \
127*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/strtod.h                                    \
128*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/tokenizer.h                                 \
129*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/zero_copy_stream.h                          \
130*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/zero_copy_stream_impl.h                     \
131*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/zero_copy_stream_impl_lite.h                \
132*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map.h                                          \
133*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_entry.h                                    \
134*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_entry_lite.h                               \
135*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_field.h                                    \
136*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_field_inl.h                                \
137*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_field_lite.h                               \
138*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_type_handler.h                             \
139*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/message.h                                      \
140*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/message_lite.h                                 \
141*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/metadata.h                                     \
142*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/metadata_lite.h                                \
143*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/parse_context.h                                \
144*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/port.h                                         \
145*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/port_def.inc                                   \
146*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/port_undef.inc                                 \
147*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/reflection.h                                   \
148*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/reflection_internal.h                          \
149*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/reflection_ops.h                               \
150*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/repeated_field.h                               \
151*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/repeated_ptr_field.h                           \
152*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/service.h                                      \
153*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/source_context.pb.h                            \
154*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/struct.pb.h                                    \
155*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/bytestream.h                             \
156*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/callback.h                               \
157*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/casts.h                                  \
158*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/common.h                                 \
159*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/hash.h                                   \
160*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/logging.h                                \
161*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/macros.h                                 \
162*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/map_util.h                               \
163*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/mutex.h                                  \
164*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/once.h                                   \
165*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/platform_macros.h                        \
166*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/port.h                                   \
167*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/status.h                                 \
168*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/stl_util.h                               \
169*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/stringpiece.h                            \
170*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/strutil.h                                \
171*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/template_util.h                          \
172*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/text_format.h                                  \
173*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/timestamp.pb.h                                 \
174*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/type.pb.h                                      \
175*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unknown_field_set.h                            \
176*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/delimited_message_util.h                  \
177*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/field_comparator.h                        \
178*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/field_mask_util.h                         \
179*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/json_util.h                               \
180*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/message_differencer.h                     \
181*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/time_util.h                               \
182*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/type_resolver.h                           \
183*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/type_resolver_util.h                      \
184*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/wire_format.h                                  \
185*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/wire_format_lite.h                             \
186*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/wrappers.pb.h
187*1b3f573fSAndroid Build Coastguard Worker
188*1b3f573fSAndroid Build Coastguard Workerlib_LTLIBRARIES = libprotobuf-lite.la libprotobuf.la libprotoc.la
189*1b3f573fSAndroid Build Coastguard Worker
190*1b3f573fSAndroid Build Coastguard Workerlibprotobuf_lite_la_LIBADD = $(PTHREAD_LIBS) $(LIBATOMIC_LIBS)
191*1b3f573fSAndroid Build Coastguard Workerlibprotobuf_lite_la_LDFLAGS = -version-info $(PROTOBUF_VERSION) -export-dynamic -no-undefined
192*1b3f573fSAndroid Build Coastguard Workerif HAVE_LD_VERSION_SCRIPT
193*1b3f573fSAndroid Build Coastguard Workerlibprotobuf_lite_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libprotobuf-lite.map
194*1b3f573fSAndroid Build Coastguard WorkerEXTRA_libprotobuf_lite_la_DEPENDENCIES = libprotobuf-lite.map
195*1b3f573fSAndroid Build Coastguard Workerendif
196*1b3f573fSAndroid Build Coastguard Workerlibprotobuf_lite_la_SOURCES =                                  \
197*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/any_lite.cc                                  \
198*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/arena.cc                                     \
199*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/arenastring.cc                               \
200*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/arenaz_sampler.cc                            \
201*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/extension_set.cc                             \
202*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/generated_enum_util.cc                       \
203*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/generated_message_tctable_lite.cc            \
204*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/generated_message_util.cc                    \
205*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/implicit_weak_message.cc                     \
206*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/inlined_string_field.cc                      \
207*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/coded_stream.cc                           \
208*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/io_win32.cc                               \
209*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/strtod.cc                                 \
210*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/zero_copy_stream.cc                       \
211*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/zero_copy_stream_impl.cc                  \
212*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/zero_copy_stream_impl_lite.cc             \
213*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map.cc                                       \
214*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/message_lite.cc                              \
215*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/parse_context.cc                             \
216*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/repeated_field.cc                            \
217*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/repeated_ptr_field.cc                        \
218*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/string_member_robber.h                       \
219*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/bytestream.cc                          \
220*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/common.cc                              \
221*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/int128.cc                              \
222*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/int128.h                               \
223*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/mathutil.h                             \
224*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/status.cc                              \
225*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/status_macros.h                        \
226*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/statusor.cc                            \
227*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/statusor.h                             \
228*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/stringpiece.cc                         \
229*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/stringprintf.cc                        \
230*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/stringprintf.h                         \
231*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/structurally_valid.cc                  \
232*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/strutil.cc                             \
233*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/time.cc                                \
234*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/time.h                                 \
235*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/wire_format_lite.cc
236*1b3f573fSAndroid Build Coastguard Worker
237*1b3f573fSAndroid Build Coastguard Workerlibprotobuf_la_LIBADD = $(PTHREAD_LIBS) $(LIBATOMIC_LIBS)
238*1b3f573fSAndroid Build Coastguard Workerlibprotobuf_la_LDFLAGS = -version-info $(PROTOBUF_VERSION) -export-dynamic -no-undefined
239*1b3f573fSAndroid Build Coastguard Workerif HAVE_LD_VERSION_SCRIPT
240*1b3f573fSAndroid Build Coastguard Workerlibprotobuf_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libprotobuf.map
241*1b3f573fSAndroid Build Coastguard WorkerEXTRA_libprotobuf_la_DEPENDENCIES = libprotobuf.map
242*1b3f573fSAndroid Build Coastguard Workerendif
243*1b3f573fSAndroid Build Coastguard Workerlibprotobuf_la_SOURCES =                                       \
244*1b3f573fSAndroid Build Coastguard Worker  $(libprotobuf_lite_la_SOURCES)                               \
245*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/any.cc                                       \
246*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/any.pb.cc                                    \
247*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/api.pb.cc                                    \
248*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/importer.cc                         \
249*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/parser.cc                           \
250*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/descriptor.cc                                \
251*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/descriptor.pb.cc                             \
252*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/descriptor_database.cc                       \
253*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/duration.pb.cc                               \
254*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/dynamic_message.cc                           \
255*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/empty.pb.cc                                  \
256*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/extension_set_heavy.cc                       \
257*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/field_mask.pb.cc                             \
258*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/generated_message_bases.cc                   \
259*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/generated_message_reflection.cc              \
260*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/generated_message_tctable_full.cc            \
261*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/gzip_stream.cc                            \
262*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/printer.cc                                \
263*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/tokenizer.cc                              \
264*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_field.cc                                 \
265*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/message.cc                                   \
266*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/reflection_ops.cc                            \
267*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/service.cc                                   \
268*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/source_context.pb.cc                         \
269*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/struct.pb.cc                                 \
270*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/substitute.cc                          \
271*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/substitute.h                           \
272*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/text_format.cc                               \
273*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/timestamp.pb.cc                              \
274*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/type.pb.cc                                   \
275*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unknown_field_set.cc                         \
276*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/delimited_message_util.cc               \
277*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/field_comparator.cc                     \
278*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/field_mask_util.cc                      \
279*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/constants.h                    \
280*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/datapiece.cc                   \
281*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/datapiece.h                    \
282*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/default_value_objectwriter.cc  \
283*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/default_value_objectwriter.h   \
284*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/error_listener.cc              \
285*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/error_listener.h               \
286*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/expecting_objectwriter.h       \
287*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/field_mask_utility.cc          \
288*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/field_mask_utility.h           \
289*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/json_escaping.cc               \
290*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/json_escaping.h                \
291*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/json_objectwriter.cc           \
292*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/json_objectwriter.h            \
293*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/json_stream_parser.cc          \
294*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/json_stream_parser.h           \
295*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/location_tracker.h             \
296*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/mock_error_listener.h          \
297*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/object_location_tracker.h      \
298*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/object_source.h                \
299*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/object_writer.cc               \
300*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/object_writer.h                \
301*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/proto_writer.cc                \
302*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/proto_writer.h                 \
303*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/protostream_objectsource.cc    \
304*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/protostream_objectsource.h     \
305*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/protostream_objectwriter.cc    \
306*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/protostream_objectwriter.h     \
307*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/structured_objectwriter.h      \
308*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/type_info.cc                   \
309*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/type_info.h                    \
310*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/type_info_test_helper.h        \
311*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/utility.cc                     \
312*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/utility.h                      \
313*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/json_util.cc                            \
314*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/message_differencer.cc                  \
315*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/time_util.cc                            \
316*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/type_resolver_util.cc                   \
317*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/wire_format.cc                               \
318*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/wrappers.pb.cc
319*1b3f573fSAndroid Build Coastguard Worker
320*1b3f573fSAndroid Build Coastguard Workernodist_libprotobuf_la_SOURCES = $(nodist_libprotobuf_lite_la_SOURCES)
321*1b3f573fSAndroid Build Coastguard Worker
322*1b3f573fSAndroid Build Coastguard Workerlibprotoc_la_LIBADD = $(PTHREAD_LIBS) libprotobuf.la
323*1b3f573fSAndroid Build Coastguard Workerlibprotoc_la_LDFLAGS = -version-info $(PROTOBUF_VERSION) -export-dynamic -no-undefined
324*1b3f573fSAndroid Build Coastguard Workerif HAVE_LD_VERSION_SCRIPT
325*1b3f573fSAndroid Build Coastguard Workerlibprotoc_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libprotoc.map
326*1b3f573fSAndroid Build Coastguard WorkerEXTRA_libprotoc_la_DEPENDENCIES = libprotoc.map
327*1b3f573fSAndroid Build Coastguard Workerendif
328*1b3f573fSAndroid Build Coastguard Workerlibprotoc_la_SOURCES =                                         \
329*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/code_generator.cc                   \
330*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/command_line_interface.cc           \
331*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/enum.cc                         \
332*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/enum.h                          \
333*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/enum_field.cc                   \
334*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/enum_field.h                    \
335*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/extension.cc                    \
336*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/extension.h                     \
337*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/field.cc                        \
338*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/field.h                         \
339*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/file.cc                         \
340*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/generator.cc                    \
341*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/helpers.cc                      \
342*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/map_field.cc                    \
343*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/map_field.h                     \
344*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/message.cc                      \
345*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/message.h                       \
346*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/message_field.cc                \
347*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/message_field.h                 \
348*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/message_layout_helper.h         \
349*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/options.h                       \
350*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/padding_optimizer.cc            \
351*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/padding_optimizer.h             \
352*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/parse_function_generator.cc     \
353*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/parse_function_generator.h      \
354*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/primitive_field.cc              \
355*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/primitive_field.h               \
356*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/service.cc                      \
357*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/service.h                       \
358*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/string_field.cc                 \
359*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/string_field.h                  \
360*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_doc_comment.cc        \
361*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_enum.cc               \
362*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_enum.h                \
363*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_enum_field.cc         \
364*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_enum_field.h          \
365*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_field_base.cc         \
366*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_field_base.h          \
367*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_generator.cc          \
368*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_helpers.cc            \
369*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_helpers.h             \
370*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_map_field.cc          \
371*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_map_field.h           \
372*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_message.cc            \
373*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_message.h             \
374*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_message_field.cc      \
375*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_message_field.h       \
376*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_primitive_field.cc    \
377*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_primitive_field.h     \
378*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_reflection_class.cc   \
379*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_reflection_class.h    \
380*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc \
381*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_repeated_enum_field.h \
382*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_repeated_message_field.cc \
383*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_repeated_message_field.h \
384*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc \
385*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_repeated_primitive_field.h \
386*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_source_generator_base.cc \
387*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_source_generator_base.h \
388*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_wrapper_field.cc      \
389*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_wrapper_field.h       \
390*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/context.cc                     \
391*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/context.h                      \
392*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/doc_comment.cc                 \
393*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/doc_comment.h                  \
394*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/enum.cc                        \
395*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/enum.h                         \
396*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/enum_field.cc                  \
397*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/enum_field.h                   \
398*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/enum_field_lite.cc             \
399*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/enum_field_lite.h              \
400*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/enum_lite.cc                   \
401*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/enum_lite.h                    \
402*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/extension.cc                   \
403*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/extension.h                    \
404*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/extension_lite.cc              \
405*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/extension_lite.h               \
406*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/field.cc                       \
407*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/field.h                        \
408*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/file.cc                        \
409*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/file.h                         \
410*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/generator.cc                   \
411*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/generator_factory.cc           \
412*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/generator_factory.h            \
413*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/helpers.cc                     \
414*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/helpers.h                      \
415*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/kotlin_generator.cc            \
416*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/map_field.cc                   \
417*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/map_field.h                    \
418*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/map_field_lite.cc              \
419*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/map_field_lite.h               \
420*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/message.cc                     \
421*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/message.h                      \
422*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/message_builder.cc             \
423*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/message_builder.h              \
424*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/message_builder_lite.cc        \
425*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/message_builder_lite.h         \
426*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/message_field.cc               \
427*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/message_field.h                \
428*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/message_field_lite.cc          \
429*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/message_field_lite.h           \
430*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/message_lite.cc                \
431*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/message_lite.h                 \
432*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/name_resolver.cc               \
433*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/name_resolver.h                \
434*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/options.h                      \
435*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/primitive_field.cc             \
436*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/primitive_field.h              \
437*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/primitive_field_lite.cc        \
438*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/primitive_field_lite.h         \
439*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/service.cc                     \
440*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/service.h                      \
441*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/shared_code_generator.cc       \
442*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/shared_code_generator.h        \
443*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/string_field.cc                \
444*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/string_field.h                 \
445*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/string_field_lite.cc           \
446*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/string_field_lite.h            \
447*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_enum.cc       \
448*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_enum.h        \
449*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_enum_field.cc \
450*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_enum_field.h  \
451*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_extension.cc  \
452*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_extension.h   \
453*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_field.cc      \
454*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_field.h       \
455*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_file.cc       \
456*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_file.h        \
457*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_generator.cc  \
458*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_helpers.cc    \
459*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_map_field.cc  \
460*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_map_field.h   \
461*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_message.cc    \
462*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_message.h     \
463*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_message_field.cc \
464*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_message_field.h \
465*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_nsobject_methods.h \
466*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_oneof.cc      \
467*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_oneof.h       \
468*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_primitive_field.cc \
469*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_primitive_field.h \
470*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/php/php_generator.cc                \
471*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/plugin.cc                           \
472*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/plugin.pb.cc                        \
473*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/python/generator.cc                 \
474*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/python/helpers.cc                   \
475*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/python/helpers.h                    \
476*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/python/pyi_generator.cc             \
477*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/ruby/ruby_generator.cc              \
478*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/scc.h                               \
479*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/subprocess.cc                       \
480*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/subprocess.h                        \
481*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/zip_writer.cc                       \
482*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/zip_writer.h
483*1b3f573fSAndroid Build Coastguard Worker
484*1b3f573fSAndroid Build Coastguard Workerbin_PROGRAMS = protoc
485*1b3f573fSAndroid Build Coastguard Workerprotoc_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la
486*1b3f573fSAndroid Build Coastguard Workerprotoc_SOURCES = google/protobuf/compiler/main.cc
487*1b3f573fSAndroid Build Coastguard Worker
488*1b3f573fSAndroid Build Coastguard Worker# Tests ==============================================================
489*1b3f573fSAndroid Build Coastguard Worker
490*1b3f573fSAndroid Build Coastguard Workerprotoc_inputs =                                                   \
491*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/any_test.proto                                  \
492*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/test_bad_identifiers.proto         \
493*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/test_large_enum_value.proto        \
494*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_lite_unittest.proto                         \
495*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_proto2_unittest.proto                       \
496*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_unittest.proto                              \
497*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest.proto                                  \
498*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_arena.proto                            \
499*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_custom_options.proto                   \
500*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_drop_unknown_fields.proto              \
501*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_embed_optimize_for.proto               \
502*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_empty.proto                            \
503*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_enormous_descriptor.proto              \
504*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_import.proto                           \
505*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_import_lite.proto                      \
506*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_import_public.proto                    \
507*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_import_public_lite.proto               \
508*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_lazy_dependencies.proto                \
509*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_lazy_dependencies_custom_option.proto  \
510*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_lazy_dependencies_enum.proto           \
511*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_lite.proto                             \
512*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_lite_imports_nonlite.proto             \
513*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_mset.proto                             \
514*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_mset_wire_format.proto                 \
515*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_no_field_presence.proto                \
516*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_no_generic_services.proto              \
517*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_optimize_for.proto                     \
518*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_preserve_unknown_enum.proto            \
519*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_preserve_unknown_enum2.proto           \
520*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_proto3.proto                           \
521*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_proto3_arena.proto                     \
522*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_proto3_arena_lite.proto                \
523*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_proto3_lite.proto                      \
524*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_proto3_optional.proto                  \
525*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_well_known_types.proto                 \
526*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/anys.proto               \
527*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/books.proto              \
528*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/default_value.proto      \
529*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/default_value_test.proto \
530*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/field_mask.proto         \
531*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/maps.proto               \
532*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/oneofs.proto             \
533*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/proto3.proto             \
534*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/struct.proto             \
535*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/timestamp_duration.proto \
536*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/wrappers.proto           \
537*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/json_format.proto                          \
538*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/json_format_proto3.proto                   \
539*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/message_differencer_unittest.proto
540*1b3f573fSAndroid Build Coastguard Worker
541*1b3f573fSAndroid Build Coastguard WorkerEXTRA_DIST =                                                   \
542*1b3f573fSAndroid Build Coastguard Worker  $(protoc_inputs)                                             \
543*1b3f573fSAndroid Build Coastguard Worker  README.md                                                    \
544*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/package_info.h                      \
545*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/ruby/ruby_generated_code.proto      \
546*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/ruby/ruby_generated_code_pb.rb      \
547*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/ruby/ruby_generated_code_proto2.proto \
548*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/ruby/ruby_generated_code_proto2_import.proto \
549*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/ruby/ruby_generated_code_proto2_pb.rb \
550*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/ruby/ruby_generated_pkg_explicit.proto \
551*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/ruby/ruby_generated_pkg_explicit_legacy.proto \
552*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/ruby/ruby_generated_pkg_explicit_legacy_pb.rb \
553*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/ruby/ruby_generated_pkg_explicit_pb.rb \
554*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/ruby/ruby_generated_pkg_implicit.proto \
555*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/ruby/ruby_generated_pkg_implicit_pb.rb \
556*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/zip_output_unittest.sh              \
557*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/gzip_stream.h                             \
558*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/gzip_stream_unittest.sh                   \
559*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/package_info.h                            \
560*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/package_info.h                               \
561*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/test_messages_proto2.proto                   \
562*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/test_messages_proto3.proto                   \
563*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testdata/bad_utf8_string                     \
564*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testdata/golden_message                      \
565*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testdata/golden_message_maps                 \
566*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testdata/golden_message_oneof_implemented    \
567*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testdata/golden_message_proto3               \
568*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testdata/golden_packed_fields_message        \
569*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testdata/map_test_data.txt                   \
570*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testdata/text_format_unittest_data.txt       \
571*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testdata/text_format_unittest_data_oneof_implemented.txt \
572*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testdata/text_format_unittest_data_pointy.txt \
573*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testdata/text_format_unittest_data_pointy_oneof.txt \
574*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testdata/text_format_unittest_extensions_data.txt \
575*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testdata/text_format_unittest_extensions_data_pointy.txt \
576*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/package_info.h                          \
577*1b3f573fSAndroid Build Coastguard Worker  libprotobuf-lite.map                                         \
578*1b3f573fSAndroid Build Coastguard Worker  libprotobuf.map                                              \
579*1b3f573fSAndroid Build Coastguard Worker  libprotoc.map                                                \
580*1b3f573fSAndroid Build Coastguard Worker  solaris/libstdc++.la
581*1b3f573fSAndroid Build Coastguard Worker
582*1b3f573fSAndroid Build Coastguard Workerprotoc_lite_outputs =                                          \
583*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_lite_unittest.pb.cc                      \
584*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_lite_unittest.pb.h                       \
585*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_import_lite.pb.cc                   \
586*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_import_lite.pb.h                    \
587*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_import_public_lite.pb.cc            \
588*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_import_public_lite.pb.h             \
589*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_lite.pb.cc                          \
590*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_lite.pb.h
591*1b3f573fSAndroid Build Coastguard Worker
592*1b3f573fSAndroid Build Coastguard Workerprotoc_outputs =                                                  \
593*1b3f573fSAndroid Build Coastguard Worker  $(protoc_lite_outputs)                                          \
594*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/any_test.pb.cc                                  \
595*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/any_test.pb.h                                   \
596*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/test_bad_identifiers.pb.cc         \
597*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/test_bad_identifiers.pb.h          \
598*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/test_large_enum_value.pb.cc        \
599*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/test_large_enum_value.pb.h         \
600*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_proto2_unittest.pb.cc                       \
601*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_proto2_unittest.pb.h                        \
602*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_unittest.pb.cc                              \
603*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_unittest.pb.h                               \
604*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest.pb.cc                                  \
605*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest.pb.h                                   \
606*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_arena.pb.cc                            \
607*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_arena.pb.h                             \
608*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_custom_options.pb.cc                   \
609*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_custom_options.pb.h                    \
610*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_drop_unknown_fields.pb.cc              \
611*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_drop_unknown_fields.pb.h               \
612*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_embed_optimize_for.pb.cc               \
613*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_embed_optimize_for.pb.h                \
614*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_empty.pb.cc                            \
615*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_empty.pb.h                             \
616*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_enormous_descriptor.pb.cc              \
617*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_enormous_descriptor.pb.h               \
618*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_import.pb.cc                           \
619*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_import.pb.h                            \
620*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_import_public.pb.cc                    \
621*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_import_public.pb.h                     \
622*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_lazy_dependencies.pb.cc                \
623*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_lazy_dependencies.pb.h                 \
624*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_lazy_dependencies_custom_option.pb.cc  \
625*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_lazy_dependencies_custom_option.pb.h   \
626*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_lazy_dependencies_enum.pb.cc           \
627*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_lazy_dependencies_enum.pb.h            \
628*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_lite_imports_nonlite.pb.cc             \
629*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_lite_imports_nonlite.pb.h              \
630*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_mset.pb.cc                             \
631*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_mset.pb.h                              \
632*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_mset_wire_format.pb.cc                 \
633*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_mset_wire_format.pb.h                  \
634*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_no_field_presence.pb.cc                \
635*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_no_field_presence.pb.h                 \
636*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_no_generic_services.pb.cc              \
637*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_no_generic_services.pb.h               \
638*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_optimize_for.pb.cc                     \
639*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_optimize_for.pb.h                      \
640*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_preserve_unknown_enum.pb.cc            \
641*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_preserve_unknown_enum.pb.h             \
642*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_preserve_unknown_enum2.pb.cc           \
643*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_preserve_unknown_enum2.pb.h            \
644*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_proto3.pb.cc                           \
645*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_proto3.pb.h                            \
646*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_proto3_arena.pb.cc                     \
647*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_proto3_arena.pb.h                      \
648*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_proto3_arena_lite.pb.cc                \
649*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_proto3_arena_lite.pb.h                 \
650*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_proto3_lite.pb.cc                      \
651*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_proto3_lite.pb.h                       \
652*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_proto3_optional.pb.cc                  \
653*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_proto3_optional.pb.h                   \
654*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_well_known_types.pb.cc                 \
655*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unittest_well_known_types.pb.h                  \
656*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/anys.pb.cc               \
657*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/anys.pb.h                \
658*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/books.pb.cc              \
659*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/books.pb.h               \
660*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/default_value.pb.cc      \
661*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/default_value.pb.h       \
662*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/default_value_test.pb.cc \
663*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/default_value_test.pb.h  \
664*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/field_mask.pb.cc         \
665*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/field_mask.pb.h          \
666*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/maps.pb.cc               \
667*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/maps.pb.h                \
668*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/oneofs.pb.cc             \
669*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/oneofs.pb.h              \
670*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/proto3.pb.cc             \
671*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/proto3.pb.h              \
672*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/struct.pb.cc             \
673*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/struct.pb.h              \
674*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/timestamp_duration.pb.cc \
675*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/timestamp_duration.pb.h  \
676*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/wrappers.pb.cc           \
677*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/testdata/wrappers.pb.h            \
678*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/json_format.pb.cc                          \
679*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/json_format.pb.h                           \
680*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/json_format_proto3.pb.cc                   \
681*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/json_format_proto3.pb.h                    \
682*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/message_differencer_unittest.pb.cc         \
683*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/message_differencer_unittest.pb.h
684*1b3f573fSAndroid Build Coastguard Worker
685*1b3f573fSAndroid Build Coastguard Workerif USE_EXTERNAL_PROTOC
686*1b3f573fSAndroid Build Coastguard Worker
687*1b3f573fSAndroid Build Coastguard Workerunittest_proto_middleman: $(protoc_inputs)
688*1b3f573fSAndroid Build Coastguard Worker	$(PROTOC) -I$(srcdir) --cpp_out=. $^
689*1b3f573fSAndroid Build Coastguard Worker	touch unittest_proto_middleman
690*1b3f573fSAndroid Build Coastguard Worker
691*1b3f573fSAndroid Build Coastguard Workerelse
692*1b3f573fSAndroid Build Coastguard Worker
693*1b3f573fSAndroid Build Coastguard Worker# We have to cd to $(srcdir) before executing protoc because $(protoc_inputs) is
694*1b3f573fSAndroid Build Coastguard Worker# relative to srcdir, which may not be the same as the current directory when
695*1b3f573fSAndroid Build Coastguard Worker# building out-of-tree.
696*1b3f573fSAndroid Build Coastguard Workerunittest_proto_middleman: protoc$(EXEEXT) $(protoc_inputs)
697*1b3f573fSAndroid Build Coastguard Worker	oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/protoc$(EXEEXT) -I. --cpp_out=$$oldpwd $(protoc_inputs) --experimental_allow_proto3_optional )
698*1b3f573fSAndroid Build Coastguard Worker	touch unittest_proto_middleman
699*1b3f573fSAndroid Build Coastguard Worker
700*1b3f573fSAndroid Build Coastguard Workerendif
701*1b3f573fSAndroid Build Coastguard Worker
702*1b3f573fSAndroid Build Coastguard Worker$(protoc_outputs): unittest_proto_middleman
703*1b3f573fSAndroid Build Coastguard Worker
704*1b3f573fSAndroid Build Coastguard WorkerCOMMON_TEST_SOURCES =                                          \
705*1b3f573fSAndroid Build Coastguard Worker  $(COMMON_LITE_TEST_SOURCES)                                  \
706*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/unittest.h                      \
707*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_test_util.h                              \
708*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_test_util.inc                            \
709*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/reflection_tester.cc                         \
710*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/reflection_tester.h                          \
711*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/test_util.cc                                 \
712*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/test_util.h                                  \
713*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/test_util.inc                                \
714*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/test_util2.h                                 \
715*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testing/file.cc                              \
716*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testing/file.h                               \
717*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testing/googletest.cc                        \
718*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testing/googletest.h
719*1b3f573fSAndroid Build Coastguard Worker
720*1b3f573fSAndroid Build Coastguard WorkerGOOGLETEST_BUILD_DIR=../third_party/googletest/googletest
721*1b3f573fSAndroid Build Coastguard WorkerGOOGLEMOCK_BUILD_DIR=../third_party/googletest/googlemock
722*1b3f573fSAndroid Build Coastguard WorkerGOOGLETEST_SRC_DIR=$(srcdir)/../third_party/googletest/googletest
723*1b3f573fSAndroid Build Coastguard WorkerGOOGLEMOCK_SRC_DIR=$(srcdir)/../third_party/googletest/googlemock
724*1b3f573fSAndroid Build Coastguard Workercheck_PROGRAMS = protoc protobuf-test protobuf-lazy-descriptor-test \
725*1b3f573fSAndroid Build Coastguard Worker                 protobuf-lite-test test_plugin protobuf-lite-arena-test \
726*1b3f573fSAndroid Build Coastguard Worker                 no-warning-test $(GZCHECKPROGRAMS)
727*1b3f573fSAndroid Build Coastguard Workerprotobuf_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \
728*1b3f573fSAndroid Build Coastguard Worker                      $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la     \
729*1b3f573fSAndroid Build Coastguard Worker                      $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock.la     \
730*1b3f573fSAndroid Build Coastguard Worker                      $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock_main.la
731*1b3f573fSAndroid Build Coastguard Workerprotobuf_test_CPPFLAGS = -I$(GOOGLETEST_SRC_DIR)/include \
732*1b3f573fSAndroid Build Coastguard Worker                         -I$(GOOGLEMOCK_SRC_DIR)/include
733*1b3f573fSAndroid Build Coastguard Worker# Disable optimization for tests unless the user explicitly asked for it,
734*1b3f573fSAndroid Build Coastguard Worker# since test_util.cc takes forever to compile with optimization (with GCC).
735*1b3f573fSAndroid Build Coastguard Worker# See configure.ac for more info.
736*1b3f573fSAndroid Build Coastguard Workerprotobuf_test_CXXFLAGS = $(NO_OPT_CXXFLAGS)
737*1b3f573fSAndroid Build Coastguard Workerprotobuf_test_SOURCES =                                        \
738*1b3f573fSAndroid Build Coastguard Worker  $(COMMON_TEST_SOURCES)                                       \
739*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/any_test.cc                                  \
740*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/arena_unittest.cc                            \
741*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/arenastring_unittest.cc                      \
742*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/arenaz_sampler_test.cc                       \
743*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/annotation_test_util.cc             \
744*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/annotation_test_util.h              \
745*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/command_line_interface_unittest.cc  \
746*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/bootstrap_unittest.cc           \
747*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/message_size_unittest.cc        \
748*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/metadata_test.cc                \
749*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/move_unittest.cc                \
750*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/plugin_unittest.cc              \
751*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/unittest.cc                     \
752*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/unittest.inc                    \
753*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_bootstrap_unittest.cc \
754*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/csharp/csharp_generator_unittest.cc \
755*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/importer_unittest.cc                \
756*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/doc_comment_unittest.cc        \
757*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/java/plugin_unittest.cc             \
758*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/mock_code_generator.cc              \
759*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/mock_code_generator.h               \
760*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/objectivec/objectivec_helpers_unittest.cc \
761*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/parser_unittest.cc                  \
762*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/python/plugin_unittest.cc           \
763*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/ruby/ruby_generator_unittest.cc     \
764*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/descriptor_database_unittest.cc              \
765*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/descriptor_unittest.cc                       \
766*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/drop_unknown_fields_test.cc                  \
767*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/dynamic_message_unittest.cc                  \
768*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/extension_set_unittest.cc                    \
769*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/generated_message_reflection_unittest.cc     \
770*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/generated_message_tctable_lite_test.cc       \
771*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/inlined_string_field_unittest.cc             \
772*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/coded_stream_unittest.cc                  \
773*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/io_win32_unittest.cc                      \
774*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/printer_unittest.cc                       \
775*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/tokenizer_unittest.cc                     \
776*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/io/zero_copy_stream_unittest.cc              \
777*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_field_test.cc                            \
778*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_test.cc                                  \
779*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_test.inc                                 \
780*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/message_unittest.cc                          \
781*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/message_unittest.inc                         \
782*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/no_field_presence_test.cc                    \
783*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/preserve_unknown_enum_test.cc                \
784*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/proto3_arena_lite_unittest.cc                \
785*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/proto3_arena_unittest.cc                     \
786*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/proto3_lite_unittest.cc                      \
787*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/proto3_lite_unittest.inc                     \
788*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/reflection_ops_unittest.cc                   \
789*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/repeated_field_reflection_unittest.cc        \
790*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/repeated_field_unittest.cc                   \
791*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/bytestream_unittest.cc                 \
792*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/common_unittest.cc                     \
793*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/int128_unittest.cc                     \
794*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/status_test.cc                         \
795*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/statusor_test.cc                       \
796*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/stringpiece_unittest.cc                \
797*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/stringprintf_unittest.cc               \
798*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/structurally_valid_unittest.cc         \
799*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/strutil_unittest.cc                    \
800*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/template_util_unittest.cc              \
801*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/stubs/time_test.cc                           \
802*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/text_format_unittest.cc                      \
803*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/unknown_field_set_unittest.cc                \
804*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/delimited_message_util_test.cc          \
805*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/field_comparator_test.cc                \
806*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/field_mask_util_test.cc                 \
807*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/default_value_objectwriter_test.cc \
808*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/json_objectwriter_test.cc      \
809*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/json_stream_parser_test.cc     \
810*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/protostream_objectsource_test.cc \
811*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/protostream_objectwriter_test.cc \
812*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/internal/type_info_test_helper.cc       \
813*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/json_util_test.cc                       \
814*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/message_differencer_unittest.cc         \
815*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/time_util_test.cc                       \
816*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/util/type_resolver_util_test.cc              \
817*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/well_known_types_unittest.cc                 \
818*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/wire_format_unittest.cc                      \
819*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/wire_format_unittest.inc
820*1b3f573fSAndroid Build Coastguard Worker
821*1b3f573fSAndroid Build Coastguard Workernodist_protobuf_test_SOURCES = $(protoc_outputs)
822*1b3f573fSAndroid Build Coastguard Worker$(am_protobuf_test_OBJECTS): unittest_proto_middleman
823*1b3f573fSAndroid Build Coastguard Worker
824*1b3f573fSAndroid Build Coastguard Worker# Run cpp_unittest again with PROTOBUF_TEST_NO_DESCRIPTORS defined.
825*1b3f573fSAndroid Build Coastguard Workerprotobuf_lazy_descriptor_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la \
826*1b3f573fSAndroid Build Coastguard Worker                      libprotoc.la                                   \
827*1b3f573fSAndroid Build Coastguard Worker                      $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la        \
828*1b3f573fSAndroid Build Coastguard Worker                      $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock.la        \
829*1b3f573fSAndroid Build Coastguard Worker                      $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock_main.la
830*1b3f573fSAndroid Build Coastguard Workerprotobuf_lazy_descriptor_test_CPPFLAGS = -I$(GOOGLEMOCK_SRC_DIR)/include \
831*1b3f573fSAndroid Build Coastguard Worker                                         -I$(GOOGLETEST_SRC_DIR)/include \
832*1b3f573fSAndroid Build Coastguard Worker                                         -DPROTOBUF_TEST_NO_DESCRIPTORS
833*1b3f573fSAndroid Build Coastguard Workerprotobuf_lazy_descriptor_test_CXXFLAGS = $(NO_OPT_CXXFLAGS)
834*1b3f573fSAndroid Build Coastguard Workerprotobuf_lazy_descriptor_test_SOURCES =                        \
835*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/cpp/unittest.cc                     \
836*1b3f573fSAndroid Build Coastguard Worker  $(COMMON_TEST_SOURCES)
837*1b3f573fSAndroid Build Coastguard Workernodist_protobuf_lazy_descriptor_test_SOURCES = $(protoc_outputs)
838*1b3f573fSAndroid Build Coastguard Worker$(am_protobuf_lazy_descriptor_test_OBJECTS): unittest_proto_middleman
839*1b3f573fSAndroid Build Coastguard Worker
840*1b3f573fSAndroid Build Coastguard WorkerCOMMON_LITE_TEST_SOURCES =                                             \
841*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/arena_test_util.cc                                   \
842*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/arena_test_util.h                                    \
843*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_lite_test_util.cc                                \
844*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_lite_test_util.h                                 \
845*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/map_test_util_impl.h                                 \
846*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/test_util_lite.cc                                    \
847*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/test_util_lite.h
848*1b3f573fSAndroid Build Coastguard Worker
849*1b3f573fSAndroid Build Coastguard Worker# Build lite_unittest separately, since it doesn't use gtest. It can't
850*1b3f573fSAndroid Build Coastguard Worker# depend on gtest because our internal version of gtest depend on proto
851*1b3f573fSAndroid Build Coastguard Worker# full runtime and we want to make sure this test builds without full
852*1b3f573fSAndroid Build Coastguard Worker# runtime.
853*1b3f573fSAndroid Build Coastguard Workerprotobuf_lite_test_LDADD = $(PTHREAD_LIBS) libprotobuf-lite.la     \
854*1b3f573fSAndroid Build Coastguard Worker                           $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la \
855*1b3f573fSAndroid Build Coastguard Worker                           $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock.la \
856*1b3f573fSAndroid Build Coastguard Worker                           $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock_main.la
857*1b3f573fSAndroid Build Coastguard Workerprotobuf_lite_test_CPPFLAGS= -I$(GOOGLEMOCK_SRC_DIR)/include \
858*1b3f573fSAndroid Build Coastguard Worker                             -I$(GOOGLETEST_SRC_DIR)/include
859*1b3f573fSAndroid Build Coastguard Workerprotobuf_lite_test_CXXFLAGS = $(NO_OPT_CXXFLAGS)
860*1b3f573fSAndroid Build Coastguard Workerprotobuf_lite_test_SOURCES =                                           \
861*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/lite_unittest.cc                                     \
862*1b3f573fSAndroid Build Coastguard Worker  $(COMMON_LITE_TEST_SOURCES)
863*1b3f573fSAndroid Build Coastguard Workernodist_protobuf_lite_test_SOURCES = $(protoc_lite_outputs)
864*1b3f573fSAndroid Build Coastguard Worker$(am_protobuf_lite_test_OBJECTS): unittest_proto_middleman
865*1b3f573fSAndroid Build Coastguard Worker
866*1b3f573fSAndroid Build Coastguard Worker# lite_arena_unittest depends on gtest because teboring@ found that without
867*1b3f573fSAndroid Build Coastguard Worker# gtest when building the test internally our memory sanitizer doesn't detect
868*1b3f573fSAndroid Build Coastguard Worker# memory leaks (don't know why).
869*1b3f573fSAndroid Build Coastguard Workerprotobuf_lite_arena_test_LDADD = $(PTHREAD_LIBS) libprotobuf-lite.la \
870*1b3f573fSAndroid Build Coastguard Worker                      $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la        \
871*1b3f573fSAndroid Build Coastguard Worker                      $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock.la        \
872*1b3f573fSAndroid Build Coastguard Worker                      $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock_main.la
873*1b3f573fSAndroid Build Coastguard Workerprotobuf_lite_arena_test_CPPFLAGS = -I$(GOOGLEMOCK_SRC_DIR)/include  \
874*1b3f573fSAndroid Build Coastguard Worker                                    -I$(GOOGLETEST_SRC_DIR)/include
875*1b3f573fSAndroid Build Coastguard Workerprotobuf_lite_arena_test_CXXFLAGS = $(NO_OPT_CXXFLAGS)
876*1b3f573fSAndroid Build Coastguard Workerprotobuf_lite_arena_test_SOURCES =       \
877*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/lite_arena_unittest.cc \
878*1b3f573fSAndroid Build Coastguard Worker  $(COMMON_LITE_TEST_SOURCES)
879*1b3f573fSAndroid Build Coastguard Workernodist_protobuf_lite_arena_test_SOURCES = $(protoc_lite_outputs)
880*1b3f573fSAndroid Build Coastguard Worker$(am_protobuf_lite_arena_test_OBJECTS): unittest_proto_middleman
881*1b3f573fSAndroid Build Coastguard Worker
882*1b3f573fSAndroid Build Coastguard Worker# Test plugin binary.
883*1b3f573fSAndroid Build Coastguard Workertest_plugin_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \
884*1b3f573fSAndroid Build Coastguard Worker                    $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la
885*1b3f573fSAndroid Build Coastguard Workertest_plugin_CPPFLAGS = -I$(GOOGLETEST_SRC_DIR)/include
886*1b3f573fSAndroid Build Coastguard Workertest_plugin_SOURCES =                                          \
887*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/mock_code_generator.cc              \
888*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/compiler/test_plugin.cc                      \
889*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testing/file.cc                              \
890*1b3f573fSAndroid Build Coastguard Worker  google/protobuf/testing/file.h
891*1b3f573fSAndroid Build Coastguard Worker
892*1b3f573fSAndroid Build Coastguard Workerif HAVE_ZLIB
893*1b3f573fSAndroid Build Coastguard Workerzcgzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la
894*1b3f573fSAndroid Build Coastguard Workerzcgzip_SOURCES = google/protobuf/testing/zcgzip.cc
895*1b3f573fSAndroid Build Coastguard Worker
896*1b3f573fSAndroid Build Coastguard Workerzcgunzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la
897*1b3f573fSAndroid Build Coastguard Workerzcgunzip_SOURCES = google/protobuf/testing/zcgunzip.cc
898*1b3f573fSAndroid Build Coastguard Workerendif
899*1b3f573fSAndroid Build Coastguard Worker
900*1b3f573fSAndroid Build Coastguard Worker# This test target is to ensure all our public header files and generated
901*1b3f573fSAndroid Build Coastguard Worker# code is free from warnings. We have to be more pedantic about these
902*1b3f573fSAndroid Build Coastguard Worker# files because they are compiled by users with different compiler flags.
903*1b3f573fSAndroid Build Coastguard Workerno_warning_test.cc:
904*1b3f573fSAndroid Build Coastguard Worker	echo "// Generated from Makefile.am" > no_warning_test.cc
905*1b3f573fSAndroid Build Coastguard Worker	for FILE in $(nobase_include_HEADERS); do \
906*1b3f573fSAndroid Build Coastguard Worker		case $$FILE in *.inc) continue;; esac; \
907*1b3f573fSAndroid Build Coastguard Worker		echo "#include <$${FILE}>" >> no_warning_test.cc; \
908*1b3f573fSAndroid Build Coastguard Worker	done
909*1b3f573fSAndroid Build Coastguard Worker	echo "int main(int, char**) { return 0; }" >> no_warning_test.cc
910*1b3f573fSAndroid Build Coastguard Worker
911*1b3f573fSAndroid Build Coastguard Workerno_warning_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la
912*1b3f573fSAndroid Build Coastguard Workerno_warning_test_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF) \
913*1b3f573fSAndroid Build Coastguard Worker                           -Wall -Wextra -Werror -Wno-unused-parameter
914*1b3f573fSAndroid Build Coastguard Workernodist_no_warning_test_SOURCES = no_warning_test.cc $(protoc_outputs)
915*1b3f573fSAndroid Build Coastguard Worker
916*1b3f573fSAndroid Build Coastguard WorkerTESTS = protobuf-test protobuf-lazy-descriptor-test protobuf-lite-test \
917*1b3f573fSAndroid Build Coastguard Worker        google/protobuf/compiler/zip_output_unittest.sh $(GZTESTS)     \
918*1b3f573fSAndroid Build Coastguard Worker        protobuf-lite-arena-test no-warning-test
919