Merge tag 'upstream/1.3.1'
Upstream version 1.3.1
Robert Edmonds
5 years ago
0 | protobuf-c (1.3.1) | |
1 | ||
2 | [ Robert Edmonds ] | |
3 | * Release 1.3.1. | |
4 | ||
5 | * Restore protobuf-2.x compatibility (#284, #285). | |
6 | ||
7 | * Use xenial and protobuf 3.6.1 in the Travis-CI environment (#332). | |
8 | ||
9 | * Convert uses of protobuf's scoped_ptr.h to C++11 std::unique_ptr, needed | |
10 | to compile against protobuf 3.6.1 (#320, #333). | |
11 | ||
12 | * Use AX_CXX_COMPILE_STDCXX macro to enable C++11 support in old compilers | |
13 | (#312, #317, #327, #334). | |
14 | ||
15 | [ Fredrik Gustafsson ] | |
16 | * Add std:: to some types (#294, #305, #309). | |
17 | ||
18 | [ Sam Collinson ] | |
19 | * Check the return value of int_range_lookup before using as an array index; | |
20 | it can return -1 (#315). | |
21 | ||
22 | [ Matthias Dittrich ] | |
23 | * Fix compilation on mingw by using explicit protoc --plugin=NAME=PATH syntax | |
24 | in Makefile.am (#289, #290). | |
25 | ||
0 | 26 | protobuf-c (1.3.0) |
1 | 27 | |
2 | 28 | [ Robert Edmonds ] |
163 | 163 | $(protobuf_LIBS) |
164 | 164 | |
165 | 165 | t/test.pb-c.c t/test.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test.proto |
166 | $(AM_V_GEN)@PROTOC@ --plugin=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test.proto | |
166 | $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test.proto | |
167 | 167 | |
168 | 168 | t/test-optimized.pb-c.c t/test-optimized.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-optimized.proto |
169 | $(AM_V_GEN)@PROTOC@ --plugin=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-optimized.proto | |
169 | $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-optimized.proto | |
170 | 170 | |
171 | 171 | t/test-full.pb-c.c t/test-full.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-full.proto |
172 | $(AM_V_GEN)@PROTOC@ --plugin=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-full.proto | |
172 | $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-full.proto | |
173 | 173 | |
174 | 174 | t/test-full.pb.cc t/test-full.pb.h: @PROTOC@ $(top_srcdir)/t/test-full.proto |
175 | 175 | $(AM_V_GEN)@PROTOC@ -I$(top_srcdir) --cpp_out=$(top_builddir) $(top_srcdir)/t/test-full.proto |
203 | 203 | t/test-proto3.pb-c.c |
204 | 204 | |
205 | 205 | t/test-proto3.pb-c.c t/test-proto3.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-proto3.proto |
206 | $(AM_V_GEN)@PROTOC@ --plugin=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-proto3.proto | |
206 | $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-proto3.proto | |
207 | 207 | |
208 | 208 | BUILT_SOURCES += \ |
209 | 209 | t/test-proto3.pb-c.c t/test-proto3.pb-c.h |
226 | 226 | t_issue220_issue220_LDADD = \ |
227 | 227 | protobuf-c/libprotobuf-c.la |
228 | 228 | t/issue220/issue220.pb-c.c t/issue220/issue220.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/issue220/issue220.proto |
229 | $(AM_V_GEN)@PROTOC@ --plugin=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue220/issue220.proto | |
229 | $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue220/issue220.proto | |
230 | 230 | BUILT_SOURCES += \ |
231 | 231 | t/issue220/issue220.pb-c.c t/issue220/issue220.pb-c.h |
232 | 232 | EXTRA_DIST += \ |
243 | 243 | t_issue251_issue251_LDADD = \ |
244 | 244 | protobuf-c/libprotobuf-c.la |
245 | 245 | t/issue251/issue251.pb-c.c t/issue251/issue251.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/issue251/issue251.proto |
246 | $(AM_V_GEN)@PROTOC@ --plugin=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue251/issue251.proto | |
246 | $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue251/issue251.proto | |
247 | 247 | BUILT_SOURCES += \ |
248 | 248 | t/issue251/issue251.pb-c.c t/issue251/issue251.pb-c.h |
249 | 249 | EXTRA_DIST += \ |
0 | # Makefile.in generated by automake 1.15.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2017 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
151 | 151 | subdir = . |
152 | 152 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
153 | 153 | am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ |
154 | $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \ | |
154 | 155 | $(top_srcdir)/m4/code_coverage.m4 \ |
155 | 156 | $(top_srcdir)/m4/ld-version-script.m4 \ |
156 | 157 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
168 | 169 | CONFIG_HEADER = config.h |
169 | 170 | CONFIG_CLEAN_FILES = protobuf-c/libprotobuf-c.pc Doxyfile |
170 | 171 | CONFIG_CLEAN_VPATH_FILES = |
172 | @BUILD_COMPILER_TRUE@am__EXEEXT_1 = protoc-c/protoc-gen-c$(EXEEXT) | |
173 | am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libdir)" \ | |
174 | "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)" | |
175 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_2 = t/generated-code/test-generated-code$(EXEEXT) \ | |
176 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/generated-code2/test-generated-code2$(EXEEXT) \ | |
177 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/version/version$(EXEEXT) | |
178 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_3 = t/generated-code3/test-generated-code3$(EXEEXT) | |
179 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_4 = t/issue220/issue220$(EXEEXT) \ | |
180 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue251/issue251$(EXEEXT) | |
181 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_5 = t/generated-code2/cxx-generate-packed-data$(EXEEXT) | |
182 | PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) | |
171 | 183 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
172 | 184 | am__vpath_adj = case $$p in \ |
173 | 185 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
195 | 207 | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ |
196 | 208 | $(am__cd) "$$dir" && rm -f $$files; }; \ |
197 | 209 | } |
198 | am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \ | |
199 | "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)" | |
200 | 210 | LTLIBRARIES = $(lib_LTLIBRARIES) |
201 | 211 | protobuf_c_libprotobuf_c_la_LIBADD = |
202 | 212 | am__dirstamp = $(am__leading_dot)dirstamp |
211 | 221 | $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ |
212 | 222 | $(AM_CFLAGS) $(CFLAGS) $(protobuf_c_libprotobuf_c_la_LDFLAGS) \ |
213 | 223 | $(LDFLAGS) -o $@ |
214 | @BUILD_COMPILER_TRUE@am__EXEEXT_1 = protoc-c/protoc-gen-c$(EXEEXT) | |
215 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_2 = t/generated-code/test-generated-code$(EXEEXT) \ | |
216 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/generated-code2/test-generated-code2$(EXEEXT) \ | |
217 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/version/version$(EXEEXT) | |
218 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_3 = t/generated-code3/test-generated-code3$(EXEEXT) | |
219 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_4 = t/issue220/issue220$(EXEEXT) \ | |
220 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue251/issue251$(EXEEXT) | |
221 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_5 = t/generated-code2/cxx-generate-packed-data$(EXEEXT) | |
222 | PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) | |
223 | 224 | am__protoc_c_protoc_gen_c_SOURCES_DIST = protoc-c/c_bytes_field.cc \ |
224 | 225 | protoc-c/c_bytes_field.h protoc-c/c_enum.cc protoc-c/c_enum.h \ |
225 | 226 | protoc-c/c_enum_field.cc protoc-c/c_enum_field.h \ |
233 | 234 | protoc-c/c_primitive_field.h protoc-c/c_service.cc \ |
234 | 235 | protoc-c/c_service.h protoc-c/c_string_field.cc \ |
235 | 236 | protoc-c/c_string_field.h protoc-c/main.cc |
236 | @BUILD_COMPILER_TRUE@am_protoc_c_protoc_gen_c_OBJECTS = protoc-c/protoc_c_protoc_gen_c-c_bytes_field.$(OBJEXT) \ | |
237 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_c_protoc_gen_c-c_enum.$(OBJEXT) \ | |
238 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_c_protoc_gen_c-c_enum_field.$(OBJEXT) \ | |
239 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_c_protoc_gen_c-c_extension.$(OBJEXT) \ | |
240 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_c_protoc_gen_c-c_field.$(OBJEXT) \ | |
241 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_c_protoc_gen_c-c_file.$(OBJEXT) \ | |
242 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_c_protoc_gen_c-c_generator.$(OBJEXT) \ | |
243 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_c_protoc_gen_c-c_helpers.$(OBJEXT) \ | |
244 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_c_protoc_gen_c-c_message.$(OBJEXT) \ | |
245 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_c_protoc_gen_c-c_message_field.$(OBJEXT) \ | |
246 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_c_protoc_gen_c-c_primitive_field.$(OBJEXT) \ | |
247 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_c_protoc_gen_c-c_service.$(OBJEXT) \ | |
248 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_c_protoc_gen_c-c_string_field.$(OBJEXT) \ | |
249 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_c_protoc_gen_c-main.$(OBJEXT) | |
237 | @BUILD_COMPILER_TRUE@am_protoc_c_protoc_gen_c_OBJECTS = protoc-c/protoc_gen_c-c_bytes_field.$(OBJEXT) \ | |
238 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_gen_c-c_enum.$(OBJEXT) \ | |
239 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_gen_c-c_enum_field.$(OBJEXT) \ | |
240 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_gen_c-c_extension.$(OBJEXT) \ | |
241 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_gen_c-c_field.$(OBJEXT) \ | |
242 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_gen_c-c_file.$(OBJEXT) \ | |
243 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_gen_c-c_generator.$(OBJEXT) \ | |
244 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_gen_c-c_helpers.$(OBJEXT) \ | |
245 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_gen_c-c_message.$(OBJEXT) \ | |
246 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_gen_c-c_message_field.$(OBJEXT) \ | |
247 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_gen_c-c_primitive_field.$(OBJEXT) \ | |
248 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_gen_c-c_service.$(OBJEXT) \ | |
249 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_gen_c-c_string_field.$(OBJEXT) \ | |
250 | @BUILD_COMPILER_TRUE@ protoc-c/protoc_gen_c-main.$(OBJEXT) | |
250 | 251 | protoc_c_protoc_gen_c_OBJECTS = $(am_protoc_c_protoc_gen_c_OBJECTS) |
251 | 252 | am__DEPENDENCIES_1 = |
252 | 253 | @BUILD_COMPILER_TRUE@protoc_c_protoc_gen_c_DEPENDENCIES = \ |
265 | 266 | am__t_generated_code2_cxx_generate_packed_data_SOURCES_DIST = \ |
266 | 267 | t/generated-code2/cxx-generate-packed-data.cc \ |
267 | 268 | t/test-full.pb.cc |
268 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am_t_generated_code2_cxx_generate_packed_data_OBJECTS = t/generated-code2/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.$(OBJEXT) \ | |
269 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/t_generated_code2_cxx_generate_packed_data-test-full.pb.$(OBJEXT) | |
269 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am_t_generated_code2_cxx_generate_packed_data_OBJECTS = t/generated-code2/cxx_generate_packed_data-cxx-generate-packed-data.$(OBJEXT) \ | |
270 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/generated_code2_cxx_generate_packed_data-test-full.pb.$(OBJEXT) | |
270 | 271 | t_generated_code2_cxx_generate_packed_data_OBJECTS = \ |
271 | 272 | $(am_t_generated_code2_cxx_generate_packed_data_OBJECTS) |
272 | 273 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t_generated_code2_cxx_generate_packed_data_DEPENDENCIES = $(am__DEPENDENCIES_1) |
286 | 287 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t_generated_code2_test_generated_code2_DEPENDENCIES = protobuf-c/libprotobuf-c.la |
287 | 288 | am__t_generated_code3_test_generated_code3_SOURCES_DIST = \ |
288 | 289 | t/generated-code/test-generated-code.c t/test-proto3.pb-c.c |
289 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@am_t_generated_code3_test_generated_code3_OBJECTS = t/generated-code/t_generated_code3_test_generated_code3-test-generated-code.$(OBJEXT) \ | |
290 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@ t/t_generated_code3_test_generated_code3-test-proto3.pb-c.$(OBJEXT) | |
290 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@am_t_generated_code3_test_generated_code3_OBJECTS = t/generated-code/generated_code3_test_generated_code3-test-generated-code.$(OBJEXT) \ | |
291 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@ t/generated_code3_test_generated_code3-test-proto3.pb-c.$(OBJEXT) | |
291 | 292 | t_generated_code3_test_generated_code3_OBJECTS = \ |
292 | 293 | $(am_t_generated_code3_test_generated_code3_OBJECTS) |
293 | 294 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@t_generated_code3_test_generated_code3_DEPENDENCIES = protobuf-c/libprotobuf-c.la |
321 | 322 | am__v_at_1 = |
322 | 323 | DEFAULT_INCLUDES = -I.@am__isrc@ |
323 | 324 | depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp |
324 | am__depfiles_maybe = depfiles | |
325 | am__maybe_remake_depfiles = depfiles | |
326 | am__depfiles_remade = protobuf-c/$(DEPDIR)/protobuf-c.Plo \ | |
327 | protoc-c/$(DEPDIR)/protoc_gen_c-c_bytes_field.Po \ | |
328 | protoc-c/$(DEPDIR)/protoc_gen_c-c_enum.Po \ | |
329 | protoc-c/$(DEPDIR)/protoc_gen_c-c_enum_field.Po \ | |
330 | protoc-c/$(DEPDIR)/protoc_gen_c-c_extension.Po \ | |
331 | protoc-c/$(DEPDIR)/protoc_gen_c-c_field.Po \ | |
332 | protoc-c/$(DEPDIR)/protoc_gen_c-c_file.Po \ | |
333 | protoc-c/$(DEPDIR)/protoc_gen_c-c_generator.Po \ | |
334 | protoc-c/$(DEPDIR)/protoc_gen_c-c_helpers.Po \ | |
335 | protoc-c/$(DEPDIR)/protoc_gen_c-c_message.Po \ | |
336 | protoc-c/$(DEPDIR)/protoc_gen_c-c_message_field.Po \ | |
337 | protoc-c/$(DEPDIR)/protoc_gen_c-c_primitive_field.Po \ | |
338 | protoc-c/$(DEPDIR)/protoc_gen_c-c_service.Po \ | |
339 | protoc-c/$(DEPDIR)/protoc_gen_c-c_string_field.Po \ | |
340 | protoc-c/$(DEPDIR)/protoc_gen_c-main.Po \ | |
341 | t/$(DEPDIR)/generated_code2_cxx_generate_packed_data-test-full.pb.Po \ | |
342 | t/$(DEPDIR)/generated_code3_test_generated_code3-test-proto3.pb-c.Po \ | |
343 | t/$(DEPDIR)/test-full.pb-c.Po \ | |
344 | t/$(DEPDIR)/test-optimized.pb-c.Po t/$(DEPDIR)/test.pb-c.Po \ | |
345 | t/generated-code/$(DEPDIR)/generated_code3_test_generated_code3-test-generated-code.Po \ | |
346 | t/generated-code/$(DEPDIR)/test-generated-code.Po \ | |
347 | t/generated-code2/$(DEPDIR)/cxx_generate_packed_data-cxx-generate-packed-data.Po \ | |
348 | t/generated-code2/$(DEPDIR)/test-generated-code2.Po \ | |
349 | t/issue220/$(DEPDIR)/issue220.Po \ | |
350 | t/issue220/$(DEPDIR)/issue220.pb-c.Po \ | |
351 | t/issue251/$(DEPDIR)/issue251.Po \ | |
352 | t/issue251/$(DEPDIR)/issue251.pb-c.Po \ | |
353 | t/version/$(DEPDIR)/version.Po | |
325 | 354 | am__mv = mv -f |
326 | 355 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
327 | 356 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
647 | 676 | FGREP = @FGREP@ |
648 | 677 | GENHTML = @GENHTML@ |
649 | 678 | GREP = @GREP@ |
679 | HAVE_CXX11 = @HAVE_CXX11@ | |
650 | 680 | INSTALL = @INSTALL@ |
651 | 681 | INSTALL_DATA = @INSTALL_DATA@ |
652 | 682 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
919 | 949 | echo ' $(SHELL) ./config.status'; \ |
920 | 950 | $(SHELL) ./config.status;; \ |
921 | 951 | *) \ |
922 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ | |
923 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ | |
952 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \ | |
953 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ | |
924 | 954 | esac; |
925 | 955 | |
926 | 956 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
950 | 980 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
951 | 981 | @HAVE_DOXYGEN_TRUE@Doxyfile: $(top_builddir)/config.status $(srcdir)/Doxyfile.in |
952 | 982 | @HAVE_DOXYGEN_TRUE@ cd $(top_builddir) && $(SHELL) ./config.status $@ |
953 | ||
954 | install-libLTLIBRARIES: $(lib_LTLIBRARIES) | |
955 | @$(NORMAL_INSTALL) | |
956 | @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ | |
957 | list2=; for p in $$list; do \ | |
958 | if test -f $$p; then \ | |
959 | list2="$$list2 $$p"; \ | |
960 | else :; fi; \ | |
961 | done; \ | |
962 | test -z "$$list2" || { \ | |
963 | echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ | |
964 | $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ | |
965 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ | |
966 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ | |
967 | } | |
968 | ||
969 | uninstall-libLTLIBRARIES: | |
970 | @$(NORMAL_UNINSTALL) | |
971 | @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ | |
972 | for p in $$list; do \ | |
973 | $(am__strip_dir) \ | |
974 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ | |
975 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ | |
976 | done | |
977 | ||
978 | clean-libLTLIBRARIES: | |
979 | -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) | |
980 | @list='$(lib_LTLIBRARIES)'; \ | |
981 | locs=`for p in $$list; do echo $$p; done | \ | |
982 | sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ | |
983 | sort -u`; \ | |
984 | test -z "$$locs" || { \ | |
985 | echo rm -f $${locs}; \ | |
986 | rm -f $${locs}; \ | |
987 | } | |
988 | protobuf-c/$(am__dirstamp): | |
989 | @$(MKDIR_P) protobuf-c | |
990 | @: > protobuf-c/$(am__dirstamp) | |
991 | protobuf-c/$(DEPDIR)/$(am__dirstamp): | |
992 | @$(MKDIR_P) protobuf-c/$(DEPDIR) | |
993 | @: > protobuf-c/$(DEPDIR)/$(am__dirstamp) | |
994 | protobuf-c/protobuf-c.lo: protobuf-c/$(am__dirstamp) \ | |
995 | protobuf-c/$(DEPDIR)/$(am__dirstamp) | |
996 | ||
997 | protobuf-c/libprotobuf-c.la: $(protobuf_c_libprotobuf_c_la_OBJECTS) $(protobuf_c_libprotobuf_c_la_DEPENDENCIES) $(EXTRA_protobuf_c_libprotobuf_c_la_DEPENDENCIES) protobuf-c/$(am__dirstamp) | |
998 | $(AM_V_CCLD)$(protobuf_c_libprotobuf_c_la_LINK) -rpath $(libdir) $(protobuf_c_libprotobuf_c_la_OBJECTS) $(protobuf_c_libprotobuf_c_la_LIBADD) $(LIBS) | |
999 | 983 | install-binPROGRAMS: $(bin_PROGRAMS) |
1000 | 984 | @$(NORMAL_INSTALL) |
1001 | 985 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ |
1063 | 1047 | list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ |
1064 | 1048 | echo " rm -f" $$list; \ |
1065 | 1049 | rm -f $$list |
1050 | ||
1051 | install-libLTLIBRARIES: $(lib_LTLIBRARIES) | |
1052 | @$(NORMAL_INSTALL) | |
1053 | @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ | |
1054 | list2=; for p in $$list; do \ | |
1055 | if test -f $$p; then \ | |
1056 | list2="$$list2 $$p"; \ | |
1057 | else :; fi; \ | |
1058 | done; \ | |
1059 | test -z "$$list2" || { \ | |
1060 | echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ | |
1061 | $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ | |
1062 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ | |
1063 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ | |
1064 | } | |
1065 | ||
1066 | uninstall-libLTLIBRARIES: | |
1067 | @$(NORMAL_UNINSTALL) | |
1068 | @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ | |
1069 | for p in $$list; do \ | |
1070 | $(am__strip_dir) \ | |
1071 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ | |
1072 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ | |
1073 | done | |
1074 | ||
1075 | clean-libLTLIBRARIES: | |
1076 | -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) | |
1077 | @list='$(lib_LTLIBRARIES)'; \ | |
1078 | locs=`for p in $$list; do echo $$p; done | \ | |
1079 | sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ | |
1080 | sort -u`; \ | |
1081 | test -z "$$locs" || { \ | |
1082 | echo rm -f $${locs}; \ | |
1083 | rm -f $${locs}; \ | |
1084 | } | |
1085 | protobuf-c/$(am__dirstamp): | |
1086 | @$(MKDIR_P) protobuf-c | |
1087 | @: > protobuf-c/$(am__dirstamp) | |
1088 | protobuf-c/$(DEPDIR)/$(am__dirstamp): | |
1089 | @$(MKDIR_P) protobuf-c/$(DEPDIR) | |
1090 | @: > protobuf-c/$(DEPDIR)/$(am__dirstamp) | |
1091 | protobuf-c/protobuf-c.lo: protobuf-c/$(am__dirstamp) \ | |
1092 | protobuf-c/$(DEPDIR)/$(am__dirstamp) | |
1093 | ||
1094 | protobuf-c/libprotobuf-c.la: $(protobuf_c_libprotobuf_c_la_OBJECTS) $(protobuf_c_libprotobuf_c_la_DEPENDENCIES) $(EXTRA_protobuf_c_libprotobuf_c_la_DEPENDENCIES) protobuf-c/$(am__dirstamp) | |
1095 | $(AM_V_CCLD)$(protobuf_c_libprotobuf_c_la_LINK) -rpath $(libdir) $(protobuf_c_libprotobuf_c_la_OBJECTS) $(protobuf_c_libprotobuf_c_la_LIBADD) $(LIBS) | |
1066 | 1096 | protoc-c/$(am__dirstamp): |
1067 | 1097 | @$(MKDIR_P) protoc-c |
1068 | 1098 | @: > protoc-c/$(am__dirstamp) |
1069 | 1099 | protoc-c/$(DEPDIR)/$(am__dirstamp): |
1070 | 1100 | @$(MKDIR_P) protoc-c/$(DEPDIR) |
1071 | 1101 | @: > protoc-c/$(DEPDIR)/$(am__dirstamp) |
1072 | protoc-c/protoc_c_protoc_gen_c-c_bytes_field.$(OBJEXT): \ | |
1102 | protoc-c/protoc_gen_c-c_bytes_field.$(OBJEXT): \ | |
1073 | 1103 | protoc-c/$(am__dirstamp) protoc-c/$(DEPDIR)/$(am__dirstamp) |
1074 | protoc-c/protoc_c_protoc_gen_c-c_enum.$(OBJEXT): \ | |
1104 | protoc-c/protoc_gen_c-c_enum.$(OBJEXT): protoc-c/$(am__dirstamp) \ | |
1105 | protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1106 | protoc-c/protoc_gen_c-c_enum_field.$(OBJEXT): \ | |
1075 | 1107 | protoc-c/$(am__dirstamp) protoc-c/$(DEPDIR)/$(am__dirstamp) |
1076 | protoc-c/protoc_c_protoc_gen_c-c_enum_field.$(OBJEXT): \ | |
1108 | protoc-c/protoc_gen_c-c_extension.$(OBJEXT): protoc-c/$(am__dirstamp) \ | |
1109 | protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1110 | protoc-c/protoc_gen_c-c_field.$(OBJEXT): protoc-c/$(am__dirstamp) \ | |
1111 | protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1112 | protoc-c/protoc_gen_c-c_file.$(OBJEXT): protoc-c/$(am__dirstamp) \ | |
1113 | protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1114 | protoc-c/protoc_gen_c-c_generator.$(OBJEXT): protoc-c/$(am__dirstamp) \ | |
1115 | protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1116 | protoc-c/protoc_gen_c-c_helpers.$(OBJEXT): protoc-c/$(am__dirstamp) \ | |
1117 | protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1118 | protoc-c/protoc_gen_c-c_message.$(OBJEXT): protoc-c/$(am__dirstamp) \ | |
1119 | protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1120 | protoc-c/protoc_gen_c-c_message_field.$(OBJEXT): \ | |
1077 | 1121 | protoc-c/$(am__dirstamp) protoc-c/$(DEPDIR)/$(am__dirstamp) |
1078 | protoc-c/protoc_c_protoc_gen_c-c_extension.$(OBJEXT): \ | |
1122 | protoc-c/protoc_gen_c-c_primitive_field.$(OBJEXT): \ | |
1079 | 1123 | protoc-c/$(am__dirstamp) protoc-c/$(DEPDIR)/$(am__dirstamp) |
1080 | protoc-c/protoc_c_protoc_gen_c-c_field.$(OBJEXT): \ | |
1124 | protoc-c/protoc_gen_c-c_service.$(OBJEXT): protoc-c/$(am__dirstamp) \ | |
1125 | protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1126 | protoc-c/protoc_gen_c-c_string_field.$(OBJEXT): \ | |
1081 | 1127 | protoc-c/$(am__dirstamp) protoc-c/$(DEPDIR)/$(am__dirstamp) |
1082 | protoc-c/protoc_c_protoc_gen_c-c_file.$(OBJEXT): \ | |
1083 | protoc-c/$(am__dirstamp) protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1084 | protoc-c/protoc_c_protoc_gen_c-c_generator.$(OBJEXT): \ | |
1085 | protoc-c/$(am__dirstamp) protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1086 | protoc-c/protoc_c_protoc_gen_c-c_helpers.$(OBJEXT): \ | |
1087 | protoc-c/$(am__dirstamp) protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1088 | protoc-c/protoc_c_protoc_gen_c-c_message.$(OBJEXT): \ | |
1089 | protoc-c/$(am__dirstamp) protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1090 | protoc-c/protoc_c_protoc_gen_c-c_message_field.$(OBJEXT): \ | |
1091 | protoc-c/$(am__dirstamp) protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1092 | protoc-c/protoc_c_protoc_gen_c-c_primitive_field.$(OBJEXT): \ | |
1093 | protoc-c/$(am__dirstamp) protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1094 | protoc-c/protoc_c_protoc_gen_c-c_service.$(OBJEXT): \ | |
1095 | protoc-c/$(am__dirstamp) protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1096 | protoc-c/protoc_c_protoc_gen_c-c_string_field.$(OBJEXT): \ | |
1097 | protoc-c/$(am__dirstamp) protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1098 | protoc-c/protoc_c_protoc_gen_c-main.$(OBJEXT): \ | |
1099 | protoc-c/$(am__dirstamp) protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1128 | protoc-c/protoc_gen_c-main.$(OBJEXT): protoc-c/$(am__dirstamp) \ | |
1129 | protoc-c/$(DEPDIR)/$(am__dirstamp) | |
1100 | 1130 | |
1101 | 1131 | protoc-c/protoc-gen-c$(EXEEXT): $(protoc_c_protoc_gen_c_OBJECTS) $(protoc_c_protoc_gen_c_DEPENDENCIES) $(EXTRA_protoc_c_protoc_gen_c_DEPENDENCIES) protoc-c/$(am__dirstamp) |
1102 | 1132 | @rm -f protoc-c/protoc-gen-c$(EXEEXT) |
1127 | 1157 | t/generated-code2/$(DEPDIR)/$(am__dirstamp): |
1128 | 1158 | @$(MKDIR_P) t/generated-code2/$(DEPDIR) |
1129 | 1159 | @: > t/generated-code2/$(DEPDIR)/$(am__dirstamp) |
1130 | t/generated-code2/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.$(OBJEXT): \ | |
1160 | t/generated-code2/cxx_generate_packed_data-cxx-generate-packed-data.$(OBJEXT): \ | |
1131 | 1161 | t/generated-code2/$(am__dirstamp) \ |
1132 | 1162 | t/generated-code2/$(DEPDIR)/$(am__dirstamp) |
1133 | t/t_generated_code2_cxx_generate_packed_data-test-full.pb.$(OBJEXT): \ | |
1163 | t/generated_code2_cxx_generate_packed_data-test-full.pb.$(OBJEXT): \ | |
1134 | 1164 | t/$(am__dirstamp) t/$(DEPDIR)/$(am__dirstamp) |
1135 | 1165 | |
1136 | 1166 | t/generated-code2/cxx-generate-packed-data$(EXEEXT): $(t_generated_code2_cxx_generate_packed_data_OBJECTS) $(t_generated_code2_cxx_generate_packed_data_DEPENDENCIES) $(EXTRA_t_generated_code2_cxx_generate_packed_data_DEPENDENCIES) t/generated-code2/$(am__dirstamp) |
1147 | 1177 | t/generated-code2/test-generated-code2$(EXEEXT): $(t_generated_code2_test_generated_code2_OBJECTS) $(t_generated_code2_test_generated_code2_DEPENDENCIES) $(EXTRA_t_generated_code2_test_generated_code2_DEPENDENCIES) t/generated-code2/$(am__dirstamp) |
1148 | 1178 | @rm -f t/generated-code2/test-generated-code2$(EXEEXT) |
1149 | 1179 | $(AM_V_CCLD)$(LINK) $(t_generated_code2_test_generated_code2_OBJECTS) $(t_generated_code2_test_generated_code2_LDADD) $(LIBS) |
1150 | t/generated-code/t_generated_code3_test_generated_code3-test-generated-code.$(OBJEXT): \ | |
1180 | t/generated-code/generated_code3_test_generated_code3-test-generated-code.$(OBJEXT): \ | |
1151 | 1181 | t/generated-code/$(am__dirstamp) \ |
1152 | 1182 | t/generated-code/$(DEPDIR)/$(am__dirstamp) |
1153 | t/t_generated_code3_test_generated_code3-test-proto3.pb-c.$(OBJEXT): \ | |
1183 | t/generated_code3_test_generated_code3-test-proto3.pb-c.$(OBJEXT): \ | |
1154 | 1184 | t/$(am__dirstamp) t/$(DEPDIR)/$(am__dirstamp) |
1155 | 1185 | t/generated-code3/$(am__dirstamp): |
1156 | 1186 | @$(MKDIR_P) t/generated-code3 |
1215 | 1245 | distclean-compile: |
1216 | 1246 | -rm -f *.tab.c |
1217 | 1247 | |
1218 | @AMDEP_TRUE@@am__include@ @am__quote@protobuf-c/$(DEPDIR)/protobuf-c.Plo@am__quote@ | |
1219 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_bytes_field.Po@am__quote@ | |
1220 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_enum.Po@am__quote@ | |
1221 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_enum_field.Po@am__quote@ | |
1222 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_extension.Po@am__quote@ | |
1223 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_field.Po@am__quote@ | |
1224 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_file.Po@am__quote@ | |
1225 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_generator.Po@am__quote@ | |
1226 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_helpers.Po@am__quote@ | |
1227 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_message.Po@am__quote@ | |
1228 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_message_field.Po@am__quote@ | |
1229 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_primitive_field.Po@am__quote@ | |
1230 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_service.Po@am__quote@ | |
1231 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_string_field.Po@am__quote@ | |
1232 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-main.Po@am__quote@ | |
1233 | @AMDEP_TRUE@@am__include@ @am__quote@t/$(DEPDIR)/t_generated_code2_cxx_generate_packed_data-test-full.pb.Po@am__quote@ | |
1234 | @AMDEP_TRUE@@am__include@ @am__quote@t/$(DEPDIR)/t_generated_code3_test_generated_code3-test-proto3.pb-c.Po@am__quote@ | |
1235 | @AMDEP_TRUE@@am__include@ @am__quote@t/$(DEPDIR)/test-full.pb-c.Po@am__quote@ | |
1236 | @AMDEP_TRUE@@am__include@ @am__quote@t/$(DEPDIR)/test-optimized.pb-c.Po@am__quote@ | |
1237 | @AMDEP_TRUE@@am__include@ @am__quote@t/$(DEPDIR)/test.pb-c.Po@am__quote@ | |
1238 | @AMDEP_TRUE@@am__include@ @am__quote@t/generated-code/$(DEPDIR)/t_generated_code3_test_generated_code3-test-generated-code.Po@am__quote@ | |
1239 | @AMDEP_TRUE@@am__include@ @am__quote@t/generated-code/$(DEPDIR)/test-generated-code.Po@am__quote@ | |
1240 | @AMDEP_TRUE@@am__include@ @am__quote@t/generated-code2/$(DEPDIR)/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.Po@am__quote@ | |
1241 | @AMDEP_TRUE@@am__include@ @am__quote@t/generated-code2/$(DEPDIR)/test-generated-code2.Po@am__quote@ | |
1242 | @AMDEP_TRUE@@am__include@ @am__quote@t/issue220/$(DEPDIR)/issue220.Po@am__quote@ | |
1243 | @AMDEP_TRUE@@am__include@ @am__quote@t/issue220/$(DEPDIR)/issue220.pb-c.Po@am__quote@ | |
1244 | @AMDEP_TRUE@@am__include@ @am__quote@t/issue251/$(DEPDIR)/issue251.Po@am__quote@ | |
1245 | @AMDEP_TRUE@@am__include@ @am__quote@t/issue251/$(DEPDIR)/issue251.pb-c.Po@am__quote@ | |
1246 | @AMDEP_TRUE@@am__include@ @am__quote@t/version/$(DEPDIR)/version.Po@am__quote@ | |
1248 | @AMDEP_TRUE@@am__include@ @am__quote@protobuf-c/$(DEPDIR)/protobuf-c.Plo@am__quote@ # am--include-marker | |
1249 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_gen_c-c_bytes_field.Po@am__quote@ # am--include-marker | |
1250 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_gen_c-c_enum.Po@am__quote@ # am--include-marker | |
1251 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_gen_c-c_enum_field.Po@am__quote@ # am--include-marker | |
1252 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_gen_c-c_extension.Po@am__quote@ # am--include-marker | |
1253 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_gen_c-c_field.Po@am__quote@ # am--include-marker | |
1254 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_gen_c-c_file.Po@am__quote@ # am--include-marker | |
1255 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_gen_c-c_generator.Po@am__quote@ # am--include-marker | |
1256 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_gen_c-c_helpers.Po@am__quote@ # am--include-marker | |
1257 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_gen_c-c_message.Po@am__quote@ # am--include-marker | |
1258 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_gen_c-c_message_field.Po@am__quote@ # am--include-marker | |
1259 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_gen_c-c_primitive_field.Po@am__quote@ # am--include-marker | |
1260 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_gen_c-c_service.Po@am__quote@ # am--include-marker | |
1261 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_gen_c-c_string_field.Po@am__quote@ # am--include-marker | |
1262 | @AMDEP_TRUE@@am__include@ @am__quote@protoc-c/$(DEPDIR)/protoc_gen_c-main.Po@am__quote@ # am--include-marker | |
1263 | @AMDEP_TRUE@@am__include@ @am__quote@t/$(DEPDIR)/generated_code2_cxx_generate_packed_data-test-full.pb.Po@am__quote@ # am--include-marker | |
1264 | @AMDEP_TRUE@@am__include@ @am__quote@t/$(DEPDIR)/generated_code3_test_generated_code3-test-proto3.pb-c.Po@am__quote@ # am--include-marker | |
1265 | @AMDEP_TRUE@@am__include@ @am__quote@t/$(DEPDIR)/test-full.pb-c.Po@am__quote@ # am--include-marker | |
1266 | @AMDEP_TRUE@@am__include@ @am__quote@t/$(DEPDIR)/test-optimized.pb-c.Po@am__quote@ # am--include-marker | |
1267 | @AMDEP_TRUE@@am__include@ @am__quote@t/$(DEPDIR)/test.pb-c.Po@am__quote@ # am--include-marker | |
1268 | @AMDEP_TRUE@@am__include@ @am__quote@t/generated-code/$(DEPDIR)/generated_code3_test_generated_code3-test-generated-code.Po@am__quote@ # am--include-marker | |
1269 | @AMDEP_TRUE@@am__include@ @am__quote@t/generated-code/$(DEPDIR)/test-generated-code.Po@am__quote@ # am--include-marker | |
1270 | @AMDEP_TRUE@@am__include@ @am__quote@t/generated-code2/$(DEPDIR)/cxx_generate_packed_data-cxx-generate-packed-data.Po@am__quote@ # am--include-marker | |
1271 | @AMDEP_TRUE@@am__include@ @am__quote@t/generated-code2/$(DEPDIR)/test-generated-code2.Po@am__quote@ # am--include-marker | |
1272 | @AMDEP_TRUE@@am__include@ @am__quote@t/issue220/$(DEPDIR)/issue220.Po@am__quote@ # am--include-marker | |
1273 | @AMDEP_TRUE@@am__include@ @am__quote@t/issue220/$(DEPDIR)/issue220.pb-c.Po@am__quote@ # am--include-marker | |
1274 | @AMDEP_TRUE@@am__include@ @am__quote@t/issue251/$(DEPDIR)/issue251.Po@am__quote@ # am--include-marker | |
1275 | @AMDEP_TRUE@@am__include@ @am__quote@t/issue251/$(DEPDIR)/issue251.pb-c.Po@am__quote@ # am--include-marker | |
1276 | @AMDEP_TRUE@@am__include@ @am__quote@t/version/$(DEPDIR)/version.Po@am__quote@ # am--include-marker | |
1277 | ||
1278 | $(am__depfiles_remade): | |
1279 | @$(MKDIR_P) $(@D) | |
1280 | @echo '# dummy' >$@-t && $(am__mv) $@-t $@ | |
1281 | ||
1282 | am--depfiles: $(am__depfiles_remade) | |
1247 | 1283 | |
1248 | 1284 | .c.o: |
1249 | 1285 | @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ |
1269 | 1305 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
1270 | 1306 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< |
1271 | 1307 | |
1272 | t/generated-code/t_generated_code3_test_generated_code3-test-generated-code.o: t/generated-code/test-generated-code.c | |
1273 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(t_generated_code3_test_generated_code3_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT t/generated-code/t_generated_code3_test_generated_code3-test-generated-code.o -MD -MP -MF t/generated-code/$(DEPDIR)/t_generated_code3_test_generated_code3-test-generated-code.Tpo -c -o t/generated-code/t_generated_code3_test_generated_code3-test-generated-code.o `test -f 't/generated-code/test-generated-code.c' || echo '$(srcdir)/'`t/generated-code/test-generated-code.c | |
1274 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) t/generated-code/$(DEPDIR)/t_generated_code3_test_generated_code3-test-generated-code.Tpo t/generated-code/$(DEPDIR)/t_generated_code3_test_generated_code3-test-generated-code.Po | |
1275 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='t/generated-code/test-generated-code.c' object='t/generated-code/t_generated_code3_test_generated_code3-test-generated-code.o' libtool=no @AMDEPBACKSLASH@ | |
1308 | t/generated-code/generated_code3_test_generated_code3-test-generated-code.o: t/generated-code/test-generated-code.c | |
1309 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(t_generated_code3_test_generated_code3_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT t/generated-code/generated_code3_test_generated_code3-test-generated-code.o -MD -MP -MF t/generated-code/$(DEPDIR)/generated_code3_test_generated_code3-test-generated-code.Tpo -c -o t/generated-code/generated_code3_test_generated_code3-test-generated-code.o `test -f 't/generated-code/test-generated-code.c' || echo '$(srcdir)/'`t/generated-code/test-generated-code.c | |
1310 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) t/generated-code/$(DEPDIR)/generated_code3_test_generated_code3-test-generated-code.Tpo t/generated-code/$(DEPDIR)/generated_code3_test_generated_code3-test-generated-code.Po | |
1311 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='t/generated-code/test-generated-code.c' object='t/generated-code/generated_code3_test_generated_code3-test-generated-code.o' libtool=no @AMDEPBACKSLASH@ | |
1276 | 1312 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
1277 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(t_generated_code3_test_generated_code3_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o t/generated-code/t_generated_code3_test_generated_code3-test-generated-code.o `test -f 't/generated-code/test-generated-code.c' || echo '$(srcdir)/'`t/generated-code/test-generated-code.c | |
1278 | ||
1279 | t/generated-code/t_generated_code3_test_generated_code3-test-generated-code.obj: t/generated-code/test-generated-code.c | |
1280 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(t_generated_code3_test_generated_code3_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT t/generated-code/t_generated_code3_test_generated_code3-test-generated-code.obj -MD -MP -MF t/generated-code/$(DEPDIR)/t_generated_code3_test_generated_code3-test-generated-code.Tpo -c -o t/generated-code/t_generated_code3_test_generated_code3-test-generated-code.obj `if test -f 't/generated-code/test-generated-code.c'; then $(CYGPATH_W) 't/generated-code/test-generated-code.c'; else $(CYGPATH_W) '$(srcdir)/t/generated-code/test-generated-code.c'; fi` | |
1281 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) t/generated-code/$(DEPDIR)/t_generated_code3_test_generated_code3-test-generated-code.Tpo t/generated-code/$(DEPDIR)/t_generated_code3_test_generated_code3-test-generated-code.Po | |
1282 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='t/generated-code/test-generated-code.c' object='t/generated-code/t_generated_code3_test_generated_code3-test-generated-code.obj' libtool=no @AMDEPBACKSLASH@ | |
1313 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(t_generated_code3_test_generated_code3_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o t/generated-code/generated_code3_test_generated_code3-test-generated-code.o `test -f 't/generated-code/test-generated-code.c' || echo '$(srcdir)/'`t/generated-code/test-generated-code.c | |
1314 | ||
1315 | t/generated-code/generated_code3_test_generated_code3-test-generated-code.obj: t/generated-code/test-generated-code.c | |
1316 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(t_generated_code3_test_generated_code3_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT t/generated-code/generated_code3_test_generated_code3-test-generated-code.obj -MD -MP -MF t/generated-code/$(DEPDIR)/generated_code3_test_generated_code3-test-generated-code.Tpo -c -o t/generated-code/generated_code3_test_generated_code3-test-generated-code.obj `if test -f 't/generated-code/test-generated-code.c'; then $(CYGPATH_W) 't/generated-code/test-generated-code.c'; else $(CYGPATH_W) '$(srcdir)/t/generated-code/test-generated-code.c'; fi` | |
1317 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) t/generated-code/$(DEPDIR)/generated_code3_test_generated_code3-test-generated-code.Tpo t/generated-code/$(DEPDIR)/generated_code3_test_generated_code3-test-generated-code.Po | |
1318 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='t/generated-code/test-generated-code.c' object='t/generated-code/generated_code3_test_generated_code3-test-generated-code.obj' libtool=no @AMDEPBACKSLASH@ | |
1283 | 1319 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
1284 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(t_generated_code3_test_generated_code3_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o t/generated-code/t_generated_code3_test_generated_code3-test-generated-code.obj `if test -f 't/generated-code/test-generated-code.c'; then $(CYGPATH_W) 't/generated-code/test-generated-code.c'; else $(CYGPATH_W) '$(srcdir)/t/generated-code/test-generated-code.c'; fi` | |
1285 | ||
1286 | t/t_generated_code3_test_generated_code3-test-proto3.pb-c.o: t/test-proto3.pb-c.c | |
1287 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(t_generated_code3_test_generated_code3_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT t/t_generated_code3_test_generated_code3-test-proto3.pb-c.o -MD -MP -MF t/$(DEPDIR)/t_generated_code3_test_generated_code3-test-proto3.pb-c.Tpo -c -o t/t_generated_code3_test_generated_code3-test-proto3.pb-c.o `test -f 't/test-proto3.pb-c.c' || echo '$(srcdir)/'`t/test-proto3.pb-c.c | |
1288 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) t/$(DEPDIR)/t_generated_code3_test_generated_code3-test-proto3.pb-c.Tpo t/$(DEPDIR)/t_generated_code3_test_generated_code3-test-proto3.pb-c.Po | |
1289 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='t/test-proto3.pb-c.c' object='t/t_generated_code3_test_generated_code3-test-proto3.pb-c.o' libtool=no @AMDEPBACKSLASH@ | |
1320 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(t_generated_code3_test_generated_code3_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o t/generated-code/generated_code3_test_generated_code3-test-generated-code.obj `if test -f 't/generated-code/test-generated-code.c'; then $(CYGPATH_W) 't/generated-code/test-generated-code.c'; else $(CYGPATH_W) '$(srcdir)/t/generated-code/test-generated-code.c'; fi` | |
1321 | ||
1322 | t/generated_code3_test_generated_code3-test-proto3.pb-c.o: t/test-proto3.pb-c.c | |
1323 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(t_generated_code3_test_generated_code3_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT t/generated_code3_test_generated_code3-test-proto3.pb-c.o -MD -MP -MF t/$(DEPDIR)/generated_code3_test_generated_code3-test-proto3.pb-c.Tpo -c -o t/generated_code3_test_generated_code3-test-proto3.pb-c.o `test -f 't/test-proto3.pb-c.c' || echo '$(srcdir)/'`t/test-proto3.pb-c.c | |
1324 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) t/$(DEPDIR)/generated_code3_test_generated_code3-test-proto3.pb-c.Tpo t/$(DEPDIR)/generated_code3_test_generated_code3-test-proto3.pb-c.Po | |
1325 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='t/test-proto3.pb-c.c' object='t/generated_code3_test_generated_code3-test-proto3.pb-c.o' libtool=no @AMDEPBACKSLASH@ | |
1290 | 1326 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
1291 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(t_generated_code3_test_generated_code3_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o t/t_generated_code3_test_generated_code3-test-proto3.pb-c.o `test -f 't/test-proto3.pb-c.c' || echo '$(srcdir)/'`t/test-proto3.pb-c.c | |
1292 | ||
1293 | t/t_generated_code3_test_generated_code3-test-proto3.pb-c.obj: t/test-proto3.pb-c.c | |
1294 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(t_generated_code3_test_generated_code3_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT t/t_generated_code3_test_generated_code3-test-proto3.pb-c.obj -MD -MP -MF t/$(DEPDIR)/t_generated_code3_test_generated_code3-test-proto3.pb-c.Tpo -c -o t/t_generated_code3_test_generated_code3-test-proto3.pb-c.obj `if test -f 't/test-proto3.pb-c.c'; then $(CYGPATH_W) 't/test-proto3.pb-c.c'; else $(CYGPATH_W) '$(srcdir)/t/test-proto3.pb-c.c'; fi` | |
1295 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) t/$(DEPDIR)/t_generated_code3_test_generated_code3-test-proto3.pb-c.Tpo t/$(DEPDIR)/t_generated_code3_test_generated_code3-test-proto3.pb-c.Po | |
1296 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='t/test-proto3.pb-c.c' object='t/t_generated_code3_test_generated_code3-test-proto3.pb-c.obj' libtool=no @AMDEPBACKSLASH@ | |
1327 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(t_generated_code3_test_generated_code3_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o t/generated_code3_test_generated_code3-test-proto3.pb-c.o `test -f 't/test-proto3.pb-c.c' || echo '$(srcdir)/'`t/test-proto3.pb-c.c | |
1328 | ||
1329 | t/generated_code3_test_generated_code3-test-proto3.pb-c.obj: t/test-proto3.pb-c.c | |
1330 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(t_generated_code3_test_generated_code3_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT t/generated_code3_test_generated_code3-test-proto3.pb-c.obj -MD -MP -MF t/$(DEPDIR)/generated_code3_test_generated_code3-test-proto3.pb-c.Tpo -c -o t/generated_code3_test_generated_code3-test-proto3.pb-c.obj `if test -f 't/test-proto3.pb-c.c'; then $(CYGPATH_W) 't/test-proto3.pb-c.c'; else $(CYGPATH_W) '$(srcdir)/t/test-proto3.pb-c.c'; fi` | |
1331 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) t/$(DEPDIR)/generated_code3_test_generated_code3-test-proto3.pb-c.Tpo t/$(DEPDIR)/generated_code3_test_generated_code3-test-proto3.pb-c.Po | |
1332 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='t/test-proto3.pb-c.c' object='t/generated_code3_test_generated_code3-test-proto3.pb-c.obj' libtool=no @AMDEPBACKSLASH@ | |
1297 | 1333 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
1298 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(t_generated_code3_test_generated_code3_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o t/t_generated_code3_test_generated_code3-test-proto3.pb-c.obj `if test -f 't/test-proto3.pb-c.c'; then $(CYGPATH_W) 't/test-proto3.pb-c.c'; else $(CYGPATH_W) '$(srcdir)/t/test-proto3.pb-c.c'; fi` | |
1334 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(t_generated_code3_test_generated_code3_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o t/generated_code3_test_generated_code3-test-proto3.pb-c.obj `if test -f 't/test-proto3.pb-c.c'; then $(CYGPATH_W) 't/test-proto3.pb-c.c'; else $(CYGPATH_W) '$(srcdir)/t/test-proto3.pb-c.c'; fi` | |
1299 | 1335 | |
1300 | 1336 | .cc.o: |
1301 | 1337 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ |
1321 | 1357 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
1322 | 1358 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< |
1323 | 1359 | |
1324 | protoc-c/protoc_c_protoc_gen_c-c_bytes_field.o: protoc-c/c_bytes_field.cc | |
1325 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_bytes_field.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_bytes_field.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_bytes_field.o `test -f 'protoc-c/c_bytes_field.cc' || echo '$(srcdir)/'`protoc-c/c_bytes_field.cc | |
1326 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_bytes_field.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_bytes_field.Po | |
1327 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_bytes_field.cc' object='protoc-c/protoc_c_protoc_gen_c-c_bytes_field.o' libtool=no @AMDEPBACKSLASH@ | |
1328 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1329 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_bytes_field.o `test -f 'protoc-c/c_bytes_field.cc' || echo '$(srcdir)/'`protoc-c/c_bytes_field.cc | |
1330 | ||
1331 | protoc-c/protoc_c_protoc_gen_c-c_bytes_field.obj: protoc-c/c_bytes_field.cc | |
1332 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_bytes_field.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_bytes_field.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_bytes_field.obj `if test -f 'protoc-c/c_bytes_field.cc'; then $(CYGPATH_W) 'protoc-c/c_bytes_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_bytes_field.cc'; fi` | |
1333 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_bytes_field.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_bytes_field.Po | |
1334 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_bytes_field.cc' object='protoc-c/protoc_c_protoc_gen_c-c_bytes_field.obj' libtool=no @AMDEPBACKSLASH@ | |
1335 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1336 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_bytes_field.obj `if test -f 'protoc-c/c_bytes_field.cc'; then $(CYGPATH_W) 'protoc-c/c_bytes_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_bytes_field.cc'; fi` | |
1337 | ||
1338 | protoc-c/protoc_c_protoc_gen_c-c_enum.o: protoc-c/c_enum.cc | |
1339 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_enum.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_enum.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_enum.o `test -f 'protoc-c/c_enum.cc' || echo '$(srcdir)/'`protoc-c/c_enum.cc | |
1340 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_enum.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_enum.Po | |
1341 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_enum.cc' object='protoc-c/protoc_c_protoc_gen_c-c_enum.o' libtool=no @AMDEPBACKSLASH@ | |
1342 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1343 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_enum.o `test -f 'protoc-c/c_enum.cc' || echo '$(srcdir)/'`protoc-c/c_enum.cc | |
1344 | ||
1345 | protoc-c/protoc_c_protoc_gen_c-c_enum.obj: protoc-c/c_enum.cc | |
1346 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_enum.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_enum.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_enum.obj `if test -f 'protoc-c/c_enum.cc'; then $(CYGPATH_W) 'protoc-c/c_enum.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_enum.cc'; fi` | |
1347 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_enum.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_enum.Po | |
1348 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_enum.cc' object='protoc-c/protoc_c_protoc_gen_c-c_enum.obj' libtool=no @AMDEPBACKSLASH@ | |
1349 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1350 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_enum.obj `if test -f 'protoc-c/c_enum.cc'; then $(CYGPATH_W) 'protoc-c/c_enum.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_enum.cc'; fi` | |
1351 | ||
1352 | protoc-c/protoc_c_protoc_gen_c-c_enum_field.o: protoc-c/c_enum_field.cc | |
1353 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_enum_field.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_enum_field.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_enum_field.o `test -f 'protoc-c/c_enum_field.cc' || echo '$(srcdir)/'`protoc-c/c_enum_field.cc | |
1354 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_enum_field.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_enum_field.Po | |
1355 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_enum_field.cc' object='protoc-c/protoc_c_protoc_gen_c-c_enum_field.o' libtool=no @AMDEPBACKSLASH@ | |
1356 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1357 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_enum_field.o `test -f 'protoc-c/c_enum_field.cc' || echo '$(srcdir)/'`protoc-c/c_enum_field.cc | |
1358 | ||
1359 | protoc-c/protoc_c_protoc_gen_c-c_enum_field.obj: protoc-c/c_enum_field.cc | |
1360 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_enum_field.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_enum_field.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_enum_field.obj `if test -f 'protoc-c/c_enum_field.cc'; then $(CYGPATH_W) 'protoc-c/c_enum_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_enum_field.cc'; fi` | |
1361 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_enum_field.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_enum_field.Po | |
1362 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_enum_field.cc' object='protoc-c/protoc_c_protoc_gen_c-c_enum_field.obj' libtool=no @AMDEPBACKSLASH@ | |
1363 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1364 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_enum_field.obj `if test -f 'protoc-c/c_enum_field.cc'; then $(CYGPATH_W) 'protoc-c/c_enum_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_enum_field.cc'; fi` | |
1365 | ||
1366 | protoc-c/protoc_c_protoc_gen_c-c_extension.o: protoc-c/c_extension.cc | |
1367 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_extension.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_extension.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_extension.o `test -f 'protoc-c/c_extension.cc' || echo '$(srcdir)/'`protoc-c/c_extension.cc | |
1368 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_extension.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_extension.Po | |
1369 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_extension.cc' object='protoc-c/protoc_c_protoc_gen_c-c_extension.o' libtool=no @AMDEPBACKSLASH@ | |
1370 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1371 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_extension.o `test -f 'protoc-c/c_extension.cc' || echo '$(srcdir)/'`protoc-c/c_extension.cc | |
1372 | ||
1373 | protoc-c/protoc_c_protoc_gen_c-c_extension.obj: protoc-c/c_extension.cc | |
1374 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_extension.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_extension.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_extension.obj `if test -f 'protoc-c/c_extension.cc'; then $(CYGPATH_W) 'protoc-c/c_extension.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_extension.cc'; fi` | |
1375 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_extension.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_extension.Po | |
1376 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_extension.cc' object='protoc-c/protoc_c_protoc_gen_c-c_extension.obj' libtool=no @AMDEPBACKSLASH@ | |
1377 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1378 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_extension.obj `if test -f 'protoc-c/c_extension.cc'; then $(CYGPATH_W) 'protoc-c/c_extension.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_extension.cc'; fi` | |
1379 | ||
1380 | protoc-c/protoc_c_protoc_gen_c-c_field.o: protoc-c/c_field.cc | |
1381 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_field.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_field.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_field.o `test -f 'protoc-c/c_field.cc' || echo '$(srcdir)/'`protoc-c/c_field.cc | |
1382 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_field.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_field.Po | |
1383 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_field.cc' object='protoc-c/protoc_c_protoc_gen_c-c_field.o' libtool=no @AMDEPBACKSLASH@ | |
1384 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1385 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_field.o `test -f 'protoc-c/c_field.cc' || echo '$(srcdir)/'`protoc-c/c_field.cc | |
1386 | ||
1387 | protoc-c/protoc_c_protoc_gen_c-c_field.obj: protoc-c/c_field.cc | |
1388 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_field.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_field.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_field.obj `if test -f 'protoc-c/c_field.cc'; then $(CYGPATH_W) 'protoc-c/c_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_field.cc'; fi` | |
1389 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_field.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_field.Po | |
1390 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_field.cc' object='protoc-c/protoc_c_protoc_gen_c-c_field.obj' libtool=no @AMDEPBACKSLASH@ | |
1391 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1392 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_field.obj `if test -f 'protoc-c/c_field.cc'; then $(CYGPATH_W) 'protoc-c/c_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_field.cc'; fi` | |
1393 | ||
1394 | protoc-c/protoc_c_protoc_gen_c-c_file.o: protoc-c/c_file.cc | |
1395 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_file.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_file.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_file.o `test -f 'protoc-c/c_file.cc' || echo '$(srcdir)/'`protoc-c/c_file.cc | |
1396 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_file.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_file.Po | |
1397 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_file.cc' object='protoc-c/protoc_c_protoc_gen_c-c_file.o' libtool=no @AMDEPBACKSLASH@ | |
1398 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1399 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_file.o `test -f 'protoc-c/c_file.cc' || echo '$(srcdir)/'`protoc-c/c_file.cc | |
1400 | ||
1401 | protoc-c/protoc_c_protoc_gen_c-c_file.obj: protoc-c/c_file.cc | |
1402 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_file.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_file.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_file.obj `if test -f 'protoc-c/c_file.cc'; then $(CYGPATH_W) 'protoc-c/c_file.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_file.cc'; fi` | |
1403 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_file.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_file.Po | |
1404 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_file.cc' object='protoc-c/protoc_c_protoc_gen_c-c_file.obj' libtool=no @AMDEPBACKSLASH@ | |
1405 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1406 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_file.obj `if test -f 'protoc-c/c_file.cc'; then $(CYGPATH_W) 'protoc-c/c_file.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_file.cc'; fi` | |
1407 | ||
1408 | protoc-c/protoc_c_protoc_gen_c-c_generator.o: protoc-c/c_generator.cc | |
1409 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_generator.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_generator.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_generator.o `test -f 'protoc-c/c_generator.cc' || echo '$(srcdir)/'`protoc-c/c_generator.cc | |
1410 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_generator.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_generator.Po | |
1411 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_generator.cc' object='protoc-c/protoc_c_protoc_gen_c-c_generator.o' libtool=no @AMDEPBACKSLASH@ | |
1412 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1413 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_generator.o `test -f 'protoc-c/c_generator.cc' || echo '$(srcdir)/'`protoc-c/c_generator.cc | |
1414 | ||
1415 | protoc-c/protoc_c_protoc_gen_c-c_generator.obj: protoc-c/c_generator.cc | |
1416 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_generator.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_generator.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_generator.obj `if test -f 'protoc-c/c_generator.cc'; then $(CYGPATH_W) 'protoc-c/c_generator.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_generator.cc'; fi` | |
1417 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_generator.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_generator.Po | |
1418 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_generator.cc' object='protoc-c/protoc_c_protoc_gen_c-c_generator.obj' libtool=no @AMDEPBACKSLASH@ | |
1419 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1420 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_generator.obj `if test -f 'protoc-c/c_generator.cc'; then $(CYGPATH_W) 'protoc-c/c_generator.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_generator.cc'; fi` | |
1421 | ||
1422 | protoc-c/protoc_c_protoc_gen_c-c_helpers.o: protoc-c/c_helpers.cc | |
1423 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_helpers.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_helpers.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_helpers.o `test -f 'protoc-c/c_helpers.cc' || echo '$(srcdir)/'`protoc-c/c_helpers.cc | |
1424 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_helpers.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_helpers.Po | |
1425 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_helpers.cc' object='protoc-c/protoc_c_protoc_gen_c-c_helpers.o' libtool=no @AMDEPBACKSLASH@ | |
1426 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1427 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_helpers.o `test -f 'protoc-c/c_helpers.cc' || echo '$(srcdir)/'`protoc-c/c_helpers.cc | |
1428 | ||
1429 | protoc-c/protoc_c_protoc_gen_c-c_helpers.obj: protoc-c/c_helpers.cc | |
1430 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_helpers.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_helpers.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_helpers.obj `if test -f 'protoc-c/c_helpers.cc'; then $(CYGPATH_W) 'protoc-c/c_helpers.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_helpers.cc'; fi` | |
1431 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_helpers.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_helpers.Po | |
1432 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_helpers.cc' object='protoc-c/protoc_c_protoc_gen_c-c_helpers.obj' libtool=no @AMDEPBACKSLASH@ | |
1433 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1434 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_helpers.obj `if test -f 'protoc-c/c_helpers.cc'; then $(CYGPATH_W) 'protoc-c/c_helpers.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_helpers.cc'; fi` | |
1435 | ||
1436 | protoc-c/protoc_c_protoc_gen_c-c_message.o: protoc-c/c_message.cc | |
1437 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_message.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_message.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_message.o `test -f 'protoc-c/c_message.cc' || echo '$(srcdir)/'`protoc-c/c_message.cc | |
1438 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_message.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_message.Po | |
1439 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_message.cc' object='protoc-c/protoc_c_protoc_gen_c-c_message.o' libtool=no @AMDEPBACKSLASH@ | |
1440 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1441 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_message.o `test -f 'protoc-c/c_message.cc' || echo '$(srcdir)/'`protoc-c/c_message.cc | |
1442 | ||
1443 | protoc-c/protoc_c_protoc_gen_c-c_message.obj: protoc-c/c_message.cc | |
1444 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_message.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_message.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_message.obj `if test -f 'protoc-c/c_message.cc'; then $(CYGPATH_W) 'protoc-c/c_message.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_message.cc'; fi` | |
1445 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_message.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_message.Po | |
1446 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_message.cc' object='protoc-c/protoc_c_protoc_gen_c-c_message.obj' libtool=no @AMDEPBACKSLASH@ | |
1447 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1448 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_message.obj `if test -f 'protoc-c/c_message.cc'; then $(CYGPATH_W) 'protoc-c/c_message.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_message.cc'; fi` | |
1449 | ||
1450 | protoc-c/protoc_c_protoc_gen_c-c_message_field.o: protoc-c/c_message_field.cc | |
1451 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_message_field.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_message_field.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_message_field.o `test -f 'protoc-c/c_message_field.cc' || echo '$(srcdir)/'`protoc-c/c_message_field.cc | |
1452 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_message_field.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_message_field.Po | |
1453 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_message_field.cc' object='protoc-c/protoc_c_protoc_gen_c-c_message_field.o' libtool=no @AMDEPBACKSLASH@ | |
1454 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1455 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_message_field.o `test -f 'protoc-c/c_message_field.cc' || echo '$(srcdir)/'`protoc-c/c_message_field.cc | |
1456 | ||
1457 | protoc-c/protoc_c_protoc_gen_c-c_message_field.obj: protoc-c/c_message_field.cc | |
1458 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_message_field.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_message_field.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_message_field.obj `if test -f 'protoc-c/c_message_field.cc'; then $(CYGPATH_W) 'protoc-c/c_message_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_message_field.cc'; fi` | |
1459 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_message_field.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_message_field.Po | |
1460 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_message_field.cc' object='protoc-c/protoc_c_protoc_gen_c-c_message_field.obj' libtool=no @AMDEPBACKSLASH@ | |
1461 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1462 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_message_field.obj `if test -f 'protoc-c/c_message_field.cc'; then $(CYGPATH_W) 'protoc-c/c_message_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_message_field.cc'; fi` | |
1463 | ||
1464 | protoc-c/protoc_c_protoc_gen_c-c_primitive_field.o: protoc-c/c_primitive_field.cc | |
1465 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_primitive_field.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_primitive_field.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_primitive_field.o `test -f 'protoc-c/c_primitive_field.cc' || echo '$(srcdir)/'`protoc-c/c_primitive_field.cc | |
1466 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_primitive_field.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_primitive_field.Po | |
1467 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_primitive_field.cc' object='protoc-c/protoc_c_protoc_gen_c-c_primitive_field.o' libtool=no @AMDEPBACKSLASH@ | |
1468 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1469 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_primitive_field.o `test -f 'protoc-c/c_primitive_field.cc' || echo '$(srcdir)/'`protoc-c/c_primitive_field.cc | |
1470 | ||
1471 | protoc-c/protoc_c_protoc_gen_c-c_primitive_field.obj: protoc-c/c_primitive_field.cc | |
1472 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_primitive_field.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_primitive_field.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_primitive_field.obj `if test -f 'protoc-c/c_primitive_field.cc'; then $(CYGPATH_W) 'protoc-c/c_primitive_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_primitive_field.cc'; fi` | |
1473 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_primitive_field.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_primitive_field.Po | |
1474 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_primitive_field.cc' object='protoc-c/protoc_c_protoc_gen_c-c_primitive_field.obj' libtool=no @AMDEPBACKSLASH@ | |
1475 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1476 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_primitive_field.obj `if test -f 'protoc-c/c_primitive_field.cc'; then $(CYGPATH_W) 'protoc-c/c_primitive_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_primitive_field.cc'; fi` | |
1477 | ||
1478 | protoc-c/protoc_c_protoc_gen_c-c_service.o: protoc-c/c_service.cc | |
1479 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_service.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_service.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_service.o `test -f 'protoc-c/c_service.cc' || echo '$(srcdir)/'`protoc-c/c_service.cc | |
1480 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_service.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_service.Po | |
1481 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_service.cc' object='protoc-c/protoc_c_protoc_gen_c-c_service.o' libtool=no @AMDEPBACKSLASH@ | |
1482 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1483 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_service.o `test -f 'protoc-c/c_service.cc' || echo '$(srcdir)/'`protoc-c/c_service.cc | |
1484 | ||
1485 | protoc-c/protoc_c_protoc_gen_c-c_service.obj: protoc-c/c_service.cc | |
1486 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_service.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_service.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_service.obj `if test -f 'protoc-c/c_service.cc'; then $(CYGPATH_W) 'protoc-c/c_service.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_service.cc'; fi` | |
1487 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_service.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_service.Po | |
1488 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_service.cc' object='protoc-c/protoc_c_protoc_gen_c-c_service.obj' libtool=no @AMDEPBACKSLASH@ | |
1489 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1490 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_service.obj `if test -f 'protoc-c/c_service.cc'; then $(CYGPATH_W) 'protoc-c/c_service.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_service.cc'; fi` | |
1491 | ||
1492 | protoc-c/protoc_c_protoc_gen_c-c_string_field.o: protoc-c/c_string_field.cc | |
1493 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_string_field.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_string_field.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_string_field.o `test -f 'protoc-c/c_string_field.cc' || echo '$(srcdir)/'`protoc-c/c_string_field.cc | |
1494 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_string_field.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_string_field.Po | |
1495 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_string_field.cc' object='protoc-c/protoc_c_protoc_gen_c-c_string_field.o' libtool=no @AMDEPBACKSLASH@ | |
1496 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1497 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_string_field.o `test -f 'protoc-c/c_string_field.cc' || echo '$(srcdir)/'`protoc-c/c_string_field.cc | |
1498 | ||
1499 | protoc-c/protoc_c_protoc_gen_c-c_string_field.obj: protoc-c/c_string_field.cc | |
1500 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-c_string_field.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_string_field.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-c_string_field.obj `if test -f 'protoc-c/c_string_field.cc'; then $(CYGPATH_W) 'protoc-c/c_string_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_string_field.cc'; fi` | |
1501 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_string_field.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-c_string_field.Po | |
1502 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_string_field.cc' object='protoc-c/protoc_c_protoc_gen_c-c_string_field.obj' libtool=no @AMDEPBACKSLASH@ | |
1503 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1504 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-c_string_field.obj `if test -f 'protoc-c/c_string_field.cc'; then $(CYGPATH_W) 'protoc-c/c_string_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_string_field.cc'; fi` | |
1505 | ||
1506 | protoc-c/protoc_c_protoc_gen_c-main.o: protoc-c/main.cc | |
1507 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-main.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-main.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-main.o `test -f 'protoc-c/main.cc' || echo '$(srcdir)/'`protoc-c/main.cc | |
1508 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-main.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-main.Po | |
1509 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/main.cc' object='protoc-c/protoc_c_protoc_gen_c-main.o' libtool=no @AMDEPBACKSLASH@ | |
1510 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1511 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-main.o `test -f 'protoc-c/main.cc' || echo '$(srcdir)/'`protoc-c/main.cc | |
1512 | ||
1513 | protoc-c/protoc_c_protoc_gen_c-main.obj: protoc-c/main.cc | |
1514 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_c_protoc_gen_c-main.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-main.Tpo -c -o protoc-c/protoc_c_protoc_gen_c-main.obj `if test -f 'protoc-c/main.cc'; then $(CYGPATH_W) 'protoc-c/main.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/main.cc'; fi` | |
1515 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-main.Tpo protoc-c/$(DEPDIR)/protoc_c_protoc_gen_c-main.Po | |
1516 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/main.cc' object='protoc-c/protoc_c_protoc_gen_c-main.obj' libtool=no @AMDEPBACKSLASH@ | |
1517 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1518 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_c_protoc_gen_c-main.obj `if test -f 'protoc-c/main.cc'; then $(CYGPATH_W) 'protoc-c/main.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/main.cc'; fi` | |
1519 | ||
1520 | t/generated-code2/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.o: t/generated-code2/cxx-generate-packed-data.cc | |
1521 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(t_generated_code2_cxx_generate_packed_data_CXXFLAGS) $(CXXFLAGS) -MT t/generated-code2/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.o -MD -MP -MF t/generated-code2/$(DEPDIR)/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.Tpo -c -o t/generated-code2/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.o `test -f 't/generated-code2/cxx-generate-packed-data.cc' || echo '$(srcdir)/'`t/generated-code2/cxx-generate-packed-data.cc | |
1522 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) t/generated-code2/$(DEPDIR)/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.Tpo t/generated-code2/$(DEPDIR)/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.Po | |
1523 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='t/generated-code2/cxx-generate-packed-data.cc' object='t/generated-code2/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.o' libtool=no @AMDEPBACKSLASH@ | |
1524 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1525 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(t_generated_code2_cxx_generate_packed_data_CXXFLAGS) $(CXXFLAGS) -c -o t/generated-code2/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.o `test -f 't/generated-code2/cxx-generate-packed-data.cc' || echo '$(srcdir)/'`t/generated-code2/cxx-generate-packed-data.cc | |
1526 | ||
1527 | t/generated-code2/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.obj: t/generated-code2/cxx-generate-packed-data.cc | |
1528 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(t_generated_code2_cxx_generate_packed_data_CXXFLAGS) $(CXXFLAGS) -MT t/generated-code2/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.obj -MD -MP -MF t/generated-code2/$(DEPDIR)/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.Tpo -c -o t/generated-code2/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.obj `if test -f 't/generated-code2/cxx-generate-packed-data.cc'; then $(CYGPATH_W) 't/generated-code2/cxx-generate-packed-data.cc'; else $(CYGPATH_W) '$(srcdir)/t/generated-code2/cxx-generate-packed-data.cc'; fi` | |
1529 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) t/generated-code2/$(DEPDIR)/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.Tpo t/generated-code2/$(DEPDIR)/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.Po | |
1530 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='t/generated-code2/cxx-generate-packed-data.cc' object='t/generated-code2/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.obj' libtool=no @AMDEPBACKSLASH@ | |
1531 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1532 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(t_generated_code2_cxx_generate_packed_data_CXXFLAGS) $(CXXFLAGS) -c -o t/generated-code2/t_generated_code2_cxx_generate_packed_data-cxx-generate-packed-data.obj `if test -f 't/generated-code2/cxx-generate-packed-data.cc'; then $(CYGPATH_W) 't/generated-code2/cxx-generate-packed-data.cc'; else $(CYGPATH_W) '$(srcdir)/t/generated-code2/cxx-generate-packed-data.cc'; fi` | |
1533 | ||
1534 | t/t_generated_code2_cxx_generate_packed_data-test-full.pb.o: t/test-full.pb.cc | |
1535 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(t_generated_code2_cxx_generate_packed_data_CXXFLAGS) $(CXXFLAGS) -MT t/t_generated_code2_cxx_generate_packed_data-test-full.pb.o -MD -MP -MF t/$(DEPDIR)/t_generated_code2_cxx_generate_packed_data-test-full.pb.Tpo -c -o t/t_generated_code2_cxx_generate_packed_data-test-full.pb.o `test -f 't/test-full.pb.cc' || echo '$(srcdir)/'`t/test-full.pb.cc | |
1536 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) t/$(DEPDIR)/t_generated_code2_cxx_generate_packed_data-test-full.pb.Tpo t/$(DEPDIR)/t_generated_code2_cxx_generate_packed_data-test-full.pb.Po | |
1537 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='t/test-full.pb.cc' object='t/t_generated_code2_cxx_generate_packed_data-test-full.pb.o' libtool=no @AMDEPBACKSLASH@ | |
1538 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1539 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(t_generated_code2_cxx_generate_packed_data_CXXFLAGS) $(CXXFLAGS) -c -o t/t_generated_code2_cxx_generate_packed_data-test-full.pb.o `test -f 't/test-full.pb.cc' || echo '$(srcdir)/'`t/test-full.pb.cc | |
1540 | ||
1541 | t/t_generated_code2_cxx_generate_packed_data-test-full.pb.obj: t/test-full.pb.cc | |
1542 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(t_generated_code2_cxx_generate_packed_data_CXXFLAGS) $(CXXFLAGS) -MT t/t_generated_code2_cxx_generate_packed_data-test-full.pb.obj -MD -MP -MF t/$(DEPDIR)/t_generated_code2_cxx_generate_packed_data-test-full.pb.Tpo -c -o t/t_generated_code2_cxx_generate_packed_data-test-full.pb.obj `if test -f 't/test-full.pb.cc'; then $(CYGPATH_W) 't/test-full.pb.cc'; else $(CYGPATH_W) '$(srcdir)/t/test-full.pb.cc'; fi` | |
1543 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) t/$(DEPDIR)/t_generated_code2_cxx_generate_packed_data-test-full.pb.Tpo t/$(DEPDIR)/t_generated_code2_cxx_generate_packed_data-test-full.pb.Po | |
1544 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='t/test-full.pb.cc' object='t/t_generated_code2_cxx_generate_packed_data-test-full.pb.obj' libtool=no @AMDEPBACKSLASH@ | |
1545 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1546 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(t_generated_code2_cxx_generate_packed_data_CXXFLAGS) $(CXXFLAGS) -c -o t/t_generated_code2_cxx_generate_packed_data-test-full.pb.obj `if test -f 't/test-full.pb.cc'; then $(CYGPATH_W) 't/test-full.pb.cc'; else $(CYGPATH_W) '$(srcdir)/t/test-full.pb.cc'; fi` | |
1360 | protoc-c/protoc_gen_c-c_bytes_field.o: protoc-c/c_bytes_field.cc | |
1361 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_bytes_field.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_bytes_field.Tpo -c -o protoc-c/protoc_gen_c-c_bytes_field.o `test -f 'protoc-c/c_bytes_field.cc' || echo '$(srcdir)/'`protoc-c/c_bytes_field.cc | |
1362 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_bytes_field.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_bytes_field.Po | |
1363 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_bytes_field.cc' object='protoc-c/protoc_gen_c-c_bytes_field.o' libtool=no @AMDEPBACKSLASH@ | |
1364 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1365 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_bytes_field.o `test -f 'protoc-c/c_bytes_field.cc' || echo '$(srcdir)/'`protoc-c/c_bytes_field.cc | |
1366 | ||
1367 | protoc-c/protoc_gen_c-c_bytes_field.obj: protoc-c/c_bytes_field.cc | |
1368 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_bytes_field.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_bytes_field.Tpo -c -o protoc-c/protoc_gen_c-c_bytes_field.obj `if test -f 'protoc-c/c_bytes_field.cc'; then $(CYGPATH_W) 'protoc-c/c_bytes_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_bytes_field.cc'; fi` | |
1369 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_bytes_field.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_bytes_field.Po | |
1370 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_bytes_field.cc' object='protoc-c/protoc_gen_c-c_bytes_field.obj' libtool=no @AMDEPBACKSLASH@ | |
1371 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1372 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_bytes_field.obj `if test -f 'protoc-c/c_bytes_field.cc'; then $(CYGPATH_W) 'protoc-c/c_bytes_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_bytes_field.cc'; fi` | |
1373 | ||
1374 | protoc-c/protoc_gen_c-c_enum.o: protoc-c/c_enum.cc | |
1375 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_enum.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_enum.Tpo -c -o protoc-c/protoc_gen_c-c_enum.o `test -f 'protoc-c/c_enum.cc' || echo '$(srcdir)/'`protoc-c/c_enum.cc | |
1376 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_enum.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_enum.Po | |
1377 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_enum.cc' object='protoc-c/protoc_gen_c-c_enum.o' libtool=no @AMDEPBACKSLASH@ | |
1378 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1379 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_enum.o `test -f 'protoc-c/c_enum.cc' || echo '$(srcdir)/'`protoc-c/c_enum.cc | |
1380 | ||
1381 | protoc-c/protoc_gen_c-c_enum.obj: protoc-c/c_enum.cc | |
1382 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_enum.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_enum.Tpo -c -o protoc-c/protoc_gen_c-c_enum.obj `if test -f 'protoc-c/c_enum.cc'; then $(CYGPATH_W) 'protoc-c/c_enum.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_enum.cc'; fi` | |
1383 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_enum.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_enum.Po | |
1384 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_enum.cc' object='protoc-c/protoc_gen_c-c_enum.obj' libtool=no @AMDEPBACKSLASH@ | |
1385 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1386 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_enum.obj `if test -f 'protoc-c/c_enum.cc'; then $(CYGPATH_W) 'protoc-c/c_enum.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_enum.cc'; fi` | |
1387 | ||
1388 | protoc-c/protoc_gen_c-c_enum_field.o: protoc-c/c_enum_field.cc | |
1389 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_enum_field.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_enum_field.Tpo -c -o protoc-c/protoc_gen_c-c_enum_field.o `test -f 'protoc-c/c_enum_field.cc' || echo '$(srcdir)/'`protoc-c/c_enum_field.cc | |
1390 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_enum_field.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_enum_field.Po | |
1391 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_enum_field.cc' object='protoc-c/protoc_gen_c-c_enum_field.o' libtool=no @AMDEPBACKSLASH@ | |
1392 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1393 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_enum_field.o `test -f 'protoc-c/c_enum_field.cc' || echo '$(srcdir)/'`protoc-c/c_enum_field.cc | |
1394 | ||
1395 | protoc-c/protoc_gen_c-c_enum_field.obj: protoc-c/c_enum_field.cc | |
1396 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_enum_field.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_enum_field.Tpo -c -o protoc-c/protoc_gen_c-c_enum_field.obj `if test -f 'protoc-c/c_enum_field.cc'; then $(CYGPATH_W) 'protoc-c/c_enum_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_enum_field.cc'; fi` | |
1397 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_enum_field.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_enum_field.Po | |
1398 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_enum_field.cc' object='protoc-c/protoc_gen_c-c_enum_field.obj' libtool=no @AMDEPBACKSLASH@ | |
1399 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1400 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_enum_field.obj `if test -f 'protoc-c/c_enum_field.cc'; then $(CYGPATH_W) 'protoc-c/c_enum_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_enum_field.cc'; fi` | |
1401 | ||
1402 | protoc-c/protoc_gen_c-c_extension.o: protoc-c/c_extension.cc | |
1403 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_extension.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_extension.Tpo -c -o protoc-c/protoc_gen_c-c_extension.o `test -f 'protoc-c/c_extension.cc' || echo '$(srcdir)/'`protoc-c/c_extension.cc | |
1404 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_extension.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_extension.Po | |
1405 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_extension.cc' object='protoc-c/protoc_gen_c-c_extension.o' libtool=no @AMDEPBACKSLASH@ | |
1406 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1407 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_extension.o `test -f 'protoc-c/c_extension.cc' || echo '$(srcdir)/'`protoc-c/c_extension.cc | |
1408 | ||
1409 | protoc-c/protoc_gen_c-c_extension.obj: protoc-c/c_extension.cc | |
1410 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_extension.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_extension.Tpo -c -o protoc-c/protoc_gen_c-c_extension.obj `if test -f 'protoc-c/c_extension.cc'; then $(CYGPATH_W) 'protoc-c/c_extension.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_extension.cc'; fi` | |
1411 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_extension.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_extension.Po | |
1412 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_extension.cc' object='protoc-c/protoc_gen_c-c_extension.obj' libtool=no @AMDEPBACKSLASH@ | |
1413 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1414 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_extension.obj `if test -f 'protoc-c/c_extension.cc'; then $(CYGPATH_W) 'protoc-c/c_extension.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_extension.cc'; fi` | |
1415 | ||
1416 | protoc-c/protoc_gen_c-c_field.o: protoc-c/c_field.cc | |
1417 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_field.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_field.Tpo -c -o protoc-c/protoc_gen_c-c_field.o `test -f 'protoc-c/c_field.cc' || echo '$(srcdir)/'`protoc-c/c_field.cc | |
1418 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_field.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_field.Po | |
1419 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_field.cc' object='protoc-c/protoc_gen_c-c_field.o' libtool=no @AMDEPBACKSLASH@ | |
1420 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1421 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_field.o `test -f 'protoc-c/c_field.cc' || echo '$(srcdir)/'`protoc-c/c_field.cc | |
1422 | ||
1423 | protoc-c/protoc_gen_c-c_field.obj: protoc-c/c_field.cc | |
1424 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_field.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_field.Tpo -c -o protoc-c/protoc_gen_c-c_field.obj `if test -f 'protoc-c/c_field.cc'; then $(CYGPATH_W) 'protoc-c/c_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_field.cc'; fi` | |
1425 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_field.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_field.Po | |
1426 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_field.cc' object='protoc-c/protoc_gen_c-c_field.obj' libtool=no @AMDEPBACKSLASH@ | |
1427 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1428 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_field.obj `if test -f 'protoc-c/c_field.cc'; then $(CYGPATH_W) 'protoc-c/c_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_field.cc'; fi` | |
1429 | ||
1430 | protoc-c/protoc_gen_c-c_file.o: protoc-c/c_file.cc | |
1431 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_file.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_file.Tpo -c -o protoc-c/protoc_gen_c-c_file.o `test -f 'protoc-c/c_file.cc' || echo '$(srcdir)/'`protoc-c/c_file.cc | |
1432 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_file.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_file.Po | |
1433 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_file.cc' object='protoc-c/protoc_gen_c-c_file.o' libtool=no @AMDEPBACKSLASH@ | |
1434 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1435 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_file.o `test -f 'protoc-c/c_file.cc' || echo '$(srcdir)/'`protoc-c/c_file.cc | |
1436 | ||
1437 | protoc-c/protoc_gen_c-c_file.obj: protoc-c/c_file.cc | |
1438 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_file.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_file.Tpo -c -o protoc-c/protoc_gen_c-c_file.obj `if test -f 'protoc-c/c_file.cc'; then $(CYGPATH_W) 'protoc-c/c_file.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_file.cc'; fi` | |
1439 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_file.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_file.Po | |
1440 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_file.cc' object='protoc-c/protoc_gen_c-c_file.obj' libtool=no @AMDEPBACKSLASH@ | |
1441 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1442 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_file.obj `if test -f 'protoc-c/c_file.cc'; then $(CYGPATH_W) 'protoc-c/c_file.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_file.cc'; fi` | |
1443 | ||
1444 | protoc-c/protoc_gen_c-c_generator.o: protoc-c/c_generator.cc | |
1445 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_generator.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_generator.Tpo -c -o protoc-c/protoc_gen_c-c_generator.o `test -f 'protoc-c/c_generator.cc' || echo '$(srcdir)/'`protoc-c/c_generator.cc | |
1446 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_generator.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_generator.Po | |
1447 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_generator.cc' object='protoc-c/protoc_gen_c-c_generator.o' libtool=no @AMDEPBACKSLASH@ | |
1448 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1449 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_generator.o `test -f 'protoc-c/c_generator.cc' || echo '$(srcdir)/'`protoc-c/c_generator.cc | |
1450 | ||
1451 | protoc-c/protoc_gen_c-c_generator.obj: protoc-c/c_generator.cc | |
1452 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_generator.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_generator.Tpo -c -o protoc-c/protoc_gen_c-c_generator.obj `if test -f 'protoc-c/c_generator.cc'; then $(CYGPATH_W) 'protoc-c/c_generator.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_generator.cc'; fi` | |
1453 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_generator.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_generator.Po | |
1454 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_generator.cc' object='protoc-c/protoc_gen_c-c_generator.obj' libtool=no @AMDEPBACKSLASH@ | |
1455 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1456 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_generator.obj `if test -f 'protoc-c/c_generator.cc'; then $(CYGPATH_W) 'protoc-c/c_generator.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_generator.cc'; fi` | |
1457 | ||
1458 | protoc-c/protoc_gen_c-c_helpers.o: protoc-c/c_helpers.cc | |
1459 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_helpers.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_helpers.Tpo -c -o protoc-c/protoc_gen_c-c_helpers.o `test -f 'protoc-c/c_helpers.cc' || echo '$(srcdir)/'`protoc-c/c_helpers.cc | |
1460 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_helpers.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_helpers.Po | |
1461 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_helpers.cc' object='protoc-c/protoc_gen_c-c_helpers.o' libtool=no @AMDEPBACKSLASH@ | |
1462 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1463 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_helpers.o `test -f 'protoc-c/c_helpers.cc' || echo '$(srcdir)/'`protoc-c/c_helpers.cc | |
1464 | ||
1465 | protoc-c/protoc_gen_c-c_helpers.obj: protoc-c/c_helpers.cc | |
1466 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_helpers.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_helpers.Tpo -c -o protoc-c/protoc_gen_c-c_helpers.obj `if test -f 'protoc-c/c_helpers.cc'; then $(CYGPATH_W) 'protoc-c/c_helpers.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_helpers.cc'; fi` | |
1467 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_helpers.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_helpers.Po | |
1468 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_helpers.cc' object='protoc-c/protoc_gen_c-c_helpers.obj' libtool=no @AMDEPBACKSLASH@ | |
1469 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1470 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_helpers.obj `if test -f 'protoc-c/c_helpers.cc'; then $(CYGPATH_W) 'protoc-c/c_helpers.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_helpers.cc'; fi` | |
1471 | ||
1472 | protoc-c/protoc_gen_c-c_message.o: protoc-c/c_message.cc | |
1473 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_message.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_message.Tpo -c -o protoc-c/protoc_gen_c-c_message.o `test -f 'protoc-c/c_message.cc' || echo '$(srcdir)/'`protoc-c/c_message.cc | |
1474 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_message.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_message.Po | |
1475 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_message.cc' object='protoc-c/protoc_gen_c-c_message.o' libtool=no @AMDEPBACKSLASH@ | |
1476 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1477 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_message.o `test -f 'protoc-c/c_message.cc' || echo '$(srcdir)/'`protoc-c/c_message.cc | |
1478 | ||
1479 | protoc-c/protoc_gen_c-c_message.obj: protoc-c/c_message.cc | |
1480 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_message.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_message.Tpo -c -o protoc-c/protoc_gen_c-c_message.obj `if test -f 'protoc-c/c_message.cc'; then $(CYGPATH_W) 'protoc-c/c_message.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_message.cc'; fi` | |
1481 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_message.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_message.Po | |
1482 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_message.cc' object='protoc-c/protoc_gen_c-c_message.obj' libtool=no @AMDEPBACKSLASH@ | |
1483 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1484 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_message.obj `if test -f 'protoc-c/c_message.cc'; then $(CYGPATH_W) 'protoc-c/c_message.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_message.cc'; fi` | |
1485 | ||
1486 | protoc-c/protoc_gen_c-c_message_field.o: protoc-c/c_message_field.cc | |
1487 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_message_field.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_message_field.Tpo -c -o protoc-c/protoc_gen_c-c_message_field.o `test -f 'protoc-c/c_message_field.cc' || echo '$(srcdir)/'`protoc-c/c_message_field.cc | |
1488 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_message_field.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_message_field.Po | |
1489 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_message_field.cc' object='protoc-c/protoc_gen_c-c_message_field.o' libtool=no @AMDEPBACKSLASH@ | |
1490 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1491 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_message_field.o `test -f 'protoc-c/c_message_field.cc' || echo '$(srcdir)/'`protoc-c/c_message_field.cc | |
1492 | ||
1493 | protoc-c/protoc_gen_c-c_message_field.obj: protoc-c/c_message_field.cc | |
1494 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_message_field.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_message_field.Tpo -c -o protoc-c/protoc_gen_c-c_message_field.obj `if test -f 'protoc-c/c_message_field.cc'; then $(CYGPATH_W) 'protoc-c/c_message_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_message_field.cc'; fi` | |
1495 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_message_field.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_message_field.Po | |
1496 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_message_field.cc' object='protoc-c/protoc_gen_c-c_message_field.obj' libtool=no @AMDEPBACKSLASH@ | |
1497 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1498 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_message_field.obj `if test -f 'protoc-c/c_message_field.cc'; then $(CYGPATH_W) 'protoc-c/c_message_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_message_field.cc'; fi` | |
1499 | ||
1500 | protoc-c/protoc_gen_c-c_primitive_field.o: protoc-c/c_primitive_field.cc | |
1501 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_primitive_field.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_primitive_field.Tpo -c -o protoc-c/protoc_gen_c-c_primitive_field.o `test -f 'protoc-c/c_primitive_field.cc' || echo '$(srcdir)/'`protoc-c/c_primitive_field.cc | |
1502 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_primitive_field.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_primitive_field.Po | |
1503 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_primitive_field.cc' object='protoc-c/protoc_gen_c-c_primitive_field.o' libtool=no @AMDEPBACKSLASH@ | |
1504 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1505 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_primitive_field.o `test -f 'protoc-c/c_primitive_field.cc' || echo '$(srcdir)/'`protoc-c/c_primitive_field.cc | |
1506 | ||
1507 | protoc-c/protoc_gen_c-c_primitive_field.obj: protoc-c/c_primitive_field.cc | |
1508 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_primitive_field.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_primitive_field.Tpo -c -o protoc-c/protoc_gen_c-c_primitive_field.obj `if test -f 'protoc-c/c_primitive_field.cc'; then $(CYGPATH_W) 'protoc-c/c_primitive_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_primitive_field.cc'; fi` | |
1509 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_primitive_field.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_primitive_field.Po | |
1510 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_primitive_field.cc' object='protoc-c/protoc_gen_c-c_primitive_field.obj' libtool=no @AMDEPBACKSLASH@ | |
1511 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1512 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_primitive_field.obj `if test -f 'protoc-c/c_primitive_field.cc'; then $(CYGPATH_W) 'protoc-c/c_primitive_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_primitive_field.cc'; fi` | |
1513 | ||
1514 | protoc-c/protoc_gen_c-c_service.o: protoc-c/c_service.cc | |
1515 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_service.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_service.Tpo -c -o protoc-c/protoc_gen_c-c_service.o `test -f 'protoc-c/c_service.cc' || echo '$(srcdir)/'`protoc-c/c_service.cc | |
1516 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_service.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_service.Po | |
1517 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_service.cc' object='protoc-c/protoc_gen_c-c_service.o' libtool=no @AMDEPBACKSLASH@ | |
1518 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1519 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_service.o `test -f 'protoc-c/c_service.cc' || echo '$(srcdir)/'`protoc-c/c_service.cc | |
1520 | ||
1521 | protoc-c/protoc_gen_c-c_service.obj: protoc-c/c_service.cc | |
1522 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_service.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_service.Tpo -c -o protoc-c/protoc_gen_c-c_service.obj `if test -f 'protoc-c/c_service.cc'; then $(CYGPATH_W) 'protoc-c/c_service.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_service.cc'; fi` | |
1523 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_service.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_service.Po | |
1524 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_service.cc' object='protoc-c/protoc_gen_c-c_service.obj' libtool=no @AMDEPBACKSLASH@ | |
1525 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1526 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_service.obj `if test -f 'protoc-c/c_service.cc'; then $(CYGPATH_W) 'protoc-c/c_service.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_service.cc'; fi` | |
1527 | ||
1528 | protoc-c/protoc_gen_c-c_string_field.o: protoc-c/c_string_field.cc | |
1529 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_string_field.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_string_field.Tpo -c -o protoc-c/protoc_gen_c-c_string_field.o `test -f 'protoc-c/c_string_field.cc' || echo '$(srcdir)/'`protoc-c/c_string_field.cc | |
1530 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_string_field.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_string_field.Po | |
1531 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_string_field.cc' object='protoc-c/protoc_gen_c-c_string_field.o' libtool=no @AMDEPBACKSLASH@ | |
1532 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1533 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_string_field.o `test -f 'protoc-c/c_string_field.cc' || echo '$(srcdir)/'`protoc-c/c_string_field.cc | |
1534 | ||
1535 | protoc-c/protoc_gen_c-c_string_field.obj: protoc-c/c_string_field.cc | |
1536 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-c_string_field.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-c_string_field.Tpo -c -o protoc-c/protoc_gen_c-c_string_field.obj `if test -f 'protoc-c/c_string_field.cc'; then $(CYGPATH_W) 'protoc-c/c_string_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_string_field.cc'; fi` | |
1537 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-c_string_field.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-c_string_field.Po | |
1538 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/c_string_field.cc' object='protoc-c/protoc_gen_c-c_string_field.obj' libtool=no @AMDEPBACKSLASH@ | |
1539 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1540 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-c_string_field.obj `if test -f 'protoc-c/c_string_field.cc'; then $(CYGPATH_W) 'protoc-c/c_string_field.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/c_string_field.cc'; fi` | |
1541 | ||
1542 | protoc-c/protoc_gen_c-main.o: protoc-c/main.cc | |
1543 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-main.o -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-main.Tpo -c -o protoc-c/protoc_gen_c-main.o `test -f 'protoc-c/main.cc' || echo '$(srcdir)/'`protoc-c/main.cc | |
1544 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-main.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-main.Po | |
1545 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/main.cc' object='protoc-c/protoc_gen_c-main.o' libtool=no @AMDEPBACKSLASH@ | |
1546 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1547 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-main.o `test -f 'protoc-c/main.cc' || echo '$(srcdir)/'`protoc-c/main.cc | |
1548 | ||
1549 | protoc-c/protoc_gen_c-main.obj: protoc-c/main.cc | |
1550 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -MT protoc-c/protoc_gen_c-main.obj -MD -MP -MF protoc-c/$(DEPDIR)/protoc_gen_c-main.Tpo -c -o protoc-c/protoc_gen_c-main.obj `if test -f 'protoc-c/main.cc'; then $(CYGPATH_W) 'protoc-c/main.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/main.cc'; fi` | |
1551 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) protoc-c/$(DEPDIR)/protoc_gen_c-main.Tpo protoc-c/$(DEPDIR)/protoc_gen_c-main.Po | |
1552 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='protoc-c/main.cc' object='protoc-c/protoc_gen_c-main.obj' libtool=no @AMDEPBACKSLASH@ | |
1553 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1554 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(protoc_c_protoc_gen_c_CXXFLAGS) $(CXXFLAGS) -c -o protoc-c/protoc_gen_c-main.obj `if test -f 'protoc-c/main.cc'; then $(CYGPATH_W) 'protoc-c/main.cc'; else $(CYGPATH_W) '$(srcdir)/protoc-c/main.cc'; fi` | |
1555 | ||
1556 | t/generated-code2/cxx_generate_packed_data-cxx-generate-packed-data.o: t/generated-code2/cxx-generate-packed-data.cc | |
1557 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(t_generated_code2_cxx_generate_packed_data_CXXFLAGS) $(CXXFLAGS) -MT t/generated-code2/cxx_generate_packed_data-cxx-generate-packed-data.o -MD -MP -MF t/generated-code2/$(DEPDIR)/cxx_generate_packed_data-cxx-generate-packed-data.Tpo -c -o t/generated-code2/cxx_generate_packed_data-cxx-generate-packed-data.o `test -f 't/generated-code2/cxx-generate-packed-data.cc' || echo '$(srcdir)/'`t/generated-code2/cxx-generate-packed-data.cc | |
1558 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) t/generated-code2/$(DEPDIR)/cxx_generate_packed_data-cxx-generate-packed-data.Tpo t/generated-code2/$(DEPDIR)/cxx_generate_packed_data-cxx-generate-packed-data.Po | |
1559 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='t/generated-code2/cxx-generate-packed-data.cc' object='t/generated-code2/cxx_generate_packed_data-cxx-generate-packed-data.o' libtool=no @AMDEPBACKSLASH@ | |
1560 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1561 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(t_generated_code2_cxx_generate_packed_data_CXXFLAGS) $(CXXFLAGS) -c -o t/generated-code2/cxx_generate_packed_data-cxx-generate-packed-data.o `test -f 't/generated-code2/cxx-generate-packed-data.cc' || echo '$(srcdir)/'`t/generated-code2/cxx-generate-packed-data.cc | |
1562 | ||
1563 | t/generated-code2/cxx_generate_packed_data-cxx-generate-packed-data.obj: t/generated-code2/cxx-generate-packed-data.cc | |
1564 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(t_generated_code2_cxx_generate_packed_data_CXXFLAGS) $(CXXFLAGS) -MT t/generated-code2/cxx_generate_packed_data-cxx-generate-packed-data.obj -MD -MP -MF t/generated-code2/$(DEPDIR)/cxx_generate_packed_data-cxx-generate-packed-data.Tpo -c -o t/generated-code2/cxx_generate_packed_data-cxx-generate-packed-data.obj `if test -f 't/generated-code2/cxx-generate-packed-data.cc'; then $(CYGPATH_W) 't/generated-code2/cxx-generate-packed-data.cc'; else $(CYGPATH_W) '$(srcdir)/t/generated-code2/cxx-generate-packed-data.cc'; fi` | |
1565 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) t/generated-code2/$(DEPDIR)/cxx_generate_packed_data-cxx-generate-packed-data.Tpo t/generated-code2/$(DEPDIR)/cxx_generate_packed_data-cxx-generate-packed-data.Po | |
1566 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='t/generated-code2/cxx-generate-packed-data.cc' object='t/generated-code2/cxx_generate_packed_data-cxx-generate-packed-data.obj' libtool=no @AMDEPBACKSLASH@ | |
1567 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1568 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(t_generated_code2_cxx_generate_packed_data_CXXFLAGS) $(CXXFLAGS) -c -o t/generated-code2/cxx_generate_packed_data-cxx-generate-packed-data.obj `if test -f 't/generated-code2/cxx-generate-packed-data.cc'; then $(CYGPATH_W) 't/generated-code2/cxx-generate-packed-data.cc'; else $(CYGPATH_W) '$(srcdir)/t/generated-code2/cxx-generate-packed-data.cc'; fi` | |
1569 | ||
1570 | t/generated_code2_cxx_generate_packed_data-test-full.pb.o: t/test-full.pb.cc | |
1571 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(t_generated_code2_cxx_generate_packed_data_CXXFLAGS) $(CXXFLAGS) -MT t/generated_code2_cxx_generate_packed_data-test-full.pb.o -MD -MP -MF t/$(DEPDIR)/generated_code2_cxx_generate_packed_data-test-full.pb.Tpo -c -o t/generated_code2_cxx_generate_packed_data-test-full.pb.o `test -f 't/test-full.pb.cc' || echo '$(srcdir)/'`t/test-full.pb.cc | |
1572 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) t/$(DEPDIR)/generated_code2_cxx_generate_packed_data-test-full.pb.Tpo t/$(DEPDIR)/generated_code2_cxx_generate_packed_data-test-full.pb.Po | |
1573 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='t/test-full.pb.cc' object='t/generated_code2_cxx_generate_packed_data-test-full.pb.o' libtool=no @AMDEPBACKSLASH@ | |
1574 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1575 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(t_generated_code2_cxx_generate_packed_data_CXXFLAGS) $(CXXFLAGS) -c -o t/generated_code2_cxx_generate_packed_data-test-full.pb.o `test -f 't/test-full.pb.cc' || echo '$(srcdir)/'`t/test-full.pb.cc | |
1576 | ||
1577 | t/generated_code2_cxx_generate_packed_data-test-full.pb.obj: t/test-full.pb.cc | |
1578 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(t_generated_code2_cxx_generate_packed_data_CXXFLAGS) $(CXXFLAGS) -MT t/generated_code2_cxx_generate_packed_data-test-full.pb.obj -MD -MP -MF t/$(DEPDIR)/generated_code2_cxx_generate_packed_data-test-full.pb.Tpo -c -o t/generated_code2_cxx_generate_packed_data-test-full.pb.obj `if test -f 't/test-full.pb.cc'; then $(CYGPATH_W) 't/test-full.pb.cc'; else $(CYGPATH_W) '$(srcdir)/t/test-full.pb.cc'; fi` | |
1579 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) t/$(DEPDIR)/generated_code2_cxx_generate_packed_data-test-full.pb.Tpo t/$(DEPDIR)/generated_code2_cxx_generate_packed_data-test-full.pb.Po | |
1580 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='t/test-full.pb.cc' object='t/generated_code2_cxx_generate_packed_data-test-full.pb.obj' libtool=no @AMDEPBACKSLASH@ | |
1581 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
1582 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(t_generated_code2_cxx_generate_packed_data_CXXFLAGS) $(CXXFLAGS) -c -o t/generated_code2_cxx_generate_packed_data-test-full.pb.obj `if test -f 't/test-full.pb.cc'; then $(CYGPATH_W) 't/test-full.pb.cc'; else $(CYGPATH_W) '$(srcdir)/t/test-full.pb.cc'; fi` | |
1547 | 1583 | |
1548 | 1584 | mostlyclean-libtool: |
1549 | 1585 | -rm -f *.lo |
1786 | 1822 | fi; \ |
1787 | 1823 | $$success || exit 1 |
1788 | 1824 | |
1789 | check-TESTS: | |
1825 | check-TESTS: $(check_PROGRAMS) | |
1790 | 1826 | @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list |
1791 | 1827 | @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list |
1792 | 1828 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) |
1864 | 1900 | @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ |
1865 | 1901 | @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) |
1866 | 1902 | |
1867 | distdir: $(DISTFILES) | |
1903 | distdir: $(BUILT_SOURCES) | |
1904 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
1905 | ||
1906 | distdir-am: $(DISTFILES) | |
1868 | 1907 | $(am__remove_distdir) |
1869 | 1908 | test -d "$(distdir)" || mkdir "$(distdir)" |
1870 | 1909 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
2035 | 2074 | $(MAKE) $(AM_MAKEFLAGS) check-TESTS |
2036 | 2075 | check: $(BUILT_SOURCES) |
2037 | 2076 | $(MAKE) $(AM_MAKEFLAGS) check-am |
2038 | all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA) $(HEADERS) \ | |
2077 | all-am: Makefile $(PROGRAMS) $(LTLIBRARIES) $(DATA) $(HEADERS) \ | |
2039 | 2078 | config.h |
2040 | 2079 | install-binPROGRAMS: install-libLTLIBRARIES |
2041 | 2080 | |
2042 | 2081 | installdirs: |
2043 | for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"; do \ | |
2082 | for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"; do \ | |
2044 | 2083 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
2045 | 2084 | done |
2046 | 2085 | install: $(BUILT_SOURCES) |
2108 | 2147 | |
2109 | 2148 | distclean: distclean-am |
2110 | 2149 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
2111 | -rm -rf protobuf-c/$(DEPDIR) protoc-c/$(DEPDIR) t/$(DEPDIR) t/generated-code/$(DEPDIR) t/generated-code2/$(DEPDIR) t/issue220/$(DEPDIR) t/issue251/$(DEPDIR) t/version/$(DEPDIR) | |
2150 | -rm -f protobuf-c/$(DEPDIR)/protobuf-c.Plo | |
2151 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_bytes_field.Po | |
2152 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_enum.Po | |
2153 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_enum_field.Po | |
2154 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_extension.Po | |
2155 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_field.Po | |
2156 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_file.Po | |
2157 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_generator.Po | |
2158 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_helpers.Po | |
2159 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_message.Po | |
2160 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_message_field.Po | |
2161 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_primitive_field.Po | |
2162 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_service.Po | |
2163 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_string_field.Po | |
2164 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-main.Po | |
2165 | -rm -f t/$(DEPDIR)/generated_code2_cxx_generate_packed_data-test-full.pb.Po | |
2166 | -rm -f t/$(DEPDIR)/generated_code3_test_generated_code3-test-proto3.pb-c.Po | |
2167 | -rm -f t/$(DEPDIR)/test-full.pb-c.Po | |
2168 | -rm -f t/$(DEPDIR)/test-optimized.pb-c.Po | |
2169 | -rm -f t/$(DEPDIR)/test.pb-c.Po | |
2170 | -rm -f t/generated-code/$(DEPDIR)/generated_code3_test_generated_code3-test-generated-code.Po | |
2171 | -rm -f t/generated-code/$(DEPDIR)/test-generated-code.Po | |
2172 | -rm -f t/generated-code2/$(DEPDIR)/cxx_generate_packed_data-cxx-generate-packed-data.Po | |
2173 | -rm -f t/generated-code2/$(DEPDIR)/test-generated-code2.Po | |
2174 | -rm -f t/issue220/$(DEPDIR)/issue220.Po | |
2175 | -rm -f t/issue220/$(DEPDIR)/issue220.pb-c.Po | |
2176 | -rm -f t/issue251/$(DEPDIR)/issue251.Po | |
2177 | -rm -f t/issue251/$(DEPDIR)/issue251.pb-c.Po | |
2178 | -rm -f t/version/$(DEPDIR)/version.Po | |
2112 | 2179 | -rm -f Makefile |
2113 | 2180 | distclean-am: clean-am distclean-compile distclean-generic \ |
2114 | 2181 | distclean-hdr distclean-libtool distclean-tags |
2158 | 2225 | maintainer-clean: maintainer-clean-am |
2159 | 2226 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
2160 | 2227 | -rm -rf $(top_srcdir)/autom4te.cache |
2161 | -rm -rf protobuf-c/$(DEPDIR) protoc-c/$(DEPDIR) t/$(DEPDIR) t/generated-code/$(DEPDIR) t/generated-code2/$(DEPDIR) t/issue220/$(DEPDIR) t/issue251/$(DEPDIR) t/version/$(DEPDIR) | |
2228 | -rm -f protobuf-c/$(DEPDIR)/protobuf-c.Plo | |
2229 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_bytes_field.Po | |
2230 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_enum.Po | |
2231 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_enum_field.Po | |
2232 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_extension.Po | |
2233 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_field.Po | |
2234 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_file.Po | |
2235 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_generator.Po | |
2236 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_helpers.Po | |
2237 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_message.Po | |
2238 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_message_field.Po | |
2239 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_primitive_field.Po | |
2240 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_service.Po | |
2241 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-c_string_field.Po | |
2242 | -rm -f protoc-c/$(DEPDIR)/protoc_gen_c-main.Po | |
2243 | -rm -f t/$(DEPDIR)/generated_code2_cxx_generate_packed_data-test-full.pb.Po | |
2244 | -rm -f t/$(DEPDIR)/generated_code3_test_generated_code3-test-proto3.pb-c.Po | |
2245 | -rm -f t/$(DEPDIR)/test-full.pb-c.Po | |
2246 | -rm -f t/$(DEPDIR)/test-optimized.pb-c.Po | |
2247 | -rm -f t/$(DEPDIR)/test.pb-c.Po | |
2248 | -rm -f t/generated-code/$(DEPDIR)/generated_code3_test_generated_code3-test-generated-code.Po | |
2249 | -rm -f t/generated-code/$(DEPDIR)/test-generated-code.Po | |
2250 | -rm -f t/generated-code2/$(DEPDIR)/cxx_generate_packed_data-cxx-generate-packed-data.Po | |
2251 | -rm -f t/generated-code2/$(DEPDIR)/test-generated-code2.Po | |
2252 | -rm -f t/issue220/$(DEPDIR)/issue220.Po | |
2253 | -rm -f t/issue220/$(DEPDIR)/issue220.pb-c.Po | |
2254 | -rm -f t/issue251/$(DEPDIR)/issue251.Po | |
2255 | -rm -f t/issue251/$(DEPDIR)/issue251.pb-c.Po | |
2256 | -rm -f t/version/$(DEPDIR)/version.Po | |
2162 | 2257 | -rm -f Makefile |
2163 | 2258 | maintainer-clean-am: distclean-am maintainer-clean-generic |
2164 | 2259 | |
2181 | 2276 | .MAKE: all check check-am install install-am install-data-am \ |
2182 | 2277 | install-exec-am install-strip |
2183 | 2278 | |
2184 | .PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-TESTS \ | |
2185 | check-am clean clean-binPROGRAMS clean-checkPROGRAMS \ | |
2186 | clean-cscope clean-generic clean-libLTLIBRARIES clean-libtool \ | |
2187 | clean-local clean-noinstPROGRAMS cscope cscopelist-am ctags \ | |
2188 | ctags-am dist dist-all dist-bzip2 dist-gzip dist-hook \ | |
2189 | dist-lzip dist-shar dist-tarZ dist-xz dist-zip distcheck \ | |
2190 | distclean distclean-compile distclean-generic distclean-hdr \ | |
2279 | .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles am--refresh check \ | |
2280 | check-TESTS check-am clean clean-binPROGRAMS \ | |
2281 | clean-checkPROGRAMS clean-cscope clean-generic \ | |
2282 | clean-libLTLIBRARIES clean-libtool clean-local \ | |
2283 | clean-noinstPROGRAMS cscope cscopelist-am ctags ctags-am dist \ | |
2284 | dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \ | |
2285 | dist-tarZ dist-xz dist-zip distcheck distclean \ | |
2286 | distclean-compile distclean-generic distclean-hdr \ | |
2191 | 2287 | distclean-libtool distclean-tags distcleancheck distdir \ |
2192 | 2288 | distuninstallcheck dvi dvi-am html html-am html-local info \ |
2193 | 2289 | info-am install install-am install-binPROGRAMS install-data \ |
2218 | 2314 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@$(t_generated_code2_cxx_generate_packed_data_OBJECTS): t/test-full.pb.h |
2219 | 2315 | |
2220 | 2316 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t/test.pb-c.c t/test.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test.proto |
2221 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ --plugin=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test.proto | |
2317 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test.proto | |
2222 | 2318 | |
2223 | 2319 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t/test-optimized.pb-c.c t/test-optimized.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-optimized.proto |
2224 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ --plugin=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-optimized.proto | |
2320 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-optimized.proto | |
2225 | 2321 | |
2226 | 2322 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t/test-full.pb-c.c t/test-full.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-full.proto |
2227 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ --plugin=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-full.proto | |
2323 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-full.proto | |
2228 | 2324 | |
2229 | 2325 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t/test-full.pb.cc t/test-full.pb.h: @PROTOC@ $(top_srcdir)/t/test-full.proto |
2230 | 2326 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ -I$(top_srcdir) --cpp_out=$(top_builddir) $(top_srcdir)/t/test-full.proto |
2233 | 2329 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)$(top_builddir)/t/generated-code2/cxx-generate-packed-data$(EXEEXT) > $(top_builddir)/t/generated-code2/test-full-cxx-output.inc |
2234 | 2330 | |
2235 | 2331 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@t/test-proto3.pb-c.c t/test-proto3.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-proto3.proto |
2236 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ --plugin=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-proto3.proto | |
2332 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-proto3.proto | |
2237 | 2333 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t/issue220/issue220.pb-c.c t/issue220/issue220.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/issue220/issue220.proto |
2238 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ --plugin=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue220/issue220.proto | |
2334 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue220/issue220.proto | |
2239 | 2335 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t/issue251/issue251.pb-c.c t/issue251/issue251.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/issue251/issue251.proto |
2240 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ --plugin=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue251/issue251.proto | |
2336 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue251/issue251.proto | |
2241 | 2337 | |
2242 | 2338 | dist-hook: |
2243 | 2339 | rm -f `find $(distdir) -name '*.pb-c.[ch]' -o -name '*.pb.cc' -o -name '*.pb.h'` |
0 | # generated automatically by aclocal 1.15.1 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. | |
0 | # generated automatically by aclocal 1.16.1 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
3 | 3 | |
4 | 4 | # This file is free software; the Free Software Foundation |
5 | 5 | # gives unlimited permission to copy and/or distribute it, |
19 | 19 | If you have problems, you may need to regenerate the build system entirely. |
20 | 20 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) |
21 | 21 | |
22 | # Copyright (C) 2002-2017 Free Software Foundation, Inc. | |
22 | # Copyright (C) 2002-2018 Free Software Foundation, Inc. | |
23 | 23 | # |
24 | 24 | # This file is free software; the Free Software Foundation |
25 | 25 | # gives unlimited permission to copy and/or distribute it, |
31 | 31 | # generated from the m4 files accompanying Automake X.Y. |
32 | 32 | # (This private macro should not be called outside this file.) |
33 | 33 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
34 | [am__api_version='1.15' | |
34 | [am__api_version='1.16' | |
35 | 35 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
36 | 36 | dnl require some minimum version. Point them to the right macro. |
37 | m4_if([$1], [1.15.1], [], | |
37 | m4_if([$1], [1.16.1], [], | |
38 | 38 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
39 | 39 | ]) |
40 | 40 | |
50 | 50 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
51 | 51 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
52 | 52 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
53 | [AM_AUTOMAKE_VERSION([1.15.1])dnl | |
53 | [AM_AUTOMAKE_VERSION([1.16.1])dnl | |
54 | 54 | m4_ifndef([AC_AUTOCONF_VERSION], |
55 | 55 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
56 | 56 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
57 | 57 | |
58 | 58 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
59 | 59 | |
60 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
60 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
61 | 61 | # |
62 | 62 | # This file is free software; the Free Software Foundation |
63 | 63 | # gives unlimited permission to copy and/or distribute it, |
109 | 109 | |
110 | 110 | # AM_COND_IF -*- Autoconf -*- |
111 | 111 | |
112 | # Copyright (C) 2008-2017 Free Software Foundation, Inc. | |
112 | # Copyright (C) 2008-2018 Free Software Foundation, Inc. | |
113 | 113 | # |
114 | 114 | # This file is free software; the Free Software Foundation |
115 | 115 | # gives unlimited permission to copy and/or distribute it, |
146 | 146 | |
147 | 147 | # AM_CONDITIONAL -*- Autoconf -*- |
148 | 148 | |
149 | # Copyright (C) 1997-2017 Free Software Foundation, Inc. | |
149 | # Copyright (C) 1997-2018 Free Software Foundation, Inc. | |
150 | 150 | # |
151 | 151 | # This file is free software; the Free Software Foundation |
152 | 152 | # gives unlimited permission to copy and/or distribute it, |
177 | 177 | Usually this means the macro was only invoked conditionally.]]) |
178 | 178 | fi])]) |
179 | 179 | |
180 | # Copyright (C) 1999-2017 Free Software Foundation, Inc. | |
180 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
181 | 181 | # |
182 | 182 | # This file is free software; the Free Software Foundation |
183 | 183 | # gives unlimited permission to copy and/or distribute it, |
368 | 368 | |
369 | 369 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
370 | 370 | |
371 | # Copyright (C) 1999-2017 Free Software Foundation, Inc. | |
372 | # | |
373 | # This file is free software; the Free Software Foundation | |
374 | # gives unlimited permission to copy and/or distribute it, | |
375 | # with or without modifications, as long as this notice is preserved. | |
376 | ||
371 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
372 | # | |
373 | # This file is free software; the Free Software Foundation | |
374 | # gives unlimited permission to copy and/or distribute it, | |
375 | # with or without modifications, as long as this notice is preserved. | |
377 | 376 | |
378 | 377 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
379 | 378 | # ------------------------------ |
382 | 381 | # Older Autoconf quotes --file arguments for eval, but not when files |
383 | 382 | # are listed without --file. Let's play safe and only enable the eval |
384 | 383 | # if we detect the quoting. |
385 | case $CONFIG_FILES in | |
386 | *\'*) eval set x "$CONFIG_FILES" ;; | |
387 | *) set x $CONFIG_FILES ;; | |
388 | esac | |
384 | # TODO: see whether this extra hack can be removed once we start | |
385 | # requiring Autoconf 2.70 or later. | |
386 | AS_CASE([$CONFIG_FILES], | |
387 | [*\'*], [eval set x "$CONFIG_FILES"], | |
388 | [*], [set x $CONFIG_FILES]) | |
389 | 389 | shift |
390 | for mf | |
390 | # Used to flag and report bootstrapping failures. | |
391 | am_rc=0 | |
392 | for am_mf | |
391 | 393 | do |
392 | 394 | # Strip MF so we end up with the name of the file. |
393 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
394 | # Check whether this is an Automake generated Makefile or not. | |
395 | # We used to match only the files named 'Makefile.in', but | |
396 | # some people rename them; so instead we look at the file content. | |
397 | # Grep'ing the first line is not enough: some people post-process | |
398 | # each Makefile.in and add a new line on top of each file to say so. | |
399 | # Grep'ing the whole file is not good either: AIX grep has a line | |
395 | am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'` | |
396 | # Check whether this is an Automake generated Makefile which includes | |
397 | # dependency-tracking related rules and includes. | |
398 | # Grep'ing the whole file directly is not great: AIX grep has a line | |
400 | 399 | # limit of 2048, but all sed's we know have understand at least 4000. |
401 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
402 | dirpart=`AS_DIRNAME("$mf")` | |
403 | else | |
404 | continue | |
405 | fi | |
406 | # Extract the definition of DEPDIR, am__include, and am__quote | |
407 | # from the Makefile without running 'make'. | |
408 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
409 | test -z "$DEPDIR" && continue | |
410 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
411 | test -z "$am__include" && continue | |
412 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
413 | # Find all dependency output files, they are included files with | |
414 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
415 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
416 | # expansion. | |
417 | for file in `sed -n " | |
418 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
419 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
420 | # Make sure the directory exists. | |
421 | test -f "$dirpart/$file" && continue | |
422 | fdir=`AS_DIRNAME(["$file"])` | |
423 | AS_MKDIR_P([$dirpart/$fdir]) | |
424 | # echo "creating $dirpart/$file" | |
425 | echo '# dummy' > "$dirpart/$file" | |
426 | done | |
400 | sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ | |
401 | || continue | |
402 | am_dirpart=`AS_DIRNAME(["$am_mf"])` | |
403 | am_filepart=`AS_BASENAME(["$am_mf"])` | |
404 | AM_RUN_LOG([cd "$am_dirpart" \ | |
405 | && sed -e '/# am--include-marker/d' "$am_filepart" \ | |
406 | | $MAKE -f - am--depfiles]) || am_rc=$? | |
427 | 407 | done |
408 | if test $am_rc -ne 0; then | |
409 | AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments | |
410 | for automatic dependency tracking. Try re-running configure with the | |
411 | '--disable-dependency-tracking' option to at least be able to build | |
412 | the package (albeit without support for automatic dependency tracking).]) | |
413 | fi | |
414 | AS_UNSET([am_dirpart]) | |
415 | AS_UNSET([am_filepart]) | |
416 | AS_UNSET([am_mf]) | |
417 | AS_UNSET([am_rc]) | |
418 | rm -f conftest-deps.mk | |
428 | 419 | } |
429 | 420 | ])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
430 | 421 | |
433 | 424 | # ----------------------------- |
434 | 425 | # This macro should only be invoked once -- use via AC_REQUIRE. |
435 | 426 | # |
436 | # This code is only required when automatic dependency tracking | |
437 | # is enabled. FIXME. This creates each '.P' file that we will | |
438 | # need in order to bootstrap the dependency handling code. | |
427 | # This code is only required when automatic dependency tracking is enabled. | |
428 | # This creates each '.Po' and '.Plo' makefile fragment that we'll need in | |
429 | # order to bootstrap the dependency handling code. | |
439 | 430 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
440 | 431 | [AC_CONFIG_COMMANDS([depfiles], |
441 | 432 | [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], |
442 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | |
443 | ]) | |
433 | [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])]) | |
444 | 434 | |
445 | 435 | # Do all the work for Automake. -*- Autoconf -*- |
446 | 436 | |
447 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. | |
437 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
448 | 438 | # |
449 | 439 | # This file is free software; the Free Software Foundation |
450 | 440 | # gives unlimited permission to copy and/or distribute it, |
531 | 521 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
532 | 522 | # For better backward compatibility. To be removed once Automake 1.9.x |
533 | 523 | # dies out for good. For more background, see: |
534 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
535 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
524 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
525 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
536 | 526 | AC_SUBST([mkdir_p], ['$(MKDIR_P)']) |
537 | 527 | # We need awk for the "check" target (and possibly the TAP driver). The |
538 | 528 | # system "awk" is bad on some platforms. |
599 | 589 | Aborting the configuration process, to ensure you take notice of the issue. |
600 | 590 | |
601 | 591 | You can download and install GNU coreutils to get an 'rm' implementation |
602 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | |
592 | that behaves properly: <https://www.gnu.org/software/coreutils/>. | |
603 | 593 | |
604 | 594 | If you want to complete the configuration process using your problematic |
605 | 595 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
641 | 631 | done |
642 | 632 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
643 | 633 | |
644 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
634 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
645 | 635 | # |
646 | 636 | # This file is free software; the Free Software Foundation |
647 | 637 | # gives unlimited permission to copy and/or distribute it, |
662 | 652 | fi |
663 | 653 | AC_SUBST([install_sh])]) |
664 | 654 | |
665 | # Copyright (C) 2003-2017 Free Software Foundation, Inc. | |
655 | # Copyright (C) 2003-2018 Free Software Foundation, Inc. | |
666 | 656 | # |
667 | 657 | # This file is free software; the Free Software Foundation |
668 | 658 | # gives unlimited permission to copy and/or distribute it, |
683 | 673 | |
684 | 674 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
685 | 675 | |
686 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
676 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
687 | 677 | # |
688 | 678 | # This file is free software; the Free Software Foundation |
689 | 679 | # gives unlimited permission to copy and/or distribute it, |
691 | 681 | |
692 | 682 | # AM_MAKE_INCLUDE() |
693 | 683 | # ----------------- |
694 | # Check to see how make treats includes. | |
684 | # Check whether make has an 'include' directive that can support all | |
685 | # the idioms we need for our automatic dependency tracking code. | |
695 | 686 | AC_DEFUN([AM_MAKE_INCLUDE], |
696 | [am_make=${MAKE-make} | |
697 | cat > confinc << 'END' | |
687 | [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive]) | |
688 | cat > confinc.mk << 'END' | |
698 | 689 | am__doit: |
699 | @echo this is the am__doit target | |
690 | @echo this is the am__doit target >confinc.out | |
700 | 691 | .PHONY: am__doit |
701 | 692 | END |
702 | # If we don't find an include directive, just comment out the code. | |
703 | AC_MSG_CHECKING([for style of include used by $am_make]) | |
704 | 693 | am__include="#" |
705 | 694 | am__quote= |
706 | _am_result=none | |
707 | # First try GNU make style include. | |
708 | echo "include confinc" > confmf | |
709 | # Ignore all kinds of additional output from 'make'. | |
710 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
711 | *the\ am__doit\ target*) | |
712 | am__include=include | |
713 | am__quote= | |
714 | _am_result=GNU | |
715 | ;; | |
716 | esac | |
717 | # Now try BSD make style include. | |
718 | if test "$am__include" = "#"; then | |
719 | echo '.include "confinc"' > confmf | |
720 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
721 | *the\ am__doit\ target*) | |
722 | am__include=.include | |
723 | am__quote="\"" | |
724 | _am_result=BSD | |
725 | ;; | |
726 | esac | |
727 | fi | |
728 | AC_SUBST([am__include]) | |
729 | AC_SUBST([am__quote]) | |
730 | AC_MSG_RESULT([$_am_result]) | |
731 | rm -f confinc confmf | |
732 | ]) | |
695 | # BSD make does it like this. | |
696 | echo '.include "confinc.mk" # ignored' > confmf.BSD | |
697 | # Other make implementations (GNU, Solaris 10, AIX) do it like this. | |
698 | echo 'include confinc.mk # ignored' > confmf.GNU | |
699 | _am_result=no | |
700 | for s in GNU BSD; do | |
701 | AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) | |
702 | AS_CASE([$?:`cat confinc.out 2>/dev/null`], | |
703 | ['0:this is the am__doit target'], | |
704 | [AS_CASE([$s], | |
705 | [BSD], [am__include='.include' am__quote='"'], | |
706 | [am__include='include' am__quote=''])]) | |
707 | if test "$am__include" != "#"; then | |
708 | _am_result="yes ($s style)" | |
709 | break | |
710 | fi | |
711 | done | |
712 | rm -f confinc.* confmf.* | |
713 | AC_MSG_RESULT([${_am_result}]) | |
714 | AC_SUBST([am__include])]) | |
715 | AC_SUBST([am__quote])]) | |
733 | 716 | |
734 | 717 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
735 | 718 | |
736 | # Copyright (C) 1997-2017 Free Software Foundation, Inc. | |
719 | # Copyright (C) 1997-2018 Free Software Foundation, Inc. | |
737 | 720 | # |
738 | 721 | # This file is free software; the Free Software Foundation |
739 | 722 | # gives unlimited permission to copy and/or distribute it, |
772 | 755 | |
773 | 756 | # Helper functions for option handling. -*- Autoconf -*- |
774 | 757 | |
775 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
758 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
776 | 759 | # |
777 | 760 | # This file is free software; the Free Software Foundation |
778 | 761 | # gives unlimited permission to copy and/or distribute it, |
801 | 784 | AC_DEFUN([_AM_IF_OPTION], |
802 | 785 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
803 | 786 | |
804 | # Copyright (C) 1999-2017 Free Software Foundation, Inc. | |
787 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
805 | 788 | # |
806 | 789 | # This file is free software; the Free Software Foundation |
807 | 790 | # gives unlimited permission to copy and/or distribute it, |
848 | 831 | # For backward compatibility. |
849 | 832 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) |
850 | 833 | |
851 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
834 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
852 | 835 | # |
853 | 836 | # This file is free software; the Free Software Foundation |
854 | 837 | # gives unlimited permission to copy and/or distribute it, |
867 | 850 | |
868 | 851 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
869 | 852 | |
870 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. | |
853 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
871 | 854 | # |
872 | 855 | # This file is free software; the Free Software Foundation |
873 | 856 | # gives unlimited permission to copy and/or distribute it, |
948 | 931 | rm -f conftest.file |
949 | 932 | ]) |
950 | 933 | |
951 | # Copyright (C) 2009-2017 Free Software Foundation, Inc. | |
934 | # Copyright (C) 2009-2018 Free Software Foundation, Inc. | |
952 | 935 | # |
953 | 936 | # This file is free software; the Free Software Foundation |
954 | 937 | # gives unlimited permission to copy and/or distribute it, |
1008 | 991 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
1009 | 992 | ]) |
1010 | 993 | |
1011 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
994 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
1012 | 995 | # |
1013 | 996 | # This file is free software; the Free Software Foundation |
1014 | 997 | # gives unlimited permission to copy and/or distribute it, |
1036 | 1019 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
1037 | 1020 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
1038 | 1021 | |
1039 | # Copyright (C) 2006-2017 Free Software Foundation, Inc. | |
1022 | # Copyright (C) 2006-2018 Free Software Foundation, Inc. | |
1040 | 1023 | # |
1041 | 1024 | # This file is free software; the Free Software Foundation |
1042 | 1025 | # gives unlimited permission to copy and/or distribute it, |
1055 | 1038 | |
1056 | 1039 | # Check how to create a tarball. -*- Autoconf -*- |
1057 | 1040 | |
1058 | # Copyright (C) 2004-2017 Free Software Foundation, Inc. | |
1041 | # Copyright (C) 2004-2018 Free Software Foundation, Inc. | |
1059 | 1042 | # |
1060 | 1043 | # This file is free software; the Free Software Foundation |
1061 | 1044 | # gives unlimited permission to copy and/or distribute it, |
1187 | 1170 | ]) # _AM_PROG_TAR |
1188 | 1171 | |
1189 | 1172 | m4_include([m4/ax_check_compile_flag.m4]) |
1173 | m4_include([m4/ax_cxx_compile_stdcxx.m4]) | |
1190 | 1174 | m4_include([m4/code_coverage.m4]) |
1191 | 1175 | m4_include([m4/ld-version-script.m4]) |
1192 | 1176 | m4_include([m4/libtool.m4]) |
0 | 0 | #! /bin/sh |
1 | 1 | # Wrapper for compilers which do not understand '-c -o'. |
2 | 2 | |
3 | scriptversion=2012-10-14.11; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2014 Free Software Foundation, Inc. | |
3 | scriptversion=2018-03-07.03; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
6 | 6 | # Written by Tom Tromey <tromey@cygnus.com>. |
7 | 7 | # |
8 | 8 | # This program is free software; you can redistribute it and/or modify |
16 | 16 | # GNU General Public License for more details. |
17 | 17 | # |
18 | 18 | # You should have received a copy of the GNU General Public License |
19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
19 | # along with this program. If not, see <https://www.gnu.org/licenses/>. | |
20 | 20 | |
21 | 21 | # As a special exception to the GNU General Public License, if you |
22 | 22 | # distribute this file as part of a program that contains a |
254 | 254 | echo "compile $scriptversion" |
255 | 255 | exit $? |
256 | 256 | ;; |
257 | cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) | |
257 | cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ | |
258 | icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) | |
258 | 259 | func_cl_wrapper "$@" # Doesn't return... |
259 | 260 | ;; |
260 | 261 | esac |
338 | 339 | # Local Variables: |
339 | 340 | # mode: shell-script |
340 | 341 | # sh-indentation: 2 |
341 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
342 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
342 | 343 | # time-stamp-start: "scriptversion=" |
343 | 344 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
344 | # time-stamp-time-zone: "UTC" | |
345 | # time-stamp-time-zone: "UTC0" | |
345 | 346 | # time-stamp-end: "; # UTC" |
346 | 347 | # End: |
0 | 0 | #! /bin/sh |
1 | 1 | # Attempt to guess a canonical system name. |
2 | # Copyright 1992-2016 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2016-10-02' | |
2 | # Copyright 1992-2018 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2018-02-24' | |
5 | 5 | |
6 | 6 | # This file is free software; you can redistribute it and/or modify it |
7 | 7 | # under the terms of the GNU General Public License as published by |
14 | 14 | # General Public License for more details. |
15 | 15 | # |
16 | 16 | # You should have received a copy of the GNU General Public License |
17 | # along with this program; if not, see <http://www.gnu.org/licenses/>. | |
17 | # along with this program; if not, see <https://www.gnu.org/licenses/>. | |
18 | 18 | # |
19 | 19 | # As a special exception to the GNU General Public License, if you |
20 | 20 | # distribute this file as part of a program that contains a |
26 | 26 | # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. |
27 | 27 | # |
28 | 28 | # You can get the latest version of this script from: |
29 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess | |
29 | # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess | |
30 | 30 | # |
31 | 31 | # Please send patches to <config-patches@gnu.org>. |
32 | 32 | |
38 | 38 | |
39 | 39 | Output the configuration name of the system \`$me' is run on. |
40 | 40 | |
41 | Operation modes: | |
41 | Options: | |
42 | 42 | -h, --help print this help, then exit |
43 | 43 | -t, --time-stamp print date of last modification, then exit |
44 | 44 | -v, --version print version number, then exit |
49 | 49 | GNU config.guess ($timestamp) |
50 | 50 | |
51 | 51 | Originally written by Per Bothner. |
52 | Copyright 1992-2016 Free Software Foundation, Inc. | |
52 | Copyright 1992-2018 Free Software Foundation, Inc. | |
53 | 53 | |
54 | 54 | This is free software; see the source for copying conditions. There is NO |
55 | 55 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
106 | 106 | dummy=$tmp/dummy ; |
107 | 107 | tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; |
108 | 108 | case $CC_FOR_BUILD,$HOST_CC,$CC in |
109 | ,,) echo "int x;" > $dummy.c ; | |
109 | ,,) echo "int x;" > "$dummy.c" ; | |
110 | 110 | for c in cc gcc c89 c99 ; do |
111 | if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then | |
111 | if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then | |
112 | 112 | CC_FOR_BUILD="$c"; break ; |
113 | 113 | fi ; |
114 | 114 | done ; |
131 | 131 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown |
132 | 132 | UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown |
133 | 133 | |
134 | case "${UNAME_SYSTEM}" in | |
134 | case "$UNAME_SYSTEM" in | |
135 | 135 | Linux|GNU|GNU/*) |
136 | 136 | # If the system lacks a compiler, then just pick glibc. |
137 | 137 | # We could probably try harder. |
138 | 138 | LIBC=gnu |
139 | 139 | |
140 | eval $set_cc_for_build | |
141 | cat <<-EOF > $dummy.c | |
140 | eval "$set_cc_for_build" | |
141 | cat <<-EOF > "$dummy.c" | |
142 | 142 | #include <features.h> |
143 | 143 | #if defined(__UCLIBC__) |
144 | 144 | LIBC=uclibc |
148 | 148 | LIBC=gnu |
149 | 149 | #endif |
150 | 150 | EOF |
151 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` | |
151 | eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`" | |
152 | ||
153 | # If ldd exists, use it to detect musl libc. | |
154 | if command -v ldd >/dev/null && \ | |
155 | ldd --version 2>&1 | grep -q ^musl | |
156 | then | |
157 | LIBC=musl | |
158 | fi | |
152 | 159 | ;; |
153 | 160 | esac |
154 | 161 | |
155 | 162 | # Note: order is significant - the case branches are not exclusive. |
156 | 163 | |
157 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |
164 | case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in | |
158 | 165 | *:NetBSD:*:*) |
159 | 166 | # NetBSD (nbsd) targets should (where applicable) match one or |
160 | 167 | # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, |
168 | 175 | # portion of the name. We always set it to "unknown". |
169 | 176 | sysctl="sysctl -n hw.machine_arch" |
170 | 177 | UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ |
171 | /sbin/$sysctl 2>/dev/null || \ | |
172 | /usr/sbin/$sysctl 2>/dev/null || \ | |
178 | "/sbin/$sysctl" 2>/dev/null || \ | |
179 | "/usr/sbin/$sysctl" 2>/dev/null || \ | |
173 | 180 | echo unknown)` |
174 | case "${UNAME_MACHINE_ARCH}" in | |
181 | case "$UNAME_MACHINE_ARCH" in | |
175 | 182 | armeb) machine=armeb-unknown ;; |
176 | 183 | arm*) machine=arm-unknown ;; |
177 | 184 | sh3el) machine=shl-unknown ;; |
178 | 185 | sh3eb) machine=sh-unknown ;; |
179 | 186 | sh5el) machine=sh5le-unknown ;; |
180 | 187 | earmv*) |
181 | arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'` | |
182 | endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'` | |
183 | machine=${arch}${endian}-unknown | |
188 | arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'` | |
189 | endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'` | |
190 | machine="${arch}${endian}"-unknown | |
184 | 191 | ;; |
185 | *) machine=${UNAME_MACHINE_ARCH}-unknown ;; | |
192 | *) machine="$UNAME_MACHINE_ARCH"-unknown ;; | |
186 | 193 | esac |
187 | 194 | # The Operating System including object format, if it has switched |
188 | 195 | # to ELF recently (or will in the future) and ABI. |
189 | case "${UNAME_MACHINE_ARCH}" in | |
196 | case "$UNAME_MACHINE_ARCH" in | |
190 | 197 | earm*) |
191 | 198 | os=netbsdelf |
192 | 199 | ;; |
193 | 200 | arm*|i386|m68k|ns32k|sh3*|sparc|vax) |
194 | eval $set_cc_for_build | |
201 | eval "$set_cc_for_build" | |
195 | 202 | if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
196 | 203 | | grep -q __ELF__ |
197 | 204 | then |
207 | 214 | ;; |
208 | 215 | esac |
209 | 216 | # Determine ABI tags. |
210 | case "${UNAME_MACHINE_ARCH}" in | |
217 | case "$UNAME_MACHINE_ARCH" in | |
211 | 218 | earm*) |
212 | 219 | expr='s/^earmv[0-9]/-eabi/;s/eb$//' |
213 | abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"` | |
220 | abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` | |
214 | 221 | ;; |
215 | 222 | esac |
216 | 223 | # The OS release |
218 | 225 | # thus, need a distinct triplet. However, they do not need |
219 | 226 | # kernel version information, so it can be replaced with a |
220 | 227 | # suitable tag, in the style of linux-gnu. |
221 | case "${UNAME_VERSION}" in | |
228 | case "$UNAME_VERSION" in | |
222 | 229 | Debian*) |
223 | 230 | release='-gnu' |
224 | 231 | ;; |
225 | 232 | *) |
226 | release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2` | |
233 | release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2` | |
227 | 234 | ;; |
228 | 235 | esac |
229 | 236 | # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: |
230 | 237 | # contains redundant information, the shorter form: |
231 | 238 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
232 | echo "${machine}-${os}${release}${abi}" | |
239 | echo "$machine-${os}${release}${abi}" | |
233 | 240 | exit ;; |
234 | 241 | *:Bitrig:*:*) |
235 | 242 | UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` |
236 | echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} | |
243 | echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE" | |
237 | 244 | exit ;; |
238 | 245 | *:OpenBSD:*:*) |
239 | 246 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` |
240 | echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} | |
247 | echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE" | |
241 | 248 | exit ;; |
242 | 249 | *:LibertyBSD:*:*) |
243 | 250 | UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` |
244 | echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE} | |
251 | echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE" | |
252 | exit ;; | |
253 | *:MidnightBSD:*:*) | |
254 | echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE" | |
245 | 255 | exit ;; |
246 | 256 | *:ekkoBSD:*:*) |
247 | echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} | |
257 | echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE" | |
248 | 258 | exit ;; |
249 | 259 | *:SolidBSD:*:*) |
250 | echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} | |
260 | echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE" | |
251 | 261 | exit ;; |
252 | 262 | macppc:MirBSD:*:*) |
253 | echo powerpc-unknown-mirbsd${UNAME_RELEASE} | |
263 | echo powerpc-unknown-mirbsd"$UNAME_RELEASE" | |
254 | 264 | exit ;; |
255 | 265 | *:MirBSD:*:*) |
256 | echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} | |
266 | echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE" | |
257 | 267 | exit ;; |
258 | 268 | *:Sortix:*:*) |
259 | echo ${UNAME_MACHINE}-unknown-sortix | |
260 | exit ;; | |
269 | echo "$UNAME_MACHINE"-unknown-sortix | |
270 | exit ;; | |
271 | *:Redox:*:*) | |
272 | echo "$UNAME_MACHINE"-unknown-redox | |
273 | exit ;; | |
274 | mips:OSF1:*.*) | |
275 | echo mips-dec-osf1 | |
276 | exit ;; | |
261 | 277 | alpha:OSF1:*:*) |
262 | 278 | case $UNAME_RELEASE in |
263 | 279 | *4.0) |
309 | 325 | # A Tn.n version is a released field test version. |
310 | 326 | # A Xn.n version is an unreleased experimental baselevel. |
311 | 327 | # 1.2 uses "1.2" for uname -r. |
312 | echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` | |
328 | echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`" | |
313 | 329 | # Reset EXIT trap before exiting to avoid spurious non-zero exit code. |
314 | 330 | exitcode=$? |
315 | 331 | trap '' 0 |
316 | 332 | exit $exitcode ;; |
317 | Alpha\ *:Windows_NT*:*) | |
318 | # How do we know it's Interix rather than the generic POSIX subsystem? | |
319 | # Should we change UNAME_MACHINE based on the output of uname instead | |
320 | # of the specific Alpha model? | |
321 | echo alpha-pc-interix | |
322 | exit ;; | |
323 | 21064:Windows_NT:50:3) | |
324 | echo alpha-dec-winnt3.5 | |
325 | exit ;; | |
326 | 333 | Amiga*:UNIX_System_V:4.0:*) |
327 | 334 | echo m68k-unknown-sysv4 |
328 | 335 | exit ;; |
329 | 336 | *:[Aa]miga[Oo][Ss]:*:*) |
330 | echo ${UNAME_MACHINE}-unknown-amigaos | |
337 | echo "$UNAME_MACHINE"-unknown-amigaos | |
331 | 338 | exit ;; |
332 | 339 | *:[Mm]orph[Oo][Ss]:*:*) |
333 | echo ${UNAME_MACHINE}-unknown-morphos | |
340 | echo "$UNAME_MACHINE"-unknown-morphos | |
334 | 341 | exit ;; |
335 | 342 | *:OS/390:*:*) |
336 | 343 | echo i370-ibm-openedition |
342 | 349 | echo powerpc-ibm-os400 |
343 | 350 | exit ;; |
344 | 351 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
345 | echo arm-acorn-riscix${UNAME_RELEASE} | |
352 | echo arm-acorn-riscix"$UNAME_RELEASE" | |
346 | 353 | exit ;; |
347 | 354 | arm*:riscos:*:*|arm*:RISCOS:*:*) |
348 | 355 | echo arm-unknown-riscos |
369 | 376 | sparc) echo sparc-icl-nx7; exit ;; |
370 | 377 | esac ;; |
371 | 378 | s390x:SunOS:*:*) |
372 | echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
379 | echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" | |
373 | 380 | exit ;; |
374 | 381 | sun4H:SunOS:5.*:*) |
375 | echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
382 | echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" | |
376 | 383 | exit ;; |
377 | 384 | sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |
378 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
385 | echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" | |
379 | 386 | exit ;; |
380 | 387 | i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) |
381 | echo i386-pc-auroraux${UNAME_RELEASE} | |
388 | echo i386-pc-auroraux"$UNAME_RELEASE" | |
382 | 389 | exit ;; |
383 | 390 | i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) |
384 | eval $set_cc_for_build | |
391 | eval "$set_cc_for_build" | |
385 | 392 | SUN_ARCH=i386 |
386 | 393 | # If there is a compiler, see if it is configured for 64-bit objects. |
387 | 394 | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. |
394 | 401 | SUN_ARCH=x86_64 |
395 | 402 | fi |
396 | 403 | fi |
397 | echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
404 | echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" | |
398 | 405 | exit ;; |
399 | 406 | sun4*:SunOS:6*:*) |
400 | 407 | # According to config.sub, this is the proper way to canonicalize |
401 | 408 | # SunOS6. Hard to guess exactly what SunOS6 will be like, but |
402 | 409 | # it's likely to be more like Solaris than SunOS4. |
403 | echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
410 | echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" | |
404 | 411 | exit ;; |
405 | 412 | sun4*:SunOS:*:*) |
406 | 413 | case "`/usr/bin/arch -k`" in |
409 | 416 | ;; |
410 | 417 | esac |
411 | 418 | # Japanese Language versions have a version number like `4.1.3-JL'. |
412 | echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` | |
419 | echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`" | |
413 | 420 | exit ;; |
414 | 421 | sun3*:SunOS:*:*) |
415 | echo m68k-sun-sunos${UNAME_RELEASE} | |
422 | echo m68k-sun-sunos"$UNAME_RELEASE" | |
416 | 423 | exit ;; |
417 | 424 | sun*:*:4.2BSD:*) |
418 | 425 | UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` |
419 | test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3 | |
426 | test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3 | |
420 | 427 | case "`/bin/arch`" in |
421 | 428 | sun3) |
422 | echo m68k-sun-sunos${UNAME_RELEASE} | |
429 | echo m68k-sun-sunos"$UNAME_RELEASE" | |
423 | 430 | ;; |
424 | 431 | sun4) |
425 | echo sparc-sun-sunos${UNAME_RELEASE} | |
432 | echo sparc-sun-sunos"$UNAME_RELEASE" | |
426 | 433 | ;; |
427 | 434 | esac |
428 | 435 | exit ;; |
429 | 436 | aushp:SunOS:*:*) |
430 | echo sparc-auspex-sunos${UNAME_RELEASE} | |
437 | echo sparc-auspex-sunos"$UNAME_RELEASE" | |
431 | 438 | exit ;; |
432 | 439 | # The situation for MiNT is a little confusing. The machine name |
433 | 440 | # can be virtually everything (everything which is not |
438 | 445 | # MiNT. But MiNT is downward compatible to TOS, so this should |
439 | 446 | # be no problem. |
440 | 447 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) |
441 | echo m68k-atari-mint${UNAME_RELEASE} | |
448 | echo m68k-atari-mint"$UNAME_RELEASE" | |
442 | 449 | exit ;; |
443 | 450 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) |
444 | echo m68k-atari-mint${UNAME_RELEASE} | |
451 | echo m68k-atari-mint"$UNAME_RELEASE" | |
445 | 452 | exit ;; |
446 | 453 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) |
447 | echo m68k-atari-mint${UNAME_RELEASE} | |
454 | echo m68k-atari-mint"$UNAME_RELEASE" | |
448 | 455 | exit ;; |
449 | 456 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) |
450 | echo m68k-milan-mint${UNAME_RELEASE} | |
457 | echo m68k-milan-mint"$UNAME_RELEASE" | |
451 | 458 | exit ;; |
452 | 459 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) |
453 | echo m68k-hades-mint${UNAME_RELEASE} | |
460 | echo m68k-hades-mint"$UNAME_RELEASE" | |
454 | 461 | exit ;; |
455 | 462 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) |
456 | echo m68k-unknown-mint${UNAME_RELEASE} | |
463 | echo m68k-unknown-mint"$UNAME_RELEASE" | |
457 | 464 | exit ;; |
458 | 465 | m68k:machten:*:*) |
459 | echo m68k-apple-machten${UNAME_RELEASE} | |
466 | echo m68k-apple-machten"$UNAME_RELEASE" | |
460 | 467 | exit ;; |
461 | 468 | powerpc:machten:*:*) |
462 | echo powerpc-apple-machten${UNAME_RELEASE} | |
469 | echo powerpc-apple-machten"$UNAME_RELEASE" | |
463 | 470 | exit ;; |
464 | 471 | RISC*:Mach:*:*) |
465 | 472 | echo mips-dec-mach_bsd4.3 |
466 | 473 | exit ;; |
467 | 474 | RISC*:ULTRIX:*:*) |
468 | echo mips-dec-ultrix${UNAME_RELEASE} | |
475 | echo mips-dec-ultrix"$UNAME_RELEASE" | |
469 | 476 | exit ;; |
470 | 477 | VAX*:ULTRIX*:*:*) |
471 | echo vax-dec-ultrix${UNAME_RELEASE} | |
478 | echo vax-dec-ultrix"$UNAME_RELEASE" | |
472 | 479 | exit ;; |
473 | 480 | 2020:CLIX:*:* | 2430:CLIX:*:*) |
474 | echo clipper-intergraph-clix${UNAME_RELEASE} | |
481 | echo clipper-intergraph-clix"$UNAME_RELEASE" | |
475 | 482 | exit ;; |
476 | 483 | mips:*:*:UMIPS | mips:*:*:RISCos) |
477 | eval $set_cc_for_build | |
478 | sed 's/^ //' << EOF >$dummy.c | |
484 | eval "$set_cc_for_build" | |
485 | sed 's/^ //' << EOF > "$dummy.c" | |
479 | 486 | #ifdef __cplusplus |
480 | 487 | #include <stdio.h> /* for printf() prototype */ |
481 | 488 | int main (int argc, char *argv[]) { |
484 | 491 | #endif |
485 | 492 | #if defined (host_mips) && defined (MIPSEB) |
486 | 493 | #if defined (SYSTYPE_SYSV) |
487 | printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); | |
494 | printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0); | |
488 | 495 | #endif |
489 | 496 | #if defined (SYSTYPE_SVR4) |
490 | printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); | |
497 | printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0); | |
491 | 498 | #endif |
492 | 499 | #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) |
493 | printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); | |
500 | printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0); | |
494 | 501 | #endif |
495 | 502 | #endif |
496 | 503 | exit (-1); |
497 | 504 | } |
498 | 505 | EOF |
499 | $CC_FOR_BUILD -o $dummy $dummy.c && | |
500 | dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && | |
501 | SYSTEM_NAME=`$dummy $dummyarg` && | |
506 | $CC_FOR_BUILD -o "$dummy" "$dummy.c" && | |
507 | dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` && | |
508 | SYSTEM_NAME=`"$dummy" "$dummyarg"` && | |
502 | 509 | { echo "$SYSTEM_NAME"; exit; } |
503 | echo mips-mips-riscos${UNAME_RELEASE} | |
510 | echo mips-mips-riscos"$UNAME_RELEASE" | |
504 | 511 | exit ;; |
505 | 512 | Motorola:PowerMAX_OS:*:*) |
506 | 513 | echo powerpc-motorola-powermax |
526 | 533 | AViiON:dgux:*:*) |
527 | 534 | # DG/UX returns AViiON for all architectures |
528 | 535 | UNAME_PROCESSOR=`/usr/bin/uname -p` |
529 | if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] | |
536 | if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ] | |
530 | 537 | then |
531 | if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ | |
532 | [ ${TARGET_BINARY_INTERFACE}x = x ] | |
538 | if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \ | |
539 | [ "$TARGET_BINARY_INTERFACE"x = x ] | |
533 | 540 | then |
534 | echo m88k-dg-dgux${UNAME_RELEASE} | |
541 | echo m88k-dg-dgux"$UNAME_RELEASE" | |
535 | 542 | else |
536 | echo m88k-dg-dguxbcs${UNAME_RELEASE} | |
543 | echo m88k-dg-dguxbcs"$UNAME_RELEASE" | |
537 | 544 | fi |
538 | 545 | else |
539 | echo i586-dg-dgux${UNAME_RELEASE} | |
546 | echo i586-dg-dgux"$UNAME_RELEASE" | |
540 | 547 | fi |
541 | 548 | exit ;; |
542 | 549 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) |
553 | 560 | echo m68k-tektronix-bsd |
554 | 561 | exit ;; |
555 | 562 | *:IRIX*:*:*) |
556 | echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` | |
563 | echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`" | |
557 | 564 | exit ;; |
558 | 565 | ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. |
559 | 566 | echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id |
565 | 572 | if [ -x /usr/bin/oslevel ] ; then |
566 | 573 | IBM_REV=`/usr/bin/oslevel` |
567 | 574 | else |
568 | IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} | |
569 | fi | |
570 | echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} | |
575 | IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" | |
576 | fi | |
577 | echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV" | |
571 | 578 | exit ;; |
572 | 579 | *:AIX:2:3) |
573 | 580 | if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then |
574 | eval $set_cc_for_build | |
575 | sed 's/^ //' << EOF >$dummy.c | |
581 | eval "$set_cc_for_build" | |
582 | sed 's/^ //' << EOF > "$dummy.c" | |
576 | 583 | #include <sys/systemcfg.h> |
577 | 584 | |
578 | 585 | main() |
583 | 590 | exit(0); |
584 | 591 | } |
585 | 592 | EOF |
586 | if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` | |
593 | if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` | |
587 | 594 | then |
588 | 595 | echo "$SYSTEM_NAME" |
589 | 596 | else |
597 | 604 | exit ;; |
598 | 605 | *:AIX:*:[4567]) |
599 | 606 | IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` |
600 | if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then | |
607 | if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then | |
601 | 608 | IBM_ARCH=rs6000 |
602 | 609 | else |
603 | 610 | IBM_ARCH=powerpc |
606 | 613 | IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | |
607 | 614 | awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` |
608 | 615 | else |
609 | IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} | |
610 | fi | |
611 | echo ${IBM_ARCH}-ibm-aix${IBM_REV} | |
616 | IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" | |
617 | fi | |
618 | echo "$IBM_ARCH"-ibm-aix"$IBM_REV" | |
612 | 619 | exit ;; |
613 | 620 | *:AIX:*:*) |
614 | 621 | echo rs6000-ibm-aix |
615 | 622 | exit ;; |
616 | ibmrt:4.4BSD:*|romp-ibm:BSD:*) | |
623 | ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*) | |
617 | 624 | echo romp-ibm-bsd4.4 |
618 | 625 | exit ;; |
619 | 626 | ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and |
620 | echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to | |
627 | echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to | |
621 | 628 | exit ;; # report: romp-ibm BSD 4.3 |
622 | 629 | *:BOSX:*:*) |
623 | 630 | echo rs6000-bull-bosx |
632 | 639 | echo m68k-hp-bsd4.4 |
633 | 640 | exit ;; |
634 | 641 | 9000/[34678]??:HP-UX:*:*) |
635 | HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` | |
636 | case "${UNAME_MACHINE}" in | |
637 | 9000/31? ) HP_ARCH=m68000 ;; | |
638 | 9000/[34]?? ) HP_ARCH=m68k ;; | |
642 | HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` | |
643 | case "$UNAME_MACHINE" in | |
644 | 9000/31?) HP_ARCH=m68000 ;; | |
645 | 9000/[34]??) HP_ARCH=m68k ;; | |
639 | 646 | 9000/[678][0-9][0-9]) |
640 | 647 | if [ -x /usr/bin/getconf ]; then |
641 | 648 | sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` |
642 | 649 | sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` |
643 | case "${sc_cpu_version}" in | |
650 | case "$sc_cpu_version" in | |
644 | 651 | 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 |
645 | 652 | 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 |
646 | 653 | 532) # CPU_PA_RISC2_0 |
647 | case "${sc_kernel_bits}" in | |
654 | case "$sc_kernel_bits" in | |
648 | 655 | 32) HP_ARCH=hppa2.0n ;; |
649 | 656 | 64) HP_ARCH=hppa2.0w ;; |
650 | 657 | '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 |
651 | 658 | esac ;; |
652 | 659 | esac |
653 | 660 | fi |
654 | if [ "${HP_ARCH}" = "" ]; then | |
655 | eval $set_cc_for_build | |
656 | sed 's/^ //' << EOF >$dummy.c | |
661 | if [ "$HP_ARCH" = "" ]; then | |
662 | eval "$set_cc_for_build" | |
663 | sed 's/^ //' << EOF > "$dummy.c" | |
657 | 664 | |
658 | 665 | #define _HPUX_SOURCE |
659 | 666 | #include <stdlib.h> |
686 | 693 | exit (0); |
687 | 694 | } |
688 | 695 | EOF |
689 | (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` | |
696 | (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"` | |
690 | 697 | test -z "$HP_ARCH" && HP_ARCH=hppa |
691 | 698 | fi ;; |
692 | 699 | esac |
693 | if [ ${HP_ARCH} = hppa2.0w ] | |
700 | if [ "$HP_ARCH" = hppa2.0w ] | |
694 | 701 | then |
695 | eval $set_cc_for_build | |
702 | eval "$set_cc_for_build" | |
696 | 703 | |
697 | 704 | # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating |
698 | 705 | # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler |
711 | 718 | HP_ARCH=hppa64 |
712 | 719 | fi |
713 | 720 | fi |
714 | echo ${HP_ARCH}-hp-hpux${HPUX_REV} | |
721 | echo "$HP_ARCH"-hp-hpux"$HPUX_REV" | |
715 | 722 | exit ;; |
716 | 723 | ia64:HP-UX:*:*) |
717 | HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` | |
718 | echo ia64-hp-hpux${HPUX_REV} | |
724 | HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` | |
725 | echo ia64-hp-hpux"$HPUX_REV" | |
719 | 726 | exit ;; |
720 | 727 | 3050*:HI-UX:*:*) |
721 | eval $set_cc_for_build | |
722 | sed 's/^ //' << EOF >$dummy.c | |
728 | eval "$set_cc_for_build" | |
729 | sed 's/^ //' << EOF > "$dummy.c" | |
723 | 730 | #include <unistd.h> |
724 | 731 | int |
725 | 732 | main () |
744 | 751 | exit (0); |
745 | 752 | } |
746 | 753 | EOF |
747 | $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && | |
754 | $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` && | |
748 | 755 | { echo "$SYSTEM_NAME"; exit; } |
749 | 756 | echo unknown-hitachi-hiuxwe2 |
750 | 757 | exit ;; |
751 | 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) | |
758 | 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*) | |
752 | 759 | echo hppa1.1-hp-bsd |
753 | 760 | exit ;; |
754 | 761 | 9000/8??:4.3bsd:*:*) |
757 | 764 | *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) |
758 | 765 | echo hppa1.0-hp-mpeix |
759 | 766 | exit ;; |
760 | hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) | |
767 | hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*) | |
761 | 768 | echo hppa1.1-hp-osf |
762 | 769 | exit ;; |
763 | 770 | hp8??:OSF1:*:*) |
765 | 772 | exit ;; |
766 | 773 | i*86:OSF1:*:*) |
767 | 774 | if [ -x /usr/sbin/sysversion ] ; then |
768 | echo ${UNAME_MACHINE}-unknown-osf1mk | |
775 | echo "$UNAME_MACHINE"-unknown-osf1mk | |
769 | 776 | else |
770 | echo ${UNAME_MACHINE}-unknown-osf1 | |
777 | echo "$UNAME_MACHINE"-unknown-osf1 | |
771 | 778 | fi |
772 | 779 | exit ;; |
773 | 780 | parisc*:Lites*:*:*) |
792 | 799 | echo c4-convex-bsd |
793 | 800 | exit ;; |
794 | 801 | CRAY*Y-MP:*:*:*) |
795 | echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
802 | echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
796 | 803 | exit ;; |
797 | 804 | CRAY*[A-Z]90:*:*:*) |
798 | echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | |
805 | echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \ | |
799 | 806 | | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ |
800 | 807 | -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ |
801 | 808 | -e 's/\.[^.]*$/.X/' |
802 | 809 | exit ;; |
803 | 810 | CRAY*TS:*:*:*) |
804 | echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
811 | echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
805 | 812 | exit ;; |
806 | 813 | CRAY*T3E:*:*:*) |
807 | echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
814 | echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
808 | 815 | exit ;; |
809 | 816 | CRAY*SV1:*:*:*) |
810 | echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
817 | echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
811 | 818 | exit ;; |
812 | 819 | *:UNICOS/mp:*:*) |
813 | echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
820 | echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
814 | 821 | exit ;; |
815 | 822 | F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) |
816 | 823 | FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` |
817 | 824 | FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` |
818 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | |
825 | FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'` | |
819 | 826 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
820 | 827 | exit ;; |
821 | 828 | 5000:UNIX_System_V:4.*:*) |
822 | 829 | FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` |
823 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` | |
830 | FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` | |
824 | 831 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
825 | 832 | exit ;; |
826 | 833 | i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) |
827 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} | |
834 | echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE" | |
828 | 835 | exit ;; |
829 | 836 | sparc*:BSD/OS:*:*) |
830 | echo sparc-unknown-bsdi${UNAME_RELEASE} | |
837 | echo sparc-unknown-bsdi"$UNAME_RELEASE" | |
831 | 838 | exit ;; |
832 | 839 | *:BSD/OS:*:*) |
833 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} | |
840 | echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE" | |
834 | 841 | exit ;; |
835 | 842 | *:FreeBSD:*:*) |
836 | 843 | UNAME_PROCESSOR=`/usr/bin/uname -p` |
837 | case ${UNAME_PROCESSOR} in | |
844 | case "$UNAME_PROCESSOR" in | |
838 | 845 | amd64) |
839 | echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
840 | *) | |
841 | echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
846 | UNAME_PROCESSOR=x86_64 ;; | |
847 | i386) | |
848 | UNAME_PROCESSOR=i586 ;; | |
842 | 849 | esac |
850 | echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" | |
843 | 851 | exit ;; |
844 | 852 | i*:CYGWIN*:*) |
845 | echo ${UNAME_MACHINE}-pc-cygwin | |
853 | echo "$UNAME_MACHINE"-pc-cygwin | |
846 | 854 | exit ;; |
847 | 855 | *:MINGW64*:*) |
848 | echo ${UNAME_MACHINE}-pc-mingw64 | |
856 | echo "$UNAME_MACHINE"-pc-mingw64 | |
849 | 857 | exit ;; |
850 | 858 | *:MINGW*:*) |
851 | echo ${UNAME_MACHINE}-pc-mingw32 | |
859 | echo "$UNAME_MACHINE"-pc-mingw32 | |
852 | 860 | exit ;; |
853 | 861 | *:MSYS*:*) |
854 | echo ${UNAME_MACHINE}-pc-msys | |
855 | exit ;; | |
856 | i*:windows32*:*) | |
857 | # uname -m includes "-pc" on this system. | |
858 | echo ${UNAME_MACHINE}-mingw32 | |
862 | echo "$UNAME_MACHINE"-pc-msys | |
859 | 863 | exit ;; |
860 | 864 | i*:PW*:*) |
861 | echo ${UNAME_MACHINE}-pc-pw32 | |
865 | echo "$UNAME_MACHINE"-pc-pw32 | |
862 | 866 | exit ;; |
863 | 867 | *:Interix*:*) |
864 | case ${UNAME_MACHINE} in | |
868 | case "$UNAME_MACHINE" in | |
865 | 869 | x86) |
866 | echo i586-pc-interix${UNAME_RELEASE} | |
870 | echo i586-pc-interix"$UNAME_RELEASE" | |
867 | 871 | exit ;; |
868 | 872 | authenticamd | genuineintel | EM64T) |
869 | echo x86_64-unknown-interix${UNAME_RELEASE} | |
873 | echo x86_64-unknown-interix"$UNAME_RELEASE" | |
870 | 874 | exit ;; |
871 | 875 | IA64) |
872 | echo ia64-unknown-interix${UNAME_RELEASE} | |
876 | echo ia64-unknown-interix"$UNAME_RELEASE" | |
873 | 877 | exit ;; |
874 | 878 | esac ;; |
875 | [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) | |
876 | echo i${UNAME_MACHINE}-pc-mks | |
877 | exit ;; | |
878 | 8664:Windows_NT:*) | |
879 | echo x86_64-pc-mks | |
880 | exit ;; | |
881 | i*:Windows_NT*:* | Pentium*:Windows_NT*:*) | |
882 | # How do we know it's Interix rather than the generic POSIX subsystem? | |
883 | # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we | |
884 | # UNAME_MACHINE based on the output of uname instead of i386? | |
885 | echo i586-pc-interix | |
886 | exit ;; | |
887 | 879 | i*:UWIN*:*) |
888 | echo ${UNAME_MACHINE}-pc-uwin | |
880 | echo "$UNAME_MACHINE"-pc-uwin | |
889 | 881 | exit ;; |
890 | 882 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) |
891 | 883 | echo x86_64-unknown-cygwin |
892 | 884 | exit ;; |
893 | p*:CYGWIN*:*) | |
894 | echo powerpcle-unknown-cygwin | |
895 | exit ;; | |
896 | 885 | prep*:SunOS:5.*:*) |
897 | echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
886 | echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" | |
898 | 887 | exit ;; |
899 | 888 | *:GNU:*:*) |
900 | 889 | # the GNU system |
901 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | |
890 | echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`" | |
902 | 891 | exit ;; |
903 | 892 | *:GNU/*:*:*) |
904 | 893 | # other systems with GNU libc and userland |
905 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} | |
894 | echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC" | |
906 | 895 | exit ;; |
907 | 896 | i*86:Minix:*:*) |
908 | echo ${UNAME_MACHINE}-pc-minix | |
897 | echo "$UNAME_MACHINE"-pc-minix | |
909 | 898 | exit ;; |
910 | 899 | aarch64:Linux:*:*) |
911 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
900 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
912 | 901 | exit ;; |
913 | 902 | aarch64_be:Linux:*:*) |
914 | 903 | UNAME_MACHINE=aarch64_be |
915 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
904 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
916 | 905 | exit ;; |
917 | 906 | alpha:Linux:*:*) |
918 | 907 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
926 | 915 | esac |
927 | 916 | objdump --private-headers /bin/sh | grep -q ld.so.1 |
928 | 917 | if test "$?" = 0 ; then LIBC=gnulibc1 ; fi |
929 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
918 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
930 | 919 | exit ;; |
931 | 920 | arc:Linux:*:* | arceb:Linux:*:*) |
932 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
921 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
933 | 922 | exit ;; |
934 | 923 | arm*:Linux:*:*) |
935 | eval $set_cc_for_build | |
924 | eval "$set_cc_for_build" | |
936 | 925 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
937 | 926 | | grep -q __ARM_EABI__ |
938 | 927 | then |
939 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
928 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
940 | 929 | else |
941 | 930 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ |
942 | 931 | | grep -q __ARM_PCS_VFP |
943 | 932 | then |
944 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi | |
933 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi | |
945 | 934 | else |
946 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf | |
935 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf | |
947 | 936 | fi |
948 | 937 | fi |
949 | 938 | exit ;; |
950 | 939 | avr32*:Linux:*:*) |
951 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
940 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
952 | 941 | exit ;; |
953 | 942 | cris:Linux:*:*) |
954 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
943 | echo "$UNAME_MACHINE"-axis-linux-"$LIBC" | |
955 | 944 | exit ;; |
956 | 945 | crisv32:Linux:*:*) |
957 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
946 | echo "$UNAME_MACHINE"-axis-linux-"$LIBC" | |
958 | 947 | exit ;; |
959 | 948 | e2k:Linux:*:*) |
960 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
949 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
961 | 950 | exit ;; |
962 | 951 | frv:Linux:*:*) |
963 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
952 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
964 | 953 | exit ;; |
965 | 954 | hexagon:Linux:*:*) |
966 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
955 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
967 | 956 | exit ;; |
968 | 957 | i*86:Linux:*:*) |
969 | echo ${UNAME_MACHINE}-pc-linux-${LIBC} | |
958 | echo "$UNAME_MACHINE"-pc-linux-"$LIBC" | |
970 | 959 | exit ;; |
971 | 960 | ia64:Linux:*:*) |
972 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
961 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
973 | 962 | exit ;; |
974 | 963 | k1om:Linux:*:*) |
975 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
964 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
976 | 965 | exit ;; |
977 | 966 | m32r*:Linux:*:*) |
978 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
967 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
979 | 968 | exit ;; |
980 | 969 | m68*:Linux:*:*) |
981 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
970 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
982 | 971 | exit ;; |
983 | 972 | mips:Linux:*:* | mips64:Linux:*:*) |
984 | eval $set_cc_for_build | |
985 | sed 's/^ //' << EOF >$dummy.c | |
973 | eval "$set_cc_for_build" | |
974 | sed 's/^ //' << EOF > "$dummy.c" | |
986 | 975 | #undef CPU |
987 | 976 | #undef ${UNAME_MACHINE} |
988 | 977 | #undef ${UNAME_MACHINE}el |
996 | 985 | #endif |
997 | 986 | #endif |
998 | 987 | EOF |
999 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` | |
1000 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } | |
988 | eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`" | |
989 | test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; } | |
1001 | 990 | ;; |
1002 | 991 | mips64el:Linux:*:*) |
1003 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
992 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1004 | 993 | exit ;; |
1005 | 994 | openrisc*:Linux:*:*) |
1006 | echo or1k-unknown-linux-${LIBC} | |
995 | echo or1k-unknown-linux-"$LIBC" | |
1007 | 996 | exit ;; |
1008 | 997 | or32:Linux:*:* | or1k*:Linux:*:*) |
1009 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
998 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1010 | 999 | exit ;; |
1011 | 1000 | padre:Linux:*:*) |
1012 | echo sparc-unknown-linux-${LIBC} | |
1001 | echo sparc-unknown-linux-"$LIBC" | |
1013 | 1002 | exit ;; |
1014 | 1003 | parisc64:Linux:*:* | hppa64:Linux:*:*) |
1015 | echo hppa64-unknown-linux-${LIBC} | |
1004 | echo hppa64-unknown-linux-"$LIBC" | |
1016 | 1005 | exit ;; |
1017 | 1006 | parisc:Linux:*:* | hppa:Linux:*:*) |
1018 | 1007 | # Look for CPU level |
1019 | 1008 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in |
1020 | PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; | |
1021 | PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; | |
1022 | *) echo hppa-unknown-linux-${LIBC} ;; | |
1009 | PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;; | |
1010 | PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;; | |
1011 | *) echo hppa-unknown-linux-"$LIBC" ;; | |
1023 | 1012 | esac |
1024 | 1013 | exit ;; |
1025 | 1014 | ppc64:Linux:*:*) |
1026 | echo powerpc64-unknown-linux-${LIBC} | |
1015 | echo powerpc64-unknown-linux-"$LIBC" | |
1027 | 1016 | exit ;; |
1028 | 1017 | ppc:Linux:*:*) |
1029 | echo powerpc-unknown-linux-${LIBC} | |
1018 | echo powerpc-unknown-linux-"$LIBC" | |
1030 | 1019 | exit ;; |
1031 | 1020 | ppc64le:Linux:*:*) |
1032 | echo powerpc64le-unknown-linux-${LIBC} | |
1021 | echo powerpc64le-unknown-linux-"$LIBC" | |
1033 | 1022 | exit ;; |
1034 | 1023 | ppcle:Linux:*:*) |
1035 | echo powerpcle-unknown-linux-${LIBC} | |
1024 | echo powerpcle-unknown-linux-"$LIBC" | |
1036 | 1025 | exit ;; |
1037 | 1026 | riscv32:Linux:*:* | riscv64:Linux:*:*) |
1038 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1027 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1039 | 1028 | exit ;; |
1040 | 1029 | s390:Linux:*:* | s390x:Linux:*:*) |
1041 | echo ${UNAME_MACHINE}-ibm-linux-${LIBC} | |
1030 | echo "$UNAME_MACHINE"-ibm-linux-"$LIBC" | |
1042 | 1031 | exit ;; |
1043 | 1032 | sh64*:Linux:*:*) |
1044 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1033 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1045 | 1034 | exit ;; |
1046 | 1035 | sh*:Linux:*:*) |
1047 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1036 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1048 | 1037 | exit ;; |
1049 | 1038 | sparc:Linux:*:* | sparc64:Linux:*:*) |
1050 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1039 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1051 | 1040 | exit ;; |
1052 | 1041 | tile*:Linux:*:*) |
1053 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1042 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1054 | 1043 | exit ;; |
1055 | 1044 | vax:Linux:*:*) |
1056 | echo ${UNAME_MACHINE}-dec-linux-${LIBC} | |
1045 | echo "$UNAME_MACHINE"-dec-linux-"$LIBC" | |
1057 | 1046 | exit ;; |
1058 | 1047 | x86_64:Linux:*:*) |
1059 | echo ${UNAME_MACHINE}-pc-linux-${LIBC} | |
1048 | if objdump -f /bin/sh | grep -q elf32-x86-64; then | |
1049 | echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32 | |
1050 | else | |
1051 | echo "$UNAME_MACHINE"-pc-linux-"$LIBC" | |
1052 | fi | |
1060 | 1053 | exit ;; |
1061 | 1054 | xtensa*:Linux:*:*) |
1062 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1055 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1063 | 1056 | exit ;; |
1064 | 1057 | i*86:DYNIX/ptx:4*:*) |
1065 | 1058 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
1073 | 1066 | # I am not positive that other SVR4 systems won't match this, |
1074 | 1067 | # I just have to hope. -- rms. |
1075 | 1068 | # Use sysv4.2uw... so that sysv4* matches it. |
1076 | echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} | |
1069 | echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION" | |
1077 | 1070 | exit ;; |
1078 | 1071 | i*86:OS/2:*:*) |
1079 | 1072 | # If we were able to find `uname', then EMX Unix compatibility |
1080 | 1073 | # is probably installed. |
1081 | echo ${UNAME_MACHINE}-pc-os2-emx | |
1074 | echo "$UNAME_MACHINE"-pc-os2-emx | |
1082 | 1075 | exit ;; |
1083 | 1076 | i*86:XTS-300:*:STOP) |
1084 | echo ${UNAME_MACHINE}-unknown-stop | |
1077 | echo "$UNAME_MACHINE"-unknown-stop | |
1085 | 1078 | exit ;; |
1086 | 1079 | i*86:atheos:*:*) |
1087 | echo ${UNAME_MACHINE}-unknown-atheos | |
1080 | echo "$UNAME_MACHINE"-unknown-atheos | |
1088 | 1081 | exit ;; |
1089 | 1082 | i*86:syllable:*:*) |
1090 | echo ${UNAME_MACHINE}-pc-syllable | |
1083 | echo "$UNAME_MACHINE"-pc-syllable | |
1091 | 1084 | exit ;; |
1092 | 1085 | i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) |
1093 | echo i386-unknown-lynxos${UNAME_RELEASE} | |
1086 | echo i386-unknown-lynxos"$UNAME_RELEASE" | |
1094 | 1087 | exit ;; |
1095 | 1088 | i*86:*DOS:*:*) |
1096 | echo ${UNAME_MACHINE}-pc-msdosdjgpp | |
1097 | exit ;; | |
1098 | i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) | |
1099 | UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` | |
1089 | echo "$UNAME_MACHINE"-pc-msdosdjgpp | |
1090 | exit ;; | |
1091 | i*86:*:4.*:*) | |
1092 | UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'` | |
1100 | 1093 | if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then |
1101 | echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} | |
1094 | echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL" | |
1102 | 1095 | else |
1103 | echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} | |
1096 | echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL" | |
1104 | 1097 | fi |
1105 | 1098 | exit ;; |
1106 | 1099 | i*86:*:5:[678]*) |
1110 | 1103 | *Pentium) UNAME_MACHINE=i586 ;; |
1111 | 1104 | *Pent*|*Celeron) UNAME_MACHINE=i686 ;; |
1112 | 1105 | esac |
1113 | echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} | |
1106 | echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}" | |
1114 | 1107 | exit ;; |
1115 | 1108 | i*86:*:3.2:*) |
1116 | 1109 | if test -f /usr/options/cb.name; then |
1117 | 1110 | UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` |
1118 | echo ${UNAME_MACHINE}-pc-isc$UNAME_REL | |
1111 | echo "$UNAME_MACHINE"-pc-isc"$UNAME_REL" | |
1119 | 1112 | elif /bin/uname -X 2>/dev/null >/dev/null ; then |
1120 | 1113 | UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` |
1121 | 1114 | (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 |
1125 | 1118 | && UNAME_MACHINE=i686 |
1126 | 1119 | (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ |
1127 | 1120 | && UNAME_MACHINE=i686 |
1128 | echo ${UNAME_MACHINE}-pc-sco$UNAME_REL | |
1121 | echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL" | |
1129 | 1122 | else |
1130 | echo ${UNAME_MACHINE}-pc-sysv32 | |
1123 | echo "$UNAME_MACHINE"-pc-sysv32 | |
1131 | 1124 | fi |
1132 | 1125 | exit ;; |
1133 | 1126 | pc:*:*:*) |
1147 | 1140 | exit ;; |
1148 | 1141 | i860:*:4.*:*) # i860-SVR4 |
1149 | 1142 | if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then |
1150 | echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 | |
1143 | echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4 | |
1151 | 1144 | else # Add other i860-SVR4 vendors below as they are discovered. |
1152 | echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 | |
1145 | echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4 | |
1153 | 1146 | fi |
1154 | 1147 | exit ;; |
1155 | 1148 | mini*:CTIX:SYS*5:*) |
1169 | 1162 | test -r /etc/.relid \ |
1170 | 1163 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
1171 | 1164 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
1172 | && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | |
1165 | && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } | |
1173 | 1166 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
1174 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | |
1167 | && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; | |
1175 | 1168 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
1176 | 1169 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
1177 | 1170 | && { echo i486-ncr-sysv4; exit; } ;; |
1180 | 1173 | test -r /etc/.relid \ |
1181 | 1174 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
1182 | 1175 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
1183 | && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | |
1176 | && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } | |
1184 | 1177 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
1185 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } | |
1178 | && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } | |
1186 | 1179 | /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ |
1187 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | |
1180 | && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; | |
1188 | 1181 | m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) |
1189 | echo m68k-unknown-lynxos${UNAME_RELEASE} | |
1182 | echo m68k-unknown-lynxos"$UNAME_RELEASE" | |
1190 | 1183 | exit ;; |
1191 | 1184 | mc68030:UNIX_System_V:4.*:*) |
1192 | 1185 | echo m68k-atari-sysv4 |
1193 | 1186 | exit ;; |
1194 | 1187 | TSUNAMI:LynxOS:2.*:*) |
1195 | echo sparc-unknown-lynxos${UNAME_RELEASE} | |
1188 | echo sparc-unknown-lynxos"$UNAME_RELEASE" | |
1196 | 1189 | exit ;; |
1197 | 1190 | rs6000:LynxOS:2.*:*) |
1198 | echo rs6000-unknown-lynxos${UNAME_RELEASE} | |
1191 | echo rs6000-unknown-lynxos"$UNAME_RELEASE" | |
1199 | 1192 | exit ;; |
1200 | 1193 | PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) |
1201 | echo powerpc-unknown-lynxos${UNAME_RELEASE} | |
1194 | echo powerpc-unknown-lynxos"$UNAME_RELEASE" | |
1202 | 1195 | exit ;; |
1203 | 1196 | SM[BE]S:UNIX_SV:*:*) |
1204 | echo mips-dde-sysv${UNAME_RELEASE} | |
1197 | echo mips-dde-sysv"$UNAME_RELEASE" | |
1205 | 1198 | exit ;; |
1206 | 1199 | RM*:ReliantUNIX-*:*:*) |
1207 | 1200 | echo mips-sni-sysv4 |
1212 | 1205 | *:SINIX-*:*:*) |
1213 | 1206 | if uname -p 2>/dev/null >/dev/null ; then |
1214 | 1207 | UNAME_MACHINE=`(uname -p) 2>/dev/null` |
1215 | echo ${UNAME_MACHINE}-sni-sysv4 | |
1208 | echo "$UNAME_MACHINE"-sni-sysv4 | |
1216 | 1209 | else |
1217 | 1210 | echo ns32k-sni-sysv |
1218 | 1211 | fi |
1232 | 1225 | exit ;; |
1233 | 1226 | i*86:VOS:*:*) |
1234 | 1227 | # From Paul.Green@stratus.com. |
1235 | echo ${UNAME_MACHINE}-stratus-vos | |
1228 | echo "$UNAME_MACHINE"-stratus-vos | |
1236 | 1229 | exit ;; |
1237 | 1230 | *:VOS:*:*) |
1238 | 1231 | # From Paul.Green@stratus.com. |
1239 | 1232 | echo hppa1.1-stratus-vos |
1240 | 1233 | exit ;; |
1241 | 1234 | mc68*:A/UX:*:*) |
1242 | echo m68k-apple-aux${UNAME_RELEASE} | |
1235 | echo m68k-apple-aux"$UNAME_RELEASE" | |
1243 | 1236 | exit ;; |
1244 | 1237 | news*:NEWS-OS:6*:*) |
1245 | 1238 | echo mips-sony-newsos6 |
1246 | 1239 | exit ;; |
1247 | 1240 | R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) |
1248 | 1241 | if [ -d /usr/nec ]; then |
1249 | echo mips-nec-sysv${UNAME_RELEASE} | |
1242 | echo mips-nec-sysv"$UNAME_RELEASE" | |
1250 | 1243 | else |
1251 | echo mips-unknown-sysv${UNAME_RELEASE} | |
1244 | echo mips-unknown-sysv"$UNAME_RELEASE" | |
1252 | 1245 | fi |
1253 | 1246 | exit ;; |
1254 | 1247 | BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. |
1267 | 1260 | echo x86_64-unknown-haiku |
1268 | 1261 | exit ;; |
1269 | 1262 | SX-4:SUPER-UX:*:*) |
1270 | echo sx4-nec-superux${UNAME_RELEASE} | |
1263 | echo sx4-nec-superux"$UNAME_RELEASE" | |
1271 | 1264 | exit ;; |
1272 | 1265 | SX-5:SUPER-UX:*:*) |
1273 | echo sx5-nec-superux${UNAME_RELEASE} | |
1266 | echo sx5-nec-superux"$UNAME_RELEASE" | |
1274 | 1267 | exit ;; |
1275 | 1268 | SX-6:SUPER-UX:*:*) |
1276 | echo sx6-nec-superux${UNAME_RELEASE} | |
1269 | echo sx6-nec-superux"$UNAME_RELEASE" | |
1277 | 1270 | exit ;; |
1278 | 1271 | SX-7:SUPER-UX:*:*) |
1279 | echo sx7-nec-superux${UNAME_RELEASE} | |
1272 | echo sx7-nec-superux"$UNAME_RELEASE" | |
1280 | 1273 | exit ;; |
1281 | 1274 | SX-8:SUPER-UX:*:*) |
1282 | echo sx8-nec-superux${UNAME_RELEASE} | |
1275 | echo sx8-nec-superux"$UNAME_RELEASE" | |
1283 | 1276 | exit ;; |
1284 | 1277 | SX-8R:SUPER-UX:*:*) |
1285 | echo sx8r-nec-superux${UNAME_RELEASE} | |
1278 | echo sx8r-nec-superux"$UNAME_RELEASE" | |
1286 | 1279 | exit ;; |
1287 | 1280 | SX-ACE:SUPER-UX:*:*) |
1288 | echo sxace-nec-superux${UNAME_RELEASE} | |
1281 | echo sxace-nec-superux"$UNAME_RELEASE" | |
1289 | 1282 | exit ;; |
1290 | 1283 | Power*:Rhapsody:*:*) |
1291 | echo powerpc-apple-rhapsody${UNAME_RELEASE} | |
1284 | echo powerpc-apple-rhapsody"$UNAME_RELEASE" | |
1292 | 1285 | exit ;; |
1293 | 1286 | *:Rhapsody:*:*) |
1294 | echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} | |
1287 | echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE" | |
1295 | 1288 | exit ;; |
1296 | 1289 | *:Darwin:*:*) |
1297 | 1290 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
1298 | eval $set_cc_for_build | |
1291 | eval "$set_cc_for_build" | |
1299 | 1292 | if test "$UNAME_PROCESSOR" = unknown ; then |
1300 | 1293 | UNAME_PROCESSOR=powerpc |
1301 | 1294 | fi |
1302 | if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then | |
1295 | if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then | |
1303 | 1296 | if [ "$CC_FOR_BUILD" != no_compiler_found ]; then |
1304 | 1297 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ |
1305 | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1306 | grep IS_64BIT_ARCH >/dev/null | |
1298 | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1299 | grep IS_64BIT_ARCH >/dev/null | |
1307 | 1300 | then |
1308 | 1301 | case $UNAME_PROCESSOR in |
1309 | 1302 | i386) UNAME_PROCESSOR=x86_64 ;; |
1310 | 1303 | powerpc) UNAME_PROCESSOR=powerpc64 ;; |
1311 | 1304 | esac |
1305 | fi | |
1306 | # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc | |
1307 | if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ | |
1308 | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1309 | grep IS_PPC >/dev/null | |
1310 | then | |
1311 | UNAME_PROCESSOR=powerpc | |
1312 | 1312 | fi |
1313 | 1313 | fi |
1314 | 1314 | elif test "$UNAME_PROCESSOR" = i386 ; then |
1320 | 1320 | # that Apple uses in portable devices. |
1321 | 1321 | UNAME_PROCESSOR=x86_64 |
1322 | 1322 | fi |
1323 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} | |
1323 | echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE" | |
1324 | 1324 | exit ;; |
1325 | 1325 | *:procnto*:*:* | *:QNX:[0123456789]*:*) |
1326 | 1326 | UNAME_PROCESSOR=`uname -p` |
1328 | 1328 | UNAME_PROCESSOR=i386 |
1329 | 1329 | UNAME_MACHINE=pc |
1330 | 1330 | fi |
1331 | echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} | |
1331 | echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE" | |
1332 | 1332 | exit ;; |
1333 | 1333 | *:QNX:*:4*) |
1334 | 1334 | echo i386-pc-qnx |
1335 | 1335 | exit ;; |
1336 | NEO-?:NONSTOP_KERNEL:*:*) | |
1337 | echo neo-tandem-nsk${UNAME_RELEASE} | |
1336 | NEO-*:NONSTOP_KERNEL:*:*) | |
1337 | echo neo-tandem-nsk"$UNAME_RELEASE" | |
1338 | 1338 | exit ;; |
1339 | 1339 | NSE-*:NONSTOP_KERNEL:*:*) |
1340 | echo nse-tandem-nsk${UNAME_RELEASE} | |
1341 | exit ;; | |
1342 | NSR-?:NONSTOP_KERNEL:*:*) | |
1343 | echo nsr-tandem-nsk${UNAME_RELEASE} | |
1340 | echo nse-tandem-nsk"$UNAME_RELEASE" | |
1341 | exit ;; | |
1342 | NSR-*:NONSTOP_KERNEL:*:*) | |
1343 | echo nsr-tandem-nsk"$UNAME_RELEASE" | |
1344 | exit ;; | |
1345 | NSV-*:NONSTOP_KERNEL:*:*) | |
1346 | echo nsv-tandem-nsk"$UNAME_RELEASE" | |
1347 | exit ;; | |
1348 | NSX-*:NONSTOP_KERNEL:*:*) | |
1349 | echo nsx-tandem-nsk"$UNAME_RELEASE" | |
1344 | 1350 | exit ;; |
1345 | 1351 | *:NonStop-UX:*:*) |
1346 | 1352 | echo mips-compaq-nonstopux |
1349 | 1355 | echo bs2000-siemens-sysv |
1350 | 1356 | exit ;; |
1351 | 1357 | DS/*:UNIX_System_V:*:*) |
1352 | echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} | |
1358 | echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE" | |
1353 | 1359 | exit ;; |
1354 | 1360 | *:Plan9:*:*) |
1355 | 1361 | # "uname -m" is not consistent, so use $cputype instead. 386 |
1360 | 1366 | else |
1361 | 1367 | UNAME_MACHINE="$cputype" |
1362 | 1368 | fi |
1363 | echo ${UNAME_MACHINE}-unknown-plan9 | |
1369 | echo "$UNAME_MACHINE"-unknown-plan9 | |
1364 | 1370 | exit ;; |
1365 | 1371 | *:TOPS-10:*:*) |
1366 | 1372 | echo pdp10-unknown-tops10 |
1381 | 1387 | echo pdp10-unknown-its |
1382 | 1388 | exit ;; |
1383 | 1389 | SEI:*:*:SEIUX) |
1384 | echo mips-sei-seiux${UNAME_RELEASE} | |
1390 | echo mips-sei-seiux"$UNAME_RELEASE" | |
1385 | 1391 | exit ;; |
1386 | 1392 | *:DragonFly:*:*) |
1387 | echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` | |
1393 | echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" | |
1388 | 1394 | exit ;; |
1389 | 1395 | *:*VMS:*:*) |
1390 | 1396 | UNAME_MACHINE=`(uname -p) 2>/dev/null` |
1391 | case "${UNAME_MACHINE}" in | |
1397 | case "$UNAME_MACHINE" in | |
1392 | 1398 | A*) echo alpha-dec-vms ; exit ;; |
1393 | 1399 | I*) echo ia64-dec-vms ; exit ;; |
1394 | 1400 | V*) echo vax-dec-vms ; exit ;; |
1397 | 1403 | echo i386-pc-xenix |
1398 | 1404 | exit ;; |
1399 | 1405 | i*86:skyos:*:*) |
1400 | echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'` | |
1406 | echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`" | |
1401 | 1407 | exit ;; |
1402 | 1408 | i*86:rdos:*:*) |
1403 | echo ${UNAME_MACHINE}-pc-rdos | |
1409 | echo "$UNAME_MACHINE"-pc-rdos | |
1404 | 1410 | exit ;; |
1405 | 1411 | i*86:AROS:*:*) |
1406 | echo ${UNAME_MACHINE}-pc-aros | |
1412 | echo "$UNAME_MACHINE"-pc-aros | |
1407 | 1413 | exit ;; |
1408 | 1414 | x86_64:VMkernel:*:*) |
1409 | echo ${UNAME_MACHINE}-unknown-esx | |
1415 | echo "$UNAME_MACHINE"-unknown-esx | |
1410 | 1416 | exit ;; |
1411 | 1417 | amd64:Isilon\ OneFS:*:*) |
1412 | 1418 | echo x86_64-unknown-onefs |
1413 | 1419 | exit ;; |
1414 | 1420 | esac |
1415 | 1421 | |
1422 | echo "$0: unable to guess system type" >&2 | |
1423 | ||
1424 | case "$UNAME_MACHINE:$UNAME_SYSTEM" in | |
1425 | mips:Linux | mips64:Linux) | |
1426 | # If we got here on MIPS GNU/Linux, output extra information. | |
1427 | cat >&2 <<EOF | |
1428 | ||
1429 | NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize | |
1430 | the system type. Please install a C compiler and try again. | |
1431 | EOF | |
1432 | ;; | |
1433 | esac | |
1434 | ||
1416 | 1435 | cat >&2 <<EOF |
1417 | $0: unable to guess system type | |
1418 | 1436 | |
1419 | 1437 | This script (version $timestamp), has failed to recognize the |
1420 | operating system you are using. If your script is old, overwrite | |
1421 | config.guess and config.sub with the latest versions from: | |
1422 | ||
1423 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess | |
1438 | operating system you are using. If your script is old, overwrite *all* | |
1439 | copies of config.guess and config.sub with the latest versions from: | |
1440 | ||
1441 | https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess | |
1424 | 1442 | and |
1425 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub | |
1443 | https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub | |
1426 | 1444 | |
1427 | 1445 | If $0 has already been updated, send the following data and any |
1428 | 1446 | information you think might be pertinent to config-patches@gnu.org to |
1445 | 1463 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` |
1446 | 1464 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` |
1447 | 1465 | |
1448 | UNAME_MACHINE = ${UNAME_MACHINE} | |
1449 | UNAME_RELEASE = ${UNAME_RELEASE} | |
1450 | UNAME_SYSTEM = ${UNAME_SYSTEM} | |
1451 | UNAME_VERSION = ${UNAME_VERSION} | |
1466 | UNAME_MACHINE = "$UNAME_MACHINE" | |
1467 | UNAME_RELEASE = "$UNAME_RELEASE" | |
1468 | UNAME_SYSTEM = "$UNAME_SYSTEM" | |
1469 | UNAME_VERSION = "$UNAME_VERSION" | |
1452 | 1470 | EOF |
1453 | 1471 | |
1454 | 1472 | exit 1 |
1455 | 1473 | |
1456 | 1474 | # Local variables: |
1457 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
1475 | # eval: (add-hook 'write-file-functions 'time-stamp) | |
1458 | 1476 | # time-stamp-start: "timestamp='" |
1459 | 1477 | # time-stamp-format: "%:y-%02m-%02d" |
1460 | 1478 | # time-stamp-end: "'" |
0 | 0 | #! /bin/sh |
1 | 1 | # Configuration validation subroutine script. |
2 | # Copyright 1992-2016 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2016-11-04' | |
2 | # Copyright 1992-2018 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2018-02-22' | |
5 | 5 | |
6 | 6 | # This file is free software; you can redistribute it and/or modify it |
7 | 7 | # under the terms of the GNU General Public License as published by |
14 | 14 | # General Public License for more details. |
15 | 15 | # |
16 | 16 | # You should have received a copy of the GNU General Public License |
17 | # along with this program; if not, see <http://www.gnu.org/licenses/>. | |
17 | # along with this program; if not, see <https://www.gnu.org/licenses/>. | |
18 | 18 | # |
19 | 19 | # As a special exception to the GNU General Public License, if you |
20 | 20 | # distribute this file as part of a program that contains a |
32 | 32 | # Otherwise, we print the canonical config type on stdout and succeed. |
33 | 33 | |
34 | 34 | # You can get the latest version of this script from: |
35 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub | |
35 | # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub | |
36 | 36 | |
37 | 37 | # This file is supposed to be the same for all GNU packages |
38 | 38 | # and recognize all the CPU types, system types and aliases |
56 | 56 | |
57 | 57 | Canonicalize a configuration name. |
58 | 58 | |
59 | Operation modes: | |
59 | Options: | |
60 | 60 | -h, --help print this help, then exit |
61 | 61 | -t, --time-stamp print date of last modification, then exit |
62 | 62 | -v, --version print version number, then exit |
66 | 66 | version="\ |
67 | 67 | GNU config.sub ($timestamp) |
68 | 68 | |
69 | Copyright 1992-2016 Free Software Foundation, Inc. | |
69 | Copyright 1992-2018 Free Software Foundation, Inc. | |
70 | 70 | |
71 | 71 | This is free software; see the source for copying conditions. There is NO |
72 | 72 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
93 | 93 | |
94 | 94 | *local*) |
95 | 95 | # First pass through any local machine types. |
96 | echo $1 | |
96 | echo "$1" | |
97 | 97 | exit ;; |
98 | 98 | |
99 | 99 | * ) |
111 | 111 | |
112 | 112 | # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). |
113 | 113 | # Here we must recognize all the valid KERNEL-OS combinations. |
114 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | |
114 | maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | |
115 | 115 | case $maybe_os in |
116 | 116 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
117 | 117 | linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ |
119 | 119 | kopensolaris*-gnu* | cloudabi*-eabi* | \ |
120 | 120 | storm-chaos* | os2-emx* | rtmk-nova*) |
121 | 121 | os=-$maybe_os |
122 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | |
122 | basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | |
123 | 123 | ;; |
124 | 124 | android-linux) |
125 | 125 | os=-linux-android |
126 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown | |
126 | basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown | |
127 | 127 | ;; |
128 | 128 | *) |
129 | basic_machine=`echo $1 | sed 's/-[^-]*$//'` | |
130 | if [ $basic_machine != $1 ] | |
131 | then os=`echo $1 | sed 's/.*-/-/'` | |
129 | basic_machine=`echo "$1" | sed 's/-[^-]*$//'` | |
130 | if [ "$basic_machine" != "$1" ] | |
131 | then os=`echo "$1" | sed 's/.*-/-/'` | |
132 | 132 | else os=; fi |
133 | 133 | ;; |
134 | 134 | esac |
177 | 177 | ;; |
178 | 178 | -sco6) |
179 | 179 | os=-sco5v6 |
180 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
180 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
181 | 181 | ;; |
182 | 182 | -sco5) |
183 | 183 | os=-sco3.2v5 |
184 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
184 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
185 | 185 | ;; |
186 | 186 | -sco4) |
187 | 187 | os=-sco3.2v4 |
188 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
188 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
189 | 189 | ;; |
190 | 190 | -sco3.2.[4-9]*) |
191 | 191 | os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` |
192 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
192 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
193 | 193 | ;; |
194 | 194 | -sco3.2v[4-9]*) |
195 | 195 | # Don't forget version if it is 3.2v4 or newer. |
196 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
196 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
197 | 197 | ;; |
198 | 198 | -sco5v6*) |
199 | 199 | # Don't forget version if it is 3.2v4 or newer. |
200 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
200 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
201 | 201 | ;; |
202 | 202 | -sco*) |
203 | 203 | os=-sco3.2v2 |
204 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
204 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
205 | 205 | ;; |
206 | 206 | -udk*) |
207 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
207 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
208 | 208 | ;; |
209 | 209 | -isc) |
210 | 210 | os=-isc2.2 |
211 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
211 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
212 | 212 | ;; |
213 | 213 | -clix*) |
214 | 214 | basic_machine=clipper-intergraph |
215 | 215 | ;; |
216 | 216 | -isc*) |
217 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
217 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
218 | 218 | ;; |
219 | 219 | -lynx*178) |
220 | 220 | os=-lynxos178 |
226 | 226 | os=-lynxos |
227 | 227 | ;; |
228 | 228 | -ptx*) |
229 | basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` | |
230 | ;; | |
231 | -windowsnt*) | |
232 | os=`echo $os | sed -e 's/windowsnt/winnt/'` | |
229 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'` | |
233 | 230 | ;; |
234 | 231 | -psos*) |
235 | 232 | os=-psos |
262 | 259 | | fido | fr30 | frv | ft32 \ |
263 | 260 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
264 | 261 | | hexagon \ |
265 | | i370 | i860 | i960 | ia64 \ | |
262 | | i370 | i860 | i960 | ia16 | ia64 \ | |
266 | 263 | | ip2k | iq2000 \ |
267 | 264 | | k1om \ |
268 | 265 | | le32 | le64 \ |
298 | 295 | | nios | nios2 | nios2eb | nios2el \ |
299 | 296 | | ns16k | ns32k \ |
300 | 297 | | open8 | or1k | or1knd | or32 \ |
301 | | pdp10 | pdp11 | pj | pjl \ | |
298 | | pdp10 | pj | pjl \ | |
302 | 299 | | powerpc | powerpc64 | powerpc64le | powerpcle \ |
303 | 300 | | pru \ |
304 | 301 | | pyramid \ |
314 | 311 | | ubicom32 \ |
315 | 312 | | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ |
316 | 313 | | visium \ |
317 | | we32k \ | |
314 | | wasm32 \ | |
318 | 315 | | x86 | xc16x | xstormy16 | xtensa \ |
319 | 316 | | z8k | z80) |
320 | 317 | basic_machine=$basic_machine-unknown |
335 | 332 | basic_machine=$basic_machine-unknown |
336 | 333 | os=-none |
337 | 334 | ;; |
338 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) | |
335 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65) | |
339 | 336 | ;; |
340 | 337 | ms1) |
341 | 338 | basic_machine=mt-unknown |
364 | 361 | ;; |
365 | 362 | # Object if more than one company name word. |
366 | 363 | *-*-*) |
367 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
364 | echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 | |
368 | 365 | exit 1 |
369 | 366 | ;; |
370 | 367 | # Recognize the basic CPU types with company name. |
387 | 384 | | h8300-* | h8500-* \ |
388 | 385 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
389 | 386 | | hexagon-* \ |
390 | | i*86-* | i860-* | i960-* | ia64-* \ | |
387 | | i*86-* | i860-* | i960-* | ia16-* | ia64-* \ | |
391 | 388 | | ip2k-* | iq2000-* \ |
392 | 389 | | k1om-* \ |
393 | 390 | | le32-* | le64-* \ |
445 | 442 | | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ |
446 | 443 | | vax-* \ |
447 | 444 | | visium-* \ |
445 | | wasm32-* \ | |
448 | 446 | | we32k-* \ |
449 | 447 | | x86-* | x86_64-* | xc16x-* | xps100-* \ |
450 | 448 | | xstormy16-* | xtensa*-* \ |
458 | 456 | # Recognize the various machine names and aliases which stand |
459 | 457 | # for a CPU type and a company and sometimes even an OS. |
460 | 458 | 386bsd) |
461 | basic_machine=i386-unknown | |
459 | basic_machine=i386-pc | |
462 | 460 | os=-bsd |
463 | 461 | ;; |
464 | 462 | 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) |
492 | 490 | basic_machine=x86_64-pc |
493 | 491 | ;; |
494 | 492 | amd64-*) |
495 | basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` | |
493 | basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
496 | 494 | ;; |
497 | 495 | amdahl) |
498 | 496 | basic_machine=580-amdahl |
537 | 535 | os=-linux |
538 | 536 | ;; |
539 | 537 | blackfin-*) |
540 | basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` | |
538 | basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
541 | 539 | os=-linux |
542 | 540 | ;; |
543 | 541 | bluegene*) |
545 | 543 | os=-cnk |
546 | 544 | ;; |
547 | 545 | c54x-*) |
548 | basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
546 | basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
549 | 547 | ;; |
550 | 548 | c55x-*) |
551 | basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
549 | basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
552 | 550 | ;; |
553 | 551 | c6x-*) |
554 | basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
552 | basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
555 | 553 | ;; |
556 | 554 | c90) |
557 | 555 | basic_machine=c90-cray |
640 | 638 | basic_machine=rs6000-bull |
641 | 639 | os=-bosx |
642 | 640 | ;; |
643 | dpx2* | dpx2*-bull) | |
641 | dpx2*) | |
644 | 642 | basic_machine=m68k-bull |
645 | 643 | os=-sysv3 |
646 | 644 | ;; |
649 | 647 | os=$os"spe" |
650 | 648 | ;; |
651 | 649 | e500v[12]-*) |
652 | basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | |
650 | basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
653 | 651 | os=$os"spe" |
654 | 652 | ;; |
655 | 653 | ebmon29k) |
741 | 739 | hp9k8[0-9][0-9] | hp8[0-9][0-9]) |
742 | 740 | basic_machine=hppa1.0-hp |
743 | 741 | ;; |
744 | hppa-next) | |
745 | os=-nextstep3 | |
746 | ;; | |
747 | 742 | hppaosf) |
748 | 743 | basic_machine=hppa1.1-hp |
749 | 744 | os=-osf |
756 | 751 | basic_machine=i370-ibm |
757 | 752 | ;; |
758 | 753 | i*86v32) |
759 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
754 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
760 | 755 | os=-sysv32 |
761 | 756 | ;; |
762 | 757 | i*86v4*) |
763 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
758 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
764 | 759 | os=-sysv4 |
765 | 760 | ;; |
766 | 761 | i*86v) |
767 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
762 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
768 | 763 | os=-sysv |
769 | 764 | ;; |
770 | 765 | i*86sol2) |
771 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
766 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
772 | 767 | os=-solaris2 |
773 | 768 | ;; |
774 | 769 | i386mach) |
775 | 770 | basic_machine=i386-mach |
776 | 771 | os=-mach |
777 | 772 | ;; |
778 | i386-vsta | vsta) | |
773 | vsta) | |
779 | 774 | basic_machine=i386-unknown |
780 | 775 | os=-vsta |
781 | 776 | ;; |
794 | 789 | os=-sysv |
795 | 790 | ;; |
796 | 791 | leon-*|leon[3-9]-*) |
797 | basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` | |
792 | basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'` | |
798 | 793 | ;; |
799 | 794 | m68knommu) |
800 | 795 | basic_machine=m68k-unknown |
801 | 796 | os=-linux |
802 | 797 | ;; |
803 | 798 | m68knommu-*) |
804 | basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` | |
799 | basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
805 | 800 | os=-linux |
806 | ;; | |
807 | m88k-omron*) | |
808 | basic_machine=m88k-omron | |
809 | 801 | ;; |
810 | 802 | magnum | m3230) |
811 | 803 | basic_machine=mips-mips |
838 | 830 | os=-mint |
839 | 831 | ;; |
840 | 832 | mips3*-*) |
841 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` | |
833 | basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'` | |
842 | 834 | ;; |
843 | 835 | mips3*) |
844 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown | |
836 | basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown | |
845 | 837 | ;; |
846 | 838 | monitor) |
847 | 839 | basic_machine=m68k-rom68k |
860 | 852 | os=-msdos |
861 | 853 | ;; |
862 | 854 | ms1-*) |
863 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` | |
855 | basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'` | |
864 | 856 | ;; |
865 | 857 | msys) |
866 | 858 | basic_machine=i686-pc |
902 | 894 | basic_machine=v70-nec |
903 | 895 | os=-sysv |
904 | 896 | ;; |
905 | next | m*-next ) | |
897 | next | m*-next) | |
906 | 898 | basic_machine=m68k-next |
907 | 899 | case $os in |
908 | 900 | -nextstep* ) |
947 | 939 | nsr-tandem) |
948 | 940 | basic_machine=nsr-tandem |
949 | 941 | ;; |
942 | nsv-tandem) | |
943 | basic_machine=nsv-tandem | |
944 | ;; | |
945 | nsx-tandem) | |
946 | basic_machine=nsx-tandem | |
947 | ;; | |
950 | 948 | op50n-* | op60c-*) |
951 | 949 | basic_machine=hppa1.1-oki |
952 | 950 | os=-proelf |
979 | 977 | os=-linux |
980 | 978 | ;; |
981 | 979 | parisc-*) |
982 | basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` | |
980 | basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
983 | 981 | os=-linux |
984 | 982 | ;; |
985 | 983 | pbd) |
995 | 993 | basic_machine=i386-pc |
996 | 994 | ;; |
997 | 995 | pc98-*) |
998 | basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` | |
996 | basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
999 | 997 | ;; |
1000 | 998 | pentium | p5 | k5 | k6 | nexgen | viac3) |
1001 | 999 | basic_machine=i586-pc |
1010 | 1008 | basic_machine=i786-pc |
1011 | 1009 | ;; |
1012 | 1010 | pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) |
1013 | basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1011 | basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1014 | 1012 | ;; |
1015 | 1013 | pentiumpro-* | p6-* | 6x86-* | athlon-*) |
1016 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1014 | basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1017 | 1015 | ;; |
1018 | 1016 | pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) |
1019 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1017 | basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1020 | 1018 | ;; |
1021 | 1019 | pentium4-*) |
1022 | basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1020 | basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1023 | 1021 | ;; |
1024 | 1022 | pn) |
1025 | 1023 | basic_machine=pn-gould |
1029 | 1027 | ppc | ppcbe) basic_machine=powerpc-unknown |
1030 | 1028 | ;; |
1031 | 1029 | ppc-* | ppcbe-*) |
1032 | basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1030 | basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1033 | 1031 | ;; |
1034 | 1032 | ppcle | powerpclittle) |
1035 | 1033 | basic_machine=powerpcle-unknown |
1036 | 1034 | ;; |
1037 | 1035 | ppcle-* | powerpclittle-*) |
1038 | basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1036 | basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1039 | 1037 | ;; |
1040 | 1038 | ppc64) basic_machine=powerpc64-unknown |
1041 | 1039 | ;; |
1042 | ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1040 | ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1043 | 1041 | ;; |
1044 | 1042 | ppc64le | powerpc64little) |
1045 | 1043 | basic_machine=powerpc64le-unknown |
1046 | 1044 | ;; |
1047 | 1045 | ppc64le-* | powerpc64little-*) |
1048 | basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1046 | basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1049 | 1047 | ;; |
1050 | 1048 | ps2) |
1051 | 1049 | basic_machine=i386-ibm |
1099 | 1097 | sequent) |
1100 | 1098 | basic_machine=i386-sequent |
1101 | 1099 | ;; |
1102 | sh) | |
1103 | basic_machine=sh-hitachi | |
1104 | os=-hms | |
1105 | ;; | |
1106 | 1100 | sh5el) |
1107 | 1101 | basic_machine=sh5le-unknown |
1108 | 1102 | ;; |
1109 | sh64) | |
1110 | basic_machine=sh64-unknown | |
1111 | ;; | |
1112 | sparclite-wrs | simso-wrs) | |
1103 | simso-wrs) | |
1113 | 1104 | basic_machine=sparclite-wrs |
1114 | 1105 | os=-vxworks |
1115 | 1106 | ;; |
1128 | 1119 | os=-sysv4 |
1129 | 1120 | ;; |
1130 | 1121 | strongarm-* | thumb-*) |
1131 | basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1122 | basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1132 | 1123 | ;; |
1133 | 1124 | sun2) |
1134 | 1125 | basic_machine=m68000-sun |
1250 | 1241 | basic_machine=hppa1.1-winbond |
1251 | 1242 | os=-proelf |
1252 | 1243 | ;; |
1244 | x64) | |
1245 | basic_machine=x86_64-pc | |
1246 | ;; | |
1253 | 1247 | xbox) |
1254 | 1248 | basic_machine=i686-pc |
1255 | 1249 | os=-mingw32 |
1258 | 1252 | basic_machine=xps100-honeywell |
1259 | 1253 | ;; |
1260 | 1254 | xscale-* | xscalee[bl]-*) |
1261 | basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` | |
1255 | basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'` | |
1262 | 1256 | ;; |
1263 | 1257 | ymp) |
1264 | 1258 | basic_machine=ymp-cray |
1265 | 1259 | os=-unicos |
1266 | ;; | |
1267 | z8k-*-coff) | |
1268 | basic_machine=z8k-unknown | |
1269 | os=-sim | |
1270 | ;; | |
1271 | z80-*-coff) | |
1272 | basic_machine=z80-unknown | |
1273 | os=-sim | |
1274 | 1260 | ;; |
1275 | 1261 | none) |
1276 | 1262 | basic_machine=none-none |
1300 | 1286 | vax) |
1301 | 1287 | basic_machine=vax-dec |
1302 | 1288 | ;; |
1303 | pdp10) | |
1304 | # there are many clones, so DEC is not a safe bet | |
1305 | basic_machine=pdp10-unknown | |
1306 | ;; | |
1307 | 1289 | pdp11) |
1308 | 1290 | basic_machine=pdp11-dec |
1309 | 1291 | ;; |
1313 | 1295 | sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) |
1314 | 1296 | basic_machine=sh-unknown |
1315 | 1297 | ;; |
1316 | sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) | |
1317 | basic_machine=sparc-sun | |
1318 | ;; | |
1319 | 1298 | cydra) |
1320 | 1299 | basic_machine=cydra-cydrome |
1321 | 1300 | ;; |
1335 | 1314 | # Make sure to match an already-canonicalized machine name. |
1336 | 1315 | ;; |
1337 | 1316 | *) |
1338 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
1317 | echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 | |
1339 | 1318 | exit 1 |
1340 | 1319 | ;; |
1341 | 1320 | esac |
1343 | 1322 | # Here we canonicalize certain aliases for manufacturers. |
1344 | 1323 | case $basic_machine in |
1345 | 1324 | *-digital*) |
1346 | basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` | |
1325 | basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'` | |
1347 | 1326 | ;; |
1348 | 1327 | *-commodore*) |
1349 | basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` | |
1328 | basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'` | |
1350 | 1329 | ;; |
1351 | 1330 | *) |
1352 | 1331 | ;; |
1357 | 1336 | if [ x"$os" != x"" ] |
1358 | 1337 | then |
1359 | 1338 | case $os in |
1360 | # First match some system type aliases | |
1361 | # that might get confused with valid system types. | |
1339 | # First match some system type aliases that might get confused | |
1340 | # with valid system types. | |
1362 | 1341 | # -solaris* is a basic system type, with this one exception. |
1363 | 1342 | -auroraux) |
1364 | 1343 | os=-auroraux |
1369 | 1348 | -solaris) |
1370 | 1349 | os=-solaris2 |
1371 | 1350 | ;; |
1372 | -svr4*) | |
1373 | os=-sysv4 | |
1374 | ;; | |
1375 | 1351 | -unixware*) |
1376 | 1352 | os=-sysv4.2uw |
1377 | 1353 | ;; |
1378 | 1354 | -gnu/linux*) |
1379 | 1355 | os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` |
1380 | 1356 | ;; |
1381 | # First accept the basic system types. | |
1357 | # es1800 is here to avoid being matched by es* (a different OS) | |
1358 | -es1800*) | |
1359 | os=-ose | |
1360 | ;; | |
1361 | # Now accept the basic system types. | |
1382 | 1362 | # The portable systems comes first. |
1383 | # Each alternative MUST END IN A *, to match a version number. | |
1363 | # Each alternative MUST end in a * to match a version number. | |
1384 | 1364 | # -sysv* is not here because it comes later, after sysvr4. |
1385 | 1365 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1386 | 1366 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
1390 | 1370 | | -aos* | -aros* | -cloudabi* | -sortix* \ |
1391 | 1371 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1392 | 1372 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1393 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | |
1373 | | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \ | |
1394 | 1374 | | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \ |
1395 | 1375 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1396 | 1376 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1397 | 1377 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1398 | 1378 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1399 | | -chorusos* | -chorusrdb* | -cegcc* \ | |
1379 | | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \ | |
1400 | 1380 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1401 | 1381 | | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ |
1402 | 1382 | | -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
1403 | 1383 | | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ |
1404 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | |
1384 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \ | |
1405 | 1385 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1406 | 1386 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1407 | 1387 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1408 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | |
1388 | | -morphos* | -superux* | -rtmk* | -windiss* \ | |
1409 | 1389 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1410 | 1390 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ |
1411 | | -onefs* | -tirtos* | -phoenix* | -fuchsia*) | |
1391 | | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \ | |
1392 | | -midnightbsd*) | |
1412 | 1393 | # Remember, each alternative MUST END IN *, to match a version number. |
1413 | 1394 | ;; |
1414 | 1395 | -qnx*) |
1425 | 1406 | -nto*) |
1426 | 1407 | os=`echo $os | sed -e 's|nto|nto-qnx|'` |
1427 | 1408 | ;; |
1428 | -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | |
1429 | | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | |
1409 | -sim | -xray | -os68k* | -v88r* \ | |
1410 | | -windows* | -osx | -abug | -netware* | -os9* \ | |
1430 | 1411 | | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) |
1431 | 1412 | ;; |
1432 | 1413 | -mac*) |
1433 | os=`echo $os | sed -e 's|mac|macos|'` | |
1414 | os=`echo "$os" | sed -e 's|mac|macos|'` | |
1434 | 1415 | ;; |
1435 | 1416 | -linux-dietlibc) |
1436 | 1417 | os=-linux-dietlibc |
1439 | 1420 | os=`echo $os | sed -e 's|linux|linux-gnu|'` |
1440 | 1421 | ;; |
1441 | 1422 | -sunos5*) |
1442 | os=`echo $os | sed -e 's|sunos5|solaris2|'` | |
1423 | os=`echo "$os" | sed -e 's|sunos5|solaris2|'` | |
1443 | 1424 | ;; |
1444 | 1425 | -sunos6*) |
1445 | os=`echo $os | sed -e 's|sunos6|solaris3|'` | |
1426 | os=`echo "$os" | sed -e 's|sunos6|solaris3|'` | |
1446 | 1427 | ;; |
1447 | 1428 | -opened*) |
1448 | 1429 | os=-openedition |
1453 | 1434 | -wince*) |
1454 | 1435 | os=-wince |
1455 | 1436 | ;; |
1456 | -osfrose*) | |
1457 | os=-osfrose | |
1458 | ;; | |
1459 | -osf*) | |
1460 | os=-osf | |
1461 | ;; | |
1462 | 1437 | -utek*) |
1463 | 1438 | os=-bsd |
1464 | 1439 | ;; |
1483 | 1458 | -nova*) |
1484 | 1459 | os=-rtmk-nova |
1485 | 1460 | ;; |
1486 | -ns2 ) | |
1461 | -ns2) | |
1487 | 1462 | os=-nextstep2 |
1488 | 1463 | ;; |
1489 | 1464 | -nsk*) |
1505 | 1480 | -oss*) |
1506 | 1481 | os=-sysv3 |
1507 | 1482 | ;; |
1508 | -svr4) | |
1483 | -svr4*) | |
1509 | 1484 | os=-sysv4 |
1510 | 1485 | ;; |
1511 | 1486 | -svr3) |
1520 | 1495 | -ose*) |
1521 | 1496 | os=-ose |
1522 | 1497 | ;; |
1523 | -es1800*) | |
1524 | os=-ose | |
1525 | ;; | |
1526 | -xenix) | |
1527 | os=-xenix | |
1528 | ;; | |
1529 | 1498 | -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
1530 | 1499 | os=-mint |
1531 | 1500 | ;; |
1532 | -aros*) | |
1533 | os=-aros | |
1534 | ;; | |
1535 | 1501 | -zvmoe) |
1536 | 1502 | os=-zvmoe |
1537 | 1503 | ;; |
1538 | 1504 | -dicos*) |
1539 | 1505 | os=-dicos |
1506 | ;; | |
1507 | -pikeos*) | |
1508 | # Until real need of OS specific support for | |
1509 | # particular features comes up, bare metal | |
1510 | # configurations are quite functional. | |
1511 | case $basic_machine in | |
1512 | arm*) | |
1513 | os=-eabi | |
1514 | ;; | |
1515 | *) | |
1516 | os=-elf | |
1517 | ;; | |
1518 | esac | |
1540 | 1519 | ;; |
1541 | 1520 | -nacl*) |
1542 | 1521 | ;; |
1547 | 1526 | *) |
1548 | 1527 | # Get rid of the `-' at the beginning of $os. |
1549 | 1528 | os=`echo $os | sed 's/[^-]*-//'` |
1550 | echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 | |
1529 | echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2 | |
1551 | 1530 | exit 1 |
1552 | 1531 | ;; |
1553 | 1532 | esac |
1637 | 1616 | sparc-* | *-sun) |
1638 | 1617 | os=-sunos4.1.1 |
1639 | 1618 | ;; |
1619 | pru-*) | |
1620 | os=-elf | |
1621 | ;; | |
1640 | 1622 | *-be) |
1641 | 1623 | os=-beos |
1642 | 1624 | ;; |
1643 | *-haiku) | |
1644 | os=-haiku | |
1645 | ;; | |
1646 | 1625 | *-ibm) |
1647 | 1626 | os=-aix |
1648 | 1627 | ;; |
1682 | 1661 | m88k-omron*) |
1683 | 1662 | os=-luna |
1684 | 1663 | ;; |
1685 | *-next ) | |
1664 | *-next) | |
1686 | 1665 | os=-nextstep |
1687 | 1666 | ;; |
1688 | 1667 | *-sequent) |
1696 | 1675 | ;; |
1697 | 1676 | i370-*) |
1698 | 1677 | os=-mvs |
1699 | ;; | |
1700 | *-next) | |
1701 | os=-nextstep3 | |
1702 | 1678 | ;; |
1703 | 1679 | *-gould) |
1704 | 1680 | os=-sysv |
1809 | 1785 | vendor=stratus |
1810 | 1786 | ;; |
1811 | 1787 | esac |
1812 | basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` | |
1788 | basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"` | |
1813 | 1789 | ;; |
1814 | 1790 | esac |
1815 | 1791 | |
1816 | echo $basic_machine$os | |
1792 | echo "$basic_machine$os" | |
1817 | 1793 | exit |
1818 | 1794 | |
1819 | 1795 | # Local variables: |
1820 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
1796 | # eval: (add-hook 'write-file-functions 'time-stamp) | |
1821 | 1797 | # time-stamp-start: "timestamp='" |
1822 | 1798 | # time-stamp-format: "%:y-%02m-%02d" |
1823 | 1799 | # time-stamp-end: "'" |
0 | 0 | #! /bin/sh |
1 | 1 | # depcomp - compile a program generating dependencies as side-effects |
2 | 2 | |
3 | scriptversion=2016-01-11.22; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2017 Free Software Foundation, Inc. | |
3 | scriptversion=2018-03-07.03; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
6 | 6 | |
7 | 7 | # This program is free software; you can redistribute it and/or modify |
8 | 8 | # it under the terms of the GNU General Public License as published by |
15 | 15 | # GNU General Public License for more details. |
16 | 16 | |
17 | 17 | # You should have received a copy of the GNU General Public License |
18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | # along with this program. If not, see <https://www.gnu.org/licenses/>. | |
19 | 19 | |
20 | 20 | # As a special exception to the GNU General Public License, if you |
21 | 21 | # distribute this file as part of a program that contains a |
782 | 782 | # Local Variables: |
783 | 783 | # mode: shell-script |
784 | 784 | # sh-indentation: 2 |
785 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
785 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
786 | 786 | # time-stamp-start: "scriptversion=" |
787 | 787 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
788 | 788 | # time-stamp-time-zone: "UTC0" |
0 | 0 | #!/bin/sh |
1 | 1 | # install - install a program, script, or datafile |
2 | 2 | |
3 | scriptversion=2014-09-12.12; # UTC | |
3 | scriptversion=2018-03-11.20; # UTC | |
4 | 4 | |
5 | 5 | # This originates from X11R5 (mit/util/scripts/install.sh), which was |
6 | 6 | # later released in X11R6 (xc/config/util/install.sh) with the |
270 | 270 | fi |
271 | 271 | dst=$dst_arg |
272 | 272 | |
273 | # If destination is a directory, append the input filename; won't work | |
274 | # if double slashes aren't ignored. | |
273 | # If destination is a directory, append the input filename. | |
275 | 274 | if test -d "$dst"; then |
276 | 275 | if test "$is_target_a_directory" = never; then |
277 | 276 | echo "$0: $dst_arg: Is a directory" >&2 |
278 | 277 | exit 1 |
279 | 278 | fi |
280 | 279 | dstdir=$dst |
281 | dst=$dstdir/`basename "$src"` | |
280 | dstbase=`basename "$src"` | |
281 | case $dst in | |
282 | */) dst=$dst$dstbase;; | |
283 | *) dst=$dst/$dstbase;; | |
284 | esac | |
282 | 285 | dstdir_status=0 |
283 | 286 | else |
284 | 287 | dstdir=`dirname "$dst"` |
286 | 289 | dstdir_status=$? |
287 | 290 | fi |
288 | 291 | fi |
292 | ||
293 | case $dstdir in | |
294 | */) dstdirslash=$dstdir;; | |
295 | *) dstdirslash=$dstdir/;; | |
296 | esac | |
289 | 297 | |
290 | 298 | obsolete_mkdir_used=false |
291 | 299 | |
323 | 331 | # is incompatible with FreeBSD 'install' when (umask & 300) != 0. |
324 | 332 | ;; |
325 | 333 | *) |
326 | # $RANDOM is not portable (e.g. dash); use it when possible to | |
327 | # lower collision chance | |
334 | # Note that $RANDOM variable is not portable (e.g. dash); Use it | |
335 | # here however when possible just to lower collision chance. | |
328 | 336 | tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ |
337 | ||
329 | 338 | trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 |
330 | 339 | |
331 | # As "mkdir -p" follows symlinks and we work in /tmp possibly; so | |
332 | # create the $tmpdir first (and fail if unsuccessful) to make sure | |
333 | # that nobody tries to guess the $tmpdir name. | |
340 | # Because "mkdir -p" follows existing symlinks and we likely work | |
341 | # directly in world-writeable /tmp, make sure that the '$tmpdir' | |
342 | # directory is successfully created first before we actually test | |
343 | # 'mkdir -p' feature. | |
334 | 344 | if (umask $mkdir_umask && |
335 | 345 | $mkdirprog $mkdir_mode "$tmpdir" && |
336 | 346 | exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 |
433 | 443 | else |
434 | 444 | |
435 | 445 | # Make a couple of temp file names in the proper directory. |
436 | dsttmp=$dstdir/_inst.$$_ | |
437 | rmtmp=$dstdir/_rm.$$_ | |
446 | dsttmp=${dstdirslash}_inst.$$_ | |
447 | rmtmp=${dstdirslash}_rm.$$_ | |
438 | 448 | |
439 | 449 | # Trap to clean up those temp files at exit. |
440 | 450 | trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 |
499 | 509 | done |
500 | 510 | |
501 | 511 | # Local variables: |
502 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
512 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
503 | 513 | # time-stamp-start: "scriptversion=" |
504 | 514 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
505 | # time-stamp-time-zone: "UTC" | |
515 | # time-stamp-time-zone: "UTC0" | |
506 | 516 | # time-stamp-end: "; # UTC" |
507 | 517 | # End: |
30 | 30 | |
31 | 31 | PROGRAM=libtool |
32 | 32 | PACKAGE=libtool |
33 | VERSION="2.4.6 Debian-2.4.6-2" | |
33 | VERSION="2.4.6 Debian-2.4.6-2.1" | |
34 | 34 | package_revision=2.4.6 |
35 | 35 | |
36 | 36 | |
63 | 63 | # libraries, which are installed to $pkgauxdir. |
64 | 64 | |
65 | 65 | # Set a version string for this script. |
66 | scriptversion=2015-01-20.17; # UTC | |
66 | scriptversion=2015-10-12.13; # UTC | |
67 | 67 | |
68 | 68 | # General shell script boiler plate, and helper functions. |
69 | 69 | # Written by Gary V. Vaughan, 2004 |
579 | 579 | { |
580 | 580 | $debug_cmd |
581 | 581 | |
582 | func_quote_for_eval "$2" | |
583 | eval "$1+=\\ \$func_quote_for_eval_result" | |
582 | func_quote_arg pretty "$2" | |
583 | eval "$1+=\\ \$func_quote_arg_result" | |
584 | 584 | }' |
585 | 585 | else |
586 | 586 | func_append_quoted () |
587 | 587 | { |
588 | 588 | $debug_cmd |
589 | 589 | |
590 | func_quote_for_eval "$2" | |
591 | eval "$1=\$$1\\ \$func_quote_for_eval_result" | |
590 | func_quote_arg pretty "$2" | |
591 | eval "$1=\$$1\\ \$func_quote_arg_result" | |
592 | 592 | } |
593 | 593 | fi |
594 | 594 | |
1090 | 1090 | } |
1091 | 1091 | |
1092 | 1092 | |
1093 | # func_quote_for_eval ARG... | |
1094 | # -------------------------- | |
1095 | # Aesthetically quote ARGs to be evaled later. | |
1096 | # This function returns two values: | |
1097 | # i) func_quote_for_eval_result | |
1098 | # double-quoted, suitable for a subsequent eval | |
1099 | # ii) func_quote_for_eval_unquoted_result | |
1093 | # func_quote_portable EVAL ARG | |
1094 | # ---------------------------- | |
1095 | # Internal function to portably implement func_quote_arg. Note that we still | |
1096 | # keep attention to performance here so we as much as possible try to avoid | |
1097 | # calling sed binary (so far O(N) complexity as long as func_append is O(1)). | |
1098 | func_quote_portable () | |
1099 | { | |
1100 | $debug_cmd | |
1101 | ||
1102 | func_quote_portable_result=$2 | |
1103 | ||
1104 | # one-time-loop (easy break) | |
1105 | while true | |
1106 | do | |
1107 | if $1; then | |
1108 | func_quote_portable_result=`$ECHO "$2" | $SED \ | |
1109 | -e "$sed_double_quote_subst" -e "$sed_double_backslash"` | |
1110 | break | |
1111 | fi | |
1112 | ||
1113 | # Quote for eval. | |
1114 | case $func_quote_portable_result in | |
1115 | *[\\\`\"\$]*) | |
1116 | case $func_quote_portable_result in | |
1117 | *[\[\*\?]*) | |
1118 | func_quote_portable_result=`$ECHO "$func_quote_portable_result" | $SED "$sed_quote_subst"` | |
1119 | break | |
1120 | ;; | |
1121 | esac | |
1122 | ||
1123 | func_quote_portable_old_IFS=$IFS | |
1124 | for _G_char in '\' '`' '"' '$' | |
1125 | do | |
1126 | # STATE($1) PREV($2) SEPARATOR($3) | |
1127 | set start "" "" | |
1128 | func_quote_portable_result=dummy"$_G_char$func_quote_portable_result$_G_char"dummy | |
1129 | IFS=$_G_char | |
1130 | for _G_part in $func_quote_portable_result | |
1131 | do | |
1132 | case $1 in | |
1133 | quote) | |
1134 | func_append func_quote_portable_result "$3$2" | |
1135 | set quote "$_G_part" "\\$_G_char" | |
1136 | ;; | |
1137 | start) | |
1138 | set first "" "" | |
1139 | func_quote_portable_result= | |
1140 | ;; | |
1141 | first) | |
1142 | set quote "$_G_part" "" | |
1143 | ;; | |
1144 | esac | |
1145 | done | |
1146 | done | |
1147 | IFS=$func_quote_portable_old_IFS | |
1148 | ;; | |
1149 | *) ;; | |
1150 | esac | |
1151 | break | |
1152 | done | |
1153 | ||
1154 | func_quote_portable_unquoted_result=$func_quote_portable_result | |
1155 | case $func_quote_portable_result in | |
1156 | # double-quote args containing shell metacharacters to delay | |
1157 | # word splitting, command substitution and variable expansion | |
1158 | # for a subsequent eval. | |
1159 | # many bourne shells cannot handle close brackets correctly | |
1160 | # in scan sets, so we specify it separately. | |
1161 | *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") | |
1162 | func_quote_portable_result=\"$func_quote_portable_result\" | |
1163 | ;; | |
1164 | esac | |
1165 | } | |
1166 | ||
1167 | ||
1168 | # func_quotefast_eval ARG | |
1169 | # ----------------------- | |
1170 | # Quote one ARG (internal). This is equivalent to 'func_quote_arg eval ARG', | |
1171 | # but optimized for speed. Result is stored in $func_quotefast_eval. | |
1172 | if test xyes = `(x=; printf -v x %q yes; echo x"$x") 2>/dev/null`; then | |
1173 | func_quotefast_eval () | |
1174 | { | |
1175 | printf -v func_quotefast_eval_result %q "$1" | |
1176 | } | |
1177 | else | |
1178 | func_quotefast_eval () | |
1179 | { | |
1180 | func_quote_portable false "$1" | |
1181 | func_quotefast_eval_result=$func_quote_portable_result | |
1182 | } | |
1183 | fi | |
1184 | ||
1185 | ||
1186 | # func_quote_arg MODEs ARG | |
1187 | # ------------------------ | |
1188 | # Quote one ARG to be evaled later. MODEs argument may contain zero ore more | |
1189 | # specifiers listed below separated by ',' character. This function returns two | |
1190 | # values: | |
1191 | # i) func_quote_arg_result | |
1192 | # double-quoted (when needed), suitable for a subsequent eval | |
1193 | # ii) func_quote_arg_unquoted_result | |
1100 | 1194 | # has all characters that are still active within double |
1101 | # quotes backslashified. | |
1102 | func_quote_for_eval () | |
1195 | # quotes backslashified. Available only if 'unquoted' is specified. | |
1196 | # | |
1197 | # Available modes: | |
1198 | # ---------------- | |
1199 | # 'eval' (default) | |
1200 | # - escape shell special characters | |
1201 | # 'expand' | |
1202 | # - the same as 'eval'; but do not quote variable references | |
1203 | # 'pretty' | |
1204 | # - request aesthetic output, i.e. '"a b"' instead of 'a\ b'. This might | |
1205 | # later used in func_quote to get output like: 'echo "a b"' instead of | |
1206 | # 'echo a\ b'. This is slower than default on some shells. | |
1207 | # 'unquoted' | |
1208 | # - produce also $func_quote_arg_unquoted_result which does not contain | |
1209 | # wrapping double-quotes. | |
1210 | # | |
1211 | # Examples for 'func_quote_arg pretty,unquoted string': | |
1212 | # | |
1213 | # string | *_result | *_unquoted_result | |
1214 | # ------------+-----------------------+------------------- | |
1215 | # " | \" | \" | |
1216 | # a b | "a b" | a b | |
1217 | # "a b" | "\"a b\"" | \"a b\" | |
1218 | # * | "*" | * | |
1219 | # z="${x-$y}" | "z=\"\${x-\$y}\"" | z=\"\${x-\$y}\" | |
1220 | # | |
1221 | # Examples for 'func_quote_arg pretty,unquoted,expand string': | |
1222 | # | |
1223 | # string | *_result | *_unquoted_result | |
1224 | # --------------+---------------------+-------------------- | |
1225 | # z="${x-$y}" | "z=\"${x-$y}\"" | z=\"${x-$y}\" | |
1226 | func_quote_arg () | |
1227 | { | |
1228 | _G_quote_expand=false | |
1229 | case ,$1, in | |
1230 | *,expand,*) | |
1231 | _G_quote_expand=: | |
1232 | ;; | |
1233 | esac | |
1234 | ||
1235 | case ,$1, in | |
1236 | *,pretty,*|*,expand,*|*,unquoted,*) | |
1237 | func_quote_portable $_G_quote_expand "$2" | |
1238 | func_quote_arg_result=$func_quote_portable_result | |
1239 | func_quote_arg_unquoted_result=$func_quote_portable_unquoted_result | |
1240 | ;; | |
1241 | *) | |
1242 | # Faster quote-for-eval for some shells. | |
1243 | func_quotefast_eval "$2" | |
1244 | func_quote_arg_result=$func_quotefast_eval_result | |
1245 | ;; | |
1246 | esac | |
1247 | } | |
1248 | ||
1249 | ||
1250 | # func_quote MODEs ARGs... | |
1251 | # ------------------------ | |
1252 | # Quote all ARGs to be evaled later and join them into single command. See | |
1253 | # func_quote_arg's description for more info. | |
1254 | func_quote () | |
1103 | 1255 | { |
1104 | 1256 | $debug_cmd |
1105 | ||
1106 | func_quote_for_eval_unquoted_result= | |
1107 | func_quote_for_eval_result= | |
1257 | _G_func_quote_mode=$1 ; shift | |
1258 | func_quote_result= | |
1108 | 1259 | while test 0 -lt $#; do |
1109 | case $1 in | |
1110 | *[\\\`\"\$]*) | |
1111 | _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;; | |
1112 | *) | |
1113 | _G_unquoted_arg=$1 ;; | |
1114 | esac | |
1115 | if test -n "$func_quote_for_eval_unquoted_result"; then | |
1116 | func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg" | |
1260 | func_quote_arg "$_G_func_quote_mode" "$1" | |
1261 | if test -n "$func_quote_result"; then | |
1262 | func_append func_quote_result " $func_quote_arg_result" | |
1117 | 1263 | else |
1118 | func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg" | |
1119 | fi | |
1120 | ||
1121 | case $_G_unquoted_arg in | |
1122 | # Double-quote args containing shell metacharacters to delay | |
1123 | # word splitting, command substitution and variable expansion | |
1124 | # for a subsequent eval. | |
1125 | # Many Bourne shells cannot handle close brackets correctly | |
1126 | # in scan sets, so we specify it separately. | |
1127 | *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") | |
1128 | _G_quoted_arg=\"$_G_unquoted_arg\" | |
1129 | ;; | |
1130 | *) | |
1131 | _G_quoted_arg=$_G_unquoted_arg | |
1132 | ;; | |
1133 | esac | |
1134 | ||
1135 | if test -n "$func_quote_for_eval_result"; then | |
1136 | func_append func_quote_for_eval_result " $_G_quoted_arg" | |
1137 | else | |
1138 | func_append func_quote_for_eval_result "$_G_quoted_arg" | |
1264 | func_append func_quote_result "$func_quote_arg_result" | |
1139 | 1265 | fi |
1140 | 1266 | shift |
1141 | 1267 | done |
1142 | } | |
1143 | ||
1144 | ||
1145 | # func_quote_for_expand ARG | |
1146 | # ------------------------- | |
1147 | # Aesthetically quote ARG to be evaled later; same as above, | |
1148 | # but do not quote variable references. | |
1149 | func_quote_for_expand () | |
1150 | { | |
1151 | $debug_cmd | |
1152 | ||
1153 | case $1 in | |
1154 | *[\\\`\"]*) | |
1155 | _G_arg=`$ECHO "$1" | $SED \ | |
1156 | -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;; | |
1157 | *) | |
1158 | _G_arg=$1 ;; | |
1159 | esac | |
1160 | ||
1161 | case $_G_arg in | |
1162 | # Double-quote args containing shell metacharacters to delay | |
1163 | # word splitting and command substitution for a subsequent eval. | |
1164 | # Many Bourne shells cannot handle close brackets correctly | |
1165 | # in scan sets, so we specify it separately. | |
1166 | *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") | |
1167 | _G_arg=\"$_G_arg\" | |
1168 | ;; | |
1169 | esac | |
1170 | ||
1171 | func_quote_for_expand_result=$_G_arg | |
1172 | 1268 | } |
1173 | 1269 | |
1174 | 1270 | |
1214 | 1310 | _G_cmd=$1 |
1215 | 1311 | _G_fail_exp=${2-':'} |
1216 | 1312 | |
1217 | func_quote_for_expand "$_G_cmd" | |
1218 | eval "func_notquiet $func_quote_for_expand_result" | |
1313 | func_quote_arg pretty,expand "$_G_cmd" | |
1314 | eval "func_notquiet $func_quote_arg_result" | |
1219 | 1315 | |
1220 | 1316 | $opt_dry_run || { |
1221 | 1317 | eval "$_G_cmd" |
1240 | 1336 | _G_fail_exp=${2-':'} |
1241 | 1337 | |
1242 | 1338 | $opt_quiet || { |
1243 | func_quote_for_expand "$_G_cmd" | |
1244 | eval "func_echo $func_quote_for_expand_result" | |
1339 | func_quote_arg expand,pretty "$_G_cmd" | |
1340 | eval "func_echo $func_quote_arg_result" | |
1245 | 1341 | } |
1246 | 1342 | |
1247 | 1343 | $opt_dry_run || { |
1369 | 1465 | #! /bin/sh |
1370 | 1466 | |
1371 | 1467 | # Set a version string for this script. |
1372 | scriptversion=2014-01-07.03; # UTC | |
1468 | scriptversion=2015-10-12.13; # UTC | |
1373 | 1469 | |
1374 | 1470 | # A portable, pluggable option parser for Bourne shell. |
1375 | 1471 | # Written by Gary V. Vaughan, 2010 |
1529 | 1625 | { |
1530 | 1626 | $debug_cmd |
1531 | 1627 | |
1628 | _G_rc_run_hooks=false | |
1629 | ||
1532 | 1630 | case " $hookable_fns " in |
1533 | 1631 | *" $1 "*) ;; |
1534 | 1632 | *) func_fatal_error "'$1' does not support hook funcions.n" ;; |
1537 | 1635 | eval _G_hook_fns=\$$1_hooks; shift |
1538 | 1636 | |
1539 | 1637 | for _G_hook in $_G_hook_fns; do |
1540 | eval $_G_hook '"$@"' | |
1541 | ||
1542 | # store returned options list back into positional | |
1543 | # parameters for next 'cmd' execution. | |
1544 | eval _G_hook_result=\$${_G_hook}_result | |
1545 | eval set dummy "$_G_hook_result"; shift | |
1638 | if eval $_G_hook '"$@"'; then | |
1639 | # store returned options list back into positional | |
1640 | # parameters for next 'cmd' execution. | |
1641 | eval _G_hook_result=\$${_G_hook}_result | |
1642 | eval set dummy "$_G_hook_result"; shift | |
1643 | _G_rc_run_hooks=: | |
1644 | fi | |
1546 | 1645 | done |
1547 | 1646 | |
1548 | func_quote_for_eval ${1+"$@"} | |
1549 | func_run_hooks_result=$func_quote_for_eval_result | |
1647 | $_G_rc_run_hooks && func_run_hooks_result=$_G_hook_result | |
1550 | 1648 | } |
1551 | 1649 | |
1552 | 1650 | |
1556 | 1654 | ## --------------- ## |
1557 | 1655 | |
1558 | 1656 | # In order to add your own option parsing hooks, you must accept the |
1559 | # full positional parameter list in your hook function, remove any | |
1560 | # options that you action, and then pass back the remaining unprocessed | |
1657 | # full positional parameter list in your hook function, you may remove/edit | |
1658 | # any options that you action, and then pass back the remaining unprocessed | |
1561 | 1659 | # options in '<hooked_function_name>_result', escaped suitably for |
1562 | # 'eval'. Like this: | |
1660 | # 'eval'. In this case you also must return $EXIT_SUCCESS to let the | |
1661 | # hook's caller know that it should pay attention to | |
1662 | # '<hooked_function_name>_result'. Returning $EXIT_FAILURE signalizes that | |
1663 | # arguments are left untouched by the hook and therefore caller will ignore the | |
1664 | # result variable. | |
1665 | # | |
1666 | # Like this: | |
1563 | 1667 | # |
1564 | 1668 | # my_options_prep () |
1565 | 1669 | # { |
1569 | 1673 | # usage_message=$usage_message' |
1570 | 1674 | # -s, --silent don'\''t print informational messages |
1571 | 1675 | # ' |
1572 | # | |
1573 | # func_quote_for_eval ${1+"$@"} | |
1574 | # my_options_prep_result=$func_quote_for_eval_result | |
1676 | # # No change in '$@' (ignored completely by this hook). There is | |
1677 | # # no need to do the equivalent (but slower) action: | |
1678 | # # func_quote eval ${1+"$@"} | |
1679 | # # my_options_prep_result=$func_quote_result | |
1680 | # false | |
1575 | 1681 | # } |
1576 | 1682 | # func_add_hook func_options_prep my_options_prep |
1577 | 1683 | # |
1580 | 1686 | # { |
1581 | 1687 | # $debug_cmd |
1582 | 1688 | # |
1689 | # args_changed=false | |
1690 | # | |
1583 | 1691 | # # Note that for efficiency, we parse as many options as we can |
1584 | 1692 | # # recognise in a loop before passing the remainder back to the |
1585 | 1693 | # # caller on the first unrecognised argument we encounter. |
1586 | 1694 | # while test $# -gt 0; do |
1587 | 1695 | # opt=$1; shift |
1588 | 1696 | # case $opt in |
1589 | # --silent|-s) opt_silent=: ;; | |
1697 | # --silent|-s) opt_silent=: | |
1698 | # args_changed=: | |
1699 | # ;; | |
1590 | 1700 | # # Separate non-argument short options: |
1591 | 1701 | # -s*) func_split_short_opt "$_G_opt" |
1592 | 1702 | # set dummy "$func_split_short_opt_name" \ |
1593 | 1703 | # "-$func_split_short_opt_arg" ${1+"$@"} |
1594 | 1704 | # shift |
1705 | # args_changed=: | |
1595 | 1706 | # ;; |
1596 | # *) set dummy "$_G_opt" "$*"; shift; break ;; | |
1707 | # *) # Make sure the first unrecognised option "$_G_opt" | |
1708 | # # is added back to "$@", we could need that later | |
1709 | # # if $args_changed is true. | |
1710 | # set dummy "$_G_opt" ${1+"$@"}; shift; break ;; | |
1597 | 1711 | # esac |
1598 | 1712 | # done |
1599 | 1713 | # |
1600 | # func_quote_for_eval ${1+"$@"} | |
1601 | # my_silent_option_result=$func_quote_for_eval_result | |
1714 | # if $args_changed; then | |
1715 | # func_quote eval ${1+"$@"} | |
1716 | # my_silent_option_result=$func_quote_result | |
1717 | # fi | |
1718 | # | |
1719 | # $args_changed | |
1602 | 1720 | # } |
1603 | 1721 | # func_add_hook func_parse_options my_silent_option |
1604 | 1722 | # |
1610 | 1728 | # $opt_silent && $opt_verbose && func_fatal_help "\ |
1611 | 1729 | # '--silent' and '--verbose' options are mutually exclusive." |
1612 | 1730 | # |
1613 | # func_quote_for_eval ${1+"$@"} | |
1614 | # my_option_validation_result=$func_quote_for_eval_result | |
1731 | # false | |
1615 | 1732 | # } |
1616 | 1733 | # func_add_hook func_validate_options my_option_validation |
1617 | 1734 | # |
1618 | # You'll alse need to manually amend $usage_message to reflect the extra | |
1735 | # You'll also need to manually amend $usage_message to reflect the extra | |
1619 | 1736 | # options you parse. It's preferable to append if you can, so that |
1620 | 1737 | # multiple option parsing hooks can be added safely. |
1738 | ||
1739 | ||
1740 | # func_options_finish [ARG]... | |
1741 | # ---------------------------- | |
1742 | # Finishing the option parse loop (call 'func_options' hooks ATM). | |
1743 | func_options_finish () | |
1744 | { | |
1745 | $debug_cmd | |
1746 | ||
1747 | _G_func_options_finish_exit=false | |
1748 | if func_run_hooks func_options ${1+"$@"}; then | |
1749 | func_options_finish_result=$func_run_hooks_result | |
1750 | _G_func_options_finish_exit=: | |
1751 | fi | |
1752 | ||
1753 | $_G_func_options_finish_exit | |
1754 | } | |
1621 | 1755 | |
1622 | 1756 | |
1623 | 1757 | # func_options [ARG]... |
1629 | 1763 | { |
1630 | 1764 | $debug_cmd |
1631 | 1765 | |
1632 | func_options_prep ${1+"$@"} | |
1633 | eval func_parse_options \ | |
1634 | ${func_options_prep_result+"$func_options_prep_result"} | |
1635 | eval func_validate_options \ | |
1636 | ${func_parse_options_result+"$func_parse_options_result"} | |
1637 | ||
1638 | eval func_run_hooks func_options \ | |
1639 | ${func_validate_options_result+"$func_validate_options_result"} | |
1640 | ||
1641 | # save modified positional parameters for caller | |
1642 | func_options_result=$func_run_hooks_result | |
1766 | _G_rc_options=false | |
1767 | ||
1768 | for my_func in options_prep parse_options validate_options options_finish | |
1769 | do | |
1770 | if eval func_$my_func '${1+"$@"}'; then | |
1771 | eval _G_res_var='$'"func_${my_func}_result" | |
1772 | eval set dummy "$_G_res_var" ; shift | |
1773 | _G_rc_options=: | |
1774 | fi | |
1775 | done | |
1776 | ||
1777 | # Save modified positional parameters for caller. As a top-level | |
1778 | # options-parser function we always need to set the 'func_options_result' | |
1779 | # variable (regardless the $_G_rc_options value). | |
1780 | if $_G_rc_options; then | |
1781 | func_options_result=$_G_res_var | |
1782 | else | |
1783 | func_quote eval ${1+"$@"} | |
1784 | func_options_result=$func_quote_result | |
1785 | fi | |
1786 | ||
1787 | $_G_rc_options | |
1643 | 1788 | } |
1644 | 1789 | |
1645 | 1790 | |
1648 | 1793 | # All initialisations required before starting the option parse loop. |
1649 | 1794 | # Note that when calling hook functions, we pass through the list of |
1650 | 1795 | # positional parameters. If a hook function modifies that list, and |
1651 | # needs to propogate that back to rest of this script, then the complete | |
1796 | # needs to propagate that back to rest of this script, then the complete | |
1652 | 1797 | # modified list must be put in 'func_run_hooks_result' before |
1653 | # returning. | |
1798 | # returning $EXIT_SUCCESS (otherwise $EXIT_FAILURE is returned). | |
1654 | 1799 | func_hookable func_options_prep |
1655 | 1800 | func_options_prep () |
1656 | 1801 | { |
1660 | 1805 | opt_verbose=false |
1661 | 1806 | opt_warning_types= |
1662 | 1807 | |
1663 | func_run_hooks func_options_prep ${1+"$@"} | |
1664 | ||
1665 | # save modified positional parameters for caller | |
1666 | func_options_prep_result=$func_run_hooks_result | |
1808 | _G_rc_options_prep=false | |
1809 | if func_run_hooks func_options_prep ${1+"$@"}; then | |
1810 | _G_rc_options_prep=: | |
1811 | # save modified positional parameters for caller | |
1812 | func_options_prep_result=$func_run_hooks_result | |
1813 | fi | |
1814 | ||
1815 | $_G_rc_options_prep | |
1667 | 1816 | } |
1668 | 1817 | |
1669 | 1818 | |
1677 | 1826 | |
1678 | 1827 | func_parse_options_result= |
1679 | 1828 | |
1829 | _G_rc_parse_options=false | |
1680 | 1830 | # this just eases exit handling |
1681 | 1831 | while test $# -gt 0; do |
1682 | 1832 | # Defer to hook functions for initial option parsing, so they |
1683 | 1833 | # get priority in the event of reusing an option name. |
1684 | func_run_hooks func_parse_options ${1+"$@"} | |
1685 | ||
1686 | # Adjust func_parse_options positional parameters to match | |
1687 | eval set dummy "$func_run_hooks_result"; shift | |
1834 | if func_run_hooks func_parse_options ${1+"$@"}; then | |
1835 | eval set dummy "$func_run_hooks_result"; shift | |
1836 | _G_rc_parse_options=: | |
1837 | fi | |
1688 | 1838 | |
1689 | 1839 | # Break out of the loop if we already parsed every option. |
1690 | 1840 | test $# -gt 0 || break |
1691 | 1841 | |
1842 | _G_match_parse_options=: | |
1692 | 1843 | _G_opt=$1 |
1693 | 1844 | shift |
1694 | 1845 | case $_G_opt in |
1703 | 1854 | ;; |
1704 | 1855 | |
1705 | 1856 | --warnings|--warning|-W) |
1706 | test $# = 0 && func_missing_arg $_G_opt && break | |
1857 | if test $# = 0 && func_missing_arg $_G_opt; then | |
1858 | _G_rc_parse_options=: | |
1859 | break | |
1860 | fi | |
1707 | 1861 | case " $warning_categories $1" in |
1708 | 1862 | *" $1 "*) |
1709 | 1863 | # trailing space prevents matching last $1 above |
1756 | 1910 | shift |
1757 | 1911 | ;; |
1758 | 1912 | |
1759 | --) break ;; | |
1913 | --) _G_rc_parse_options=: ; break ;; | |
1760 | 1914 | -*) func_fatal_help "unrecognised option: '$_G_opt'" ;; |
1761 | *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; | |
1915 | *) set dummy "$_G_opt" ${1+"$@"}; shift | |
1916 | _G_match_parse_options=false | |
1917 | break | |
1918 | ;; | |
1762 | 1919 | esac |
1920 | ||
1921 | $_G_match_parse_options && _G_rc_parse_options=: | |
1763 | 1922 | done |
1764 | 1923 | |
1765 | # save modified positional parameters for caller | |
1766 | func_quote_for_eval ${1+"$@"} | |
1767 | func_parse_options_result=$func_quote_for_eval_result | |
1924 | ||
1925 | if $_G_rc_parse_options; then | |
1926 | # save modified positional parameters for caller | |
1927 | func_quote eval ${1+"$@"} | |
1928 | func_parse_options_result=$func_quote_result | |
1929 | fi | |
1930 | ||
1931 | $_G_rc_parse_options | |
1768 | 1932 | } |
1769 | 1933 | |
1770 | 1934 | |
1777 | 1941 | { |
1778 | 1942 | $debug_cmd |
1779 | 1943 | |
1944 | _G_rc_validate_options=false | |
1945 | ||
1780 | 1946 | # Display all warnings if -W was not given. |
1781 | 1947 | test -n "$opt_warning_types" || opt_warning_types=" $warning_categories" |
1782 | 1948 | |
1783 | func_run_hooks func_validate_options ${1+"$@"} | |
1949 | if func_run_hooks func_validate_options ${1+"$@"}; then | |
1950 | # save modified positional parameters for caller | |
1951 | func_validate_options_result=$func_run_hooks_result | |
1952 | _G_rc_validate_options=: | |
1953 | fi | |
1784 | 1954 | |
1785 | 1955 | # Bail if the options were screwed! |
1786 | 1956 | $exit_cmd $EXIT_FAILURE |
1787 | 1957 | |
1788 | # save modified positional parameters for caller | |
1789 | func_validate_options_result=$func_run_hooks_result | |
1958 | $_G_rc_validate_options | |
1790 | 1959 | } |
1791 | 1960 | |
1792 | 1961 | |
2067 | 2236 | compiler: $LTCC |
2068 | 2237 | compiler flags: $LTCFLAGS |
2069 | 2238 | linker: $LD (gnu? $with_gnu_ld) |
2070 | version: $progname $scriptversion Debian-2.4.6-2 | |
2239 | version: $progname $scriptversion Debian-2.4.6-2.1 | |
2071 | 2240 | automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` |
2072 | 2241 | autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` |
2073 | 2242 | |
2269 | 2438 | nonopt= |
2270 | 2439 | preserve_args= |
2271 | 2440 | |
2441 | _G_rc_lt_options_prep=: | |
2442 | ||
2272 | 2443 | # Shorthand for --mode=foo, only valid as the first argument |
2273 | 2444 | case $1 in |
2274 | 2445 | clean|clea|cle|cl) |
2292 | 2463 | uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) |
2293 | 2464 | shift; set dummy --mode uninstall ${1+"$@"}; shift |
2294 | 2465 | ;; |
2466 | *) | |
2467 | _G_rc_lt_options_prep=false | |
2468 | ;; | |
2295 | 2469 | esac |
2296 | 2470 | |
2297 | # Pass back the list of options. | |
2298 | func_quote_for_eval ${1+"$@"} | |
2299 | libtool_options_prep_result=$func_quote_for_eval_result | |
2471 | if $_G_rc_lt_options_prep; then | |
2472 | # Pass back the list of options. | |
2473 | func_quote eval ${1+"$@"} | |
2474 | libtool_options_prep_result=$func_quote_result | |
2475 | fi | |
2476 | ||
2477 | $_G_rc_lt_options_prep | |
2300 | 2478 | } |
2301 | 2479 | func_add_hook func_options_prep libtool_options_prep |
2302 | 2480 | |
2308 | 2486 | { |
2309 | 2487 | $debug_cmd |
2310 | 2488 | |
2489 | _G_rc_lt_parse_options=false | |
2490 | ||
2311 | 2491 | # Perform our own loop to consume as many options as possible in |
2312 | 2492 | # each iteration. |
2313 | 2493 | while test $# -gt 0; do |
2494 | _G_match_lt_parse_options=: | |
2314 | 2495 | _G_opt=$1 |
2315 | 2496 | shift |
2316 | 2497 | case $_G_opt in |
2385 | 2566 | func_append preserve_args " $_G_opt" |
2386 | 2567 | ;; |
2387 | 2568 | |
2388 | # An option not handled by this hook function: | |
2389 | *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; | |
2569 | # An option not handled by this hook function: | |
2570 | *) set dummy "$_G_opt" ${1+"$@"} ; shift | |
2571 | _G_match_lt_parse_options=false | |
2572 | break | |
2573 | ;; | |
2390 | 2574 | esac |
2575 | $_G_match_lt_parse_options && _G_rc_lt_parse_options=: | |
2391 | 2576 | done |
2392 | 2577 | |
2393 | ||
2394 | # save modified positional parameters for caller | |
2395 | func_quote_for_eval ${1+"$@"} | |
2396 | libtool_parse_options_result=$func_quote_for_eval_result | |
2578 | if $_G_rc_lt_parse_options; then | |
2579 | # save modified positional parameters for caller | |
2580 | func_quote eval ${1+"$@"} | |
2581 | libtool_parse_options_result=$func_quote_result | |
2582 | fi | |
2583 | ||
2584 | $_G_rc_lt_parse_options | |
2397 | 2585 | } |
2398 | 2586 | func_add_hook func_parse_options libtool_parse_options |
2399 | 2587 | |
2450 | 2638 | } |
2451 | 2639 | |
2452 | 2640 | # Pass back the unparsed argument list |
2453 | func_quote_for_eval ${1+"$@"} | |
2454 | libtool_validate_options_result=$func_quote_for_eval_result | |
2641 | func_quote eval ${1+"$@"} | |
2642 | libtool_validate_options_result=$func_quote_result | |
2455 | 2643 | } |
2456 | 2644 | func_add_hook func_validate_options libtool_validate_options |
2457 | 2645 | |
3417 | 3605 | esac |
3418 | 3606 | done |
3419 | 3607 | |
3420 | func_quote_for_eval "$libobj" | |
3421 | test "X$libobj" != "X$func_quote_for_eval_result" \ | |
3608 | func_quote_arg pretty "$libobj" | |
3609 | test "X$libobj" != "X$func_quote_arg_result" \ | |
3422 | 3610 | && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ |
3423 | 3611 | && func_warning "libobj name '$libobj' may not contain shell special characters." |
3424 | 3612 | func_dirname_and_basename "$obj" "/" "" |
3491 | 3679 | |
3492 | 3680 | func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 |
3493 | 3681 | srcfile=$func_to_tool_file_result |
3494 | func_quote_for_eval "$srcfile" | |
3495 | qsrcfile=$func_quote_for_eval_result | |
3682 | func_quote_arg pretty "$srcfile" | |
3683 | qsrcfile=$func_quote_arg_result | |
3496 | 3684 | |
3497 | 3685 | # Only build a PIC object if we are building libtool libraries. |
3498 | 3686 | if test yes = "$build_libtool_libs"; then |
4095 | 4283 | case $nonopt in *shtool*) :;; *) false;; esac |
4096 | 4284 | then |
4097 | 4285 | # Aesthetically quote it. |
4098 | func_quote_for_eval "$nonopt" | |
4099 | install_prog="$func_quote_for_eval_result " | |
4286 | func_quote_arg pretty "$nonopt" | |
4287 | install_prog="$func_quote_arg_result " | |
4100 | 4288 | arg=$1 |
4101 | 4289 | shift |
4102 | 4290 | else |
4106 | 4294 | |
4107 | 4295 | # The real first argument should be the name of the installation program. |
4108 | 4296 | # Aesthetically quote it. |
4109 | func_quote_for_eval "$arg" | |
4110 | func_append install_prog "$func_quote_for_eval_result" | |
4297 | func_quote_arg pretty "$arg" | |
4298 | func_append install_prog "$func_quote_arg_result" | |
4111 | 4299 | install_shared_prog=$install_prog |
4112 | 4300 | case " $install_prog " in |
4113 | 4301 | *[\\\ /]cp\ *) install_cp=: ;; |
4164 | 4352 | esac |
4165 | 4353 | |
4166 | 4354 | # Aesthetically quote the argument. |
4167 | func_quote_for_eval "$arg" | |
4168 | func_append install_prog " $func_quote_for_eval_result" | |
4355 | func_quote_arg pretty "$arg" | |
4356 | func_append install_prog " $func_quote_arg_result" | |
4169 | 4357 | if test -n "$arg2"; then |
4170 | func_quote_for_eval "$arg2" | |
4358 | func_quote_arg pretty "$arg2" | |
4171 | 4359 | fi |
4172 | func_append install_shared_prog " $func_quote_for_eval_result" | |
4360 | func_append install_shared_prog " $func_quote_arg_result" | |
4173 | 4361 | done |
4174 | 4362 | |
4175 | 4363 | test -z "$install_prog" && \ |
4180 | 4368 | |
4181 | 4369 | if test -n "$install_override_mode" && $no_mode; then |
4182 | 4370 | if $install_cp; then :; else |
4183 | func_quote_for_eval "$install_override_mode" | |
4184 | func_append install_shared_prog " -m $func_quote_for_eval_result" | |
4371 | func_quote_arg pretty "$install_override_mode" | |
4372 | func_append install_shared_prog " -m $func_quote_arg_result" | |
4185 | 4373 | fi |
4186 | 4374 | fi |
4187 | 4375 | |
4477 | 4665 | relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` |
4478 | 4666 | |
4479 | 4667 | $opt_quiet || { |
4480 | func_quote_for_expand "$relink_command" | |
4481 | eval "func_echo $func_quote_for_expand_result" | |
4668 | func_quote_arg expand,pretty "$relink_command" | |
4669 | eval "func_echo $func_quote_arg_result" | |
4482 | 4670 | } |
4483 | 4671 | if eval "$relink_command"; then : |
4484 | 4672 | else |
5257 | 5445 | if test \"\$libtool_execute_magic\" != \"$magic\"; then |
5258 | 5446 | file=\"\$0\"" |
5259 | 5447 | |
5260 | qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` | |
5448 | func_quote_arg pretty "$ECHO" | |
5449 | qECHO=$func_quote_arg_result | |
5261 | 5450 | $ECHO "\ |
5262 | 5451 | |
5263 | 5452 | # A function that is used when there is no print builtin or printf. |
5267 | 5456 | \$1 |
5268 | 5457 | _LTECHO_EOF' |
5269 | 5458 | } |
5270 | ECHO=\"$qECHO\" | |
5459 | ECHO=$qECHO | |
5271 | 5460 | fi |
5272 | 5461 | |
5273 | 5462 | # Very basic option parsing. These options are (a) specific to |
6610 | 6799 | while test "$#" -gt 0; do |
6611 | 6800 | arg=$1 |
6612 | 6801 | shift |
6613 | func_quote_for_eval "$arg" | |
6614 | qarg=$func_quote_for_eval_unquoted_result | |
6615 | func_append libtool_args " $func_quote_for_eval_result" | |
6802 | func_quote_arg pretty,unquoted "$arg" | |
6803 | qarg=$func_quote_arg_unquoted_result | |
6804 | func_append libtool_args " $func_quote_arg_result" | |
6616 | 6805 | |
6617 | 6806 | # If the previous option needs an argument, assign it. |
6618 | 6807 | if test -n "$prev"; then |
7210 | 7399 | save_ifs=$IFS; IFS=, |
7211 | 7400 | for flag in $args; do |
7212 | 7401 | IFS=$save_ifs |
7213 | func_quote_for_eval "$flag" | |
7214 | func_append arg " $func_quote_for_eval_result" | |
7215 | func_append compiler_flags " $func_quote_for_eval_result" | |
7402 | func_quote_arg pretty "$flag" | |
7403 | func_append arg " $func_quote_arg_result" | |
7404 | func_append compiler_flags " $func_quote_arg_result" | |
7216 | 7405 | done |
7217 | 7406 | IFS=$save_ifs |
7218 | 7407 | func_stripname ' ' '' "$arg" |
7226 | 7415 | save_ifs=$IFS; IFS=, |
7227 | 7416 | for flag in $args; do |
7228 | 7417 | IFS=$save_ifs |
7229 | func_quote_for_eval "$flag" | |
7230 | func_append arg " $wl$func_quote_for_eval_result" | |
7231 | func_append compiler_flags " $wl$func_quote_for_eval_result" | |
7232 | func_append linker_flags " $func_quote_for_eval_result" | |
7418 | func_quote_arg pretty "$flag" | |
7419 | func_append arg " $wl$func_quote_arg_result" | |
7420 | func_append compiler_flags " $wl$func_quote_arg_result" | |
7421 | func_append linker_flags " $func_quote_arg_result" | |
7233 | 7422 | done |
7234 | 7423 | IFS=$save_ifs |
7235 | 7424 | func_stripname ' ' '' "$arg" |
7253 | 7442 | |
7254 | 7443 | # -msg_* for osf cc |
7255 | 7444 | -msg_*) |
7256 | func_quote_for_eval "$arg" | |
7257 | arg=$func_quote_for_eval_result | |
7445 | func_quote_arg pretty "$arg" | |
7446 | arg=$func_quote_arg_result | |
7258 | 7447 | ;; |
7259 | 7448 | |
7260 | 7449 | # Flags to be passed through unchanged, with rationale: |
7278 | 7467 | -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ |
7279 | 7468 | -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ |
7280 | 7469 | -specs=*|-fsanitize=*) |
7281 | func_quote_for_eval "$arg" | |
7282 | arg=$func_quote_for_eval_result | |
7470 | func_quote_arg pretty "$arg" | |
7471 | arg=$func_quote_arg_result | |
7283 | 7472 | func_append compile_command " $arg" |
7284 | 7473 | func_append finalize_command " $arg" |
7285 | 7474 | func_append compiler_flags " $arg" |
7300 | 7489 | continue |
7301 | 7490 | else |
7302 | 7491 | # Otherwise treat like 'Some other compiler flag' below |
7303 | func_quote_for_eval "$arg" | |
7304 | arg=$func_quote_for_eval_result | |
7492 | func_quote_arg pretty "$arg" | |
7493 | arg=$func_quote_arg_result | |
7305 | 7494 | fi |
7306 | 7495 | ;; |
7307 | 7496 | |
7308 | 7497 | # Some other compiler flag. |
7309 | 7498 | -* | +*) |
7310 | func_quote_for_eval "$arg" | |
7311 | arg=$func_quote_for_eval_result | |
7499 | func_quote_arg pretty "$arg" | |
7500 | arg=$func_quote_arg_result | |
7312 | 7501 | ;; |
7313 | 7502 | |
7314 | 7503 | *.$objext) |
7428 | 7617 | *) |
7429 | 7618 | # Unknown arguments in both finalize_command and compile_command need |
7430 | 7619 | # to be aesthetically quoted because they are evaled later. |
7431 | func_quote_for_eval "$arg" | |
7432 | arg=$func_quote_for_eval_result | |
7620 | func_quote_arg pretty "$arg" | |
7621 | arg=$func_quote_arg_result | |
7433 | 7622 | ;; |
7434 | 7623 | esac # arg |
7435 | 7624 | |
9941 | 10130 | for cmd in $concat_cmds; do |
9942 | 10131 | IFS=$save_ifs |
9943 | 10132 | $opt_quiet || { |
9944 | func_quote_for_expand "$cmd" | |
9945 | eval "func_echo $func_quote_for_expand_result" | |
10133 | func_quote_arg expand,pretty "$cmd" | |
10134 | eval "func_echo $func_quote_arg_result" | |
9946 | 10135 | } |
9947 | 10136 | $opt_dry_run || eval "$cmd" || { |
9948 | 10137 | lt_exit=$? |
10035 | 10224 | eval cmd=\"$cmd\" |
10036 | 10225 | IFS=$save_ifs |
10037 | 10226 | $opt_quiet || { |
10038 | func_quote_for_expand "$cmd" | |
10039 | eval "func_echo $func_quote_for_expand_result" | |
10227 | func_quote_arg expand,pretty "$cmd" | |
10228 | eval "func_echo $func_quote_arg_result" | |
10040 | 10229 | } |
10041 | 10230 | $opt_dry_run || eval "$cmd" || { |
10042 | 10231 | lt_exit=$? |
10510 | 10699 | elif eval var_value=\$$var; test -z "$var_value"; then |
10511 | 10700 | relink_command="$var=; export $var; $relink_command" |
10512 | 10701 | else |
10513 | func_quote_for_eval "$var_value" | |
10514 | relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" | |
10702 | func_quote_arg pretty "$var_value" | |
10703 | relink_command="$var=$func_quote_arg_result; export $var; $relink_command" | |
10515 | 10704 | fi |
10516 | 10705 | done |
10517 | relink_command="(cd `pwd`; $relink_command)" | |
10518 | relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` | |
10706 | func_quote_arg pretty,unquoted "(cd `pwd`; $relink_command)" | |
10707 | relink_command=$func_quote_arg_unquoted_result | |
10519 | 10708 | fi |
10520 | 10709 | |
10521 | 10710 | # Only actually do things if not in dry run mode. |
10755 | 10944 | elif eval var_value=\$$var; test -z "$var_value"; then |
10756 | 10945 | relink_command="$var=; export $var; $relink_command" |
10757 | 10946 | else |
10758 | func_quote_for_eval "$var_value" | |
10759 | relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" | |
10947 | func_quote_arg pretty,unquoted "$var_value" | |
10948 | relink_command="$var=$func_quote_arg_unquoted_result; export $var; $relink_command" | |
10760 | 10949 | fi |
10761 | 10950 | done |
10762 | 10951 | # Quote the link command for shipping. |
10763 | 10952 | relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" |
10764 | relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` | |
10953 | func_quote_arg pretty,unquoted "$relink_command" | |
10954 | relink_command=$func_quote_arg_unquoted_result | |
10765 | 10955 | if test yes = "$hardcode_automatic"; then |
10766 | 10956 | relink_command= |
10767 | 10957 | fi |
0 | 0 | #! /bin/sh |
1 | 1 | # Common wrapper for a few potentially missing GNU programs. |
2 | 2 | |
3 | scriptversion=2013-10-28.13; # UTC | |
4 | ||
5 | # Copyright (C) 1996-2014 Free Software Foundation, Inc. | |
3 | scriptversion=2018-03-07.03; # UTC | |
4 | ||
5 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
6 | 6 | # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. |
7 | 7 | |
8 | 8 | # This program is free software; you can redistribute it and/or modify |
16 | 16 | # GNU General Public License for more details. |
17 | 17 | |
18 | 18 | # You should have received a copy of the GNU General Public License |
19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
19 | # along with this program. If not, see <https://www.gnu.org/licenses/>. | |
20 | 20 | |
21 | 21 | # As a special exception to the GNU General Public License, if you |
22 | 22 | # distribute this file as part of a program that contains a |
100 | 100 | exit $st |
101 | 101 | fi |
102 | 102 | |
103 | perl_URL=http://www.perl.org/ | |
104 | flex_URL=http://flex.sourceforge.net/ | |
105 | gnu_software_URL=http://www.gnu.org/software | |
103 | perl_URL=https://www.perl.org/ | |
104 | flex_URL=https://github.com/westes/flex | |
105 | gnu_software_URL=https://www.gnu.org/software | |
106 | 106 | |
107 | 107 | program_details () |
108 | 108 | { |
206 | 206 | exit $st |
207 | 207 | |
208 | 208 | # Local variables: |
209 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
209 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
210 | 210 | # time-stamp-start: "scriptversion=" |
211 | 211 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
212 | # time-stamp-time-zone: "UTC" | |
212 | # time-stamp-time-zone: "UTC0" | |
213 | 213 | # time-stamp-end: "; # UTC" |
214 | 214 | # End: |
0 | 0 | #! /bin/sh |
1 | 1 | # test-driver - basic testsuite driver script. |
2 | 2 | |
3 | scriptversion=2013-07-13.22; # UTC | |
3 | scriptversion=2018-03-07.03; # UTC | |
4 | 4 | |
5 | # Copyright (C) 2011-2014 Free Software Foundation, Inc. | |
5 | # Copyright (C) 2011-2018 Free Software Foundation, Inc. | |
6 | 6 | # |
7 | 7 | # This program is free software; you can redistribute it and/or modify |
8 | 8 | # it under the terms of the GNU General Public License as published by |
15 | 15 | # GNU General Public License for more details. |
16 | 16 | # |
17 | 17 | # You should have received a copy of the GNU General Public License |
18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | # along with this program. If not, see <https://www.gnu.org/licenses/>. | |
19 | 19 | |
20 | 20 | # As a special exception to the GNU General Public License, if you |
21 | 21 | # distribute this file as part of a program that contains a |
139 | 139 | # Local Variables: |
140 | 140 | # mode: shell-script |
141 | 141 | # sh-indentation: 2 |
142 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
142 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
143 | 143 | # time-stamp-start: "scriptversion=" |
144 | 144 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
145 | # time-stamp-time-zone: "UTC" | |
145 | # time-stamp-time-zone: "UTC0" | |
146 | 146 | # time-stamp-end: "; # UTC" |
147 | 147 | # End: |
0 | 0 | SET(PACKAGE protobuf-c) |
1 | 1 | SET(PACKAGE_NAME protobuf-c) |
2 | SET(PACKAGE_VERSION 1.3.0) | |
2 | SET(PACKAGE_VERSION 1.3.1) | |
3 | 3 | |
4 | 4 | |
5 | 5 | CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR) |
1 | 1 | |
2 | 2 | /* Define if building universal (internal helper macro) */ |
3 | 3 | #undef AC_APPLE_UNIVERSAL_BUILD |
4 | ||
5 | /* define if the compiler supports basic C++11 syntax */ | |
6 | #undef HAVE_CXX11 | |
4 | 7 | |
5 | 8 | /* Define to 1 if you have the <dlfcn.h> header file. */ |
6 | 9 | #undef HAVE_DLFCN_H |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for protobuf-c 1.3.0. | |
2 | # Generated by GNU Autoconf 2.69 for protobuf-c 1.3.1. | |
3 | 3 | # |
4 | 4 | # Report bugs to <https://github.com/protobuf-c/protobuf-c/issues>. |
5 | 5 | # |
589 | 589 | # Identity of this package. |
590 | 590 | PACKAGE_NAME='protobuf-c' |
591 | 591 | PACKAGE_TARNAME='protobuf-c' |
592 | PACKAGE_VERSION='1.3.0' | |
593 | PACKAGE_STRING='protobuf-c 1.3.0' | |
592 | PACKAGE_VERSION='1.3.1' | |
593 | PACKAGE_STRING='protobuf-c 1.3.1' | |
594 | 594 | PACKAGE_BUGREPORT='https://github.com/protobuf-c/protobuf-c/issues' |
595 | 595 | PACKAGE_URL='https://github.com/protobuf-c/protobuf-c' |
596 | 596 | |
655 | 655 | PROTOC |
656 | 656 | protobuf_LIBS |
657 | 657 | protobuf_CFLAGS |
658 | HAVE_CXX11 | |
658 | 659 | pkgconfigdir |
659 | 660 | PKG_CONFIG_LIBDIR |
660 | 661 | PKG_CONFIG_PATH |
709 | 710 | AMDEPBACKSLASH |
710 | 711 | AMDEP_FALSE |
711 | 712 | AMDEP_TRUE |
712 | am__quote | |
713 | 713 | am__include |
714 | 714 | DEPDIR |
715 | 715 | OBJEXT |
785 | 785 | PACKAGE_TARNAME |
786 | 786 | PACKAGE_NAME |
787 | 787 | PATH_SEPARATOR |
788 | SHELL' | |
788 | SHELL | |
789 | am__quote' | |
789 | 790 | ac_subst_files='' |
790 | 791 | ac_user_opts=' |
791 | 792 | enable_option_checking |
1376 | 1377 | # Omit some internal or obsolete options to make the list less imposing. |
1377 | 1378 | # This message is too long to be a string in the A/UX 3.1 sh. |
1378 | 1379 | cat <<_ACEOF |
1379 | \`configure' configures protobuf-c 1.3.0 to adapt to many kinds of systems. | |
1380 | \`configure' configures protobuf-c 1.3.1 to adapt to many kinds of systems. | |
1380 | 1381 | |
1381 | 1382 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1382 | 1383 | |
1447 | 1448 | |
1448 | 1449 | if test -n "$ac_init_help"; then |
1449 | 1450 | case $ac_init_help in |
1450 | short | recursive ) echo "Configuration of protobuf-c 1.3.0:";; | |
1451 | short | recursive ) echo "Configuration of protobuf-c 1.3.1:";; | |
1451 | 1452 | esac |
1452 | 1453 | cat <<\_ACEOF |
1453 | 1454 | |
1580 | 1581 | test -n "$ac_init_help" && exit $ac_status |
1581 | 1582 | if $ac_init_version; then |
1582 | 1583 | cat <<\_ACEOF |
1583 | protobuf-c configure 1.3.0 | |
1584 | protobuf-c configure 1.3.1 | |
1584 | 1585 | generated by GNU Autoconf 2.69 |
1585 | 1586 | |
1586 | 1587 | Copyright (C) 2012 Free Software Foundation, Inc. |
2203 | 2204 | This file contains any messages produced by compilers while |
2204 | 2205 | running configure, to aid debugging if configure makes a mistake. |
2205 | 2206 | |
2206 | It was created by protobuf-c $as_me 1.3.0, which was | |
2207 | It was created by protobuf-c $as_me 1.3.1, which was | |
2207 | 2208 | generated by GNU Autoconf 2.69. Invocation command line was |
2208 | 2209 | |
2209 | 2210 | $ $0 $@ |
2584 | 2585 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
2585 | 2586 | |
2586 | 2587 | |
2587 | am__api_version='1.15' | |
2588 | am__api_version='1.16' | |
2588 | 2589 | |
2589 | 2590 | # Find a good install program. We prefer a C program (faster), |
2590 | 2591 | # so one script is as good as another. But avoid the broken or |
3070 | 3071 | |
3071 | 3072 | # Define the identity of the package. |
3072 | 3073 | PACKAGE='protobuf-c' |
3073 | VERSION='1.3.0' | |
3074 | VERSION='1.3.1' | |
3074 | 3075 | |
3075 | 3076 | |
3076 | 3077 | cat >>confdefs.h <<_ACEOF |
3100 | 3101 | |
3101 | 3102 | # For better backward compatibility. To be removed once Automake 1.9.x |
3102 | 3103 | # dies out for good. For more background, see: |
3103 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
3104 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
3104 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
3105 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
3105 | 3106 | mkdir_p='$(MKDIR_P)' |
3106 | 3107 | |
3107 | 3108 | # We need awk for the "check" target (and possibly the TAP driver). The |
3152 | 3153 | Aborting the configuration process, to ensure you take notice of the issue. |
3153 | 3154 | |
3154 | 3155 | You can download and install GNU coreutils to get an 'rm' implementation |
3155 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | |
3156 | that behaves properly: <https://www.gnu.org/software/coreutils/>. | |
3156 | 3157 | |
3157 | 3158 | If you want to complete the configuration process using your problematic |
3158 | 3159 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
3167 | 3168 | |
3168 | 3169 | ac_config_commands="$ac_config_commands depfiles" |
3169 | 3170 | |
3170 | ||
3171 | am_make=${MAKE-make} | |
3172 | cat > confinc << 'END' | |
3171 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 | |
3172 | $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } | |
3173 | cat > confinc.mk << 'END' | |
3173 | 3174 | am__doit: |
3174 | @echo this is the am__doit target | |
3175 | @echo this is the am__doit target >confinc.out | |
3175 | 3176 | .PHONY: am__doit |
3176 | 3177 | END |
3177 | # If we don't find an include directive, just comment out the code. | |
3178 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 | |
3179 | $as_echo_n "checking for style of include used by $am_make... " >&6; } | |
3180 | 3178 | am__include="#" |
3181 | 3179 | am__quote= |
3182 | _am_result=none | |
3183 | # First try GNU make style include. | |
3184 | echo "include confinc" > confmf | |
3185 | # Ignore all kinds of additional output from 'make'. | |
3186 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
3187 | *the\ am__doit\ target*) | |
3188 | am__include=include | |
3189 | am__quote= | |
3190 | _am_result=GNU | |
3191 | ;; | |
3180 | # BSD make does it like this. | |
3181 | echo '.include "confinc.mk" # ignored' > confmf.BSD | |
3182 | # Other make implementations (GNU, Solaris 10, AIX) do it like this. | |
3183 | echo 'include confinc.mk # ignored' > confmf.GNU | |
3184 | _am_result=no | |
3185 | for s in GNU BSD; do | |
3186 | { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 | |
3187 | (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 | |
3188 | ac_status=$? | |
3189 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3190 | (exit $ac_status); } | |
3191 | case $?:`cat confinc.out 2>/dev/null` in #( | |
3192 | '0:this is the am__doit target') : | |
3193 | case $s in #( | |
3194 | BSD) : | |
3195 | am__include='.include' am__quote='"' ;; #( | |
3196 | *) : | |
3197 | am__include='include' am__quote='' ;; | |
3198 | esac ;; #( | |
3199 | *) : | |
3200 | ;; | |
3192 | 3201 | esac |
3193 | # Now try BSD make style include. | |
3194 | if test "$am__include" = "#"; then | |
3195 | echo '.include "confinc"' > confmf | |
3196 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
3197 | *the\ am__doit\ target*) | |
3198 | am__include=.include | |
3199 | am__quote="\"" | |
3200 | _am_result=BSD | |
3201 | ;; | |
3202 | esac | |
3203 | fi | |
3204 | ||
3205 | ||
3206 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | |
3207 | $as_echo "$_am_result" >&6; } | |
3208 | rm -f confinc confmf | |
3202 | if test "$am__include" != "#"; then | |
3203 | _am_result="yes ($s style)" | |
3204 | break | |
3205 | fi | |
3206 | done | |
3207 | rm -f confinc.* confmf.* | |
3208 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 | |
3209 | $as_echo "${_am_result}" >&6; } | |
3209 | 3210 | |
3210 | 3211 | # Check whether --enable-dependency-tracking was given. |
3211 | 3212 | if test "${enable_dependency_tracking+set}" = set; then : |
16998 | 16999 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
16999 | 17000 | |
17000 | 17001 | |
17002 | ax_cxx_compile_alternatives="11 0x" ax_cxx_compile_cxx11_required=true | |
17003 | ac_ext=cpp | |
17004 | ac_cpp='$CXXCPP $CPPFLAGS' | |
17005 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
17006 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
17007 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
17008 | ac_success=no | |
17009 | ||
17010 | ||
17011 | ||
17012 | if test x$ac_success = xno; then | |
17013 | for alternative in ${ax_cxx_compile_alternatives}; do | |
17014 | for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do | |
17015 | cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh` | |
17016 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 | |
17017 | $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; } | |
17018 | if eval \${$cachevar+:} false; then : | |
17019 | $as_echo_n "(cached) " >&6 | |
17020 | else | |
17021 | ac_save_CXX="$CXX" | |
17022 | CXX="$CXX $switch" | |
17023 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
17024 | /* end confdefs.h. */ | |
17025 | ||
17026 | ||
17027 | // If the compiler admits that it is not ready for C++11, why torture it? | |
17028 | // Hopefully, this will speed up the test. | |
17029 | ||
17030 | #ifndef __cplusplus | |
17031 | ||
17032 | #error "This is not a C++ compiler" | |
17033 | ||
17034 | #elif __cplusplus < 201103L | |
17035 | ||
17036 | #error "This is not a C++11 compiler" | |
17037 | ||
17038 | #else | |
17039 | ||
17040 | namespace cxx11 | |
17041 | { | |
17042 | ||
17043 | namespace test_static_assert | |
17044 | { | |
17045 | ||
17046 | template <typename T> | |
17047 | struct check | |
17048 | { | |
17049 | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | |
17050 | }; | |
17051 | ||
17052 | } | |
17053 | ||
17054 | namespace test_final_override | |
17055 | { | |
17056 | ||
17057 | struct Base | |
17058 | { | |
17059 | virtual void f() {} | |
17060 | }; | |
17061 | ||
17062 | struct Derived : public Base | |
17063 | { | |
17064 | virtual void f() override {} | |
17065 | }; | |
17066 | ||
17067 | } | |
17068 | ||
17069 | namespace test_double_right_angle_brackets | |
17070 | { | |
17071 | ||
17072 | template < typename T > | |
17073 | struct check {}; | |
17074 | ||
17075 | typedef check<void> single_type; | |
17076 | typedef check<check<void>> double_type; | |
17077 | typedef check<check<check<void>>> triple_type; | |
17078 | typedef check<check<check<check<void>>>> quadruple_type; | |
17079 | ||
17080 | } | |
17081 | ||
17082 | namespace test_decltype | |
17083 | { | |
17084 | ||
17085 | int | |
17086 | f() | |
17087 | { | |
17088 | int a = 1; | |
17089 | decltype(a) b = 2; | |
17090 | return a + b; | |
17091 | } | |
17092 | ||
17093 | } | |
17094 | ||
17095 | namespace test_type_deduction | |
17096 | { | |
17097 | ||
17098 | template < typename T1, typename T2 > | |
17099 | struct is_same | |
17100 | { | |
17101 | static const bool value = false; | |
17102 | }; | |
17103 | ||
17104 | template < typename T > | |
17105 | struct is_same<T, T> | |
17106 | { | |
17107 | static const bool value = true; | |
17108 | }; | |
17109 | ||
17110 | template < typename T1, typename T2 > | |
17111 | auto | |
17112 | add(T1 a1, T2 a2) -> decltype(a1 + a2) | |
17113 | { | |
17114 | return a1 + a2; | |
17115 | } | |
17116 | ||
17117 | int | |
17118 | test(const int c, volatile int v) | |
17119 | { | |
17120 | static_assert(is_same<int, decltype(0)>::value == true, ""); | |
17121 | static_assert(is_same<int, decltype(c)>::value == false, ""); | |
17122 | static_assert(is_same<int, decltype(v)>::value == false, ""); | |
17123 | auto ac = c; | |
17124 | auto av = v; | |
17125 | auto sumi = ac + av + 'x'; | |
17126 | auto sumf = ac + av + 1.0; | |
17127 | static_assert(is_same<int, decltype(ac)>::value == true, ""); | |
17128 | static_assert(is_same<int, decltype(av)>::value == true, ""); | |
17129 | static_assert(is_same<int, decltype(sumi)>::value == true, ""); | |
17130 | static_assert(is_same<int, decltype(sumf)>::value == false, ""); | |
17131 | static_assert(is_same<int, decltype(add(c, v))>::value == true, ""); | |
17132 | return (sumf > 0.0) ? sumi : add(c, v); | |
17133 | } | |
17134 | ||
17135 | } | |
17136 | ||
17137 | namespace test_noexcept | |
17138 | { | |
17139 | ||
17140 | int f() { return 0; } | |
17141 | int g() noexcept { return 0; } | |
17142 | ||
17143 | static_assert(noexcept(f()) == false, ""); | |
17144 | static_assert(noexcept(g()) == true, ""); | |
17145 | ||
17146 | } | |
17147 | ||
17148 | namespace test_constexpr | |
17149 | { | |
17150 | ||
17151 | template < typename CharT > | |
17152 | unsigned long constexpr | |
17153 | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | |
17154 | { | |
17155 | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | |
17156 | } | |
17157 | ||
17158 | template < typename CharT > | |
17159 | unsigned long constexpr | |
17160 | strlen_c(const CharT *const s) noexcept | |
17161 | { | |
17162 | return strlen_c_r(s, 0UL); | |
17163 | } | |
17164 | ||
17165 | static_assert(strlen_c("") == 0UL, ""); | |
17166 | static_assert(strlen_c("1") == 1UL, ""); | |
17167 | static_assert(strlen_c("example") == 7UL, ""); | |
17168 | static_assert(strlen_c("another\0example") == 7UL, ""); | |
17169 | ||
17170 | } | |
17171 | ||
17172 | namespace test_rvalue_references | |
17173 | { | |
17174 | ||
17175 | template < int N > | |
17176 | struct answer | |
17177 | { | |
17178 | static constexpr int value = N; | |
17179 | }; | |
17180 | ||
17181 | answer<1> f(int&) { return answer<1>(); } | |
17182 | answer<2> f(const int&) { return answer<2>(); } | |
17183 | answer<3> f(int&&) { return answer<3>(); } | |
17184 | ||
17185 | void | |
17186 | test() | |
17187 | { | |
17188 | int i = 0; | |
17189 | const int c = 0; | |
17190 | static_assert(decltype(f(i))::value == 1, ""); | |
17191 | static_assert(decltype(f(c))::value == 2, ""); | |
17192 | static_assert(decltype(f(0))::value == 3, ""); | |
17193 | } | |
17194 | ||
17195 | } | |
17196 | ||
17197 | namespace test_uniform_initialization | |
17198 | { | |
17199 | ||
17200 | struct test | |
17201 | { | |
17202 | static const int zero {}; | |
17203 | static const int one {1}; | |
17204 | }; | |
17205 | ||
17206 | static_assert(test::zero == 0, ""); | |
17207 | static_assert(test::one == 1, ""); | |
17208 | ||
17209 | } | |
17210 | ||
17211 | namespace test_lambdas | |
17212 | { | |
17213 | ||
17214 | void | |
17215 | test1() | |
17216 | { | |
17217 | auto lambda1 = [](){}; | |
17218 | auto lambda2 = lambda1; | |
17219 | lambda1(); | |
17220 | lambda2(); | |
17221 | } | |
17222 | ||
17223 | int | |
17224 | test2() | |
17225 | { | |
17226 | auto a = [](int i, int j){ return i + j; }(1, 2); | |
17227 | auto b = []() -> int { return '0'; }(); | |
17228 | auto c = [=](){ return a + b; }(); | |
17229 | auto d = [&](){ return c; }(); | |
17230 | auto e = [a, &b](int x) mutable { | |
17231 | const auto identity = [](int y){ return y; }; | |
17232 | for (auto i = 0; i < a; ++i) | |
17233 | a += b--; | |
17234 | return x + identity(a + b); | |
17235 | }(0); | |
17236 | return a + b + c + d + e; | |
17237 | } | |
17238 | ||
17239 | int | |
17240 | test3() | |
17241 | { | |
17242 | const auto nullary = [](){ return 0; }; | |
17243 | const auto unary = [](int x){ return x; }; | |
17244 | using nullary_t = decltype(nullary); | |
17245 | using unary_t = decltype(unary); | |
17246 | const auto higher1st = [](nullary_t f){ return f(); }; | |
17247 | const auto higher2nd = [unary](nullary_t f1){ | |
17248 | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | |
17249 | }; | |
17250 | return higher1st(nullary) + higher2nd(nullary)(unary); | |
17251 | } | |
17252 | ||
17253 | } | |
17254 | ||
17255 | namespace test_variadic_templates | |
17256 | { | |
17257 | ||
17258 | template <int...> | |
17259 | struct sum; | |
17260 | ||
17261 | template <int N0, int... N1toN> | |
17262 | struct sum<N0, N1toN...> | |
17263 | { | |
17264 | static constexpr auto value = N0 + sum<N1toN...>::value; | |
17265 | }; | |
17266 | ||
17267 | template <> | |
17268 | struct sum<> | |
17269 | { | |
17270 | static constexpr auto value = 0; | |
17271 | }; | |
17272 | ||
17273 | static_assert(sum<>::value == 0, ""); | |
17274 | static_assert(sum<1>::value == 1, ""); | |
17275 | static_assert(sum<23>::value == 23, ""); | |
17276 | static_assert(sum<1, 2>::value == 3, ""); | |
17277 | static_assert(sum<5, 5, 11>::value == 21, ""); | |
17278 | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | |
17279 | ||
17280 | } | |
17281 | ||
17282 | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | |
17283 | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | |
17284 | // because of this. | |
17285 | namespace test_template_alias_sfinae | |
17286 | { | |
17287 | ||
17288 | struct foo {}; | |
17289 | ||
17290 | template<typename T> | |
17291 | using member = typename T::member_type; | |
17292 | ||
17293 | template<typename T> | |
17294 | void func(...) {} | |
17295 | ||
17296 | template<typename T> | |
17297 | void func(member<T>*) {} | |
17298 | ||
17299 | void test(); | |
17300 | ||
17301 | void test() { func<foo>(0); } | |
17302 | ||
17303 | } | |
17304 | ||
17305 | } // namespace cxx11 | |
17306 | ||
17307 | #endif // __cplusplus >= 201103L | |
17308 | ||
17309 | ||
17310 | ||
17311 | _ACEOF | |
17312 | if ac_fn_cxx_try_compile "$LINENO"; then : | |
17313 | eval $cachevar=yes | |
17314 | else | |
17315 | eval $cachevar=no | |
17316 | fi | |
17317 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
17318 | CXX="$ac_save_CXX" | |
17319 | fi | |
17320 | eval ac_res=\$$cachevar | |
17321 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
17322 | $as_echo "$ac_res" >&6; } | |
17323 | if eval test x\$$cachevar = xyes; then | |
17324 | CXX="$CXX $switch" | |
17325 | if test -n "$CXXCPP" ; then | |
17326 | CXXCPP="$CXXCPP $switch" | |
17327 | fi | |
17328 | ac_success=yes | |
17329 | break | |
17330 | fi | |
17331 | done | |
17332 | if test x$ac_success = xyes; then | |
17333 | break | |
17334 | fi | |
17335 | done | |
17336 | fi | |
17337 | ac_ext=cpp | |
17338 | ac_cpp='$CXXCPP $CPPFLAGS' | |
17339 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
17340 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
17341 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
17342 | ||
17343 | if test x$ax_cxx_compile_cxx11_required = xtrue; then | |
17344 | if test x$ac_success = xno; then | |
17345 | as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5 | |
17346 | fi | |
17347 | fi | |
17348 | if test x$ac_success = xno; then | |
17349 | HAVE_CXX11=0 | |
17350 | { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5 | |
17351 | $as_echo "$as_me: No compiler with C++11 support was found" >&6;} | |
17352 | else | |
17353 | HAVE_CXX11=1 | |
17354 | ||
17355 | $as_echo "#define HAVE_CXX11 1" >>confdefs.h | |
17356 | ||
17357 | fi | |
17358 | ||
17359 | ||
17360 | ||
17001 | 17361 | |
17002 | 17362 | pkg_failed=no |
17003 | 17363 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for protobuf" >&5 |
18495 | 18855 | # report actual input values of CONFIG_FILES etc. instead of their |
18496 | 18856 | # values after options handling. |
18497 | 18857 | ac_log=" |
18498 | This file was extended by protobuf-c $as_me 1.3.0, which was | |
18858 | This file was extended by protobuf-c $as_me 1.3.1, which was | |
18499 | 18859 | generated by GNU Autoconf 2.69. Invocation command line was |
18500 | 18860 | |
18501 | 18861 | CONFIG_FILES = $CONFIG_FILES |
18562 | 18922 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
18563 | 18923 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
18564 | 18924 | ac_cs_version="\\ |
18565 | protobuf-c config.status 1.3.0 | |
18925 | protobuf-c config.status 1.3.1 | |
18566 | 18926 | configured by $0, generated by GNU Autoconf 2.69, |
18567 | 18927 | with options \\"\$ac_cs_config\\" |
18568 | 18928 | |
18681 | 19041 | # |
18682 | 19042 | # INIT-COMMANDS |
18683 | 19043 | # |
18684 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
19044 | AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" | |
18685 | 19045 | |
18686 | 19046 | |
18687 | 19047 | # The HP-UX ksh and POSIX shell print the target directory to stdout |
19677 | 20037 | # Older Autoconf quotes --file arguments for eval, but not when files |
19678 | 20038 | # are listed without --file. Let's play safe and only enable the eval |
19679 | 20039 | # if we detect the quoting. |
19680 | case $CONFIG_FILES in | |
19681 | *\'*) eval set x "$CONFIG_FILES" ;; | |
19682 | *) set x $CONFIG_FILES ;; | |
19683 | esac | |
20040 | # TODO: see whether this extra hack can be removed once we start | |
20041 | # requiring Autoconf 2.70 or later. | |
20042 | case $CONFIG_FILES in #( | |
20043 | *\'*) : | |
20044 | eval set x "$CONFIG_FILES" ;; #( | |
20045 | *) : | |
20046 | set x $CONFIG_FILES ;; #( | |
20047 | *) : | |
20048 | ;; | |
20049 | esac | |
19684 | 20050 | shift |
19685 | for mf | |
20051 | # Used to flag and report bootstrapping failures. | |
20052 | am_rc=0 | |
20053 | for am_mf | |
19686 | 20054 | do |
19687 | 20055 | # Strip MF so we end up with the name of the file. |
19688 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
19689 | # Check whether this is an Automake generated Makefile or not. | |
19690 | # We used to match only the files named 'Makefile.in', but | |
19691 | # some people rename them; so instead we look at the file content. | |
19692 | # Grep'ing the first line is not enough: some people post-process | |
19693 | # each Makefile.in and add a new line on top of each file to say so. | |
19694 | # Grep'ing the whole file is not good either: AIX grep has a line | |
20056 | am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` | |
20057 | # Check whether this is an Automake generated Makefile which includes | |
20058 | # dependency-tracking related rules and includes. | |
20059 | # Grep'ing the whole file directly is not great: AIX grep has a line | |
19695 | 20060 | # limit of 2048, but all sed's we know have understand at least 4000. |
19696 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
19697 | dirpart=`$as_dirname -- "$mf" || | |
19698 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
19699 | X"$mf" : 'X\(//\)[^/]' \| \ | |
19700 | X"$mf" : 'X\(//\)$' \| \ | |
19701 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || | |
19702 | $as_echo X"$mf" | | |
20061 | sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ | |
20062 | || continue | |
20063 | am_dirpart=`$as_dirname -- "$am_mf" || | |
20064 | $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
20065 | X"$am_mf" : 'X\(//\)[^/]' \| \ | |
20066 | X"$am_mf" : 'X\(//\)$' \| \ | |
20067 | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || | |
20068 | $as_echo X"$am_mf" | | |
19703 | 20069 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
19704 | 20070 | s//\1/ |
19705 | 20071 | q |
19717 | 20083 | q |
19718 | 20084 | } |
19719 | 20085 | s/.*/./; q'` |
19720 | else | |
19721 | continue | |
19722 | fi | |
19723 | # Extract the definition of DEPDIR, am__include, and am__quote | |
19724 | # from the Makefile without running 'make'. | |
19725 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
19726 | test -z "$DEPDIR" && continue | |
19727 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
19728 | test -z "$am__include" && continue | |
19729 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
19730 | # Find all dependency output files, they are included files with | |
19731 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
19732 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
19733 | # expansion. | |
19734 | for file in `sed -n " | |
19735 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
19736 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
19737 | # Make sure the directory exists. | |
19738 | test -f "$dirpart/$file" && continue | |
19739 | fdir=`$as_dirname -- "$file" || | |
19740 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
19741 | X"$file" : 'X\(//\)[^/]' \| \ | |
19742 | X"$file" : 'X\(//\)$' \| \ | |
19743 | X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
19744 | $as_echo X"$file" | | |
19745 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
20086 | am_filepart=`$as_basename -- "$am_mf" || | |
20087 | $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ | |
20088 | X"$am_mf" : 'X\(//\)$' \| \ | |
20089 | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || | |
20090 | $as_echo X/"$am_mf" | | |
20091 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
19746 | 20092 | s//\1/ |
19747 | 20093 | q |
19748 | 20094 | } |
19749 | /^X\(\/\/\)[^/].*/{ | |
20095 | /^X\/\(\/\/\)$/{ | |
19750 | 20096 | s//\1/ |
19751 | 20097 | q |
19752 | 20098 | } |
19753 | /^X\(\/\/\)$/{ | |
19754 | s//\1/ | |
19755 | q | |
19756 | } | |
19757 | /^X\(\/\).*/{ | |
20099 | /^X\/\(\/\).*/{ | |
19758 | 20100 | s//\1/ |
19759 | 20101 | q |
19760 | 20102 | } |
19761 | 20103 | s/.*/./; q'` |
19762 | as_dir=$dirpart/$fdir; as_fn_mkdir_p | |
19763 | # echo "creating $dirpart/$file" | |
19764 | echo '# dummy' > "$dirpart/$file" | |
19765 | done | |
20104 | { echo "$as_me:$LINENO: cd "$am_dirpart" \ | |
20105 | && sed -e '/# am--include-marker/d' "$am_filepart" \ | |
20106 | | $MAKE -f - am--depfiles" >&5 | |
20107 | (cd "$am_dirpart" \ | |
20108 | && sed -e '/# am--include-marker/d' "$am_filepart" \ | |
20109 | | $MAKE -f - am--depfiles) >&5 2>&5 | |
20110 | ac_status=$? | |
20111 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20112 | (exit $ac_status); } || am_rc=$? | |
19766 | 20113 | done |
20114 | if test $am_rc -ne 0; then | |
20115 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
20116 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
20117 | as_fn_error $? "Something went wrong bootstrapping makefile fragments | |
20118 | for automatic dependency tracking. Try re-running configure with the | |
20119 | '--disable-dependency-tracking' option to at least be able to build | |
20120 | the package (albeit without support for automatic dependency tracking). | |
20121 | See \`config.log' for more details" "$LINENO" 5; } | |
20122 | fi | |
20123 | { am_dirpart=; unset am_dirpart;} | |
20124 | { am_filepart=; unset am_filepart;} | |
20125 | { am_mf=; unset am_mf;} | |
20126 | { am_rc=; unset am_rc;} | |
20127 | rm -f conftest-deps.mk | |
19767 | 20128 | } |
19768 | 20129 | ;; |
19769 | 20130 | "libtool":C) |
0 | 0 | AC_PREREQ(2.63) |
1 | 1 | |
2 | 2 | AC_INIT([protobuf-c], |
3 | [1.3.0], | |
3 | [1.3.1], | |
4 | 4 | [https://github.com/protobuf-c/protobuf-c/issues], |
5 | 5 | [protobuf-c], |
6 | 6 | [https://github.com/protobuf-c/protobuf-c]) |
75 | 75 | if test "x$enable_protoc" != "xno"; then |
76 | 76 | AC_LANG_PUSH([C++]) |
77 | 77 | |
78 | AX_CXX_COMPILE_STDCXX(11, noext, mandatory) | |
79 | ||
78 | 80 | PKG_CHECK_MODULES([protobuf], [protobuf >= 3.0.0], |
79 | 81 | [proto3_supported=yes], |
80 | 82 | [PKG_CHECK_MODULES([protobuf], [protobuf >= 2.6.0])] |
0 | # =========================================================================== | |
1 | # https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html | |
2 | # =========================================================================== | |
3 | # | |
4 | # SYNOPSIS | |
5 | # | |
6 | # AX_CXX_COMPILE_STDCXX(VERSION, [ext|noext], [mandatory|optional]) | |
7 | # | |
8 | # DESCRIPTION | |
9 | # | |
10 | # Check for baseline language coverage in the compiler for the specified | |
11 | # version of the C++ standard. If necessary, add switches to CXX and | |
12 | # CXXCPP to enable support. VERSION may be '11' (for the C++11 standard) | |
13 | # or '14' (for the C++14 standard). | |
14 | # | |
15 | # The second argument, if specified, indicates whether you insist on an | |
16 | # extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g. | |
17 | # -std=c++11). If neither is specified, you get whatever works, with | |
18 | # preference for an extended mode. | |
19 | # | |
20 | # The third argument, if specified 'mandatory' or if left unspecified, | |
21 | # indicates that baseline support for the specified C++ standard is | |
22 | # required and that the macro should error out if no mode with that | |
23 | # support is found. If specified 'optional', then configuration proceeds | |
24 | # regardless, after defining HAVE_CXX${VERSION} if and only if a | |
25 | # supporting mode is found. | |
26 | # | |
27 | # LICENSE | |
28 | # | |
29 | # Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com> | |
30 | # Copyright (c) 2012 Zack Weinberg <zackw@panix.com> | |
31 | # Copyright (c) 2013 Roy Stogner <roystgnr@ices.utexas.edu> | |
32 | # Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com> | |
33 | # Copyright (c) 2015 Paul Norman <penorman@mac.com> | |
34 | # Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu> | |
35 | # Copyright (c) 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com> | |
36 | # | |
37 | # Copying and distribution of this file, with or without modification, are | |
38 | # permitted in any medium without royalty provided the copyright notice | |
39 | # and this notice are preserved. This file is offered as-is, without any | |
40 | # warranty. | |
41 | ||
42 | #serial 10 | |
43 | ||
44 | dnl This macro is based on the code from the AX_CXX_COMPILE_STDCXX_11 macro | |
45 | dnl (serial version number 13). | |
46 | ||
47 | AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl | |
48 | m4_if([$1], [11], [ax_cxx_compile_alternatives="11 0x"], | |
49 | [$1], [14], [ax_cxx_compile_alternatives="14 1y"], | |
50 | [$1], [17], [ax_cxx_compile_alternatives="17 1z"], | |
51 | [m4_fatal([invalid first argument `$1' to AX_CXX_COMPILE_STDCXX])])dnl | |
52 | m4_if([$2], [], [], | |
53 | [$2], [ext], [], | |
54 | [$2], [noext], [], | |
55 | [m4_fatal([invalid second argument `$2' to AX_CXX_COMPILE_STDCXX])])dnl | |
56 | m4_if([$3], [], [ax_cxx_compile_cxx$1_required=true], | |
57 | [$3], [mandatory], [ax_cxx_compile_cxx$1_required=true], | |
58 | [$3], [optional], [ax_cxx_compile_cxx$1_required=false], | |
59 | [m4_fatal([invalid third argument `$3' to AX_CXX_COMPILE_STDCXX])]) | |
60 | AC_LANG_PUSH([C++])dnl | |
61 | ac_success=no | |
62 | ||
63 | m4_if([$2], [noext], [], [dnl | |
64 | if test x$ac_success = xno; then | |
65 | for alternative in ${ax_cxx_compile_alternatives}; do | |
66 | switch="-std=gnu++${alternative}" | |
67 | cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch]) | |
68 | AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch, | |
69 | $cachevar, | |
70 | [ac_save_CXX="$CXX" | |
71 | CXX="$CXX $switch" | |
72 | AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])], | |
73 | [eval $cachevar=yes], | |
74 | [eval $cachevar=no]) | |
75 | CXX="$ac_save_CXX"]) | |
76 | if eval test x\$$cachevar = xyes; then | |
77 | CXX="$CXX $switch" | |
78 | if test -n "$CXXCPP" ; then | |
79 | CXXCPP="$CXXCPP $switch" | |
80 | fi | |
81 | ac_success=yes | |
82 | break | |
83 | fi | |
84 | done | |
85 | fi]) | |
86 | ||
87 | m4_if([$2], [ext], [], [dnl | |
88 | if test x$ac_success = xno; then | |
89 | dnl HP's aCC needs +std=c++11 according to: | |
90 | dnl http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/PDF_Release_Notes/769149-001.pdf | |
91 | dnl Cray's crayCC needs "-h std=c++11" | |
92 | for alternative in ${ax_cxx_compile_alternatives}; do | |
93 | for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do | |
94 | cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch]) | |
95 | AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch, | |
96 | $cachevar, | |
97 | [ac_save_CXX="$CXX" | |
98 | CXX="$CXX $switch" | |
99 | AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])], | |
100 | [eval $cachevar=yes], | |
101 | [eval $cachevar=no]) | |
102 | CXX="$ac_save_CXX"]) | |
103 | if eval test x\$$cachevar = xyes; then | |
104 | CXX="$CXX $switch" | |
105 | if test -n "$CXXCPP" ; then | |
106 | CXXCPP="$CXXCPP $switch" | |
107 | fi | |
108 | ac_success=yes | |
109 | break | |
110 | fi | |
111 | done | |
112 | if test x$ac_success = xyes; then | |
113 | break | |
114 | fi | |
115 | done | |
116 | fi]) | |
117 | AC_LANG_POP([C++]) | |
118 | if test x$ax_cxx_compile_cxx$1_required = xtrue; then | |
119 | if test x$ac_success = xno; then | |
120 | AC_MSG_ERROR([*** A compiler with support for C++$1 language features is required.]) | |
121 | fi | |
122 | fi | |
123 | if test x$ac_success = xno; then | |
124 | HAVE_CXX$1=0 | |
125 | AC_MSG_NOTICE([No compiler with C++$1 support was found]) | |
126 | else | |
127 | HAVE_CXX$1=1 | |
128 | AC_DEFINE(HAVE_CXX$1,1, | |
129 | [define if the compiler supports basic C++$1 syntax]) | |
130 | fi | |
131 | AC_SUBST(HAVE_CXX$1) | |
132 | ]) | |
133 | ||
134 | ||
135 | dnl Test body for checking C++11 support | |
136 | ||
137 | m4_define([_AX_CXX_COMPILE_STDCXX_testbody_11], | |
138 | _AX_CXX_COMPILE_STDCXX_testbody_new_in_11 | |
139 | ) | |
140 | ||
141 | ||
142 | dnl Test body for checking C++14 support | |
143 | ||
144 | m4_define([_AX_CXX_COMPILE_STDCXX_testbody_14], | |
145 | _AX_CXX_COMPILE_STDCXX_testbody_new_in_11 | |
146 | _AX_CXX_COMPILE_STDCXX_testbody_new_in_14 | |
147 | ) | |
148 | ||
149 | m4_define([_AX_CXX_COMPILE_STDCXX_testbody_17], | |
150 | _AX_CXX_COMPILE_STDCXX_testbody_new_in_11 | |
151 | _AX_CXX_COMPILE_STDCXX_testbody_new_in_14 | |
152 | _AX_CXX_COMPILE_STDCXX_testbody_new_in_17 | |
153 | ) | |
154 | ||
155 | dnl Tests for new features in C++11 | |
156 | ||
157 | m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_11], [[ | |
158 | ||
159 | // If the compiler admits that it is not ready for C++11, why torture it? | |
160 | // Hopefully, this will speed up the test. | |
161 | ||
162 | #ifndef __cplusplus | |
163 | ||
164 | #error "This is not a C++ compiler" | |
165 | ||
166 | #elif __cplusplus < 201103L | |
167 | ||
168 | #error "This is not a C++11 compiler" | |
169 | ||
170 | #else | |
171 | ||
172 | namespace cxx11 | |
173 | { | |
174 | ||
175 | namespace test_static_assert | |
176 | { | |
177 | ||
178 | template <typename T> | |
179 | struct check | |
180 | { | |
181 | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | |
182 | }; | |
183 | ||
184 | } | |
185 | ||
186 | namespace test_final_override | |
187 | { | |
188 | ||
189 | struct Base | |
190 | { | |
191 | virtual void f() {} | |
192 | }; | |
193 | ||
194 | struct Derived : public Base | |
195 | { | |
196 | virtual void f() override {} | |
197 | }; | |
198 | ||
199 | } | |
200 | ||
201 | namespace test_double_right_angle_brackets | |
202 | { | |
203 | ||
204 | template < typename T > | |
205 | struct check {}; | |
206 | ||
207 | typedef check<void> single_type; | |
208 | typedef check<check<void>> double_type; | |
209 | typedef check<check<check<void>>> triple_type; | |
210 | typedef check<check<check<check<void>>>> quadruple_type; | |
211 | ||
212 | } | |
213 | ||
214 | namespace test_decltype | |
215 | { | |
216 | ||
217 | int | |
218 | f() | |
219 | { | |
220 | int a = 1; | |
221 | decltype(a) b = 2; | |
222 | return a + b; | |
223 | } | |
224 | ||
225 | } | |
226 | ||
227 | namespace test_type_deduction | |
228 | { | |
229 | ||
230 | template < typename T1, typename T2 > | |
231 | struct is_same | |
232 | { | |
233 | static const bool value = false; | |
234 | }; | |
235 | ||
236 | template < typename T > | |
237 | struct is_same<T, T> | |
238 | { | |
239 | static const bool value = true; | |
240 | }; | |
241 | ||
242 | template < typename T1, typename T2 > | |
243 | auto | |
244 | add(T1 a1, T2 a2) -> decltype(a1 + a2) | |
245 | { | |
246 | return a1 + a2; | |
247 | } | |
248 | ||
249 | int | |
250 | test(const int c, volatile int v) | |
251 | { | |
252 | static_assert(is_same<int, decltype(0)>::value == true, ""); | |
253 | static_assert(is_same<int, decltype(c)>::value == false, ""); | |
254 | static_assert(is_same<int, decltype(v)>::value == false, ""); | |
255 | auto ac = c; | |
256 | auto av = v; | |
257 | auto sumi = ac + av + 'x'; | |
258 | auto sumf = ac + av + 1.0; | |
259 | static_assert(is_same<int, decltype(ac)>::value == true, ""); | |
260 | static_assert(is_same<int, decltype(av)>::value == true, ""); | |
261 | static_assert(is_same<int, decltype(sumi)>::value == true, ""); | |
262 | static_assert(is_same<int, decltype(sumf)>::value == false, ""); | |
263 | static_assert(is_same<int, decltype(add(c, v))>::value == true, ""); | |
264 | return (sumf > 0.0) ? sumi : add(c, v); | |
265 | } | |
266 | ||
267 | } | |
268 | ||
269 | namespace test_noexcept | |
270 | { | |
271 | ||
272 | int f() { return 0; } | |
273 | int g() noexcept { return 0; } | |
274 | ||
275 | static_assert(noexcept(f()) == false, ""); | |
276 | static_assert(noexcept(g()) == true, ""); | |
277 | ||
278 | } | |
279 | ||
280 | namespace test_constexpr | |
281 | { | |
282 | ||
283 | template < typename CharT > | |
284 | unsigned long constexpr | |
285 | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | |
286 | { | |
287 | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | |
288 | } | |
289 | ||
290 | template < typename CharT > | |
291 | unsigned long constexpr | |
292 | strlen_c(const CharT *const s) noexcept | |
293 | { | |
294 | return strlen_c_r(s, 0UL); | |
295 | } | |
296 | ||
297 | static_assert(strlen_c("") == 0UL, ""); | |
298 | static_assert(strlen_c("1") == 1UL, ""); | |
299 | static_assert(strlen_c("example") == 7UL, ""); | |
300 | static_assert(strlen_c("another\0example") == 7UL, ""); | |
301 | ||
302 | } | |
303 | ||
304 | namespace test_rvalue_references | |
305 | { | |
306 | ||
307 | template < int N > | |
308 | struct answer | |
309 | { | |
310 | static constexpr int value = N; | |
311 | }; | |
312 | ||
313 | answer<1> f(int&) { return answer<1>(); } | |
314 | answer<2> f(const int&) { return answer<2>(); } | |
315 | answer<3> f(int&&) { return answer<3>(); } | |
316 | ||
317 | void | |
318 | test() | |
319 | { | |
320 | int i = 0; | |
321 | const int c = 0; | |
322 | static_assert(decltype(f(i))::value == 1, ""); | |
323 | static_assert(decltype(f(c))::value == 2, ""); | |
324 | static_assert(decltype(f(0))::value == 3, ""); | |
325 | } | |
326 | ||
327 | } | |
328 | ||
329 | namespace test_uniform_initialization | |
330 | { | |
331 | ||
332 | struct test | |
333 | { | |
334 | static const int zero {}; | |
335 | static const int one {1}; | |
336 | }; | |
337 | ||
338 | static_assert(test::zero == 0, ""); | |
339 | static_assert(test::one == 1, ""); | |
340 | ||
341 | } | |
342 | ||
343 | namespace test_lambdas | |
344 | { | |
345 | ||
346 | void | |
347 | test1() | |
348 | { | |
349 | auto lambda1 = [](){}; | |
350 | auto lambda2 = lambda1; | |
351 | lambda1(); | |
352 | lambda2(); | |
353 | } | |
354 | ||
355 | int | |
356 | test2() | |
357 | { | |
358 | auto a = [](int i, int j){ return i + j; }(1, 2); | |
359 | auto b = []() -> int { return '0'; }(); | |
360 | auto c = [=](){ return a + b; }(); | |
361 | auto d = [&](){ return c; }(); | |
362 | auto e = [a, &b](int x) mutable { | |
363 | const auto identity = [](int y){ return y; }; | |
364 | for (auto i = 0; i < a; ++i) | |
365 | a += b--; | |
366 | return x + identity(a + b); | |
367 | }(0); | |
368 | return a + b + c + d + e; | |
369 | } | |
370 | ||
371 | int | |
372 | test3() | |
373 | { | |
374 | const auto nullary = [](){ return 0; }; | |
375 | const auto unary = [](int x){ return x; }; | |
376 | using nullary_t = decltype(nullary); | |
377 | using unary_t = decltype(unary); | |
378 | const auto higher1st = [](nullary_t f){ return f(); }; | |
379 | const auto higher2nd = [unary](nullary_t f1){ | |
380 | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | |
381 | }; | |
382 | return higher1st(nullary) + higher2nd(nullary)(unary); | |
383 | } | |
384 | ||
385 | } | |
386 | ||
387 | namespace test_variadic_templates | |
388 | { | |
389 | ||
390 | template <int...> | |
391 | struct sum; | |
392 | ||
393 | template <int N0, int... N1toN> | |
394 | struct sum<N0, N1toN...> | |
395 | { | |
396 | static constexpr auto value = N0 + sum<N1toN...>::value; | |
397 | }; | |
398 | ||
399 | template <> | |
400 | struct sum<> | |
401 | { | |
402 | static constexpr auto value = 0; | |
403 | }; | |
404 | ||
405 | static_assert(sum<>::value == 0, ""); | |
406 | static_assert(sum<1>::value == 1, ""); | |
407 | static_assert(sum<23>::value == 23, ""); | |
408 | static_assert(sum<1, 2>::value == 3, ""); | |
409 | static_assert(sum<5, 5, 11>::value == 21, ""); | |
410 | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | |
411 | ||
412 | } | |
413 | ||
414 | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | |
415 | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | |
416 | // because of this. | |
417 | namespace test_template_alias_sfinae | |
418 | { | |
419 | ||
420 | struct foo {}; | |
421 | ||
422 | template<typename T> | |
423 | using member = typename T::member_type; | |
424 | ||
425 | template<typename T> | |
426 | void func(...) {} | |
427 | ||
428 | template<typename T> | |
429 | void func(member<T>*) {} | |
430 | ||
431 | void test(); | |
432 | ||
433 | void test() { func<foo>(0); } | |
434 | ||
435 | } | |
436 | ||
437 | } // namespace cxx11 | |
438 | ||
439 | #endif // __cplusplus >= 201103L | |
440 | ||
441 | ]]) | |
442 | ||
443 | ||
444 | dnl Tests for new features in C++14 | |
445 | ||
446 | m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_14], [[ | |
447 | ||
448 | // If the compiler admits that it is not ready for C++14, why torture it? | |
449 | // Hopefully, this will speed up the test. | |
450 | ||
451 | #ifndef __cplusplus | |
452 | ||
453 | #error "This is not a C++ compiler" | |
454 | ||
455 | #elif __cplusplus < 201402L | |
456 | ||
457 | #error "This is not a C++14 compiler" | |
458 | ||
459 | #else | |
460 | ||
461 | namespace cxx14 | |
462 | { | |
463 | ||
464 | namespace test_polymorphic_lambdas | |
465 | { | |
466 | ||
467 | int | |
468 | test() | |
469 | { | |
470 | const auto lambda = [](auto&&... args){ | |
471 | const auto istiny = [](auto x){ | |
472 | return (sizeof(x) == 1UL) ? 1 : 0; | |
473 | }; | |
474 | const int aretiny[] = { istiny(args)... }; | |
475 | return aretiny[0]; | |
476 | }; | |
477 | return lambda(1, 1L, 1.0f, '1'); | |
478 | } | |
479 | ||
480 | } | |
481 | ||
482 | namespace test_binary_literals | |
483 | { | |
484 | ||
485 | constexpr auto ivii = 0b0000000000101010; | |
486 | static_assert(ivii == 42, "wrong value"); | |
487 | ||
488 | } | |
489 | ||
490 | namespace test_generalized_constexpr | |
491 | { | |
492 | ||
493 | template < typename CharT > | |
494 | constexpr unsigned long | |
495 | strlen_c(const CharT *const s) noexcept | |
496 | { | |
497 | auto length = 0UL; | |
498 | for (auto p = s; *p; ++p) | |
499 | ++length; | |
500 | return length; | |
501 | } | |
502 | ||
503 | static_assert(strlen_c("") == 0UL, ""); | |
504 | static_assert(strlen_c("x") == 1UL, ""); | |
505 | static_assert(strlen_c("test") == 4UL, ""); | |
506 | static_assert(strlen_c("another\0test") == 7UL, ""); | |
507 | ||
508 | } | |
509 | ||
510 | namespace test_lambda_init_capture | |
511 | { | |
512 | ||
513 | int | |
514 | test() | |
515 | { | |
516 | auto x = 0; | |
517 | const auto lambda1 = [a = x](int b){ return a + b; }; | |
518 | const auto lambda2 = [a = lambda1(x)](){ return a; }; | |
519 | return lambda2(); | |
520 | } | |
521 | ||
522 | } | |
523 | ||
524 | namespace test_digit_separators | |
525 | { | |
526 | ||
527 | constexpr auto ten_million = 100'000'000; | |
528 | static_assert(ten_million == 100000000, ""); | |
529 | ||
530 | } | |
531 | ||
532 | namespace test_return_type_deduction | |
533 | { | |
534 | ||
535 | auto f(int& x) { return x; } | |
536 | decltype(auto) g(int& x) { return x; } | |
537 | ||
538 | template < typename T1, typename T2 > | |
539 | struct is_same | |
540 | { | |
541 | static constexpr auto value = false; | |
542 | }; | |
543 | ||
544 | template < typename T > | |
545 | struct is_same<T, T> | |
546 | { | |
547 | static constexpr auto value = true; | |
548 | }; | |
549 | ||
550 | int | |
551 | test() | |
552 | { | |
553 | auto x = 0; | |
554 | static_assert(is_same<int, decltype(f(x))>::value, ""); | |
555 | static_assert(is_same<int&, decltype(g(x))>::value, ""); | |
556 | return x; | |
557 | } | |
558 | ||
559 | } | |
560 | ||
561 | } // namespace cxx14 | |
562 | ||
563 | #endif // __cplusplus >= 201402L | |
564 | ||
565 | ]]) | |
566 | ||
567 | ||
568 | dnl Tests for new features in C++17 | |
569 | ||
570 | m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_17], [[ | |
571 | ||
572 | // If the compiler admits that it is not ready for C++17, why torture it? | |
573 | // Hopefully, this will speed up the test. | |
574 | ||
575 | #ifndef __cplusplus | |
576 | ||
577 | #error "This is not a C++ compiler" | |
578 | ||
579 | #elif __cplusplus < 201703L | |
580 | ||
581 | #error "This is not a C++17 compiler" | |
582 | ||
583 | #else | |
584 | ||
585 | #include <initializer_list> | |
586 | #include <utility> | |
587 | #include <type_traits> | |
588 | ||
589 | namespace cxx17 | |
590 | { | |
591 | ||
592 | namespace test_constexpr_lambdas | |
593 | { | |
594 | ||
595 | constexpr int foo = [](){return 42;}(); | |
596 | ||
597 | } | |
598 | ||
599 | namespace test::nested_namespace::definitions | |
600 | { | |
601 | ||
602 | } | |
603 | ||
604 | namespace test_fold_expression | |
605 | { | |
606 | ||
607 | template<typename... Args> | |
608 | int multiply(Args... args) | |
609 | { | |
610 | return (args * ... * 1); | |
611 | } | |
612 | ||
613 | template<typename... Args> | |
614 | bool all(Args... args) | |
615 | { | |
616 | return (args && ...); | |
617 | } | |
618 | ||
619 | } | |
620 | ||
621 | namespace test_extended_static_assert | |
622 | { | |
623 | ||
624 | static_assert (true); | |
625 | ||
626 | } | |
627 | ||
628 | namespace test_auto_brace_init_list | |
629 | { | |
630 | ||
631 | auto foo = {5}; | |
632 | auto bar {5}; | |
633 | ||
634 | static_assert(std::is_same<std::initializer_list<int>, decltype(foo)>::value); | |
635 | static_assert(std::is_same<int, decltype(bar)>::value); | |
636 | } | |
637 | ||
638 | namespace test_typename_in_template_template_parameter | |
639 | { | |
640 | ||
641 | template<template<typename> typename X> struct D; | |
642 | ||
643 | } | |
644 | ||
645 | namespace test_fallthrough_nodiscard_maybe_unused_attributes | |
646 | { | |
647 | ||
648 | int f1() | |
649 | { | |
650 | return 42; | |
651 | } | |
652 | ||
653 | [[nodiscard]] int f2() | |
654 | { | |
655 | [[maybe_unused]] auto unused = f1(); | |
656 | ||
657 | switch (f1()) | |
658 | { | |
659 | case 17: | |
660 | f1(); | |
661 | [[fallthrough]]; | |
662 | case 42: | |
663 | f1(); | |
664 | } | |
665 | return f1(); | |
666 | } | |
667 | ||
668 | } | |
669 | ||
670 | namespace test_extended_aggregate_initialization | |
671 | { | |
672 | ||
673 | struct base1 | |
674 | { | |
675 | int b1, b2 = 42; | |
676 | }; | |
677 | ||
678 | struct base2 | |
679 | { | |
680 | base2() { | |
681 | b3 = 42; | |
682 | } | |
683 | int b3; | |
684 | }; | |
685 | ||
686 | struct derived : base1, base2 | |
687 | { | |
688 | int d; | |
689 | }; | |
690 | ||
691 | derived d1 {{1, 2}, {}, 4}; // full initialization | |
692 | derived d2 {{}, {}, 4}; // value-initialized bases | |
693 | ||
694 | } | |
695 | ||
696 | namespace test_general_range_based_for_loop | |
697 | { | |
698 | ||
699 | struct iter | |
700 | { | |
701 | int i; | |
702 | ||
703 | int& operator* () | |
704 | { | |
705 | return i; | |
706 | } | |
707 | ||
708 | const int& operator* () const | |
709 | { | |
710 | return i; | |
711 | } | |
712 | ||
713 | iter& operator++() | |
714 | { | |
715 | ++i; | |
716 | return *this; | |
717 | } | |
718 | }; | |
719 | ||
720 | struct sentinel | |
721 | { | |
722 | int i; | |
723 | }; | |
724 | ||
725 | bool operator== (const iter& i, const sentinel& s) | |
726 | { | |
727 | return i.i == s.i; | |
728 | } | |
729 | ||
730 | bool operator!= (const iter& i, const sentinel& s) | |
731 | { | |
732 | return !(i == s); | |
733 | } | |
734 | ||
735 | struct range | |
736 | { | |
737 | iter begin() const | |
738 | { | |
739 | return {0}; | |
740 | } | |
741 | ||
742 | sentinel end() const | |
743 | { | |
744 | return {5}; | |
745 | } | |
746 | }; | |
747 | ||
748 | void f() | |
749 | { | |
750 | range r {}; | |
751 | ||
752 | for (auto i : r) | |
753 | { | |
754 | [[maybe_unused]] auto v = i; | |
755 | } | |
756 | } | |
757 | ||
758 | } | |
759 | ||
760 | namespace test_lambda_capture_asterisk_this_by_value | |
761 | { | |
762 | ||
763 | struct t | |
764 | { | |
765 | int i; | |
766 | int foo() | |
767 | { | |
768 | return [*this]() | |
769 | { | |
770 | return i; | |
771 | }(); | |
772 | } | |
773 | }; | |
774 | ||
775 | } | |
776 | ||
777 | namespace test_enum_class_construction | |
778 | { | |
779 | ||
780 | enum class byte : unsigned char | |
781 | {}; | |
782 | ||
783 | byte foo {42}; | |
784 | ||
785 | } | |
786 | ||
787 | namespace test_constexpr_if | |
788 | { | |
789 | ||
790 | template <bool cond> | |
791 | int f () | |
792 | { | |
793 | if constexpr(cond) | |
794 | { | |
795 | return 13; | |
796 | } | |
797 | else | |
798 | { | |
799 | return 42; | |
800 | } | |
801 | } | |
802 | ||
803 | } | |
804 | ||
805 | namespace test_selection_statement_with_initializer | |
806 | { | |
807 | ||
808 | int f() | |
809 | { | |
810 | return 13; | |
811 | } | |
812 | ||
813 | int f2() | |
814 | { | |
815 | if (auto i = f(); i > 0) | |
816 | { | |
817 | return 3; | |
818 | } | |
819 | ||
820 | switch (auto i = f(); i + 4) | |
821 | { | |
822 | case 17: | |
823 | return 2; | |
824 | ||
825 | default: | |
826 | return 1; | |
827 | } | |
828 | } | |
829 | ||
830 | } | |
831 | ||
832 | namespace test_template_argument_deduction_for_class_templates | |
833 | { | |
834 | ||
835 | template <typename T1, typename T2> | |
836 | struct pair | |
837 | { | |
838 | pair (T1 p1, T2 p2) | |
839 | : m1 {p1}, | |
840 | m2 {p2} | |
841 | {} | |
842 | ||
843 | T1 m1; | |
844 | T2 m2; | |
845 | }; | |
846 | ||
847 | void f() | |
848 | { | |
849 | [[maybe_unused]] auto p = pair{13, 42u}; | |
850 | } | |
851 | ||
852 | } | |
853 | ||
854 | namespace test_non_type_auto_template_parameters | |
855 | { | |
856 | ||
857 | template <auto n> | |
858 | struct B | |
859 | {}; | |
860 | ||
861 | B<5> b1; | |
862 | B<'a'> b2; | |
863 | ||
864 | } | |
865 | ||
866 | namespace test_structured_bindings | |
867 | { | |
868 | ||
869 | int arr[2] = { 1, 2 }; | |
870 | std::pair<int, int> pr = { 1, 2 }; | |
871 | ||
872 | auto f1() -> int(&)[2] | |
873 | { | |
874 | return arr; | |
875 | } | |
876 | ||
877 | auto f2() -> std::pair<int, int>& | |
878 | { | |
879 | return pr; | |
880 | } | |
881 | ||
882 | struct S | |
883 | { | |
884 | int x1 : 2; | |
885 | volatile double y1; | |
886 | }; | |
887 | ||
888 | S f3() | |
889 | { | |
890 | return {}; | |
891 | } | |
892 | ||
893 | auto [ x1, y1 ] = f1(); | |
894 | auto& [ xr1, yr1 ] = f1(); | |
895 | auto [ x2, y2 ] = f2(); | |
896 | auto& [ xr2, yr2 ] = f2(); | |
897 | const auto [ x3, y3 ] = f3(); | |
898 | ||
899 | } | |
900 | ||
901 | namespace test_exception_spec_type_system | |
902 | { | |
903 | ||
904 | struct Good {}; | |
905 | struct Bad {}; | |
906 | ||
907 | void g1() noexcept; | |
908 | void g2(); | |
909 | ||
910 | template<typename T> | |
911 | Bad | |
912 | f(T*, T*); | |
913 | ||
914 | template<typename T1, typename T2> | |
915 | Good | |
916 | f(T1*, T2*); | |
917 | ||
918 | static_assert (std::is_same_v<Good, decltype(f(g1, g2))>); | |
919 | ||
920 | } | |
921 | ||
922 | namespace test_inline_variables | |
923 | { | |
924 | ||
925 | template<class T> void f(T) | |
926 | {} | |
927 | ||
928 | template<class T> inline T g(T) | |
929 | { | |
930 | return T{}; | |
931 | } | |
932 | ||
933 | template<> inline void f<>(int) | |
934 | {} | |
935 | ||
936 | template<> int g<>(int) | |
937 | { | |
938 | return 5; | |
939 | } | |
940 | ||
941 | } | |
942 | ||
943 | } // namespace cxx17 | |
944 | ||
945 | #endif // __cplusplus < 201703L | |
946 | ||
947 | ]]) |
2238 | 2238 | latter_msg->descriptor |
2239 | 2239 | ->field_ranges, |
2240 | 2240 | *earlier_case_p); |
2241 | if (field_index < 0) | |
2242 | return FALSE; | |
2241 | 2243 | field = latter_msg->descriptor->fields + |
2242 | 2244 | field_index; |
2243 | 2245 | } else { |
2631 | 2633 | int_range_lookup(message->descriptor->n_field_ranges, |
2632 | 2634 | message->descriptor->field_ranges, |
2633 | 2635 | *oneof_case); |
2636 | if (field_index < 0) | |
2637 | return FALSE; | |
2634 | 2638 | const ProtobufCFieldDescriptor *old_field = |
2635 | 2639 | message->descriptor->fields + field_index; |
2636 | 2640 | size_t el_size = sizeof_elt_in_repeated_array(old_field->type); |
0 | 0 | /* |
1 | * Copyright (c) 2008-2017, Dave Benson and the protobuf-c authors. | |
1 | * Copyright (c) 2008-2018, Dave Benson and the protobuf-c authors. | |
2 | 2 | * All rights reserved. |
3 | 3 | * |
4 | 4 | * Redistribution and use in source and binary forms, with or without |
789 | 789 | * The version of the protobuf-c headers, represented as a string using the same |
790 | 790 | * format as protobuf_c_version(). |
791 | 791 | */ |
792 | #define PROTOBUF_C_VERSION "1.3.0" | |
792 | #define PROTOBUF_C_VERSION "1.3.1" | |
793 | 793 | |
794 | 794 | /** |
795 | 795 | * The version of the protobuf-c headers, represented as an integer using the |
796 | 796 | * same format as protobuf_c_version_number(). |
797 | 797 | */ |
798 | #define PROTOBUF_C_VERSION_NUMBER 1003000 | |
798 | #define PROTOBUF_C_VERSION_NUMBER 1003001 | |
799 | 799 | |
800 | 800 | /** |
801 | 801 | * The minimum protoc-c version which works with the current version of the |
188 | 188 | FieldGeneratorMap::FieldGeneratorMap(const Descriptor* descriptor) |
189 | 189 | : descriptor_(descriptor), |
190 | 190 | field_generators_( |
191 | new scoped_ptr<FieldGenerator>[descriptor->field_count()]) { | |
191 | new std::unique_ptr<FieldGenerator>[descriptor->field_count()]) { | |
192 | 192 | // Construct all the FieldGenerators. |
193 | 193 | for (int i = 0; i < descriptor->field_count(); i++) { |
194 | 194 | field_generators_[i].reset(MakeGenerator(descriptor->field(i))); |
62 | 62 | #ifndef GOOGLE_PROTOBUF_COMPILER_C_FIELD_H__ |
63 | 63 | #define GOOGLE_PROTOBUF_COMPILER_C_FIELD_H__ |
64 | 64 | |
65 | #include <memory> | |
65 | 66 | #include <google/protobuf/stubs/common.h> |
66 | 67 | #include <google/protobuf/descriptor.h> |
67 | 68 | |
116 | 117 | |
117 | 118 | private: |
118 | 119 | const Descriptor* descriptor_; |
119 | scoped_array<scoped_ptr<FieldGenerator> > field_generators_; | |
120 | std::unique_ptr<std::unique_ptr<FieldGenerator>[]> field_generators_; | |
120 | 121 | |
121 | 122 | static FieldGenerator* MakeGenerator(const FieldDescriptor* field); |
122 | 123 |
82 | 82 | const string& dllexport_decl) |
83 | 83 | : file_(file), |
84 | 84 | message_generators_( |
85 | new scoped_ptr<MessageGenerator>[file->message_type_count()]), | |
85 | new std::unique_ptr<MessageGenerator>[file->message_type_count()]), | |
86 | 86 | enum_generators_( |
87 | new scoped_ptr<EnumGenerator>[file->enum_type_count()]), | |
87 | new std::unique_ptr<EnumGenerator>[file->enum_type_count()]), | |
88 | 88 | service_generators_( |
89 | new scoped_ptr<ServiceGenerator>[file->service_count()]), | |
89 | new std::unique_ptr<ServiceGenerator>[file->service_count()]), | |
90 | 90 | extension_generators_( |
91 | new scoped_ptr<ExtensionGenerator>[file->extension_count()]) { | |
91 | new std::unique_ptr<ExtensionGenerator>[file->extension_count()]) { | |
92 | 92 | |
93 | 93 | for (int i = 0; i < file->message_type_count(); i++) { |
94 | 94 | message_generators_[i].reset( |
119 | 119 | string filename_identifier = FilenameIdentifier(file_->name()); |
120 | 120 | |
121 | 121 | int min_header_version = 1000000; |
122 | #if defined(HAVE_PROTO3) | |
122 | 123 | if (file_->syntax() == FileDescriptor::SYNTAX_PROTO3) { |
123 | 124 | min_header_version = 1003000; |
124 | 125 | } |
126 | #endif | |
125 | 127 | |
126 | 128 | // Generate top of header. |
127 | 129 | printer->Print( |
62 | 62 | #ifndef GOOGLE_PROTOBUF_COMPILER_C_FILE_H__ |
63 | 63 | #define GOOGLE_PROTOBUF_COMPILER_C_FILE_H__ |
64 | 64 | |
65 | #include <memory> | |
65 | 66 | #include <string> |
66 | 67 | #include <vector> |
67 | 68 | #include <google/protobuf/stubs/common.h> |
97 | 98 | private: |
98 | 99 | const FileDescriptor* file_; |
99 | 100 | |
100 | scoped_array<scoped_ptr<MessageGenerator> > message_generators_; | |
101 | scoped_array<scoped_ptr<EnumGenerator> > enum_generators_; | |
102 | scoped_array<scoped_ptr<ServiceGenerator> > service_generators_; | |
103 | scoped_array<scoped_ptr<ExtensionGenerator> > extension_generators_; | |
101 | std::unique_ptr<std::unique_ptr<MessageGenerator>[]> message_generators_; | |
102 | std::unique_ptr<std::unique_ptr<EnumGenerator>[]> enum_generators_; | |
103 | std::unique_ptr<std::unique_ptr<ServiceGenerator>[]> service_generators_; | |
104 | std::unique_ptr<std::unique_ptr<ExtensionGenerator>[]> extension_generators_; | |
104 | 105 | |
105 | 106 | // E.g. if the package is foo.bar, package_parts_ is {"foo", "bar"}. |
106 | vector<string> package_parts_; | |
107 | std::vector<string> package_parts_; | |
107 | 108 | |
108 | 109 | GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FileGenerator); |
109 | 110 | }; |
61 | 61 | |
62 | 62 | #include <protoc-c/c_generator.h> |
63 | 63 | |
64 | #include <memory> | |
64 | 65 | #include <vector> |
65 | 66 | #include <utility> |
66 | 67 | |
79 | 80 | // "foo=bar,baz,qux=corge" |
80 | 81 | // parses to the pairs: |
81 | 82 | // ("foo", "bar"), ("baz", ""), ("qux", "corge") |
82 | void ParseOptions(const string& text, vector<pair<string, string> >* output) { | |
83 | vector<string> parts; | |
83 | void ParseOptions(const string& text, std::vector<std::pair<string, string> >* output) { | |
84 | std::vector<string> parts; | |
84 | 85 | SplitStringUsing(text, ",", &parts); |
85 | 86 | |
86 | 87 | for (unsigned i = 0; i < parts.size(); i++) { |
87 | 88 | string::size_type equals_pos = parts[i].find_first_of('='); |
88 | pair<string, string> value; | |
89 | std::pair<string, string> value; | |
89 | 90 | if (equals_pos == string::npos) { |
90 | 91 | value.first = parts[i]; |
91 | 92 | value.second = ""; |
104 | 105 | const string& parameter, |
105 | 106 | OutputDirectory* output_directory, |
106 | 107 | string* error) const { |
107 | vector<pair<string, string> > options; | |
108 | std::vector<std::pair<string, string> > options; | |
108 | 109 | ParseOptions(parameter, &options); |
109 | 110 | |
110 | 111 | // ----------------------------------------------------------------- |
148 | 149 | |
149 | 150 | // Generate header. |
150 | 151 | { |
151 | scoped_ptr<io::ZeroCopyOutputStream> output( | |
152 | std::unique_ptr<io::ZeroCopyOutputStream> output( | |
152 | 153 | output_directory->Open(basename + ".h")); |
153 | 154 | io::Printer printer(output.get(), '$'); |
154 | 155 | file_generator.GenerateHeader(&printer); |
156 | 157 | |
157 | 158 | // Generate cc file. |
158 | 159 | { |
159 | scoped_ptr<io::ZeroCopyOutputStream> output( | |
160 | std::unique_ptr<io::ZeroCopyOutputStream> output( | |
160 | 161 | output_directory->Open(basename + ".c")); |
161 | 162 | io::Printer printer(output.get(), '$'); |
162 | 163 | file_generator.GenerateSource(&printer); |
59 | 59 | |
60 | 60 | // Modified to implement C code by Dave Benson. |
61 | 61 | |
62 | #include <memory> | |
62 | 63 | #include <vector> |
63 | 64 | #include <set> |
64 | 65 | #include <stdio.h> // for snprintf |
176 | 177 | } |
177 | 178 | |
178 | 179 | string FullNameToLower(const string &full_name) { |
179 | vector<string> pieces; | |
180 | std::vector<string> pieces; | |
180 | 181 | SplitStringUsing(full_name, ".", &pieces); |
181 | 182 | string rv = ""; |
182 | 183 | for (unsigned i = 0; i < pieces.size(); i++) { |
187 | 188 | return rv; |
188 | 189 | } |
189 | 190 | string FullNameToUpper(const string &full_name) { |
190 | vector<string> pieces; | |
191 | std::vector<string> pieces; | |
191 | 192 | SplitStringUsing(full_name, ".", &pieces); |
192 | 193 | string rv = ""; |
193 | 194 | for (unsigned i = 0; i < pieces.size(); i++) { |
198 | 199 | return rv; |
199 | 200 | } |
200 | 201 | string FullNameToC(const string &full_name) { |
201 | vector<string> pieces; | |
202 | std::vector<string> pieces; | |
202 | 203 | SplitStringUsing(full_name, ".", &pieces); |
203 | 204 | string rv = ""; |
204 | 205 | for (unsigned i = 0; i < pieces.size(); i++) { |
213 | 214 | { |
214 | 215 | if (!comment.empty()) |
215 | 216 | { |
216 | vector<string> comment_lines; | |
217 | std::vector<string> comment_lines; | |
217 | 218 | SplitStringUsing (comment, "\r\n", &comment_lines); |
218 | 219 | printer->Print ("/*\n"); |
219 | 220 | for (int i = 0; i < comment_lines.size(); i++) |
502 | 503 | |
503 | 504 | void SplitStringUsing(const string& full, |
504 | 505 | const char* delim, |
505 | vector<string>* result) { | |
506 | std::back_insert_iterator< vector<string> > it(*result); | |
506 | std::vector<string>* result) { | |
507 | std::back_insert_iterator< std::vector<string> > it(*result); | |
507 | 508 | SplitStringToIteratorUsing(full, delim, it); |
508 | 509 | } |
509 | 510 | |
558 | 559 | } |
559 | 560 | string CEscape(const string& src) { |
560 | 561 | const int dest_length = src.size() * 4 + 1; // Maximum possible expansion |
561 | scoped_array<char> dest(new char[dest_length]); | |
562 | std::unique_ptr<char[]> dest(new char[dest_length]); | |
562 | 563 | const int len = CEscapeInternal(src.data(), src.size(), |
563 | 564 | dest.get(), dest_length, false); |
564 | 565 | GOOGLE_DCHECK_GE(len, 0); |
61 | 61 | |
62 | 62 | #include <algorithm> |
63 | 63 | #include <map> |
64 | #include <memory> | |
64 | 65 | #include <protoc-c/c_message.h> |
65 | 66 | #include <protoc-c/c_enum.h> |
66 | 67 | #include <protoc-c/c_extension.h> |
82 | 83 | : descriptor_(descriptor), |
83 | 84 | dllexport_decl_(dllexport_decl), |
84 | 85 | field_generators_(descriptor), |
85 | nested_generators_(new scoped_ptr<MessageGenerator>[ | |
86 | nested_generators_(new std::unique_ptr<MessageGenerator>[ | |
86 | 87 | descriptor->nested_type_count()]), |
87 | enum_generators_(new scoped_ptr<EnumGenerator>[ | |
88 | enum_generators_(new std::unique_ptr<EnumGenerator>[ | |
88 | 89 | descriptor->enum_type_count()]), |
89 | extension_generators_(new scoped_ptr<ExtensionGenerator>[ | |
90 | extension_generators_(new std::unique_ptr<ExtensionGenerator>[ | |
90 | 91 | descriptor->extension_count()]) { |
91 | 92 | |
92 | 93 | for (int i = 0; i < descriptor->nested_type_count(); i++) { |
62 | 62 | #ifndef GOOGLE_PROTOBUF_COMPILER_C_MESSAGE_H__ |
63 | 63 | #define GOOGLE_PROTOBUF_COMPILER_C_MESSAGE_H__ |
64 | 64 | |
65 | #include <memory> | |
65 | 66 | #include <string> |
66 | 67 | #include <google/protobuf/stubs/common.h> |
67 | 68 | #include <protoc-c/c_field.h> |
125 | 126 | const Descriptor* descriptor_; |
126 | 127 | string dllexport_decl_; |
127 | 128 | FieldGeneratorMap field_generators_; |
128 | scoped_array<scoped_ptr<MessageGenerator> > nested_generators_; | |
129 | scoped_array<scoped_ptr<EnumGenerator> > enum_generators_; | |
130 | scoped_array<scoped_ptr<ExtensionGenerator> > extension_generators_; | |
129 | std::unique_ptr<std::unique_ptr<MessageGenerator>[]> nested_generators_; | |
130 | std::unique_ptr<std::unique_ptr<EnumGenerator>[]> enum_generators_; | |
131 | std::unique_ptr<std::unique_ptr<ExtensionGenerator>[]> extension_generators_; | |
131 | 132 | |
132 | 133 | GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MessageGenerator); |
133 | 134 | }; |