Revert "Imported Upstream version 7.44.0"
[platform/upstream/curl.git] / Makefile.in
1 # Makefile.in generated by automake 1.14.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
5
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.
9
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
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 #***************************************************************************
18 #                                  _   _ ____  _
19 #  Project                     ___| | | |  _ \| |
20 #                             / __| | | | |_) | |
21 #                            | (__| |_| |  _ <| |___
22 #                             \___|\___/|_| \_\_____|
23 #
24 # Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
25 #
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 http://curl.haxx.se/docs/copyright.html.
29 #
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.
33 #
34 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
35 # KIND, either express or implied.
36 #
37 ###########################################################################
38
39 #***************************************************************************
40 #                                  _   _ ____  _
41 #  Project                     ___| | | |  _ \| |
42 #                             / __| | | | |_) | |
43 #                            | (__| |_| |  _ <| |___
44 #                             \___|\___/|_| \_\_____|
45 #
46 # Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
47 #
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 http://curl.haxx.se/docs/copyright.html.
51 #
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.
55 #
56 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
57 # KIND, either express or implied.
58 #
59 ###########################################################################
60
61 # ./src/Makefile.inc
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)
69
70
71 VPATH = @srcdir@
72 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
73 am__make_running_with_option = \
74   case $${target_option-} in \
75       ?) ;; \
76       *) echo "am__make_running_with_option: internal error: invalid" \
77               "target option '$${target_option-}' specified" >&2; \
78          exit 1;; \
79   esac; \
80   has_opt=no; \
81   sane_makeflags=$$MAKEFLAGS; \
82   if $(am__is_gnu_make); then \
83     sane_makeflags=$$MFLAGS; \
84   else \
85     case $$MAKEFLAGS in \
86       *\\[\ \   ]*) \
87         bs=\\; \
88         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
89           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
90     esac; \
91   fi; \
92   skip_next=no; \
93   strip_trailopt () \
94   { \
95     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
96   }; \
97   for flg in $$sane_makeflags; do \
98     test $$skip_next = yes && { skip_next=no; continue; }; \
99     case $$flg in \
100       *=*|--*) continue;; \
101         -*I) strip_trailopt 'I'; skip_next=yes;; \
102       -*I?*) strip_trailopt 'I';; \
103         -*O) strip_trailopt 'O'; skip_next=yes;; \
104       -*O?*) strip_trailopt 'O';; \
105         -*l) strip_trailopt 'l'; skip_next=yes;; \
106       -*l?*) strip_trailopt 'l';; \
107       -[dEDm]) skip_next=yes;; \
108       -[JT]) skip_next=yes;; \
109     esac; \
110     case $$flg in \
111       *$$target_option*) has_opt=yes; break;; \
112     esac; \
113   done; \
114   test $$has_opt = yes
115 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
116 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
117 pkgdatadir = $(datadir)/@PACKAGE@
118 pkgincludedir = $(includedir)/@PACKAGE@
119 pkglibdir = $(libdir)/@PACKAGE@
120 pkglibexecdir = $(libexecdir)/@PACKAGE@
121 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
122 install_sh_DATA = $(install_sh) -c -m 644
123 install_sh_PROGRAM = $(install_sh) -c
124 install_sh_SCRIPT = $(install_sh) -c
125 INSTALL_HEADER = $(INSTALL_DATA)
126 transform = $(program_transform_name)
127 NORMAL_INSTALL = :
128 PRE_INSTALL = :
129 POST_INSTALL = :
130 NORMAL_UNINSTALL = :
131 PRE_UNINSTALL = :
132 POST_UNINSTALL = :
133 build_triplet = @build@
134 host_triplet = @host@
135 DIST_COMMON = $(srcdir)/lib/Makefile.inc $(srcdir)/src/Makefile.inc \
136         $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
137         $(top_srcdir)/configure $(am__configure_deps) mkinstalldirs \
138         $(srcdir)/curl-config.in $(srcdir)/libcurl.pc.in COPYING \
139         README compile config.guess config.sub depcomp install-sh \
140         missing ltmain.sh
141 subdir = .
142 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
143 am__aclocal_m4_deps = $(top_srcdir)/m4/curl-compilers.m4 \
144         $(top_srcdir)/m4/curl-confopts.m4 \
145         $(top_srcdir)/m4/curl-functions.m4 \
146         $(top_srcdir)/m4/curl-openssl.m4 \
147         $(top_srcdir)/m4/curl-override.m4 \
148         $(top_srcdir)/m4/curl-reentrant.m4 $(top_srcdir)/m4/libtool.m4 \
149         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
150         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
151         $(top_srcdir)/m4/xc-am-iface.m4 \
152         $(top_srcdir)/m4/xc-cc-check.m4 \
153         $(top_srcdir)/m4/xc-lt-iface.m4 \
154         $(top_srcdir)/m4/xc-translit.m4 \
155         $(top_srcdir)/m4/xc-val-flgs.m4 \
156         $(top_srcdir)/m4/zz40-xc-ovr.m4 \
157         $(top_srcdir)/m4/zz50-xc-ovr.m4 \
158         $(top_srcdir)/m4/zz60-xc-ovr.m4 $(top_srcdir)/acinclude.m4 \
159         $(top_srcdir)/configure.ac
160 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
161         $(ACLOCAL_M4)
162 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
163  configure.lineno config.status.lineno
164 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
165 CONFIG_HEADER = $(top_builddir)/lib/curl_config.h \
166         $(top_builddir)/include/curl/curlbuild.h
167 CONFIG_CLEAN_FILES = curl-config libcurl.pc
168 CONFIG_CLEAN_VPATH_FILES =
169 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
170 am__vpath_adj = case $$p in \
171     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
172     *) f=$$p;; \
173   esac;
174 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
175 am__install_max = 40
176 am__nobase_strip_setup = \
177   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
178 am__nobase_strip = \
179   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
180 am__nobase_list = $(am__nobase_strip_setup); \
181   for p in $$list; do echo "$$p $$p"; done | \
182   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
183   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
184     if (++n[$$2] == $(am__install_max)) \
185       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
186     END { for (dir in files) print dir, files[dir] }'
187 am__base_list = \
188   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
189   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
190 am__uninstall_files_from_dir = { \
191   test -z "$$files" \
192     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
193     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
194          $(am__cd) "$$dir" && rm -f $$files; }; \
195   }
196 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"
197 SCRIPTS = $(bin_SCRIPTS)
198 AM_V_P = $(am__v_P_@AM_V@)
199 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
200 am__v_P_0 = false
201 am__v_P_1 = :
202 AM_V_GEN = $(am__v_GEN_@AM_V@)
203 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
204 am__v_GEN_0 = @echo "  GEN     " $@;
205 am__v_GEN_1 = 
206 AM_V_at = $(am__v_at_@AM_V@)
207 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
208 am__v_at_0 = @
209 am__v_at_1 = 
210 SOURCES =
211 DIST_SOURCES =
212 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
213         ctags-recursive dvi-recursive html-recursive info-recursive \
214         install-data-recursive install-dvi-recursive \
215         install-exec-recursive install-html-recursive \
216         install-info-recursive install-pdf-recursive \
217         install-ps-recursive install-recursive installcheck-recursive \
218         installdirs-recursive pdf-recursive ps-recursive \
219         tags-recursive uninstall-recursive
220 am__can_run_installinfo = \
221   case $$AM_UPDATE_INFO_DIR in \
222     n|no|NO) false;; \
223     *) (install-info --version) >/dev/null 2>&1;; \
224   esac
225 DATA = $(pkgconfig_DATA)
226 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
227   distclean-recursive maintainer-clean-recursive
228 am__recursive_targets = \
229   $(RECURSIVE_TARGETS) \
230   $(RECURSIVE_CLEAN_TARGETS) \
231   $(am__extra_recursive_targets)
232 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
233         cscope distdir dist dist-all distcheck
234 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
235 # Read a list of newline-separated strings from the standard input,
236 # and print each of them once, without duplicates.  Input order is
237 # *not* preserved.
238 am__uniquify_input = $(AWK) '\
239   BEGIN { nonempty = 0; } \
240   { items[$$0] = 1; nonempty = 1; } \
241   END { if (nonempty) { for (i in items) print i; }; } \
242 '
243 # Make sure the list of sources is unique.  This is necessary because,
244 # e.g., the same source file might be shared among _SOURCES variables
245 # for different programs/libraries.
246 am__define_uniq_tagged_files = \
247   list='$(am__tagged_files)'; \
248   unique=`for i in $$list; do \
249     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
250   done | $(am__uniquify_input)`
251 ETAGS = etags
252 CTAGS = ctags
253 CSCOPE = cscope
254 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
255 distdir = $(PACKAGE)-$(VERSION)
256 top_distdir = $(distdir)
257 am__remove_distdir = \
258   if test -d "$(distdir)"; then \
259     find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
260       && rm -rf "$(distdir)" \
261       || { sleep 5 && rm -rf "$(distdir)"; }; \
262   else :; fi
263 am__post_remove_distdir = $(am__remove_distdir)
264 am__relativize = \
265   dir0=`pwd`; \
266   sed_first='s,^\([^/]*\)/.*$$,\1,'; \
267   sed_rest='s,^[^/]*/*,,'; \
268   sed_last='s,^.*/\([^/]*\)$$,\1,'; \
269   sed_butlast='s,/*[^/]*$$,,'; \
270   while test -n "$$dir1"; do \
271     first=`echo "$$dir1" | sed -e "$$sed_first"`; \
272     if test "$$first" != "."; then \
273       if test "$$first" = ".."; then \
274         dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
275         dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
276       else \
277         first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
278         if test "$$first2" = "$$first"; then \
279           dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
280         else \
281           dir2="../$$dir2"; \
282         fi; \
283         dir0="$$dir0"/"$$first"; \
284       fi; \
285     fi; \
286     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
287   done; \
288   reldir="$$dir2"
289 DIST_ARCHIVES = $(distdir).tar.gz
290 GZIP_ENV = --best
291 DIST_TARGETS = dist-gzip
292 distuninstallcheck_listfiles = find . -type f -print
293 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
294   | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
295 distcleancheck_listfiles = find . -type f -print
296 ACLOCAL = @ACLOCAL@
297 AMTAR = @AMTAR@
298 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
299 AR = @AR@
300 AS = @AS@
301 AUTOCONF = @AUTOCONF@
302 AUTOHEADER = @AUTOHEADER@
303 AUTOMAKE = @AUTOMAKE@
304 AWK = @AWK@
305 BLANK_AT_MAKETIME = @BLANK_AT_MAKETIME@
306 CC = @CC@
307 CCDEPMODE = @CCDEPMODE@
308 CFLAGS = @CFLAGS@
309 CFLAG_CURL_SYMBOL_HIDING = @CFLAG_CURL_SYMBOL_HIDING@
310 CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@
311 CPP = @CPP@
312 CPPFLAGS = @CPPFLAGS@
313 CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@
314 CURLVERSION = @CURLVERSION@
315 CURL_CA_BUNDLE = @CURL_CA_BUNDLE@
316 CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@
317 CURL_DISABLE_DICT = @CURL_DISABLE_DICT@
318 CURL_DISABLE_FILE = @CURL_DISABLE_FILE@
319 CURL_DISABLE_FTP = @CURL_DISABLE_FTP@
320 CURL_DISABLE_GOPHER = @CURL_DISABLE_GOPHER@
321 CURL_DISABLE_HTTP = @CURL_DISABLE_HTTP@
322 CURL_DISABLE_IMAP = @CURL_DISABLE_IMAP@
323 CURL_DISABLE_LDAP = @CURL_DISABLE_LDAP@
324 CURL_DISABLE_LDAPS = @CURL_DISABLE_LDAPS@
325 CURL_DISABLE_POP3 = @CURL_DISABLE_POP3@
326 CURL_DISABLE_PROXY = @CURL_DISABLE_PROXY@
327 CURL_DISABLE_RTSP = @CURL_DISABLE_RTSP@
328 CURL_DISABLE_SMB = @CURL_DISABLE_SMB@
329 CURL_DISABLE_SMTP = @CURL_DISABLE_SMTP@
330 CURL_DISABLE_TELNET = @CURL_DISABLE_TELNET@
331 CURL_DISABLE_TFTP = @CURL_DISABLE_TFTP@
332 CURL_LT_SHLIB_VERSIONED_FLAVOUR = @CURL_LT_SHLIB_VERSIONED_FLAVOUR@
333 CURL_NETWORK_AND_TIME_LIBS = @CURL_NETWORK_AND_TIME_LIBS@
334 CURL_NETWORK_LIBS = @CURL_NETWORK_LIBS@
335 CYGPATH_W = @CYGPATH_W@
336 DEFS = @DEFS@
337 DEPDIR = @DEPDIR@
338 DLLTOOL = @DLLTOOL@
339 DSYMUTIL = @DSYMUTIL@
340 DUMPBIN = @DUMPBIN@
341 ECHO_C = @ECHO_C@
342 ECHO_N = @ECHO_N@
343 ECHO_T = @ECHO_T@
344 EGREP = @EGREP@
345 ENABLE_SHARED = @ENABLE_SHARED@
346 ENABLE_STATIC = @ENABLE_STATIC@
347 EXEEXT = @EXEEXT@
348 FGREP = @FGREP@
349 GREP = @GREP@
350 HAVE_GNUTLS_SRP = @HAVE_GNUTLS_SRP@
351 HAVE_LDAP_SSL = @HAVE_LDAP_SSL@
352 HAVE_LIBZ = @HAVE_LIBZ@
353 HAVE_SSLEAY_SRP = @HAVE_SSLEAY_SRP@
354 IDN_ENABLED = @IDN_ENABLED@
355 INSTALL = @INSTALL@
356 INSTALL_DATA = @INSTALL_DATA@
357 INSTALL_PROGRAM = @INSTALL_PROGRAM@
358 INSTALL_SCRIPT = @INSTALL_SCRIPT@
359 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
360 IPV6_ENABLED = @IPV6_ENABLED@
361 LD = @LD@
362 LDFLAGS = @LDFLAGS@
363 LIBCURL_LIBS = @LIBCURL_LIBS@
364 LIBMETALINK_CPPFLAGS = @LIBMETALINK_CPPFLAGS@
365 LIBMETALINK_LDFLAGS = @LIBMETALINK_LDFLAGS@
366 LIBMETALINK_LIBS = @LIBMETALINK_LIBS@
367 LIBOBJS = @LIBOBJS@
368 LIBS = @LIBS@
369 LIBTOOL = @LIBTOOL@
370 LIPO = @LIPO@
371 LN_S = @LN_S@
372 LTLIBOBJS = @LTLIBOBJS@
373 MAINT = @MAINT@
374 MAKEINFO = @MAKEINFO@
375 MANIFEST_TOOL = @MANIFEST_TOOL@
376 MANOPT = @MANOPT@
377 MKDIR_P = @MKDIR_P@
378 NM = @NM@
379 NMEDIT = @NMEDIT@
380 NROFF = @NROFF@
381 NSS_LIBS = @NSS_LIBS@
382 OBJDUMP = @OBJDUMP@
383 OBJEXT = @OBJEXT@
384 OTOOL = @OTOOL@
385 OTOOL64 = @OTOOL64@
386 PACKAGE = @PACKAGE@
387 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
388 PACKAGE_NAME = @PACKAGE_NAME@
389 PACKAGE_STRING = @PACKAGE_STRING@
390 PACKAGE_TARNAME = @PACKAGE_TARNAME@
391 PACKAGE_URL = @PACKAGE_URL@
392 PACKAGE_VERSION = @PACKAGE_VERSION@
393 PATH_SEPARATOR = @PATH_SEPARATOR@
394 PERL = @PERL@
395 PKGADD_NAME = @PKGADD_NAME@
396 PKGADD_PKG = @PKGADD_PKG@
397 PKGADD_VENDOR = @PKGADD_VENDOR@
398 PKGCONFIG = @PKGCONFIG@
399 RANDOM_FILE = @RANDOM_FILE@
400 RANLIB = @RANLIB@
401 REQUIRE_LIB_DEPS = @REQUIRE_LIB_DEPS@
402 SED = @SED@
403 SET_MAKE = @SET_MAKE@
404 SHELL = @SHELL@
405 SSL_ENABLED = @SSL_ENABLED@
406 STRIP = @STRIP@
407 SUPPORT_FEATURES = @SUPPORT_FEATURES@
408 SUPPORT_PROTOCOLS = @SUPPORT_PROTOCOLS@
409 USE_ARES = @USE_ARES@
410 USE_AXTLS = @USE_AXTLS@
411 USE_CYASSL = @USE_CYASSL@
412 USE_DARWINSSL = @USE_DARWINSSL@
413 USE_GNUTLS = @USE_GNUTLS@
414 USE_GNUTLS_NETTLE = @USE_GNUTLS_NETTLE@
415 USE_LIBRTMP = @USE_LIBRTMP@
416 USE_LIBSSH2 = @USE_LIBSSH2@
417 USE_NGHTTP2 = @USE_NGHTTP2@
418 USE_NSS = @USE_NSS@
419 USE_OPENLDAP = @USE_OPENLDAP@
420 USE_POLARSSL = @USE_POLARSSL@
421 USE_SCHANNEL = @USE_SCHANNEL@
422 USE_SSLEAY = @USE_SSLEAY@
423 USE_UNIX_SOCKETS = @USE_UNIX_SOCKETS@
424 USE_WINDOWS_SSPI = @USE_WINDOWS_SSPI@
425 VERSION = @VERSION@
426 VERSIONNUM = @VERSIONNUM@
427 ZLIB_LIBS = @ZLIB_LIBS@
428 abs_builddir = @abs_builddir@
429 abs_srcdir = @abs_srcdir@
430 abs_top_builddir = @abs_top_builddir@
431 abs_top_srcdir = @abs_top_srcdir@
432 ac_ct_AR = @ac_ct_AR@
433 ac_ct_CC = @ac_ct_CC@
434 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
435 am__include = @am__include@
436 am__leading_dot = @am__leading_dot@
437 am__quote = @am__quote@
438 am__tar = @am__tar@
439 am__untar = @am__untar@
440 bindir = @bindir@
441 build = @build@
442 build_alias = @build_alias@
443 build_cpu = @build_cpu@
444 build_os = @build_os@
445 build_vendor = @build_vendor@
446 builddir = @builddir@
447 datadir = @datadir@
448 datarootdir = @datarootdir@
449 docdir = @docdir@
450 dvidir = @dvidir@
451 exec_prefix = @exec_prefix@
452 host = @host@
453 host_alias = @host_alias@
454 host_cpu = @host_cpu@
455 host_os = @host_os@
456 host_vendor = @host_vendor@
457 htmldir = @htmldir@
458 includedir = @includedir@
459 infodir = @infodir@
460 install_sh = @install_sh@
461 libdir = @libdir@
462 libexecdir = @libexecdir@
463 libext = @libext@
464 localedir = @localedir@
465 localstatedir = @localstatedir@
466 mandir = @mandir@
467 mkdir_p = @mkdir_p@
468 oldincludedir = @oldincludedir@
469 pdfdir = @pdfdir@
470 prefix = @prefix@
471 program_transform_name = @program_transform_name@
472 psdir = @psdir@
473 sbindir = @sbindir@
474 sharedstatedir = @sharedstatedir@
475 srcdir = @srcdir@
476 subdirs = @subdirs@
477 sysconfdir = @sysconfdir@
478 target_alias = @target_alias@
479 top_build_prefix = @top_build_prefix@
480 top_builddir = @top_builddir@
481 top_srcdir = @top_srcdir@
482 AUTOMAKE_OPTIONS = foreign
483 ACLOCAL_AMFLAGS = -I m4
484 CMAKE_DIST = CMakeLists.txt CMake/CMakeConfigurableFile.in      \
485  CMake/CurlTests.c CMake/FindGSS.cmake CMake/OtherTests.cmake   \
486  CMake/Platforms/WindowsCache.cmake CMake/Utilities.cmake       \
487  include/curl/curlbuild.h.cmake CMake/Macros.cmake
488
489 VC6_LIBTMPL = projects/Windows/VC6/lib/libcurl.tmpl
490 VC6_LIBDSP = projects/Windows/VC6/lib/libcurl.dsp
491 VC6_LIBDSP_DEPS = $(VC6_LIBTMPL) Makefile.am lib/Makefile.inc
492 VC6_SRCTMPL = projects/Windows/VC6/src/curlsrc.tmpl
493 VC6_SRCDSP = projects/Windows/VC6/src/curlsrc.dsp
494 VC6_SRCDSP_DEPS = $(VC6_SRCTMPL) Makefile.am src/Makefile.inc
495 VC7_LIBTMPL = projects/Windows/VC7/lib/libcurl.tmpl
496 VC7_LIBVCPROJ = projects/Windows/VC7/lib/libcurl.vcproj
497 VC7_LIBVCPROJ_DEPS = $(VC7_LIBTMPL) Makefile.am lib/Makefile.inc
498 VC7_SRCTMPL = projects/Windows/VC7/src/curlsrc.tmpl
499 VC7_SRCVCPROJ = projects/Windows/VC7/src/curlsrc.vcproj
500 VC7_SRCVCPROJ_DEPS = $(VC7_SRCTMPL) Makefile.am src/Makefile.inc
501 VC71_LIBTMPL = projects/Windows/VC7.1/lib/libcurl.tmpl
502 VC71_LIBVCPROJ = projects/Windows/VC7.1/lib/libcurl.vcproj
503 VC71_LIBVCPROJ_DEPS = $(VC71_LIBTMPL) Makefile.am lib/Makefile.inc
504 VC71_SRCTMPL = projects/Windows/VC7.1/src/curlsrc.tmpl
505 VC71_SRCVCPROJ = projects/Windows/VC7.1/src/curlsrc.vcproj
506 VC71_SRCVCPROJ_DEPS = $(VC71_SRCTMPL) Makefile.am src/Makefile.inc
507 VC8_LIBTMPL = projects/Windows/VC8/lib/libcurl.tmpl
508 VC8_LIBVCPROJ = projects/Windows/VC8/lib/libcurl.vcproj
509 VC8_LIBVCPROJ_DEPS = $(VC8_LIBTMPL) Makefile.am lib/Makefile.inc
510 VC8_SRCTMPL = projects/Windows/VC8/src/curlsrc.tmpl
511 VC8_SRCVCPROJ = projects/Windows/VC8/src/curlsrc.vcproj
512 VC8_SRCVCPROJ_DEPS = $(VC8_SRCTMPL) Makefile.am src/Makefile.inc
513 VC9_LIBTMPL = projects/Windows/VC9/lib/libcurl.tmpl
514 VC9_LIBVCPROJ = projects/Windows/VC9/lib/libcurl.vcproj
515 VC9_LIBVCPROJ_DEPS = $(VC9_LIBTMPL) Makefile.am lib/Makefile.inc
516 VC9_SRCTMPL = projects/Windows/VC9/src/curlsrc.tmpl
517 VC9_SRCVCPROJ = projects/Windows/VC9/src/curlsrc.vcproj
518 VC9_SRCVCPROJ_DEPS = $(VC9_SRCTMPL) Makefile.am src/Makefile.inc
519 VC10_LIBTMPL = projects/Windows/VC10/lib/libcurl.tmpl
520 VC10_LIBVCXPROJ = projects/Windows/VC10/lib/libcurl.vcxproj
521 VC10_LIBVCXPROJ_DEPS = $(VC10_LIBTMPL) Makefile.am lib/Makefile.inc
522 VC10_SRCTMPL = projects/Windows/VC10/src/curlsrc.tmpl
523 VC10_SRCVCXPROJ = projects/Windows/VC10/src/curlsrc.vcxproj
524 VC10_SRCVCXPROJ_DEPS = $(VC10_SRCTMPL) Makefile.am src/Makefile.inc
525 VC11_LIBTMPL = projects/Windows/VC11/lib/libcurl.tmpl
526 VC11_LIBVCXPROJ = projects/Windows/VC11/lib/libcurl.vcxproj
527 VC11_LIBVCXPROJ_DEPS = $(VC11_LIBTMPL) Makefile.am lib/Makefile.inc
528 VC11_SRCTMPL = projects/Windows/VC11/src/curlsrc.tmpl
529 VC11_SRCVCXPROJ = projects/Windows/VC11/src/curlsrc.vcxproj
530 VC11_SRCVCXPROJ_DEPS = $(VC11_SRCTMPL) Makefile.am src/Makefile.inc
531 VC12_LIBTMPL = projects/Windows/VC12/lib/libcurl.tmpl
532 VC12_LIBVCXPROJ = projects/Windows/VC12/lib/libcurl.vcxproj
533 VC12_LIBVCXPROJ_DEPS = $(VC12_LIBTMPL) Makefile.am lib/Makefile.inc
534 VC12_SRCTMPL = projects/Windows/VC12/src/curlsrc.tmpl
535 VC12_SRCVCXPROJ = projects/Windows/VC12/src/curlsrc.vcxproj
536 VC12_SRCVCXPROJ_DEPS = $(VC12_SRCTMPL) Makefile.am src/Makefile.inc
537 VC_DIST = projects/README       \
538  projects/build-openssl.bat     \
539  projects/checksrc.bat  \
540  projects/Windows/VC6/curl.dsw  \
541  projects/Windows/VC6/lib/libcurl.dsw $(VC6_LIBDSP)     \
542  projects/Windows/VC6/src/curlsrc.dsw $(VC6_SRCDSP)     \
543  projects/Windows/VC7/curl.sln  \
544  projects/Windows/VC7/lib/libcurl.sln $(VC7_LIBVCPROJ)  \
545  projects/Windows/VC7/src/curlsrc.sln $(VC7_SRCVCPROJ)  \
546  projects/Windows/VC7.1/curl.sln        \
547  projects/Windows/VC7.1/lib/libcurl.sln $(VC71_LIBVCPROJ)       \
548  projects/Windows/VC7.1/src/curlsrc.sln $(VC71_SRCVCPROJ)       \
549  projects/Windows/VC8/curl.sln  \
550  projects/Windows/VC8/lib/libcurl.sln $(VC8_LIBVCPROJ)  \
551  projects/Windows/VC8/src/curlsrc.sln $(VC8_SRCVCPROJ)  \
552  projects/Windows/VC9/curl.sln  \
553  projects/Windows/VC9/lib/libcurl.sln $(VC9_LIBVCPROJ)  \
554  projects/Windows/VC9/src/curlsrc.sln $(VC9_SRCVCPROJ)  \
555  projects/Windows/VC10/curl.sln \
556  projects/Windows/VC10/lib/libcurl.sln $(VC10_LIBVCXPROJ)       \
557  projects/Windows/VC10/src/curlsrc.sln $(VC10_SRCVCXPROJ)       \
558  projects/Windows/VC11/curl.sln \
559  projects/Windows/VC11/lib/libcurl.sln $(VC11_LIBVCXPROJ)       \
560  projects/Windows/VC11/src/curlsrc.sln $(VC11_SRCVCXPROJ)       \
561  projects/Windows/VC12/curl.sln \
562  projects/Windows/VC12/lib/libcurl.sln $(VC12_LIBVCXPROJ)       \
563  projects/Windows/VC12/src/curlsrc.sln $(VC12_SRCVCXPROJ)
564
565 WINBUILD_DIST = winbuild/BUILD.WINDOWS.txt winbuild/gen_resp_file.bat   \
566  winbuild/MakefileBuild.vc winbuild/Makefile.vc                         \
567  winbuild/Makefile.msvc.names
568
569 EXTRA_DIST = CHANGES COPYING maketgz Makefile.dist curl-config.in       \
570  RELEASE-NOTES buildconf libcurl.pc.in MacOSX-Framework \
571  $(CMAKE_DIST) $(VC_DIST) $(WINBUILD_DIST) lib/libcurl.vers.in
572
573 CLEANFILES = $(VC6_LIBDSP) $(VC6_SRCDSP) $(VC7_LIBVCPROJ) $(VC7_SRCVCPROJ)      \
574  $(VC71_LIBVCPROJ) $(VC71_SRCVCPROJ) $(VC8_LIBVCPROJ) $(VC8_SRCVCPROJ)  \
575  $(VC9_LIBVCPROJ) $(VC9_SRCVCPROJ) $(VC10_LIBVCXPROJ) $(VC10_SRCVCXPROJ)        \
576  $(VC11_LIBVCXPROJ) $(VC11_SRCVCXPROJ) $(VC12_LIBVCXPROJ) $(VC12_SRCVCXPROJ)
577
578 bin_SCRIPTS = curl-config
579 SUBDIRS = lib src include
580 DIST_SUBDIRS = $(SUBDIRS) tests packages docs
581 pkgconfigdir = $(libdir)/pkgconfig
582 pkgconfig_DATA = libcurl.pc
583 LIB_VTLS_CFILES = vtls/openssl.c vtls/gtls.c vtls/vtls.c vtls/nss.c     \
584   vtls/polarssl.c vtls/polarssl_threadlock.c vtls/axtls.c               \
585   vtls/cyassl.c vtls/curl_schannel.c vtls/curl_darwinssl.c vtls/gskit.c
586
587 LIB_VTLS_HFILES = vtls/openssl.h vtls/vtls.h vtls/gtls.h                \
588   vtls/nssg.h vtls/polarssl.h vtls/polarssl_threadlock.h vtls/axtls.h   \
589   vtls/cyassl.h vtls/curl_schannel.h vtls/curl_darwinssl.h vtls/gskit.h
590
591 LIB_CFILES = file.c timeval.c base64.c hostip.c progress.c formdata.c   \
592   cookie.c http.c sendf.c ftp.c url.c dict.c if2ip.c speedcheck.c       \
593   ldap.c version.c getenv.c escape.c mprintf.c telnet.c netrc.c         \
594   getinfo.c transfer.c strequal.c easy.c security.c curl_fnmatch.c      \
595   fileinfo.c ftplistparser.c wildcard.c krb5.c memdebug.c http_chunks.c \
596   strtok.c connect.c llist.c hash.c multi.c content_encoding.c share.c  \
597   http_digest.c md4.c md5.c http_negotiate.c inet_pton.c strtoofft.c    \
598   strerror.c amigaos.c hostasyn.c hostip4.c hostip6.c hostsyn.c         \
599   inet_ntop.c parsedate.c select.c tftp.c splay.c strdup.c socks.c      \
600   ssh.c rawstr.c curl_addrinfo.c socks_gssapi.c socks_sspi.c            \
601   curl_sspi.c slist.c nonblock.c curl_memrchr.c imap.c pop3.c smtp.c    \
602   pingpong.c rtsp.c curl_threads.c warnless.c hmac.c curl_rtmp.c        \
603   openldap.c curl_gethostname.c gopher.c idn_win32.c                    \
604   http_negotiate_sspi.c http_proxy.c non-ascii.c asyn-ares.c            \
605   asyn-thread.c curl_gssapi.c curl_ntlm.c curl_ntlm_wb.c                \
606   curl_ntlm_core.c curl_ntlm_msgs.c curl_sasl.c curl_multibyte.c        \
607   hostcheck.c bundles.c conncache.c pipeline.c dotdot.c x509asn1.c      \
608   http2.c curl_sasl_sspi.c smb.c curl_sasl_gssapi.c curl_endian.c
609
610 LIB_HFILES = arpa_telnet.h netrc.h file.h timeval.h hostip.h progress.h \
611   formdata.h cookie.h http.h sendf.h ftp.h url.h dict.h if2ip.h         \
612   speedcheck.h urldata.h curl_ldap.h escape.h telnet.h getinfo.h        \
613   strequal.h curl_sec.h memdebug.h http_chunks.h curl_fnmatch.h         \
614   wildcard.h fileinfo.h ftplistparser.h strtok.h connect.h llist.h      \
615   hash.h content_encoding.h share.h curl_md4.h curl_md5.h http_digest.h \
616   http_negotiate.h inet_pton.h amigaos.h strtoofft.h strerror.h         \
617   inet_ntop.h curlx.h curl_memory.h curl_setup.h transfer.h select.h    \
618   easyif.h multiif.h parsedate.h tftp.h sockaddr.h splay.h strdup.h     \
619   socks.h ssh.h curl_base64.h rawstr.h curl_addrinfo.h curl_sspi.h      \
620   slist.h nonblock.h curl_memrchr.h imap.h pop3.h smtp.h pingpong.h     \
621   rtsp.h curl_threads.h warnless.h curl_hmac.h curl_rtmp.h              \
622   curl_gethostname.h gopher.h http_proxy.h non-ascii.h asyn.h           \
623   curl_ntlm.h curl_gssapi.h curl_ntlm_wb.h curl_ntlm_core.h             \
624   curl_ntlm_msgs.h curl_sasl.h curl_multibyte.h hostcheck.h bundles.h   \
625   conncache.h curl_setup_once.h multihandle.h setup-vms.h pipeline.h    \
626   dotdot.h x509asn1.h http2.h sigpipe.h smb.h curl_endian.h
627
628 LIB_RCFILES = libcurl.rc
629 CSOURCES = $(LIB_CFILES) $(LIB_VTLS_CFILES)
630 HHEADERS = $(LIB_HFILES) $(LIB_VTLS_HFILES)
631
632 # libcurl has sources that provide functions named curlx_* that aren't part of
633 # the official API, but we re-use the code here to avoid duplication.
634 CURLX_CFILES = \
635         ../lib/strtoofft.c \
636         ../lib/rawstr.c \
637         ../lib/nonblock.c \
638         ../lib/warnless.c
639
640 CURLX_HFILES = \
641         ../lib/curl_setup.h \
642         ../lib/strtoofft.h \
643         ../lib/rawstr.h \
644         ../lib/nonblock.h \
645         ../lib/warnless.h
646
647 CURL_CFILES = \
648         tool_binmode.c \
649         tool_bname.c \
650         tool_cb_dbg.c \
651         tool_cb_hdr.c \
652         tool_cb_prg.c \
653         tool_cb_rea.c \
654         tool_cb_see.c \
655         tool_cb_wrt.c \
656         tool_cfgable.c \
657         tool_convert.c \
658         tool_dirhie.c \
659         tool_doswin.c \
660         tool_easysrc.c \
661         tool_formparse.c \
662         tool_getparam.c \
663         tool_getpass.c \
664         tool_help.c \
665         tool_helpers.c \
666         tool_homedir.c \
667         tool_hugehelp.c \
668         tool_libinfo.c \
669         tool_main.c \
670         tool_metalink.c \
671         tool_mfiles.c \
672         tool_msgs.c \
673         tool_operate.c \
674         tool_operhlp.c \
675         tool_panykey.c \
676         tool_paramhlp.c \
677         tool_parsecfg.c \
678         tool_strdup.c \
679         tool_setopt.c \
680         tool_sleep.c \
681         tool_urlglob.c \
682         tool_util.c \
683         tool_vms.c \
684         tool_writeenv.c \
685         tool_writeout.c \
686         tool_xattr.c
687
688 CURL_HFILES = \
689         tool_binmode.h \
690         tool_bname.h \
691         tool_cb_dbg.h \
692         tool_cb_hdr.h \
693         tool_cb_prg.h \
694         tool_cb_rea.h \
695         tool_cb_see.h \
696         tool_cb_wrt.h \
697         tool_cfgable.h \
698         tool_convert.h \
699         tool_dirhie.h \
700         tool_doswin.h \
701         tool_easysrc.h \
702         tool_formparse.h \
703         tool_getparam.h \
704         tool_getpass.h \
705         tool_help.h \
706         tool_helpers.h \
707         tool_homedir.h \
708         tool_hugehelp.h \
709         tool_libinfo.h \
710         tool_main.h \
711         tool_metalink.h \
712         tool_mfiles.h \
713         tool_msgs.h \
714         tool_operate.h \
715         tool_operhlp.h \
716         tool_panykey.h \
717         tool_paramhlp.h \
718         tool_parsecfg.h \
719         tool_sdecls.h \
720         tool_setopt.h \
721         tool_setup.h \
722         tool_sleep.h \
723         tool_strdup.h \
724         tool_urlglob.h \
725         tool_util.h \
726         tool_version.h \
727         tool_vms.h \
728         tool_writeenv.h \
729         tool_writeout.h \
730         tool_xattr.h
731
732 CURL_RCFILES = curl.rc
733 curl_SOURCES = $(CURL_CFILES) $(CURLX_CFILES) $(CURL_HFILES)
734 all: all-recursive
735
736 .SUFFIXES:
737 am--refresh: Makefile
738         @:
739 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/lib/Makefile.inc $(srcdir)/src/Makefile.inc $(am__configure_deps)
740         @for dep in $?; do \
741           case '$(am__configure_deps)' in \
742             *$$dep*) \
743               echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
744               $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
745                 && exit 0; \
746               exit 1;; \
747           esac; \
748         done; \
749         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
750         $(am__cd) $(top_srcdir) && \
751           $(AUTOMAKE) --foreign Makefile
752 .PRECIOUS: Makefile
753 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
754         @case '$?' in \
755           *config.status*) \
756             echo ' $(SHELL) ./config.status'; \
757             $(SHELL) ./config.status;; \
758           *) \
759             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
760             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
761         esac;
762 $(srcdir)/lib/Makefile.inc $(srcdir)/src/Makefile.inc:
763
764 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
765         $(SHELL) ./config.status --recheck
766
767 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
768         $(am__cd) $(srcdir) && $(AUTOCONF)
769 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
770         $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
771 $(am__aclocal_m4_deps):
772 curl-config: $(top_builddir)/config.status $(srcdir)/curl-config.in
773         cd $(top_builddir) && $(SHELL) ./config.status $@
774 libcurl.pc: $(top_builddir)/config.status $(srcdir)/libcurl.pc.in
775         cd $(top_builddir) && $(SHELL) ./config.status $@
776 install-binSCRIPTS: $(bin_SCRIPTS)
777         @$(NORMAL_INSTALL)
778         @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
779         if test -n "$$list"; then \
780           echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
781           $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
782         fi; \
783         for p in $$list; do \
784           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
785           if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
786         done | \
787         sed -e 'p;s,.*/,,;n' \
788             -e 'h;s|.*|.|' \
789             -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
790         $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
791           { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
792             if ($$2 == $$4) { files[d] = files[d] " " $$1; \
793               if (++n[d] == $(am__install_max)) { \
794                 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
795             else { print "f", d "/" $$4, $$1 } } \
796           END { for (d in files) print "f", d, files[d] }' | \
797         while read type dir files; do \
798              if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
799              test -z "$$files" || { \
800                echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
801                $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
802              } \
803         ; done
804
805 uninstall-binSCRIPTS:
806         @$(NORMAL_UNINSTALL)
807         @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
808         files=`for p in $$list; do echo "$$p"; done | \
809                sed -e 's,.*/,,;$(transform)'`; \
810         dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
811
812 mostlyclean-libtool:
813         -rm -f *.lo
814
815 clean-libtool:
816         -rm -rf .libs _libs
817
818 distclean-libtool:
819         -rm -f libtool config.lt
820 install-pkgconfigDATA: $(pkgconfig_DATA)
821         @$(NORMAL_INSTALL)
822         @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
823         if test -n "$$list"; then \
824           echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
825           $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
826         fi; \
827         for p in $$list; do \
828           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
829           echo "$$d$$p"; \
830         done | $(am__base_list) | \
831         while read files; do \
832           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
833           $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
834         done
835
836 uninstall-pkgconfigDATA:
837         @$(NORMAL_UNINSTALL)
838         @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
839         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
840         dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
841
842 # This directory's subdirectories are mostly independent; you can cd
843 # into them and run 'make' without going through this Makefile.
844 # To change the values of 'make' variables: instead of editing Makefiles,
845 # (1) if the variable is set in 'config.status', edit 'config.status'
846 #     (which will cause the Makefiles to be regenerated when you run 'make');
847 # (2) otherwise, pass the desired values on the 'make' command line.
848 $(am__recursive_targets):
849         @fail=; \
850         if $(am__make_keepgoing); then \
851           failcom='fail=yes'; \
852         else \
853           failcom='exit 1'; \
854         fi; \
855         dot_seen=no; \
856         target=`echo $@ | sed s/-recursive//`; \
857         case "$@" in \
858           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
859           *) list='$(SUBDIRS)' ;; \
860         esac; \
861         for subdir in $$list; do \
862           echo "Making $$target in $$subdir"; \
863           if test "$$subdir" = "."; then \
864             dot_seen=yes; \
865             local_target="$$target-am"; \
866           else \
867             local_target="$$target"; \
868           fi; \
869           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
870           || eval $$failcom; \
871         done; \
872         if test "$$dot_seen" = "no"; then \
873           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
874         fi; test -z "$$fail"
875
876 ID: $(am__tagged_files)
877         $(am__define_uniq_tagged_files); mkid -fID $$unique
878 tags: tags-recursive
879 TAGS: tags
880
881 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
882         set x; \
883         here=`pwd`; \
884         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
885           include_option=--etags-include; \
886           empty_fix=.; \
887         else \
888           include_option=--include; \
889           empty_fix=; \
890         fi; \
891         list='$(SUBDIRS)'; for subdir in $$list; do \
892           if test "$$subdir" = .; then :; else \
893             test ! -f $$subdir/TAGS || \
894               set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
895           fi; \
896         done; \
897         $(am__define_uniq_tagged_files); \
898         shift; \
899         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
900           test -n "$$unique" || unique=$$empty_fix; \
901           if test $$# -gt 0; then \
902             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
903               "$$@" $$unique; \
904           else \
905             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
906               $$unique; \
907           fi; \
908         fi
909 ctags: ctags-recursive
910
911 CTAGS: ctags
912 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
913         $(am__define_uniq_tagged_files); \
914         test -z "$(CTAGS_ARGS)$$unique" \
915           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
916              $$unique
917
918 GTAGS:
919         here=`$(am__cd) $(top_builddir) && pwd` \
920           && $(am__cd) $(top_srcdir) \
921           && gtags -i $(GTAGS_ARGS) "$$here"
922 cscope: cscope.files
923         test ! -s cscope.files \
924           || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
925 clean-cscope:
926         -rm -f cscope.files
927 cscope.files: clean-cscope cscopelist
928 cscopelist: cscopelist-recursive
929
930 cscopelist-am: $(am__tagged_files)
931         list='$(am__tagged_files)'; \
932         case "$(srcdir)" in \
933           [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
934           *) sdir=$(subdir)/$(srcdir) ;; \
935         esac; \
936         for i in $$list; do \
937           if test -f "$$i"; then \
938             echo "$(subdir)/$$i"; \
939           else \
940             echo "$$sdir/$$i"; \
941           fi; \
942         done >> $(top_builddir)/cscope.files
943
944 distclean-tags:
945         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
946         -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
947
948 distdir: $(DISTFILES)
949         $(am__remove_distdir)
950         test -d "$(distdir)" || mkdir "$(distdir)"
951         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
952         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
953         list='$(DISTFILES)'; \
954           dist_files=`for file in $$list; do echo $$file; done | \
955           sed -e "s|^$$srcdirstrip/||;t" \
956               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
957         case $$dist_files in \
958           */*) $(MKDIR_P) `echo "$$dist_files" | \
959                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
960                            sort -u` ;; \
961         esac; \
962         for file in $$dist_files; do \
963           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
964           if test -d $$d/$$file; then \
965             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
966             if test -d "$(distdir)/$$file"; then \
967               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
968             fi; \
969             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
970               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
971               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
972             fi; \
973             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
974           else \
975             test -f "$(distdir)/$$file" \
976             || cp -p $$d/$$file "$(distdir)/$$file" \
977             || exit 1; \
978           fi; \
979         done
980         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
981           if test "$$subdir" = .; then :; else \
982             $(am__make_dryrun) \
983               || test -d "$(distdir)/$$subdir" \
984               || $(MKDIR_P) "$(distdir)/$$subdir" \
985               || exit 1; \
986             dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
987             $(am__relativize); \
988             new_distdir=$$reldir; \
989             dir1=$$subdir; dir2="$(top_distdir)"; \
990             $(am__relativize); \
991             new_top_distdir=$$reldir; \
992             echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
993             echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
994             ($(am__cd) $$subdir && \
995               $(MAKE) $(AM_MAKEFLAGS) \
996                 top_distdir="$$new_top_distdir" \
997                 distdir="$$new_distdir" \
998                 am__remove_distdir=: \
999                 am__skip_length_check=: \
1000                 am__skip_mode_fix=: \
1001                 distdir) \
1002               || exit 1; \
1003           fi; \
1004         done
1005         $(MAKE) $(AM_MAKEFLAGS) \
1006           top_distdir="$(top_distdir)" distdir="$(distdir)" \
1007           dist-hook
1008         -test -n "$(am__skip_mode_fix)" \
1009         || find "$(distdir)" -type d ! -perm -755 \
1010                 -exec chmod u+rwx,go+rx {} \; -o \
1011           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1012           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1013           ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1014         || chmod -R a+r "$(distdir)"
1015 dist-gzip: distdir
1016         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1017         $(am__post_remove_distdir)
1018
1019 dist-bzip2: distdir
1020         tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1021         $(am__post_remove_distdir)
1022
1023 dist-lzip: distdir
1024         tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1025         $(am__post_remove_distdir)
1026
1027 dist-xz: distdir
1028         tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1029         $(am__post_remove_distdir)
1030
1031 dist-tarZ: distdir
1032         @echo WARNING: "Support for shar distribution archives is" \
1033                        "deprecated." >&2
1034         @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1035         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1036         $(am__post_remove_distdir)
1037
1038 dist-shar: distdir
1039         @echo WARNING: "Support for distribution archives compressed with" \
1040                        "legacy program 'compress' is deprecated." >&2
1041         @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1042         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1043         $(am__post_remove_distdir)
1044
1045 dist-zip: distdir
1046         -rm -f $(distdir).zip
1047         zip -rq $(distdir).zip $(distdir)
1048         $(am__post_remove_distdir)
1049
1050 dist dist-all:
1051         $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1052         $(am__post_remove_distdir)
1053
1054 # This target untars the dist file and tries a VPATH configuration.  Then
1055 # it guarantees that the distribution is self-contained by making another
1056 # tarfile.
1057 distcheck: dist
1058         case '$(DIST_ARCHIVES)' in \
1059         *.tar.gz*) \
1060           GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1061         *.tar.bz2*) \
1062           bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1063         *.tar.lz*) \
1064           lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1065         *.tar.xz*) \
1066           xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1067         *.tar.Z*) \
1068           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1069         *.shar.gz*) \
1070           GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1071         *.zip*) \
1072           unzip $(distdir).zip ;;\
1073         esac
1074         chmod -R a-w $(distdir)
1075         chmod u+w $(distdir)
1076         mkdir $(distdir)/_build $(distdir)/_inst
1077         chmod a-w $(distdir)
1078         test -d $(distdir)/_build || exit 0; \
1079         dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1080           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1081           && am__cwd=`pwd` \
1082           && $(am__cd) $(distdir)/_build \
1083           && ../configure \
1084             $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1085             $(DISTCHECK_CONFIGURE_FLAGS) \
1086             --srcdir=.. --prefix="$$dc_install_base" \
1087           && $(MAKE) $(AM_MAKEFLAGS) \
1088           && $(MAKE) $(AM_MAKEFLAGS) dvi \
1089           && $(MAKE) $(AM_MAKEFLAGS) check \
1090           && $(MAKE) $(AM_MAKEFLAGS) install \
1091           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1092           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1093           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1094                 distuninstallcheck \
1095           && chmod -R a-w "$$dc_install_base" \
1096           && ({ \
1097                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1098                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1099                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1100                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1101                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1102               } || { rm -rf "$$dc_destdir"; exit 1; }) \
1103           && rm -rf "$$dc_destdir" \
1104           && $(MAKE) $(AM_MAKEFLAGS) dist \
1105           && rm -rf $(DIST_ARCHIVES) \
1106           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1107           && cd "$$am__cwd" \
1108           || exit 1
1109         $(am__post_remove_distdir)
1110         @(echo "$(distdir) archives ready for distribution: "; \
1111           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1112           sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1113 distuninstallcheck:
1114         @test -n '$(distuninstallcheck_dir)' || { \
1115           echo 'ERROR: trying to run $@ with an empty' \
1116                '$$(distuninstallcheck_dir)' >&2; \
1117           exit 1; \
1118         }; \
1119         $(am__cd) '$(distuninstallcheck_dir)' || { \
1120           echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1121           exit 1; \
1122         }; \
1123         test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1124            || { echo "ERROR: files left after uninstall:" ; \
1125                 if test -n "$(DESTDIR)"; then \
1126                   echo "  (check DESTDIR support)"; \
1127                 fi ; \
1128                 $(distuninstallcheck_listfiles) ; \
1129                 exit 1; } >&2
1130 distcleancheck: distclean
1131         @if test '$(srcdir)' = . ; then \
1132           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1133           exit 1 ; \
1134         fi
1135         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1136           || { echo "ERROR: files left in build directory after distclean:" ; \
1137                $(distcleancheck_listfiles) ; \
1138                exit 1; } >&2
1139 check-am: all-am
1140 check: check-recursive
1141 all-am: Makefile $(SCRIPTS) $(DATA)
1142 installdirs: installdirs-recursive
1143 installdirs-am:
1144         for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"; do \
1145           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1146         done
1147 install: install-recursive
1148 install-exec: install-exec-recursive
1149 install-data: install-data-recursive
1150 uninstall: uninstall-recursive
1151
1152 install-am: all-am
1153         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1154
1155 installcheck: installcheck-recursive
1156 install-strip:
1157         if test -z '$(STRIP)'; then \
1158           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1159             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1160               install; \
1161         else \
1162           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1163             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1164             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1165         fi
1166 mostlyclean-generic:
1167
1168 clean-generic:
1169         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1170
1171 distclean-generic:
1172         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1173         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1174
1175 maintainer-clean-generic:
1176         @echo "This command is intended for maintainers to use"
1177         @echo "it deletes files that may require special tools to rebuild."
1178 clean: clean-recursive
1179
1180 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
1181
1182 distclean: distclean-recursive
1183         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1184         -rm -f Makefile
1185 distclean-am: clean-am distclean-generic distclean-libtool \
1186         distclean-tags
1187
1188 dvi: dvi-recursive
1189
1190 dvi-am:
1191
1192 html-am:
1193
1194 info: info-recursive
1195
1196 info-am:
1197
1198 install-data-am: install-pkgconfigDATA
1199         @$(NORMAL_INSTALL)
1200         $(MAKE) $(AM_MAKEFLAGS) install-data-hook
1201 install-dvi: install-dvi-recursive
1202
1203 install-dvi-am:
1204
1205 install-exec-am: install-binSCRIPTS
1206
1207 install-html: install-html-recursive
1208
1209 install-html-am:
1210
1211 install-info: install-info-recursive
1212
1213 install-info-am:
1214
1215 install-man:
1216
1217 install-pdf: install-pdf-recursive
1218
1219 install-pdf-am:
1220
1221 install-ps: install-ps-recursive
1222
1223 install-ps-am:
1224
1225 installcheck-am:
1226
1227 maintainer-clean: maintainer-clean-recursive
1228         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1229         -rm -rf $(top_srcdir)/autom4te.cache
1230         -rm -f Makefile
1231 maintainer-clean-am: distclean-am maintainer-clean-generic
1232
1233 mostlyclean: mostlyclean-recursive
1234
1235 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1236
1237 pdf-am:
1238
1239 ps: ps-recursive
1240
1241 ps-am:
1242
1243 uninstall-am: uninstall-binSCRIPTS uninstall-pkgconfigDATA
1244         @$(NORMAL_INSTALL)
1245         $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
1246 .MAKE: $(am__recursive_targets) install-am install-data-am \
1247         install-strip uninstall-am
1248
1249 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1250         am--refresh check check-am clean clean-cscope clean-generic \
1251         clean-libtool clean-local cscope cscopelist-am ctags ctags-am \
1252         dist dist-all dist-bzip2 dist-gzip dist-hook dist-lzip \
1253         dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
1254         distclean-generic distclean-libtool distclean-tags \
1255         distcleancheck distdir distuninstallcheck dvi dvi-am html \
1256         html-am info info-am install install-am install-binSCRIPTS \
1257         install-data install-data-am install-data-hook install-dvi \
1258         install-dvi-am install-exec install-exec-am install-html \
1259         install-html-am install-info install-info-am install-man \
1260         install-pdf install-pdf-am install-pkgconfigDATA install-ps \
1261         install-ps-am install-strip installcheck installcheck-am \
1262         installdirs installdirs-am maintainer-clean \
1263         maintainer-clean-generic mostlyclean mostlyclean-generic \
1264         mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
1265         uninstall-am uninstall-binSCRIPTS uninstall-hook \
1266         uninstall-pkgconfigDATA
1267
1268
1269 # List of files required to generate VC IDE .dsp, .vcproj and .vcxproj files
1270
1271 dist-hook:
1272         rm -rf $(top_builddir)/tests/log
1273         find $(distdir) -name "*.dist" -exec rm {} \;
1274         (distit=`find $(srcdir) -name "*.dist" | grep -v ./ares/`; \
1275         for file in $$distit; do \
1276           strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \
1277           cp $$file $(distdir)$$strip; \
1278         done)
1279
1280 html:
1281         cd docs; make html
1282
1283 pdf:
1284         cd docs; make pdf
1285
1286 check: test examples
1287
1288 @CROSSCOMPILING_TRUE@test-full: test
1289 @CROSSCOMPILING_TRUE@test-torture: test
1290
1291 @CROSSCOMPILING_TRUE@test:
1292 @CROSSCOMPILING_TRUE@   @echo "NOTICE: we can't run the tests when cross-compiling!"
1293
1294 @CROSSCOMPILING_FALSE@test:
1295 @CROSSCOMPILING_FALSE@  @(cd tests; $(MAKE) all quiet-test)
1296
1297 @CROSSCOMPILING_FALSE@test-full:
1298 @CROSSCOMPILING_FALSE@  @(cd tests; $(MAKE) all full-test)
1299
1300 @CROSSCOMPILING_FALSE@test-torture:
1301 @CROSSCOMPILING_FALSE@  @(cd tests; $(MAKE) all torture-test)
1302
1303 @CROSSCOMPILING_FALSE@test-am:
1304 @CROSSCOMPILING_FALSE@  @(cd tests; $(MAKE) all am-test)
1305
1306 examples:
1307         @(cd docs/examples; $(MAKE) check)
1308
1309 # This is a hook to have 'make clean' also clean up the docs and the tests
1310 # dir. The extra check for the Makefiles being present is necessary because
1311 # 'make distcheck' will make clean first in these directories _before_ it runs
1312 # this hook.
1313 clean-local:
1314         @(if test -f tests/Makefile; then cd tests; $(MAKE) clean; fi)
1315         @(if test -f docs/Makefile; then cd docs; $(MAKE) clean; fi)
1316
1317 #
1318 # Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
1319 # must contain the following line:
1320 # %_topdir /home/loic/local/rpm
1321 # and that /home/loic/local/rpm contains the directory SOURCES, BUILD etc.
1322 #
1323 # cd /home/loic/local/rpm ; mkdir -p SOURCES BUILD RPMS/i386 SPECS SRPMS
1324 #
1325 # If additional configure flags are needed to build the package, add the
1326 # following in ~/.rpmmacros
1327 # %configure CFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{_prefix} ${AM_CONFIGFLAGS}
1328 # and run make rpm in the following way:
1329 # AM_CONFIGFLAGS='--with-uri=/home/users/loic/local/RedHat-6.2' make rpm
1330 #
1331
1332 rpms:
1333         $(MAKE) RPMDIST=curl rpm
1334         $(MAKE) RPMDIST=curl-ssl rpm
1335
1336 rpm:
1337         RPM_TOPDIR=`rpm --showrc | $(PERL) -n -e 'print if(s/.*_topdir\s+(.*)/$$1/)'` ; \
1338         cp $(srcdir)/packages/Linux/RPM/$(RPMDIST).spec $$RPM_TOPDIR/SPECS ; \
1339         cp $(PACKAGE)-$(VERSION).tar.gz $$RPM_TOPDIR/SOURCES ; \
1340         rpm -ba --clean --rmsource $$RPM_TOPDIR/SPECS/$(RPMDIST).spec ; \
1341         mv $$RPM_TOPDIR/RPMS/i386/$(RPMDIST)-*.rpm . ; \
1342         mv $$RPM_TOPDIR/SRPMS/$(RPMDIST)-*.src.rpm .
1343
1344 #
1345 # Build a Solaris pkgadd format file
1346 # run 'make pkgadd' once you've done './configure' and 'make' to make a Solaris pkgadd format
1347 # file (which ends up back in this directory).
1348 # The pkgadd file is in 'pkgtrans' format, so to install on Solaris, do
1349 # pkgadd -d ./HAXXcurl-*
1350 #
1351
1352 # gak - libtool requires an absoulte directory, hence the pwd below...
1353 pkgadd:
1354         umask 022 ; \
1355         make install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \
1356         cat COPYING > $(srcdir)/packages/Solaris/copyright ; \
1357         cd $(srcdir)/packages/Solaris && $(MAKE) package
1358
1359 #
1360 # Build a cygwin binary tarball installation file
1361 # resulting .tar.bz2 file will end up at packages/Win32/cygwin
1362 cygwinbin:
1363         $(MAKE) -C packages/Win32/cygwin cygwinbin
1364
1365 # We extend the standard install with a custom hook:
1366 install-data-hook:
1367         cd include && $(MAKE) install
1368         cd docs && $(MAKE) install
1369
1370 # We extend the standard uninstall with a custom hook:
1371 uninstall-hook:
1372         cd include && $(MAKE) uninstall
1373         cd docs && $(MAKE) uninstall
1374
1375 ca-bundle: lib/mk-ca-bundle.pl
1376         @echo "generating a fresh ca-bundle.crt"
1377         @perl $< -b -l -u lib/ca-bundle.crt
1378
1379 ca-firefox: lib/firefox-db2pem.sh
1380         @echo "generating a fresh ca-bundle.crt"
1381         ./lib/firefox-db2pem.sh lib/ca-bundle.crt
1382
1383 checksrc:
1384         cd lib && $(MAKE) checksrc
1385         cd src && $(MAKE) checksrc
1386
1387 .PHONY: vc-ide
1388
1389 vc-ide: $(VC6_LIBDSP_DEPS) $(VC6_SRCDSP_DEPS) $(VC7_LIBVCPROJ_DEPS)     \
1390  $(VC7_SRCVCPROJ_DEPS) $(VC71_LIBVCPROJ_DEPS) $(VC71_SRCVCPROJ_DEPS)    \
1391  $(VC8_LIBVCPROJ_DEPS) $(VC8_SRCVCPROJ_DEPS) $(VC9_LIBVCPROJ_DEPS)      \
1392  $(VC9_SRCVCPROJ_DEPS) $(VC10_LIBVCXPROJ_DEPS) $(VC10_SRCVCXPROJ_DEPS)  \
1393  $(VC11_LIBVCXPROJ_DEPS) $(VC11_SRCVCXPROJ_DEPS) $(VC12_LIBVCXPROJ_DEPS)        \
1394  $(VC12_SRCVCXPROJ_DEPS)
1395         @(win32_lib_srcs='$(LIB_CFILES)'; \
1396         win32_lib_hdrs='$(LIB_HFILES) config-win32.h'; \
1397         win32_lib_rc='$(LIB_RCFILES)'; \
1398         win32_lib_vtls_srcs='$(LIB_VTLS_CFILES)'; \
1399         win32_lib_vtls_hdrs='$(LIB_VTLS_HFILES)'; \
1400         win32_src_srcs='$(CURL_CFILES)'; \
1401         win32_src_hdrs='$(CURL_HFILES)'; \
1402         win32_src_rc='$(CURL_RCFILES)'; \
1403         win32_src_x_srcs='$(CURLX_CFILES)'; \
1404         win32_src_x_hdrs='$(CURLX_HFILES) ../lib/config-win32.h'; \
1405         \
1406         sorted_lib_srcs=`for file in $$win32_lib_srcs; do echo $$file; done | sort`; \
1407         sorted_lib_hdrs=`for file in $$win32_lib_hdrs; do echo $$file; done | sort`; \
1408         sorted_lib_vtls_srcs=`for file in $$win32_lib_vtls_srcs; do echo $$file; done | sort`; \
1409         sorted_lib_vtls_hdrs=`for file in $$win32_lib_vtls_hdrs; do echo $$file; done | sort`; \
1410         sorted_src_srcs=`for file in $$win32_src_srcs; do echo $$file; done | sort`; \
1411         sorted_src_hdrs=`for file in $$win32_src_hdrs; do echo $$file; done | sort`; \
1412         sorted_src_x_srcs=`for file in $$win32_src_x_srcs; do echo $$file; done | sort`; \
1413         sorted_src_x_hdrs=`for file in $$win32_src_x_hdrs; do echo $$file; done | sort`; \
1414         \
1415         awk_code='\
1416 function gen_element(type, dir, file)\
1417 {\
1418   sub(/vtls\//, "", file);\
1419 \
1420   spaces="    ";\
1421   if(dir == "lib\\vtls")\
1422     tabs="                              ";\
1423   else\
1424     tabs="                      ";\
1425 \
1426   if(type == "dsp") {\
1427     printf("# Begin Source File\r\n");\
1428     printf("\r\n");\
1429     printf("SOURCE=..\\..\\..\\..\\%s\\%s\r\n", dir, file);\
1430     printf("# End Source File\r\n");\
1431   }\
1432   else if(type == "vcproj1") {\
1433     printf("%s<File\r\n", tabs);\
1434     printf("%s  RelativePath=\"..\\..\\..\\..\\%s\\%s\">\r\n",\
1435            tabs, dir, file);\
1436     printf("%s</File>\r\n", tabs);\
1437   }\
1438   else if(type == "vcproj2") {\
1439     printf("%s<File\r\n", tabs);\
1440     printf("%s  RelativePath=\"..\\..\\..\\..\\%s\\%s\"\r\n",\
1441            tabs, dir, file);\
1442     printf("%s>\r\n", tabs);\
1443     printf("%s</File>\r\n", tabs);\
1444   }\
1445   else if(type == "vcxproj") {\
1446     i = index(file, ".");\
1447     ext = substr(file, i == 0 ? 0 : i + 1);\
1448 \
1449     if(ext == "c")\
1450       printf("%s<ClCompile Include=\"..\\..\\..\\..\\%s\\%s\" />\r\n",\
1451              spaces, dir, file);\
1452     else if(ext == "h")\
1453       printf("%s<ClInclude Include=\"..\\..\\..\\..\\%s\\%s\" />\r\n",\
1454              spaces, dir, file);\
1455     else if(ext == "rc")\
1456       printf("%s<ResourceCompile Include=\"..\\..\\..\\..\\%s\\%s\" />\r\n",\
1457       spaces, dir, file);\
1458   }\
1459 }\
1460 \
1461 {\
1462 \
1463   if($$0 == "CURL_LIB_C_FILES") {\
1464     split(lib_srcs, arr);\
1465     for(val in arr) gen_element(proj_type, "lib", arr[val]);\
1466   }\
1467   else if($$0 == "CURL_LIB_H_FILES") {\
1468     split(lib_hdrs, arr);\
1469     for(val in arr) gen_element(proj_type, "lib", arr[val]);\
1470   }\
1471   else if($$0 == "CURL_LIB_RC_FILES") {\
1472     split(lib_rc, arr);\
1473     for(val in arr) gen_element(proj_type, "lib", arr[val]);\
1474   }\
1475   else if($$0 == "CURL_LIB_VTLS_C_FILES") {\
1476     split(lib_vtls_srcs, arr);\
1477     for(val in arr) gen_element(proj_type, "lib\\vtls", arr[val]);\
1478   }\
1479   else if($$0 == "CURL_LIB_VTLS_H_FILES") {\
1480     split(lib_vtls_hdrs, arr);\
1481     for(val in arr) gen_element(proj_type, "lib\\vtls", arr[val]);\
1482   }\
1483   else if($$0 == "CURL_SRC_C_FILES") {\
1484     split(src_srcs, arr);\
1485     for(val in arr) gen_element(proj_type, "src", arr[val]);\
1486   }\
1487   else if($$0 == "CURL_SRC_H_FILES") {\
1488     split(src_hdrs, arr);\
1489     for(val in arr) gen_element(proj_type, "src", arr[val]);\
1490   }\
1491   else if($$0 == "CURL_SRC_RC_FILES") {\
1492     split(src_rc, arr);\
1493     for(val in arr) gen_element(proj_type, "src", arr[val]);\
1494   }\
1495   else if($$0 == "CURL_SRC_X_C_FILES") {\
1496     split(src_x_srcs, arr);\
1497     for(val in arr) {\
1498       sub(/..\/lib\//, "", arr[val]);\
1499       gen_element(proj_type, "lib", arr[val]);\
1500     }\
1501   }\
1502   else if($$0 == "CURL_SRC_X_H_FILES") {\
1503     split(src_x_hdrs, arr);\
1504     for(val in arr) {\
1505       sub(/..\/lib\//, "", arr[val]);\
1506       gen_element(proj_type, "lib", arr[val]);\
1507     }\
1508   }\
1509   else\
1510     printf("%s\r\n", $$0);\
1511 }';\
1512         \
1513         echo "generating '$(VC6_LIBDSP)'"; \
1514         awk -v proj_type=dsp \
1515                 -v lib_srcs="$$sorted_lib_srcs" \
1516                 -v lib_hdrs="$$sorted_lib_hdrs" \
1517                 -v lib_rc="$$win32_lib_rc" \
1518                 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1519                 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1520                 "$$awk_code" $(srcdir)/$(VC6_LIBTMPL) > $(VC6_LIBDSP) || { exit 1; }; \
1521         \
1522         echo "generating '$(VC6_SRCDSP)'"; \
1523         awk -v proj_type=dsp \
1524                 -v src_srcs="$$sorted_src_srcs" \
1525                 -v src_hdrs="$$sorted_src_hdrs" \
1526                 -v src_rc="$$win32_src_rc" \
1527                 -v src_x_srcs="$$sorted_src_x_srcs" \
1528                 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1529                 "$$awk_code" $(srcdir)/$(VC6_SRCTMPL) > $(VC6_SRCDSP) || { exit 1; }; \
1530         \
1531         echo "generating '$(VC7_LIBVCPROJ)'"; \
1532         awk -v proj_type=vcproj1 \
1533                 -v lib_srcs="$$sorted_lib_srcs" \
1534                 -v lib_hdrs="$$sorted_lib_hdrs" \
1535                 -v lib_rc="$$win32_lib_rc" \
1536                 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1537                 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1538                 "$$awk_code" $(srcdir)/$(VC7_LIBTMPL) > $(VC7_LIBVCPROJ) || { exit 1; }; \
1539         \
1540         echo "generating '$(VC7_SRCVCPROJ)'"; \
1541         awk -v proj_type=vcproj1 \
1542                 -v src_srcs="$$sorted_src_srcs" \
1543                 -v src_hdrs="$$sorted_src_hdrs" \
1544                 -v src_rc="$$win32_src_rc" \
1545                 -v src_x_srcs="$$sorted_src_x_srcs" \
1546                 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1547                 "$$awk_code" $(srcdir)/$(VC7_SRCTMPL) > $(VC7_SRCVCPROJ) || { exit 1; }; \
1548         \
1549         echo "generating '$(VC71_LIBVCPROJ)'"; \
1550         awk -v proj_type=vcproj1 \
1551                 -v lib_srcs="$$sorted_lib_srcs" \
1552                 -v lib_hdrs="$$sorted_lib_hdrs" \
1553                 -v lib_rc="$$win32_lib_rc" \
1554                 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1555                 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1556                 "$$awk_code" $(srcdir)/$(VC71_LIBTMPL) > $(VC71_LIBVCPROJ) || { exit 1; }; \
1557         \
1558         echo "generating '$(VC71_SRCVCPROJ)'"; \
1559         awk -v proj_type=vcproj1 \
1560                 -v src_srcs="$$sorted_src_srcs" \
1561                 -v src_hdrs="$$sorted_src_hdrs" \
1562                 -v src_rc="$$win32_src_rc" \
1563                 -v src_x_srcs="$$sorted_src_x_srcs" \
1564                 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1565                 "$$awk_code" $(srcdir)/$(VC71_SRCTMPL) > $(VC71_SRCVCPROJ) || { exit 1; }; \
1566         \
1567         echo "generating '$(VC8_LIBVCPROJ)'"; \
1568         awk -v proj_type=vcproj2 \
1569                 -v lib_srcs="$$sorted_lib_srcs" \
1570                 -v lib_hdrs="$$sorted_lib_hdrs" \
1571                 -v lib_rc="$$win32_lib_rc" \
1572                 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1573                 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1574                 "$$awk_code" $(srcdir)/$(VC8_LIBTMPL) > $(VC8_LIBVCPROJ) || { exit 1; }; \
1575         \
1576         echo "generating '$(VC8_SRCVCPROJ)'"; \
1577         awk -v proj_type=vcproj2 \
1578                 -v src_srcs="$$sorted_src_srcs" \
1579                 -v src_hdrs="$$sorted_src_hdrs" \
1580                 -v src_rc="$$win32_src_rc" \
1581                 -v src_x_srcs="$$sorted_src_x_srcs" \
1582                 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1583                 "$$awk_code" $(srcdir)/$(VC8_SRCTMPL) > $(VC8_SRCVCPROJ) || { exit 1; }; \
1584         \
1585         echo "generating '$(VC9_LIBVCPROJ)'"; \
1586         awk -v proj_type=vcproj2 \
1587                 -v lib_srcs="$$sorted_lib_srcs" \
1588                 -v lib_hdrs="$$sorted_lib_hdrs" \
1589                 -v lib_rc="$$win32_lib_rc" \
1590                 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1591                 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1592                 "$$awk_code" $(srcdir)/$(VC9_LIBTMPL) > $(VC9_LIBVCPROJ) || { exit 1; }; \
1593         \
1594         echo "generating '$(VC9_SRCVCPROJ)'"; \
1595         awk -v proj_type=vcproj2 \
1596                 -v src_srcs="$$sorted_src_srcs" \
1597                 -v src_hdrs="$$sorted_src_hdrs" \
1598                 -v src_rc="$$win32_src_rc" \
1599                 -v src_x_srcs="$$sorted_src_x_srcs" \
1600                 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1601                 "$$awk_code" $(srcdir)/$(VC9_SRCTMPL) > $(VC9_SRCVCPROJ) || { exit 1; }; \
1602         \
1603         echo "generating '$(VC10_LIBVCXPROJ)'"; \
1604         awk -v proj_type=vcxproj \
1605                 -v lib_srcs="$$sorted_lib_srcs" \
1606                 -v lib_hdrs="$$sorted_lib_hdrs" \
1607                 -v lib_rc="$$win32_lib_rc" \
1608                 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1609                 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1610                 "$$awk_code" $(srcdir)/$(VC10_LIBTMPL) > $(VC10_LIBVCXPROJ) || { exit 1; }; \
1611         \
1612         echo "generating '$(VC10_SRCVCXPROJ)'"; \
1613         awk -v proj_type=vcxproj \
1614                 -v src_srcs="$$sorted_src_srcs" \
1615                 -v src_hdrs="$$sorted_src_hdrs" \
1616                 -v src_rc="$$win32_src_rc" \
1617                 -v src_x_srcs="$$sorted_src_x_srcs" \
1618                 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1619                 "$$awk_code" $(srcdir)/$(VC10_SRCTMPL) > $(VC10_SRCVCXPROJ) || { exit 1; }; \
1620         \
1621         echo "generating '$(VC11_LIBVCXPROJ)'"; \
1622         awk -v proj_type=vcxproj \
1623                 -v lib_srcs="$$sorted_lib_srcs" \
1624                 -v lib_hdrs="$$sorted_lib_hdrs" \
1625                 -v lib_rc="$$win32_lib_rc" \
1626                 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1627                 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1628                 "$$awk_code" $(srcdir)/$(VC11_LIBTMPL) > $(VC11_LIBVCXPROJ) || { exit 1; }; \
1629         \
1630         echo "generating '$(VC11_SRCVCXPROJ)'"; \
1631         awk -v proj_type=vcxproj \
1632                 -v src_srcs="$$sorted_src_srcs" \
1633                 -v src_hdrs="$$sorted_src_hdrs" \
1634                 -v src_rc="$$win32_src_rc" \
1635                 -v src_x_srcs="$$sorted_src_x_srcs" \
1636                 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1637                 "$$awk_code" $(srcdir)/$(VC11_SRCTMPL) > $(VC11_SRCVCXPROJ) || { exit 1; }; \
1638         \
1639         echo "generating '$(VC12_LIBVCXPROJ)'"; \
1640         awk -v proj_type=vcxproj \
1641                 -v lib_srcs="$$sorted_lib_srcs" \
1642                 -v lib_hdrs="$$sorted_lib_hdrs" \
1643                 -v lib_rc="$$win32_lib_rc" \
1644                 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1645                 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1646                 "$$awk_code" $(srcdir)/$(VC12_LIBTMPL) > $(VC12_LIBVCXPROJ) || { exit 1; }; \
1647         \
1648         echo "generating '$(VC12_SRCVCXPROJ)'"; \
1649         awk -v proj_type=vcxproj \
1650                 -v src_srcs="$$sorted_src_srcs" \
1651                 -v src_hdrs="$$sorted_src_hdrs" \
1652                 -v src_rc="$$win32_src_rc" \
1653                 -v src_x_srcs="$$sorted_src_x_srcs" \
1654                 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1655                 "$$awk_code" $(srcdir)/$(VC12_SRCTMPL) > $(VC12_SRCVCXPROJ) || { exit 1; };)
1656
1657 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1658 # Otherwise a system limit (for SysV at least) may be exceeded.
1659 .NOEXPORT: