1 # Makefile.in generated by automake 1.15.1 from Makefile.am.
4 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 #***************************************************************************
19 # Project ___| | | | _ \| |
21 # | (__| |_| | _ <| |___
22 # \___|\___/|_| \_\_____|
24 # Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
26 # This software is licensed as described in the file COPYING, which
27 # you should have received as part of this distribution. The terms
28 # are also available at https://curl.haxx.se/docs/copyright.html.
30 # You may opt to use, copy, modify, merge, publish, distribute and/or sell
31 # copies of the Software, and permit persons to whom the Software is
32 # furnished to do so, under the terms of the COPYING file.
34 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
35 # KIND, either express or implied.
37 ###########################################################################
39 #***************************************************************************
41 # Project ___| | | | _ \| |
43 # | (__| |_| | _ <| |___
44 # \___|\___/|_| \_\_____|
46 # Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
48 # This software is licensed as described in the file COPYING, which
49 # you should have received as part of this distribution. The terms
50 # are also available at https://curl.haxx.se/docs/copyright.html.
52 # You may opt to use, copy, modify, merge, publish, distribute and/or sell
53 # copies of the Software, and permit persons to whom the Software is
54 # furnished to do so, under the terms of the COPYING file.
56 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
57 # KIND, either express or implied.
59 ###########################################################################
62 # Using the backslash as line continuation character might be problematic
63 # with some make flavours, as Watcom's wmake showed us already. If we
64 # ever want to change this in a portable manner then we should consider
65 # this idea (posted to the libcurl list by Adam Kellas):
66 # CSRC1 = file1.c file2.c file3.c
67 # CSRC2 = file4.c file5.c file6.c
68 # CSOURCES = $(CSRC1) $(CSRC2)
73 if test -z '$(MAKELEVEL)'; then \
75 elif test -n '$(MAKE_HOST)'; then \
77 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
83 am__make_running_with_option = \
84 case $${target_option-} in \
86 *) echo "am__make_running_with_option: internal error: invalid" \
87 "target option '$${target_option-}' specified" >&2; \
91 sane_makeflags=$$MAKEFLAGS; \
92 if $(am__is_gnu_make); then \
93 sane_makeflags=$$MFLAGS; \
98 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
99 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
105 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
107 for flg in $$sane_makeflags; do \
108 test $$skip_next = yes && { skip_next=no; continue; }; \
110 *=*|--*) continue;; \
111 -*I) strip_trailopt 'I'; skip_next=yes;; \
112 -*I?*) strip_trailopt 'I';; \
113 -*O) strip_trailopt 'O'; skip_next=yes;; \
114 -*O?*) strip_trailopt 'O';; \
115 -*l) strip_trailopt 'l'; skip_next=yes;; \
116 -*l?*) strip_trailopt 'l';; \
117 -[dEDm]) skip_next=yes;; \
118 -[JT]) skip_next=yes;; \
121 *$$target_option*) has_opt=yes; break;; \
125 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
126 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
127 pkgdatadir = $(datadir)/@PACKAGE@
128 pkgincludedir = $(includedir)/@PACKAGE@
129 pkglibdir = $(libdir)/@PACKAGE@
130 pkglibexecdir = $(libexecdir)/@PACKAGE@
131 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
132 install_sh_DATA = $(install_sh) -c -m 644
133 install_sh_PROGRAM = $(install_sh) -c
134 install_sh_SCRIPT = $(install_sh) -c
135 INSTALL_HEADER = $(INSTALL_DATA)
136 transform = $(program_transform_name)
143 build_triplet = @build@
144 host_triplet = @host@
146 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
147 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_code_coverage.m4 \
148 $(top_srcdir)/m4/curl-compilers.m4 \
149 $(top_srcdir)/m4/curl-confopts.m4 \
150 $(top_srcdir)/m4/curl-functions.m4 \
151 $(top_srcdir)/m4/curl-openssl.m4 \
152 $(top_srcdir)/m4/curl-override.m4 \
153 $(top_srcdir)/m4/curl-reentrant.m4 $(top_srcdir)/m4/libtool.m4 \
154 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
155 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
156 $(top_srcdir)/m4/xc-am-iface.m4 \
157 $(top_srcdir)/m4/xc-cc-check.m4 \
158 $(top_srcdir)/m4/xc-lt-iface.m4 \
159 $(top_srcdir)/m4/xc-translit.m4 \
160 $(top_srcdir)/m4/xc-val-flgs.m4 \
161 $(top_srcdir)/m4/zz40-xc-ovr.m4 \
162 $(top_srcdir)/m4/zz50-xc-ovr.m4 \
163 $(top_srcdir)/m4/zz60-xc-ovr.m4 $(top_srcdir)/acinclude.m4 \
164 $(top_srcdir)/configure.ac
165 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
167 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
168 $(am__configure_deps) $(am__DIST_COMMON)
169 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
170 configure.lineno config.status.lineno
171 mkinstalldirs = $(install_sh) -d
172 CONFIG_HEADER = $(top_builddir)/lib/curl_config.h
173 CONFIG_CLEAN_FILES = curl-config libcurl.pc
174 CONFIG_CLEAN_VPATH_FILES =
175 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
176 am__vpath_adj = case $$p in \
177 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
180 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
182 am__nobase_strip_setup = \
183 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
185 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
186 am__nobase_list = $(am__nobase_strip_setup); \
187 for p in $$list; do echo "$$p $$p"; done | \
188 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
189 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
190 if (++n[$$2] == $(am__install_max)) \
191 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
192 END { for (dir in files) print dir, files[dir] }'
194 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
195 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
196 am__uninstall_files_from_dir = { \
198 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
199 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
200 $(am__cd) "$$dir" && rm -f $$files; }; \
202 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"
203 SCRIPTS = $(bin_SCRIPTS)
204 AM_V_P = $(am__v_P_@AM_V@)
205 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
208 AM_V_GEN = $(am__v_GEN_@AM_V@)
209 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
210 am__v_GEN_0 = @echo " GEN " $@;
212 AM_V_at = $(am__v_at_@AM_V@)
213 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
218 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
219 ctags-recursive dvi-recursive html-recursive info-recursive \
220 install-data-recursive install-dvi-recursive \
221 install-exec-recursive install-html-recursive \
222 install-info-recursive install-pdf-recursive \
223 install-ps-recursive install-recursive installcheck-recursive \
224 installdirs-recursive pdf-recursive ps-recursive \
225 tags-recursive uninstall-recursive
226 am__can_run_installinfo = \
227 case $$AM_UPDATE_INFO_DIR in \
229 *) (install-info --version) >/dev/null 2>&1;; \
231 DATA = $(pkgconfig_DATA)
232 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
233 distclean-recursive maintainer-clean-recursive
234 am__recursive_targets = \
235 $(RECURSIVE_TARGETS) \
236 $(RECURSIVE_CLEAN_TARGETS) \
237 $(am__extra_recursive_targets)
238 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
239 cscope distdir dist dist-all distcheck
240 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
241 # Read a list of newline-separated strings from the standard input,
242 # and print each of them once, without duplicates. Input order is
244 am__uniquify_input = $(AWK) '\
245 BEGIN { nonempty = 0; } \
246 { items[$$0] = 1; nonempty = 1; } \
247 END { if (nonempty) { for (i in items) print i; }; } \
249 # Make sure the list of sources is unique. This is necessary because,
250 # e.g., the same source file might be shared among _SOURCES variables
251 # for different programs/libraries.
252 am__define_uniq_tagged_files = \
253 list='$(am__tagged_files)'; \
254 unique=`for i in $$list; do \
255 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
256 done | $(am__uniquify_input)`
260 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/curl-config.in \
261 $(srcdir)/lib/Makefile.inc $(srcdir)/libcurl.pc.in \
262 $(srcdir)/src/Makefile.inc COPYING README compile config.guess \
263 config.sub depcomp install-sh ltmain.sh missing
264 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
265 distdir = $(PACKAGE)-$(VERSION)
266 top_distdir = $(distdir)
267 am__remove_distdir = \
268 if test -d "$(distdir)"; then \
269 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
270 && rm -rf "$(distdir)" \
271 || { sleep 5 && rm -rf "$(distdir)"; }; \
273 am__post_remove_distdir = $(am__remove_distdir)
276 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
277 sed_rest='s,^[^/]*/*,,'; \
278 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
279 sed_butlast='s,/*[^/]*$$,,'; \
280 while test -n "$$dir1"; do \
281 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
282 if test "$$first" != "."; then \
283 if test "$$first" = ".."; then \
284 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
285 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
287 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
288 if test "$$first2" = "$$first"; then \
289 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
293 dir0="$$dir0"/"$$first"; \
296 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
299 DIST_ARCHIVES = $(distdir).tar.gz
301 DIST_TARGETS = dist-gzip
302 distuninstallcheck_listfiles = find . -type f -print
303 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
304 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
305 distcleancheck_listfiles = find . -type f -print
308 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
311 AUTOCONF = @AUTOCONF@
312 AUTOHEADER = @AUTOHEADER@
313 AUTOMAKE = @AUTOMAKE@
315 BLANK_AT_MAKETIME = @BLANK_AT_MAKETIME@
317 CCDEPMODE = @CCDEPMODE@
319 CFLAG_CURL_SYMBOL_HIDING = @CFLAG_CURL_SYMBOL_HIDING@
320 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
321 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
322 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
323 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
324 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
325 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
326 CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@
328 CPPFLAGS = @CPPFLAGS@
329 CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@
330 CURLVERSION = @CURLVERSION@
331 CURL_CA_BUNDLE = @CURL_CA_BUNDLE@
332 CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@
333 CURL_DISABLE_DICT = @CURL_DISABLE_DICT@
334 CURL_DISABLE_FILE = @CURL_DISABLE_FILE@
335 CURL_DISABLE_FTP = @CURL_DISABLE_FTP@
336 CURL_DISABLE_GOPHER = @CURL_DISABLE_GOPHER@
337 CURL_DISABLE_HTTP = @CURL_DISABLE_HTTP@
338 CURL_DISABLE_IMAP = @CURL_DISABLE_IMAP@
339 CURL_DISABLE_LDAP = @CURL_DISABLE_LDAP@
340 CURL_DISABLE_LDAPS = @CURL_DISABLE_LDAPS@
341 CURL_DISABLE_POP3 = @CURL_DISABLE_POP3@
342 CURL_DISABLE_PROXY = @CURL_DISABLE_PROXY@
343 CURL_DISABLE_RTSP = @CURL_DISABLE_RTSP@
344 CURL_DISABLE_SMB = @CURL_DISABLE_SMB@
345 CURL_DISABLE_SMTP = @CURL_DISABLE_SMTP@
346 CURL_DISABLE_TELNET = @CURL_DISABLE_TELNET@
347 CURL_DISABLE_TFTP = @CURL_DISABLE_TFTP@
348 CURL_LT_SHLIB_VERSIONED_FLAVOUR = @CURL_LT_SHLIB_VERSIONED_FLAVOUR@
349 CURL_NETWORK_AND_TIME_LIBS = @CURL_NETWORK_AND_TIME_LIBS@
350 CURL_NETWORK_LIBS = @CURL_NETWORK_LIBS@
351 CURL_WITH_MULTI_SSL = @CURL_WITH_MULTI_SSL@
352 CYGPATH_W = @CYGPATH_W@
353 DEFAULT_SSL_BACKEND = @DEFAULT_SSL_BACKEND@
357 DSYMUTIL = @DSYMUTIL@
363 ENABLE_SHARED = @ENABLE_SHARED@
364 ENABLE_STATIC = @ENABLE_STATIC@
370 HAVE_BROTLI = @HAVE_BROTLI@
371 HAVE_GNUTLS_SRP = @HAVE_GNUTLS_SRP@
372 HAVE_LDAP_SSL = @HAVE_LDAP_SSL@
373 HAVE_LIBZ = @HAVE_LIBZ@
374 HAVE_OPENSSL_SRP = @HAVE_OPENSSL_SRP@
375 IDN_ENABLED = @IDN_ENABLED@
377 INSTALL_DATA = @INSTALL_DATA@
378 INSTALL_PROGRAM = @INSTALL_PROGRAM@
379 INSTALL_SCRIPT = @INSTALL_SCRIPT@
380 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
381 IPV6_ENABLED = @IPV6_ENABLED@
385 LIBCURL_LIBS = @LIBCURL_LIBS@
386 LIBMETALINK_CPPFLAGS = @LIBMETALINK_CPPFLAGS@
387 LIBMETALINK_LDFLAGS = @LIBMETALINK_LDFLAGS@
388 LIBMETALINK_LIBS = @LIBMETALINK_LIBS@
394 LTLIBOBJS = @LTLIBOBJS@
395 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
397 MAKEINFO = @MAKEINFO@
398 MANIFEST_TOOL = @MANIFEST_TOOL@
404 NSS_LIBS = @NSS_LIBS@
410 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
411 PACKAGE_NAME = @PACKAGE_NAME@
412 PACKAGE_STRING = @PACKAGE_STRING@
413 PACKAGE_TARNAME = @PACKAGE_TARNAME@
414 PACKAGE_URL = @PACKAGE_URL@
415 PACKAGE_VERSION = @PACKAGE_VERSION@
416 PATH_SEPARATOR = @PATH_SEPARATOR@
418 PKGADD_NAME = @PKGADD_NAME@
419 PKGADD_PKG = @PKGADD_PKG@
420 PKGADD_VENDOR = @PKGADD_VENDOR@
421 PKGCONFIG = @PKGCONFIG@
422 RANDOM_FILE = @RANDOM_FILE@
424 REQUIRE_LIB_DEPS = @REQUIRE_LIB_DEPS@
426 SET_MAKE = @SET_MAKE@
428 SSL_BACKENDS = @SSL_BACKENDS@
429 SSL_ENABLED = @SSL_ENABLED@
430 SSL_LIBS = @SSL_LIBS@
432 SUPPORT_FEATURES = @SUPPORT_FEATURES@
433 SUPPORT_PROTOCOLS = @SUPPORT_PROTOCOLS@
434 USE_ARES = @USE_ARES@
435 USE_AXTLS = @USE_AXTLS@
436 USE_CYASSL = @USE_CYASSL@
437 USE_DARWINSSL = @USE_DARWINSSL@
438 USE_GNUTLS = @USE_GNUTLS@
439 USE_GNUTLS_NETTLE = @USE_GNUTLS_NETTLE@
440 USE_LIBRTMP = @USE_LIBRTMP@
441 USE_LIBSSH = @USE_LIBSSH@
442 USE_LIBSSH2 = @USE_LIBSSH2@
443 USE_MBEDTLS = @USE_MBEDTLS@
444 USE_NGHTTP2 = @USE_NGHTTP2@
446 USE_OPENLDAP = @USE_OPENLDAP@
447 USE_POLARSSL = @USE_POLARSSL@
448 USE_SCHANNEL = @USE_SCHANNEL@
449 USE_UNIX_SOCKETS = @USE_UNIX_SOCKETS@
450 USE_WINDOWS_SSPI = @USE_WINDOWS_SSPI@
452 VERSIONNUM = @VERSIONNUM@
453 ZLIB_LIBS = @ZLIB_LIBS@
454 ZSH_FUNCTIONS_DIR = @ZSH_FUNCTIONS_DIR@
455 abs_builddir = @abs_builddir@
456 abs_srcdir = @abs_srcdir@
457 abs_top_builddir = @abs_top_builddir@
458 abs_top_srcdir = @abs_top_srcdir@
459 ac_ct_AR = @ac_ct_AR@
460 ac_ct_CC = @ac_ct_CC@
461 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
462 am__include = @am__include@
463 am__leading_dot = @am__leading_dot@
464 am__quote = @am__quote@
466 am__untar = @am__untar@
469 build_alias = @build_alias@
470 build_cpu = @build_cpu@
471 build_os = @build_os@
472 build_vendor = @build_vendor@
473 builddir = @builddir@
475 datarootdir = @datarootdir@
478 exec_prefix = @exec_prefix@
480 host_alias = @host_alias@
481 host_cpu = @host_cpu@
483 host_vendor = @host_vendor@
485 includedir = @includedir@
487 install_sh = @install_sh@
489 libexecdir = @libexecdir@
491 localedir = @localedir@
492 localstatedir = @localstatedir@
495 oldincludedir = @oldincludedir@
498 program_transform_name = @program_transform_name@
500 runstatedir = @runstatedir@
502 sharedstatedir = @sharedstatedir@
505 sysconfdir = @sysconfdir@
506 target_alias = @target_alias@
507 top_build_prefix = @top_build_prefix@
508 top_builddir = @top_builddir@
509 top_srcdir = @top_srcdir@
510 AUTOMAKE_OPTIONS = foreign
511 ACLOCAL_AMFLAGS = -I m4
512 CMAKE_DIST = CMakeLists.txt CMake/CMakeConfigurableFile.in \
513 CMake/CurlTests.c CMake/FindGSS.cmake CMake/OtherTests.cmake \
514 CMake/Platforms/WindowsCache.cmake CMake/Utilities.cmake \
516 CMake/CurlSymbolHiding.cmake CMake/FindCARES.cmake \
517 CMake/FindLibSSH2.cmake CMake/FindNGHTTP2.cmake \
518 CMake/FindMbedTLS.cmake CMake/cmake_uninstall.cmake.in \
519 CMake/curl-config.cmake
521 VC6_LIBTMPL = projects/Windows/VC6/lib/libcurl.tmpl
522 VC6_LIBDSP = projects/Windows/VC6/lib/libcurl.dsp.dist
523 VC6_LIBDSP_DEPS = $(VC6_LIBTMPL) Makefile.am lib/Makefile.inc
524 VC6_SRCTMPL = projects/Windows/VC6/src/curl.tmpl
525 VC6_SRCDSP = projects/Windows/VC6/src/curl.dsp.dist
526 VC6_SRCDSP_DEPS = $(VC6_SRCTMPL) Makefile.am src/Makefile.inc
527 VC7_LIBTMPL = projects/Windows/VC7/lib/libcurl.tmpl
528 VC7_LIBVCPROJ = projects/Windows/VC7/lib/libcurl.vcproj.dist
529 VC7_LIBVCPROJ_DEPS = $(VC7_LIBTMPL) Makefile.am lib/Makefile.inc
530 VC7_SRCTMPL = projects/Windows/VC7/src/curl.tmpl
531 VC7_SRCVCPROJ = projects/Windows/VC7/src/curl.vcproj.dist
532 VC7_SRCVCPROJ_DEPS = $(VC7_SRCTMPL) Makefile.am src/Makefile.inc
533 VC71_LIBTMPL = projects/Windows/VC7.1/lib/libcurl.tmpl
534 VC71_LIBVCPROJ = projects/Windows/VC7.1/lib/libcurl.vcproj.dist
535 VC71_LIBVCPROJ_DEPS = $(VC71_LIBTMPL) Makefile.am lib/Makefile.inc
536 VC71_SRCTMPL = projects/Windows/VC7.1/src/curl.tmpl
537 VC71_SRCVCPROJ = projects/Windows/VC7.1/src/curl.vcproj.dist
538 VC71_SRCVCPROJ_DEPS = $(VC71_SRCTMPL) Makefile.am src/Makefile.inc
539 VC8_LIBTMPL = projects/Windows/VC8/lib/libcurl.tmpl
540 VC8_LIBVCPROJ = projects/Windows/VC8/lib/libcurl.vcproj.dist
541 VC8_LIBVCPROJ_DEPS = $(VC8_LIBTMPL) Makefile.am lib/Makefile.inc
542 VC8_SRCTMPL = projects/Windows/VC8/src/curl.tmpl
543 VC8_SRCVCPROJ = projects/Windows/VC8/src/curl.vcproj.dist
544 VC8_SRCVCPROJ_DEPS = $(VC8_SRCTMPL) Makefile.am src/Makefile.inc
545 VC9_LIBTMPL = projects/Windows/VC9/lib/libcurl.tmpl
546 VC9_LIBVCPROJ = projects/Windows/VC9/lib/libcurl.vcproj.dist
547 VC9_LIBVCPROJ_DEPS = $(VC9_LIBTMPL) Makefile.am lib/Makefile.inc
548 VC9_SRCTMPL = projects/Windows/VC9/src/curl.tmpl
549 VC9_SRCVCPROJ = projects/Windows/VC9/src/curl.vcproj.dist
550 VC9_SRCVCPROJ_DEPS = $(VC9_SRCTMPL) Makefile.am src/Makefile.inc
551 VC10_LIBTMPL = projects/Windows/VC10/lib/libcurl.tmpl
552 VC10_LIBVCXPROJ = projects/Windows/VC10/lib/libcurl.vcxproj.dist
553 VC10_LIBVCXPROJ_DEPS = $(VC10_LIBTMPL) Makefile.am lib/Makefile.inc
554 VC10_SRCTMPL = projects/Windows/VC10/src/curl.tmpl
555 VC10_SRCVCXPROJ = projects/Windows/VC10/src/curl.vcxproj.dist
556 VC10_SRCVCXPROJ_DEPS = $(VC10_SRCTMPL) Makefile.am src/Makefile.inc
557 VC11_LIBTMPL = projects/Windows/VC11/lib/libcurl.tmpl
558 VC11_LIBVCXPROJ = projects/Windows/VC11/lib/libcurl.vcxproj.dist
559 VC11_LIBVCXPROJ_DEPS = $(VC11_LIBTMPL) Makefile.am lib/Makefile.inc
560 VC11_SRCTMPL = projects/Windows/VC11/src/curl.tmpl
561 VC11_SRCVCXPROJ = projects/Windows/VC11/src/curl.vcxproj.dist
562 VC11_SRCVCXPROJ_DEPS = $(VC11_SRCTMPL) Makefile.am src/Makefile.inc
563 VC12_LIBTMPL = projects/Windows/VC12/lib/libcurl.tmpl
564 VC12_LIBVCXPROJ = projects/Windows/VC12/lib/libcurl.vcxproj.dist
565 VC12_LIBVCXPROJ_DEPS = $(VC12_LIBTMPL) Makefile.am lib/Makefile.inc
566 VC12_SRCTMPL = projects/Windows/VC12/src/curl.tmpl
567 VC12_SRCVCXPROJ = projects/Windows/VC12/src/curl.vcxproj.dist
568 VC12_SRCVCXPROJ_DEPS = $(VC12_SRCTMPL) Makefile.am src/Makefile.inc
569 VC14_LIBTMPL = projects/Windows/VC14/lib/libcurl.tmpl
570 VC14_LIBVCXPROJ = projects/Windows/VC14/lib/libcurl.vcxproj.dist
571 VC14_LIBVCXPROJ_DEPS = $(VC14_LIBTMPL) Makefile.am lib/Makefile.inc
572 VC14_SRCTMPL = projects/Windows/VC14/src/curl.tmpl
573 VC14_SRCVCXPROJ = projects/Windows/VC14/src/curl.vcxproj.dist
574 VC14_SRCVCXPROJ_DEPS = $(VC14_SRCTMPL) Makefile.am src/Makefile.inc
575 VC15_LIBTMPL = projects/Windows/VC15/lib/libcurl.tmpl
576 VC15_LIBVCXPROJ = projects/Windows/VC15/lib/libcurl.vcxproj.dist
577 VC15_LIBVCXPROJ_DEPS = $(VC15_LIBTMPL) Makefile.am lib/Makefile.inc
578 VC15_SRCTMPL = projects/Windows/VC15/src/curl.tmpl
579 VC15_SRCVCXPROJ = projects/Windows/VC15/src/curl.vcxproj.dist
580 VC15_SRCVCXPROJ_DEPS = $(VC15_SRCTMPL) Makefile.am src/Makefile.inc
581 VC_DIST = projects/README \
582 projects/build-openssl.bat \
583 projects/build-wolfssl.bat \
584 projects/checksrc.bat \
585 projects/Windows/VC6/curl-all.dsw \
586 projects/Windows/VC6/lib/libcurl.dsw \
587 projects/Windows/VC6/src/curl.dsw \
588 projects/Windows/VC7/curl-all.sln \
589 projects/Windows/VC7/lib/libcurl.sln \
590 projects/Windows/VC7/src/curl.sln \
591 projects/Windows/VC7.1/curl-all.sln \
592 projects/Windows/VC7.1/lib/libcurl.sln \
593 projects/Windows/VC7.1/src/curl.sln \
594 projects/Windows/VC8/curl-all.sln \
595 projects/Windows/VC8/lib/libcurl.sln \
596 projects/Windows/VC8/src/curl.sln \
597 projects/Windows/VC9/curl-all.sln \
598 projects/Windows/VC9/lib/libcurl.sln \
599 projects/Windows/VC9/src/curl.sln \
600 projects/Windows/VC10/curl-all.sln \
601 projects/Windows/VC10/lib/libcurl.sln \
602 projects/Windows/VC10/lib/libcurl.vcxproj.filters \
603 projects/Windows/VC10/src/curl.sln \
604 projects/Windows/VC10/src/curl.vcxproj.filters \
605 projects/Windows/VC11/curl-all.sln \
606 projects/Windows/VC11/lib/libcurl.sln \
607 projects/Windows/VC11/lib/libcurl.vcxproj.filters \
608 projects/Windows/VC11/src/curl.sln \
609 projects/Windows/VC11/src/curl.vcxproj.filters \
610 projects/Windows/VC12/curl-all.sln \
611 projects/Windows/VC12/lib/libcurl.sln \
612 projects/Windows/VC12/lib/libcurl.vcxproj.filters \
613 projects/Windows/VC12/src/curl.sln \
614 projects/Windows/VC12/src/curl.vcxproj.filters \
615 projects/Windows/VC14/curl-all.sln \
616 projects/Windows/VC14/lib/libcurl.sln \
617 projects/Windows/VC14/lib/libcurl.vcxproj.filters \
618 projects/Windows/VC14/src/curl.sln \
619 projects/Windows/VC14/src/curl.vcxproj.filters \
620 projects/Windows/VC15/curl-all.sln \
621 projects/Windows/VC15/lib/libcurl.sln \
622 projects/Windows/VC15/lib/libcurl.vcxproj.filters \
623 projects/Windows/VC15/src/curl.sln \
624 projects/Windows/VC15/src/curl.vcxproj.filters \
625 projects/generate.bat \
626 projects/wolfssl_options.h \
627 projects/wolfssl_override.props
629 WINBUILD_DIST = winbuild/BUILD.WINDOWS.txt winbuild/gen_resp_file.bat \
630 winbuild/MakefileBuild.vc winbuild/Makefile.vc
632 EXTRA_DIST = CHANGES COPYING maketgz Makefile.dist curl-config.in \
633 RELEASE-NOTES buildconf libcurl.pc.in MacOSX-Framework scripts/zsh.pl \
634 scripts/updatemanpages.pl $(CMAKE_DIST) $(VC_DIST) $(WINBUILD_DIST) \
635 lib/libcurl.vers.in buildconf.bat scripts/coverage.sh
637 CLEANFILES = $(VC6_LIBDSP) $(VC6_SRCDSP) $(VC7_LIBVCPROJ) $(VC7_SRCVCPROJ) \
638 $(VC71_LIBVCPROJ) $(VC71_SRCVCPROJ) $(VC8_LIBVCPROJ) $(VC8_SRCVCPROJ) \
639 $(VC9_LIBVCPROJ) $(VC9_SRCVCPROJ) $(VC10_LIBVCXPROJ) $(VC10_SRCVCXPROJ) \
640 $(VC11_LIBVCXPROJ) $(VC11_SRCVCXPROJ) $(VC12_LIBVCXPROJ) $(VC12_SRCVCXPROJ) \
641 $(VC14_LIBVCXPROJ) $(VC14_SRCVCXPROJ) $(VC15_LIBVCXPROJ) $(VC15_SRCVCXPROJ)
643 bin_SCRIPTS = curl-config
645 DIST_SUBDIRS = $(SUBDIRS) tests packages scripts include docs
646 pkgconfigdir = $(libdir)/pkgconfig
647 pkgconfig_DATA = libcurl.pc
648 LIB_VAUTH_CFILES = vauth/vauth.c vauth/cleartext.c vauth/cram.c \
649 vauth/digest.c vauth/digest_sspi.c vauth/krb5_gssapi.c \
650 vauth/krb5_sspi.c vauth/ntlm.c vauth/ntlm_sspi.c vauth/oauth2.c \
651 vauth/spnego_gssapi.c vauth/spnego_sspi.c
653 LIB_VAUTH_HFILES = vauth/vauth.h vauth/digest.h vauth/ntlm.h
654 LIB_VTLS_CFILES = vtls/openssl.c vtls/gtls.c vtls/vtls.c vtls/nss.c \
655 vtls/polarssl.c vtls/polarssl_threadlock.c vtls/axtls.c \
656 vtls/cyassl.c vtls/schannel.c vtls/darwinssl.c vtls/gskit.c \
659 LIB_VTLS_HFILES = vtls/openssl.h vtls/vtls.h vtls/gtls.h \
660 vtls/nssg.h vtls/polarssl.h vtls/polarssl_threadlock.h vtls/axtls.h \
661 vtls/cyassl.h vtls/schannel.h vtls/darwinssl.h vtls/gskit.h \
664 LIB_CFILES = file.c timeval.c base64.c hostip.c progress.c formdata.c \
665 cookie.c http.c sendf.c ftp.c url.c dict.c if2ip.c speedcheck.c \
666 ldap.c version.c getenv.c escape.c mprintf.c telnet.c netrc.c \
667 getinfo.c transfer.c strcase.c easy.c security.c curl_fnmatch.c \
668 fileinfo.c ftplistparser.c wildcard.c krb5.c memdebug.c http_chunks.c \
669 strtok.c connect.c llist.c hash.c multi.c content_encoding.c share.c \
670 http_digest.c md4.c md5.c http_negotiate.c inet_pton.c strtoofft.c \
671 strerror.c amigaos.c hostasyn.c hostip4.c hostip6.c hostsyn.c \
672 inet_ntop.c parsedate.c select.c tftp.c splay.c strdup.c socks.c \
673 ssh.c ssh-libssh.c curl_addrinfo.c socks_gssapi.c socks_sspi.c \
674 curl_sspi.c slist.c nonblock.c curl_memrchr.c imap.c pop3.c smtp.c \
675 pingpong.c rtsp.c curl_threads.c warnless.c hmac.c curl_rtmp.c \
676 openldap.c curl_gethostname.c gopher.c idn_win32.c \
677 http_proxy.c non-ascii.c asyn-ares.c asyn-thread.c curl_gssapi.c \
678 http_ntlm.c curl_ntlm_wb.c curl_ntlm_core.c curl_sasl.c rand.c \
679 curl_multibyte.c hostcheck.c conncache.c pipeline.c dotdot.c \
680 x509asn1.c http2.c smb.c curl_endian.c curl_des.c system_win32.c \
681 mime.c sha256.c setopt.c curl_path.c curl_ctype.c curl_range.c
683 LIB_HFILES = arpa_telnet.h netrc.h file.h timeval.h hostip.h progress.h \
684 formdata.h cookie.h http.h sendf.h ftp.h url.h dict.h if2ip.h \
685 speedcheck.h urldata.h curl_ldap.h escape.h telnet.h getinfo.h \
686 strcase.h curl_sec.h memdebug.h http_chunks.h curl_fnmatch.h \
687 wildcard.h fileinfo.h ftplistparser.h strtok.h connect.h llist.h \
688 hash.h content_encoding.h share.h curl_md4.h curl_md5.h http_digest.h \
689 http_negotiate.h inet_pton.h amigaos.h strtoofft.h strerror.h \
690 inet_ntop.h curlx.h curl_memory.h curl_setup.h transfer.h select.h \
691 easyif.h multiif.h parsedate.h tftp.h sockaddr.h splay.h strdup.h \
692 socks.h ssh.h curl_base64.h curl_addrinfo.h curl_sspi.h \
693 slist.h nonblock.h curl_memrchr.h imap.h pop3.h smtp.h pingpong.h \
694 rtsp.h curl_threads.h warnless.h curl_hmac.h curl_rtmp.h \
695 curl_gethostname.h gopher.h http_proxy.h non-ascii.h asyn.h \
696 http_ntlm.h curl_gssapi.h curl_ntlm_wb.h curl_ntlm_core.h \
697 curl_sasl.h curl_multibyte.h hostcheck.h conncache.h \
698 curl_setup_once.h multihandle.h setup-vms.h pipeline.h dotdot.h \
699 x509asn1.h http2.h sigpipe.h smb.h curl_endian.h curl_des.h \
700 curl_printf.h system_win32.h rand.h mime.h curl_sha256.h setopt.h \
701 curl_path.h curl_ctype.h curl_range.h
703 LIB_RCFILES = libcurl.rc
704 CSOURCES = $(LIB_CFILES) $(LIB_VAUTH_CFILES) $(LIB_VTLS_CFILES)
705 HHEADERS = $(LIB_HFILES) $(LIB_VAUTH_HFILES) $(LIB_VTLS_HFILES)
707 # libcurl has sources that provide functions named curlx_* that aren't part of
708 # the official API, but we re-use the code here to avoid duplication.
716 ../lib/curl_setup.h \
807 CURL_RCFILES = curl.rc
809 # curl_SOURCES is special and gets assigned in src/Makefile.am
810 CURL_FILES = $(CURL_CFILES) $(CURLX_CFILES) $(CURL_HFILES)
814 am--refresh: Makefile
816 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/lib/Makefile.inc $(srcdir)/src/Makefile.inc $(am__configure_deps)
818 case '$(am__configure_deps)' in \
820 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
821 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
826 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
827 $(am__cd) $(top_srcdir) && \
828 $(AUTOMAKE) --foreign Makefile
829 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
832 echo ' $(SHELL) ./config.status'; \
833 $(SHELL) ./config.status;; \
835 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
836 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
838 $(srcdir)/lib/Makefile.inc $(srcdir)/src/Makefile.inc $(am__empty):
840 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
841 $(SHELL) ./config.status --recheck
843 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
844 $(am__cd) $(srcdir) && $(AUTOCONF)
845 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
846 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
847 $(am__aclocal_m4_deps):
848 curl-config: $(top_builddir)/config.status $(srcdir)/curl-config.in
849 cd $(top_builddir) && $(SHELL) ./config.status $@
850 libcurl.pc: $(top_builddir)/config.status $(srcdir)/libcurl.pc.in
851 cd $(top_builddir) && $(SHELL) ./config.status $@
852 install-binSCRIPTS: $(bin_SCRIPTS)
854 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
855 if test -n "$$list"; then \
856 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
857 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
859 for p in $$list; do \
860 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
861 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
863 sed -e 'p;s,.*/,,;n' \
865 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
866 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
867 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
868 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
869 if (++n[d] == $(am__install_max)) { \
870 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
871 else { print "f", d "/" $$4, $$1 } } \
872 END { for (d in files) print "f", d, files[d] }' | \
873 while read type dir files; do \
874 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
875 test -z "$$files" || { \
876 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
877 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
881 uninstall-binSCRIPTS:
883 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
884 files=`for p in $$list; do echo "$$p"; done | \
885 sed -e 's,.*/,,;$(transform)'`; \
886 dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
895 -rm -f libtool config.lt
896 install-pkgconfigDATA: $(pkgconfig_DATA)
898 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
899 if test -n "$$list"; then \
900 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
901 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
903 for p in $$list; do \
904 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
906 done | $(am__base_list) | \
907 while read files; do \
908 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
909 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
912 uninstall-pkgconfigDATA:
914 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
915 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
916 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
918 # This directory's subdirectories are mostly independent; you can cd
919 # into them and run 'make' without going through this Makefile.
920 # To change the values of 'make' variables: instead of editing Makefiles,
921 # (1) if the variable is set in 'config.status', edit 'config.status'
922 # (which will cause the Makefiles to be regenerated when you run 'make');
923 # (2) otherwise, pass the desired values on the 'make' command line.
924 $(am__recursive_targets):
926 if $(am__make_keepgoing); then \
927 failcom='fail=yes'; \
932 target=`echo $@ | sed s/-recursive//`; \
934 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
935 *) list='$(SUBDIRS)' ;; \
937 for subdir in $$list; do \
938 echo "Making $$target in $$subdir"; \
939 if test "$$subdir" = "."; then \
941 local_target="$$target-am"; \
943 local_target="$$target"; \
945 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
948 if test "$$dot_seen" = "no"; then \
949 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
952 ID: $(am__tagged_files)
953 $(am__define_uniq_tagged_files); mkid -fID $$unique
957 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
960 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
961 include_option=--etags-include; \
964 include_option=--include; \
967 list='$(SUBDIRS)'; for subdir in $$list; do \
968 if test "$$subdir" = .; then :; else \
969 test ! -f $$subdir/TAGS || \
970 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
973 $(am__define_uniq_tagged_files); \
975 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
976 test -n "$$unique" || unique=$$empty_fix; \
977 if test $$# -gt 0; then \
978 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
981 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
985 ctags: ctags-recursive
988 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
989 $(am__define_uniq_tagged_files); \
990 test -z "$(CTAGS_ARGS)$$unique" \
991 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
995 here=`$(am__cd) $(top_builddir) && pwd` \
996 && $(am__cd) $(top_srcdir) \
997 && gtags -i $(GTAGS_ARGS) "$$here"
999 test ! -s cscope.files \
1000 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
1003 cscope.files: clean-cscope cscopelist
1004 cscopelist: cscopelist-recursive
1006 cscopelist-am: $(am__tagged_files)
1007 list='$(am__tagged_files)'; \
1008 case "$(srcdir)" in \
1009 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1010 *) sdir=$(subdir)/$(srcdir) ;; \
1012 for i in $$list; do \
1013 if test -f "$$i"; then \
1014 echo "$(subdir)/$$i"; \
1016 echo "$$sdir/$$i"; \
1018 done >> $(top_builddir)/cscope.files
1021 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1022 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
1024 distdir: $(DISTFILES)
1025 $(am__remove_distdir)
1026 test -d "$(distdir)" || mkdir "$(distdir)"
1027 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1028 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1029 list='$(DISTFILES)'; \
1030 dist_files=`for file in $$list; do echo $$file; done | \
1031 sed -e "s|^$$srcdirstrip/||;t" \
1032 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1033 case $$dist_files in \
1034 */*) $(MKDIR_P) `echo "$$dist_files" | \
1035 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1038 for file in $$dist_files; do \
1039 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1040 if test -d $$d/$$file; then \
1041 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1042 if test -d "$(distdir)/$$file"; then \
1043 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1045 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1046 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1047 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1049 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1051 test -f "$(distdir)/$$file" \
1052 || cp -p $$d/$$file "$(distdir)/$$file" \
1056 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1057 if test "$$subdir" = .; then :; else \
1058 $(am__make_dryrun) \
1059 || test -d "$(distdir)/$$subdir" \
1060 || $(MKDIR_P) "$(distdir)/$$subdir" \
1062 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
1063 $(am__relativize); \
1064 new_distdir=$$reldir; \
1065 dir1=$$subdir; dir2="$(top_distdir)"; \
1066 $(am__relativize); \
1067 new_top_distdir=$$reldir; \
1068 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1069 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1070 ($(am__cd) $$subdir && \
1071 $(MAKE) $(AM_MAKEFLAGS) \
1072 top_distdir="$$new_top_distdir" \
1073 distdir="$$new_distdir" \
1074 am__remove_distdir=: \
1075 am__skip_length_check=: \
1076 am__skip_mode_fix=: \
1081 $(MAKE) $(AM_MAKEFLAGS) \
1082 top_distdir="$(top_distdir)" distdir="$(distdir)" \
1084 -test -n "$(am__skip_mode_fix)" \
1085 || find "$(distdir)" -type d ! -perm -755 \
1086 -exec chmod u+rwx,go+rx {} \; -o \
1087 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1088 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1089 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1090 || chmod -R a+r "$(distdir)"
1092 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
1093 $(am__post_remove_distdir)
1096 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1097 $(am__post_remove_distdir)
1100 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1101 $(am__post_remove_distdir)
1104 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1105 $(am__post_remove_distdir)
1108 @echo WARNING: "Support for distribution archives compressed with" \
1109 "legacy program 'compress' is deprecated." >&2
1110 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1111 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1112 $(am__post_remove_distdir)
1115 @echo WARNING: "Support for shar distribution archives is" \
1117 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1118 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
1119 $(am__post_remove_distdir)
1122 -rm -f $(distdir).zip
1123 zip -rq $(distdir).zip $(distdir)
1124 $(am__post_remove_distdir)
1127 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1128 $(am__post_remove_distdir)
1130 # This target untars the dist file and tries a VPATH configuration. Then
1131 # it guarantees that the distribution is self-contained by making another
1134 case '$(DIST_ARCHIVES)' in \
1136 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
1138 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1140 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1142 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1144 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1146 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
1148 unzip $(distdir).zip ;;\
1150 chmod -R a-w $(distdir)
1151 chmod u+w $(distdir)
1152 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
1153 chmod a-w $(distdir)
1154 test -d $(distdir)/_build || exit 0; \
1155 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1156 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1158 && $(am__cd) $(distdir)/_build/sub \
1159 && ../../configure \
1160 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1161 $(DISTCHECK_CONFIGURE_FLAGS) \
1162 --srcdir=../.. --prefix="$$dc_install_base" \
1163 && $(MAKE) $(AM_MAKEFLAGS) \
1164 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1165 && $(MAKE) $(AM_MAKEFLAGS) check \
1166 && $(MAKE) $(AM_MAKEFLAGS) install \
1167 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1168 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1169 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1170 distuninstallcheck \
1171 && chmod -R a-w "$$dc_install_base" \
1173 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1174 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1175 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1176 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1177 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1178 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1179 && rm -rf "$$dc_destdir" \
1180 && $(MAKE) $(AM_MAKEFLAGS) dist \
1181 && rm -rf $(DIST_ARCHIVES) \
1182 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1185 $(am__post_remove_distdir)
1186 @(echo "$(distdir) archives ready for distribution: "; \
1187 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1188 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1190 @test -n '$(distuninstallcheck_dir)' || { \
1191 echo 'ERROR: trying to run $@ with an empty' \
1192 '$$(distuninstallcheck_dir)' >&2; \
1195 $(am__cd) '$(distuninstallcheck_dir)' || { \
1196 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1199 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1200 || { echo "ERROR: files left after uninstall:" ; \
1201 if test -n "$(DESTDIR)"; then \
1202 echo " (check DESTDIR support)"; \
1204 $(distuninstallcheck_listfiles) ; \
1206 distcleancheck: distclean
1207 @if test '$(srcdir)' = . ; then \
1208 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1211 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1212 || { echo "ERROR: files left in build directory after distclean:" ; \
1213 $(distcleancheck_listfiles) ; \
1216 check: check-recursive
1217 all-am: Makefile $(SCRIPTS) $(DATA)
1218 installdirs: installdirs-recursive
1220 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"; do \
1221 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1223 install: install-recursive
1224 install-exec: install-exec-recursive
1225 install-data: install-data-recursive
1226 uninstall: uninstall-recursive
1229 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1231 installcheck: installcheck-recursive
1233 if test -z '$(STRIP)'; then \
1234 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1235 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1238 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1239 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1240 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1242 mostlyclean-generic:
1245 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1248 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1249 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1251 maintainer-clean-generic:
1252 @echo "This command is intended for maintainers to use"
1253 @echo "it deletes files that may require special tools to rebuild."
1254 clean: clean-recursive
1256 clean-am: clean-generic clean-libtool mostlyclean-am
1258 distclean: distclean-recursive
1259 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1261 distclean-am: clean-am distclean-generic distclean-libtool \
1270 info: info-recursive
1274 install-data-am: install-pkgconfigDATA
1276 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
1277 install-dvi: install-dvi-recursive
1281 install-exec-am: install-binSCRIPTS
1283 install-html: install-html-recursive
1287 install-info: install-info-recursive
1293 install-pdf: install-pdf-recursive
1297 install-ps: install-ps-recursive
1303 maintainer-clean: maintainer-clean-recursive
1304 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1305 -rm -rf $(top_srcdir)/autom4te.cache
1307 maintainer-clean-am: distclean-am maintainer-clean-generic
1309 mostlyclean: mostlyclean-recursive
1311 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1319 uninstall-am: uninstall-binSCRIPTS uninstall-pkgconfigDATA
1321 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
1322 .MAKE: $(am__recursive_targets) install-am install-data-am \
1323 install-strip uninstall-am
1325 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1326 am--refresh check check-am clean clean-cscope clean-generic \
1327 clean-libtool cscope cscopelist-am ctags ctags-am dist \
1328 dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
1329 dist-tarZ dist-xz dist-zip distcheck distclean \
1330 distclean-generic distclean-libtool distclean-tags \
1331 distcleancheck distdir distuninstallcheck dvi dvi-am html \
1332 html-am info info-am install install-am install-binSCRIPTS \
1333 install-data install-data-am install-data-hook install-dvi \
1334 install-dvi-am install-exec install-exec-am install-html \
1335 install-html-am install-info install-info-am install-man \
1336 install-pdf install-pdf-am install-pkgconfigDATA install-ps \
1337 install-ps-am install-strip installcheck installcheck-am \
1338 installdirs installdirs-am maintainer-clean \
1339 maintainer-clean-generic mostlyclean mostlyclean-generic \
1340 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
1341 uninstall-am uninstall-binSCRIPTS uninstall-hook \
1342 uninstall-pkgconfigDATA
1347 # List of files required to generate VC IDE .dsp, .vcproj and .vcxproj files
1350 rm -rf $(top_builddir)/tests/log
1351 find $(distdir) -name "*.dist" -exec rm {} \;
1352 (distit=`find $(srcdir) -name "*.dist" | grep -v ./ares/`; \
1353 for file in $$distit; do \
1354 strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \
1355 cp -p $$file $(distdir)$$strip; \
1359 cd docs && $(MAKE) html
1362 cd docs && $(MAKE) pdf
1364 check: test examples check-docs
1366 @CROSSCOMPILING_TRUE@test-full: test
1367 @CROSSCOMPILING_TRUE@test-torture: test
1369 @CROSSCOMPILING_TRUE@test:
1370 @CROSSCOMPILING_TRUE@ @echo "NOTICE: we can't run the tests when cross-compiling!"
1372 @CROSSCOMPILING_FALSE@test:
1373 @CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all quiet-test)
1375 @CROSSCOMPILING_FALSE@test-full:
1376 @CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all full-test)
1378 @CROSSCOMPILING_FALSE@test-nonflaky:
1379 @CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all nonflaky-test)
1381 @CROSSCOMPILING_FALSE@test-torture:
1382 @CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all torture-test)
1384 @CROSSCOMPILING_FALSE@test-event:
1385 @CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all event-test)
1387 @CROSSCOMPILING_FALSE@test-am:
1388 @CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all am-test)
1391 @(cd docs/examples; $(MAKE) check)
1394 @(cd docs/libcurl; $(MAKE) check)
1396 # Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
1397 # must contain the following line:
1398 # %_topdir /home/loic/local/rpm
1399 # and that /home/loic/local/rpm contains the directory SOURCES, BUILD etc.
1401 # cd /home/loic/local/rpm ; mkdir -p SOURCES BUILD RPMS/i386 SPECS SRPMS
1403 # If additional configure flags are needed to build the package, add the
1404 # following in ~/.rpmmacros
1405 # %configure CFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{_prefix} ${AM_CONFIGFLAGS}
1406 # and run make rpm in the following way:
1407 # AM_CONFIGFLAGS='--with-uri=/home/users/loic/local/RedHat-6.2' make rpm
1411 $(MAKE) RPMDIST=curl rpm
1412 $(MAKE) RPMDIST=curl-ssl rpm
1415 RPM_TOPDIR=`rpm --showrc | $(PERL) -n -e 'print if(s/.*_topdir\s+(.*)/$$1/)'` ; \
1416 cp $(srcdir)/packages/Linux/RPM/$(RPMDIST).spec $$RPM_TOPDIR/SPECS ; \
1417 cp $(PACKAGE)-$(VERSION).tar.gz $$RPM_TOPDIR/SOURCES ; \
1418 rpm -ba --clean --rmsource $$RPM_TOPDIR/SPECS/$(RPMDIST).spec ; \
1419 mv $$RPM_TOPDIR/RPMS/i386/$(RPMDIST)-*.rpm . ; \
1420 mv $$RPM_TOPDIR/SRPMS/$(RPMDIST)-*.src.rpm .
1423 # Build a Solaris pkgadd format file
1424 # run 'make pkgadd' once you've done './configure' and 'make' to make a Solaris pkgadd format
1425 # file (which ends up back in this directory).
1426 # The pkgadd file is in 'pkgtrans' format, so to install on Solaris, do
1427 # pkgadd -d ./HAXXcurl-*
1430 # gak - libtool requires an absolute directory, hence the pwd below...
1433 $(MAKE) install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \
1434 cat COPYING > $(srcdir)/packages/Solaris/copyright ; \
1435 cd $(srcdir)/packages/Solaris && $(MAKE) package
1438 # Build a cygwin binary tarball installation file
1439 # resulting .tar.bz2 file will end up at packages/Win32/cygwin
1441 $(MAKE) -C packages/Win32/cygwin cygwinbin
1443 # We extend the standard install with a custom hook:
1445 cd include && $(MAKE) install
1446 cd docs && $(MAKE) install
1447 cd docs/libcurl && $(MAKE) install
1449 # We extend the standard uninstall with a custom hook:
1451 cd include && $(MAKE) uninstall
1452 cd docs && $(MAKE) uninstall
1453 cd docs/libcurl && $(MAKE) uninstall
1455 ca-bundle: lib/mk-ca-bundle.pl
1456 @echo "generating a fresh ca-bundle.crt"
1457 @perl $< -b -l -u lib/ca-bundle.crt
1459 ca-firefox: lib/firefox-db2pem.sh
1460 @echo "generating a fresh ca-bundle.crt"
1461 ./lib/firefox-db2pem.sh lib/ca-bundle.crt
1464 cd lib && $(MAKE) checksrc
1465 cd src && $(MAKE) checksrc
1466 cd tests && $(MAKE) checksrc
1467 cd include/curl && $(MAKE) checksrc
1468 cd docs/examples && $(MAKE) checksrc
1472 vc-ide: $(VC6_LIBDSP_DEPS) $(VC6_SRCDSP_DEPS) $(VC7_LIBVCPROJ_DEPS) \
1473 $(VC7_SRCVCPROJ_DEPS) $(VC71_LIBVCPROJ_DEPS) $(VC71_SRCVCPROJ_DEPS) \
1474 $(VC8_LIBVCPROJ_DEPS) $(VC8_SRCVCPROJ_DEPS) $(VC9_LIBVCPROJ_DEPS) \
1475 $(VC9_SRCVCPROJ_DEPS) $(VC10_LIBVCXPROJ_DEPS) $(VC10_SRCVCXPROJ_DEPS) \
1476 $(VC11_LIBVCXPROJ_DEPS) $(VC11_SRCVCXPROJ_DEPS) $(VC12_LIBVCXPROJ_DEPS) \
1477 $(VC12_SRCVCXPROJ_DEPS) $(VC14_LIBVCXPROJ_DEPS) $(VC14_SRCVCXPROJ_DEPS) \
1478 $(VC15_LIBVCXPROJ_DEPS) $(VC15_SRCVCXPROJ_DEPS)
1479 @(win32_lib_srcs='$(LIB_CFILES)'; \
1480 win32_lib_hdrs='$(LIB_HFILES) config-win32.h'; \
1481 win32_lib_rc='$(LIB_RCFILES)'; \
1482 win32_lib_vauth_srcs='$(LIB_VAUTH_CFILES)'; \
1483 win32_lib_vauth_hdrs='$(LIB_VAUTH_HFILES)'; \
1484 win32_lib_vtls_srcs='$(LIB_VTLS_CFILES)'; \
1485 win32_lib_vtls_hdrs='$(LIB_VTLS_HFILES)'; \
1486 win32_src_srcs='$(CURL_CFILES)'; \
1487 win32_src_hdrs='$(CURL_HFILES)'; \
1488 win32_src_rc='$(CURL_RCFILES)'; \
1489 win32_src_x_srcs='$(CURLX_CFILES)'; \
1490 win32_src_x_hdrs='$(CURLX_HFILES) ../lib/config-win32.h'; \
1492 sorted_lib_srcs=`for file in $$win32_lib_srcs; do echo $$file; done | sort`; \
1493 sorted_lib_hdrs=`for file in $$win32_lib_hdrs; do echo $$file; done | sort`; \
1494 sorted_lib_vauth_srcs=`for file in $$win32_lib_vauth_srcs; do echo $$file; done | sort`; \
1495 sorted_lib_vauth_hdrs=`for file in $$win32_lib_vauth_hdrs; do echo $$file; done | sort`; \
1496 sorted_lib_vtls_srcs=`for file in $$win32_lib_vtls_srcs; do echo $$file; done | sort`; \
1497 sorted_lib_vtls_hdrs=`for file in $$win32_lib_vtls_hdrs; do echo $$file; done | sort`; \
1498 sorted_src_srcs=`for file in $$win32_src_srcs; do echo $$file; done | sort`; \
1499 sorted_src_hdrs=`for file in $$win32_src_hdrs; do echo $$file; done | sort`; \
1500 sorted_src_x_srcs=`for file in $$win32_src_x_srcs; do echo $$file; done | sort`; \
1501 sorted_src_x_hdrs=`for file in $$win32_src_x_hdrs; do echo $$file; done | sort`; \
1504 function gen_element(type, dir, file)\
1506 sub(/vauth\//, "", file);\
1507 sub(/vtls\//, "", file);\
1510 if(dir == "lib\\vauth" || dir == "lib\\vtls")\
1515 if(type == "dsp") {\
1516 printf("# Begin Source File\r\n");\
1518 printf("SOURCE=..\\..\\..\\..\\%s\\%s\r\n", dir, file);\
1519 printf("# End Source File\r\n");\
1521 else if(type == "vcproj1") {\
1522 printf("%s<File\r\n", tabs);\
1523 printf("%s RelativePath=\"..\\..\\..\\..\\%s\\%s\">\r\n",\
1525 printf("%s</File>\r\n", tabs);\
1527 else if(type == "vcproj2") {\
1528 printf("%s<File\r\n", tabs);\
1529 printf("%s RelativePath=\"..\\..\\..\\..\\%s\\%s\"\r\n",\
1531 printf("%s>\r\n", tabs);\
1532 printf("%s</File>\r\n", tabs);\
1534 else if(type == "vcxproj") {\
1535 i = index(file, ".");\
1536 ext = substr(file, i == 0 ? 0 : i + 1);\
1539 printf("%s<ClCompile Include=\"..\\..\\..\\..\\%s\\%s\" />\r\n",\
1540 spaces, dir, file);\
1541 else if(ext == "h")\
1542 printf("%s<ClInclude Include=\"..\\..\\..\\..\\%s\\%s\" />\r\n",\
1543 spaces, dir, file);\
1544 else if(ext == "rc")\
1545 printf("%s<ResourceCompile Include=\"..\\..\\..\\..\\%s\\%s\" />\r\n",\
1546 spaces, dir, file);\
1552 if($$0 == "CURL_LIB_C_FILES") {\
1553 split(lib_srcs, arr);\
1554 for(val in arr) gen_element(proj_type, "lib", arr[val]);\
1556 else if($$0 == "CURL_LIB_H_FILES") {\
1557 split(lib_hdrs, arr);\
1558 for(val in arr) gen_element(proj_type, "lib", arr[val]);\
1560 else if($$0 == "CURL_LIB_RC_FILES") {\
1561 split(lib_rc, arr);\
1562 for(val in arr) gen_element(proj_type, "lib", arr[val]);\
1564 else if($$0 == "CURL_LIB_VAUTH_C_FILES") {\
1565 split(lib_vauth_srcs, arr);\
1566 for(val in arr) gen_element(proj_type, "lib\\vauth", arr[val]);\
1568 else if($$0 == "CURL_LIB_VAUTH_H_FILES") {\
1569 split(lib_vauth_hdrs, arr);\
1570 for(val in arr) gen_element(proj_type, "lib\\vauth", arr[val]);\
1572 else if($$0 == "CURL_LIB_VTLS_C_FILES") {\
1573 split(lib_vtls_srcs, arr);\
1574 for(val in arr) gen_element(proj_type, "lib\\vtls", arr[val]);\
1576 else if($$0 == "CURL_LIB_VTLS_H_FILES") {\
1577 split(lib_vtls_hdrs, arr);\
1578 for(val in arr) gen_element(proj_type, "lib\\vtls", arr[val]);\
1580 else if($$0 == "CURL_SRC_C_FILES") {\
1581 split(src_srcs, arr);\
1582 for(val in arr) gen_element(proj_type, "src", arr[val]);\
1584 else if($$0 == "CURL_SRC_H_FILES") {\
1585 split(src_hdrs, arr);\
1586 for(val in arr) gen_element(proj_type, "src", arr[val]);\
1588 else if($$0 == "CURL_SRC_RC_FILES") {\
1589 split(src_rc, arr);\
1590 for(val in arr) gen_element(proj_type, "src", arr[val]);\
1592 else if($$0 == "CURL_SRC_X_C_FILES") {\
1593 split(src_x_srcs, arr);\
1595 sub(/..\/lib\//, "", arr[val]);\
1596 gen_element(proj_type, "lib", arr[val]);\
1599 else if($$0 == "CURL_SRC_X_H_FILES") {\
1600 split(src_x_hdrs, arr);\
1602 sub(/..\/lib\//, "", arr[val]);\
1603 gen_element(proj_type, "lib", arr[val]);\
1607 printf("%s\r\n", $$0);\
1610 echo "generating '$(VC6_LIBDSP)'"; \
1611 awk -v proj_type=dsp \
1612 -v lib_srcs="$$sorted_lib_srcs" \
1613 -v lib_hdrs="$$sorted_lib_hdrs" \
1614 -v lib_rc="$$win32_lib_rc" \
1615 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1616 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1617 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1618 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1619 "$$awk_code" $(srcdir)/$(VC6_LIBTMPL) > $(VC6_LIBDSP) || { exit 1; }; \
1621 echo "generating '$(VC6_SRCDSP)'"; \
1622 awk -v proj_type=dsp \
1623 -v src_srcs="$$sorted_src_srcs" \
1624 -v src_hdrs="$$sorted_src_hdrs" \
1625 -v src_rc="$$win32_src_rc" \
1626 -v src_x_srcs="$$sorted_src_x_srcs" \
1627 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1628 "$$awk_code" $(srcdir)/$(VC6_SRCTMPL) > $(VC6_SRCDSP) || { exit 1; }; \
1630 echo "generating '$(VC7_LIBVCPROJ)'"; \
1631 awk -v proj_type=vcproj1 \
1632 -v lib_srcs="$$sorted_lib_srcs" \
1633 -v lib_hdrs="$$sorted_lib_hdrs" \
1634 -v lib_rc="$$win32_lib_rc" \
1635 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1636 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1637 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1638 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1639 "$$awk_code" $(srcdir)/$(VC7_LIBTMPL) > $(VC7_LIBVCPROJ) || { exit 1; }; \
1641 echo "generating '$(VC7_SRCVCPROJ)'"; \
1642 awk -v proj_type=vcproj1 \
1643 -v src_srcs="$$sorted_src_srcs" \
1644 -v src_hdrs="$$sorted_src_hdrs" \
1645 -v src_rc="$$win32_src_rc" \
1646 -v src_x_srcs="$$sorted_src_x_srcs" \
1647 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1648 "$$awk_code" $(srcdir)/$(VC7_SRCTMPL) > $(VC7_SRCVCPROJ) || { exit 1; }; \
1650 echo "generating '$(VC71_LIBVCPROJ)'"; \
1651 awk -v proj_type=vcproj1 \
1652 -v lib_srcs="$$sorted_lib_srcs" \
1653 -v lib_hdrs="$$sorted_lib_hdrs" \
1654 -v lib_rc="$$win32_lib_rc" \
1655 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1656 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1657 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1658 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1659 "$$awk_code" $(srcdir)/$(VC71_LIBTMPL) > $(VC71_LIBVCPROJ) || { exit 1; }; \
1661 echo "generating '$(VC71_SRCVCPROJ)'"; \
1662 awk -v proj_type=vcproj1 \
1663 -v src_srcs="$$sorted_src_srcs" \
1664 -v src_hdrs="$$sorted_src_hdrs" \
1665 -v src_rc="$$win32_src_rc" \
1666 -v src_x_srcs="$$sorted_src_x_srcs" \
1667 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1668 "$$awk_code" $(srcdir)/$(VC71_SRCTMPL) > $(VC71_SRCVCPROJ) || { exit 1; }; \
1670 echo "generating '$(VC8_LIBVCPROJ)'"; \
1671 awk -v proj_type=vcproj2 \
1672 -v lib_srcs="$$sorted_lib_srcs" \
1673 -v lib_hdrs="$$sorted_lib_hdrs" \
1674 -v lib_rc="$$win32_lib_rc" \
1675 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1676 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1677 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1678 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1679 "$$awk_code" $(srcdir)/$(VC8_LIBTMPL) > $(VC8_LIBVCPROJ) || { exit 1; }; \
1681 echo "generating '$(VC8_SRCVCPROJ)'"; \
1682 awk -v proj_type=vcproj2 \
1683 -v src_srcs="$$sorted_src_srcs" \
1684 -v src_hdrs="$$sorted_src_hdrs" \
1685 -v src_rc="$$win32_src_rc" \
1686 -v src_x_srcs="$$sorted_src_x_srcs" \
1687 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1688 "$$awk_code" $(srcdir)/$(VC8_SRCTMPL) > $(VC8_SRCVCPROJ) || { exit 1; }; \
1690 echo "generating '$(VC9_LIBVCPROJ)'"; \
1691 awk -v proj_type=vcproj2 \
1692 -v lib_srcs="$$sorted_lib_srcs" \
1693 -v lib_hdrs="$$sorted_lib_hdrs" \
1694 -v lib_rc="$$win32_lib_rc" \
1695 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1696 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1697 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1698 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1699 "$$awk_code" $(srcdir)/$(VC9_LIBTMPL) > $(VC9_LIBVCPROJ) || { exit 1; }; \
1701 echo "generating '$(VC9_SRCVCPROJ)'"; \
1702 awk -v proj_type=vcproj2 \
1703 -v src_srcs="$$sorted_src_srcs" \
1704 -v src_hdrs="$$sorted_src_hdrs" \
1705 -v src_rc="$$win32_src_rc" \
1706 -v src_x_srcs="$$sorted_src_x_srcs" \
1707 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1708 "$$awk_code" $(srcdir)/$(VC9_SRCTMPL) > $(VC9_SRCVCPROJ) || { exit 1; }; \
1710 echo "generating '$(VC10_LIBVCXPROJ)'"; \
1711 awk -v proj_type=vcxproj \
1712 -v lib_srcs="$$sorted_lib_srcs" \
1713 -v lib_hdrs="$$sorted_lib_hdrs" \
1714 -v lib_rc="$$win32_lib_rc" \
1715 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1716 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1717 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1718 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1719 "$$awk_code" $(srcdir)/$(VC10_LIBTMPL) > $(VC10_LIBVCXPROJ) || { exit 1; }; \
1721 echo "generating '$(VC10_SRCVCXPROJ)'"; \
1722 awk -v proj_type=vcxproj \
1723 -v src_srcs="$$sorted_src_srcs" \
1724 -v src_hdrs="$$sorted_src_hdrs" \
1725 -v src_rc="$$win32_src_rc" \
1726 -v src_x_srcs="$$sorted_src_x_srcs" \
1727 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1728 "$$awk_code" $(srcdir)/$(VC10_SRCTMPL) > $(VC10_SRCVCXPROJ) || { exit 1; }; \
1730 echo "generating '$(VC11_LIBVCXPROJ)'"; \
1731 awk -v proj_type=vcxproj \
1732 -v lib_srcs="$$sorted_lib_srcs" \
1733 -v lib_hdrs="$$sorted_lib_hdrs" \
1734 -v lib_rc="$$win32_lib_rc" \
1735 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1736 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1737 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1738 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1739 "$$awk_code" $(srcdir)/$(VC11_LIBTMPL) > $(VC11_LIBVCXPROJ) || { exit 1; }; \
1741 echo "generating '$(VC11_SRCVCXPROJ)'"; \
1742 awk -v proj_type=vcxproj \
1743 -v src_srcs="$$sorted_src_srcs" \
1744 -v src_hdrs="$$sorted_src_hdrs" \
1745 -v src_rc="$$win32_src_rc" \
1746 -v src_x_srcs="$$sorted_src_x_srcs" \
1747 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1748 "$$awk_code" $(srcdir)/$(VC11_SRCTMPL) > $(VC11_SRCVCXPROJ) || { exit 1; }; \
1750 echo "generating '$(VC12_LIBVCXPROJ)'"; \
1751 awk -v proj_type=vcxproj \
1752 -v lib_srcs="$$sorted_lib_srcs" \
1753 -v lib_hdrs="$$sorted_lib_hdrs" \
1754 -v lib_rc="$$win32_lib_rc" \
1755 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1756 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1757 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1758 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1759 "$$awk_code" $(srcdir)/$(VC12_LIBTMPL) > $(VC12_LIBVCXPROJ) || { exit 1; }; \
1761 echo "generating '$(VC12_SRCVCXPROJ)'"; \
1762 awk -v proj_type=vcxproj \
1763 -v src_srcs="$$sorted_src_srcs" \
1764 -v src_hdrs="$$sorted_src_hdrs" \
1765 -v src_rc="$$win32_src_rc" \
1766 -v src_x_srcs="$$sorted_src_x_srcs" \
1767 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1768 "$$awk_code" $(srcdir)/$(VC12_SRCTMPL) > $(VC12_SRCVCXPROJ) || { exit 1; }; \
1770 echo "generating '$(VC14_LIBVCXPROJ)'"; \
1771 awk -v proj_type=vcxproj \
1772 -v lib_srcs="$$sorted_lib_srcs" \
1773 -v lib_hdrs="$$sorted_lib_hdrs" \
1774 -v lib_rc="$$win32_lib_rc" \
1775 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1776 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1777 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1778 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1779 "$$awk_code" $(srcdir)/$(VC14_LIBTMPL) > $(VC14_LIBVCXPROJ) || { exit 1; }; \
1781 echo "generating '$(VC14_SRCVCXPROJ)'"; \
1782 awk -v proj_type=vcxproj \
1783 -v src_srcs="$$sorted_src_srcs" \
1784 -v src_hdrs="$$sorted_src_hdrs" \
1785 -v src_rc="$$win32_src_rc" \
1786 -v src_x_srcs="$$sorted_src_x_srcs" \
1787 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1788 "$$awk_code" $(srcdir)/$(VC14_SRCTMPL) > $(VC14_SRCVCXPROJ) || { exit 1; }; \
1790 echo "generating '$(VC15_LIBVCXPROJ)'"; \
1791 awk -v proj_type=vcxproj \
1792 -v lib_srcs="$$sorted_lib_srcs" \
1793 -v lib_hdrs="$$sorted_lib_hdrs" \
1794 -v lib_rc="$$win32_lib_rc" \
1795 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1796 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1797 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1798 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1799 "$$awk_code" $(srcdir)/$(VC15_LIBTMPL) > $(VC15_LIBVCXPROJ) || { exit 1; }; \
1801 echo "generating '$(VC15_SRCVCXPROJ)'"; \
1802 awk -v proj_type=vcxproj \
1803 -v src_srcs="$$sorted_src_srcs" \
1804 -v src_hdrs="$$sorted_src_hdrs" \
1805 -v src_rc="$$win32_src_rc" \
1806 -v src_x_srcs="$$sorted_src_x_srcs" \
1807 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1808 "$$awk_code" $(srcdir)/$(VC15_SRCTMPL) > $(VC15_SRCVCXPROJ) || { exit 1; };)
1810 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1811 # Otherwise a system limit (for SysV at least) may be exceeded.