1# Makefile.in generated by automake 1.11.6 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6# Foundation, Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18#***************************************************************************
19#                                  _   _ ____  _
20#  Project                     ___| | | |  _ \| |
21#                             / __| | | | |_) | |
22#                            | (__| |_| |  _ <| |___
23#                             \___|\___/|_| \_\_____|
24#
25# Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
26#
27# This software is licensed as described in the file COPYING, which
28# you should have received as part of this distribution. The terms
29# are also available at http://curl.haxx.se/docs/copyright.html.
30#
31# You may opt to use, copy, modify, merge, publish, distribute and/or sell
32# copies of the Software, and permit persons to whom the Software is
33# furnished to do so, under the terms of the COPYING file.
34#
35# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
36# KIND, either express or implied.
37#
38###########################################################################
39
40# ./lib/Makefile.inc
41# Using the backslash as line continuation character might be problematic
42# with some make flavours, as Watcom's wmake showed us already. If we
43# ever want to change this in a portable manner then we should consider
44# this idea (posted to the libcurl list by Adam Kellas):
45# CSRC1 = file1.c file2.c file3.c
46# CSRC2 = file4.c file5.c file6.c
47# CSOURCES = $(CSRC1) $(CSRC2)
48
49
50VPATH = @srcdir@
51am__make_dryrun = \
52  { \
53    am__dry=no; \
54    case $$MAKEFLAGS in \
55      *\\[\ \	]*) \
56        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
57          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
58      *) \
59        for am__flg in $$MAKEFLAGS; do \
60          case $$am__flg in \
61            *=*|--*) ;; \
62            *n*) am__dry=yes; break;; \
63          esac; \
64        done;; \
65    esac; \
66    test $$am__dry = yes; \
67  }
68pkgdatadir = $(datadir)/@PACKAGE@
69pkgincludedir = $(includedir)/@PACKAGE@
70pkglibdir = $(libdir)/@PACKAGE@
71pkglibexecdir = $(libexecdir)/@PACKAGE@
72am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
73install_sh_DATA = $(install_sh) -c -m 644
74install_sh_PROGRAM = $(install_sh) -c
75install_sh_SCRIPT = $(install_sh) -c
76INSTALL_HEADER = $(INSTALL_DATA)
77transform = $(program_transform_name)
78NORMAL_INSTALL = :
79PRE_INSTALL = :
80POST_INSTALL = :
81NORMAL_UNINSTALL = :
82PRE_UNINSTALL = :
83POST_UNINSTALL = :
84build_triplet = @build@
85host_triplet = @host@
86DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
87	$(srcdir)/Makefile.in $(srcdir)/curl-config.in \
88	$(srcdir)/lib/Makefile.inc $(srcdir)/libcurl.pc.in \
89	$(top_srcdir)/configure COPYING compile config.guess \
90	config.sub depcomp install-sh ltmain.sh missing mkinstalldirs
91subdir = .
92ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93am__aclocal_m4_deps = $(top_srcdir)/m4/curl-compilers.m4 \
94	$(top_srcdir)/m4/curl-confopts.m4 \
95	$(top_srcdir)/m4/curl-functions.m4 \
96	$(top_srcdir)/m4/curl-openssl.m4 \
97	$(top_srcdir)/m4/curl-override.m4 \
98	$(top_srcdir)/m4/curl-reentrant.m4 $(top_srcdir)/m4/libtool.m4 \
99	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
100	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
101	$(top_srcdir)/m4/xc-cc-check.m4 \
102	$(top_srcdir)/m4/xc-lt-iface.m4 \
103	$(top_srcdir)/m4/xc-translit.m4 \
104	$(top_srcdir)/m4/xc-val-flgs.m4 \
105	$(top_srcdir)/m4/zz40-xc-ovr.m4 \
106	$(top_srcdir)/m4/zz50-xc-ovr.m4 \
107	$(top_srcdir)/m4/zz60-xc-ovr.m4 $(top_srcdir)/acinclude.m4 \
108	$(top_srcdir)/configure.ac
109am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
110	$(ACLOCAL_M4)
111am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
112 configure.lineno config.status.lineno
113mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
114CONFIG_HEADER = $(top_builddir)/lib/curl_config.h \
115	$(top_builddir)/include/curl/curlbuild.h
116CONFIG_CLEAN_FILES = curl-config libcurl.pc
117CONFIG_CLEAN_VPATH_FILES =
118am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
119am__vpath_adj = case $$p in \
120    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
121    *) f=$$p;; \
122  esac;
123am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
124am__install_max = 40
125am__nobase_strip_setup = \
126  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
127am__nobase_strip = \
128  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
129am__nobase_list = $(am__nobase_strip_setup); \
130  for p in $$list; do echo "$$p $$p"; done | \
131  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
132  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
133    if (++n[$$2] == $(am__install_max)) \
134      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
135    END { for (dir in files) print dir, files[dir] }'
136am__base_list = \
137  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
138  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
139am__uninstall_files_from_dir = { \
140  test -z "$$files" \
141    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
142    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
143         $(am__cd) "$$dir" && rm -f $$files; }; \
144  }
145am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"
146SCRIPTS = $(bin_SCRIPTS)
147SOURCES =
148DIST_SOURCES =
149RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
150	html-recursive info-recursive install-data-recursive \
151	install-dvi-recursive install-exec-recursive \
152	install-html-recursive install-info-recursive \
153	install-pdf-recursive install-ps-recursive install-recursive \
154	installcheck-recursive installdirs-recursive pdf-recursive \
155	ps-recursive uninstall-recursive
156am__can_run_installinfo = \
157  case $$AM_UPDATE_INFO_DIR in \
158    n|no|NO) false;; \
159    *) (install-info --version) >/dev/null 2>&1;; \
160  esac
161DATA = $(pkgconfig_DATA)
162RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
163  distclean-recursive maintainer-clean-recursive
164AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
165	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
166	distdir dist dist-all distcheck
167ETAGS = etags
168CTAGS = ctags
169DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
170distdir = $(PACKAGE)-$(VERSION)
171top_distdir = $(distdir)
172am__remove_distdir = \
173  if test -d "$(distdir)"; then \
174    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
175      && rm -rf "$(distdir)" \
176      || { sleep 5 && rm -rf "$(distdir)"; }; \
177  else :; fi
178am__relativize = \
179  dir0=`pwd`; \
180  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
181  sed_rest='s,^[^/]*/*,,'; \
182  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
183  sed_butlast='s,/*[^/]*$$,,'; \
184  while test -n "$$dir1"; do \
185    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
186    if test "$$first" != "."; then \
187      if test "$$first" = ".."; then \
188        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
189        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
190      else \
191        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
192        if test "$$first2" = "$$first"; then \
193          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
194        else \
195          dir2="../$$dir2"; \
196        fi; \
197        dir0="$$dir0"/"$$first"; \
198      fi; \
199    fi; \
200    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
201  done; \
202  reldir="$$dir2"
203DIST_ARCHIVES = $(distdir).tar.gz
204GZIP_ENV = --best
205distuninstallcheck_listfiles = find . -type f -print
206am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
207  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
208distcleancheck_listfiles = find . -type f -print
209ACLOCAL = @ACLOCAL@
210AMTAR = @AMTAR@
211AR = @AR@
212AS = @AS@
213AUTOCONF = @AUTOCONF@
214AUTOHEADER = @AUTOHEADER@
215AUTOMAKE = @AUTOMAKE@
216AWK = @AWK@
217BLANK_AT_MAKETIME = @BLANK_AT_MAKETIME@
218CC = @CC@
219CCDEPMODE = @CCDEPMODE@
220CFLAGS = @CFLAGS@
221CFLAG_CURL_SYMBOL_HIDING = @CFLAG_CURL_SYMBOL_HIDING@
222CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@
223CPP = @CPP@
224CPPFLAGS = @CPPFLAGS@
225CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@
226CURLVERSION = @CURLVERSION@
227CURL_CA_BUNDLE = @CURL_CA_BUNDLE@
228CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@
229CURL_DISABLE_DICT = @CURL_DISABLE_DICT@
230CURL_DISABLE_FILE = @CURL_DISABLE_FILE@
231CURL_DISABLE_FTP = @CURL_DISABLE_FTP@
232CURL_DISABLE_GOPHER = @CURL_DISABLE_GOPHER@
233CURL_DISABLE_HTTP = @CURL_DISABLE_HTTP@
234CURL_DISABLE_IMAP = @CURL_DISABLE_IMAP@
235CURL_DISABLE_LDAP = @CURL_DISABLE_LDAP@
236CURL_DISABLE_LDAPS = @CURL_DISABLE_LDAPS@
237CURL_DISABLE_POP3 = @CURL_DISABLE_POP3@
238CURL_DISABLE_PROXY = @CURL_DISABLE_PROXY@
239CURL_DISABLE_RTSP = @CURL_DISABLE_RTSP@
240CURL_DISABLE_SMTP = @CURL_DISABLE_SMTP@
241CURL_DISABLE_TELNET = @CURL_DISABLE_TELNET@
242CURL_DISABLE_TFTP = @CURL_DISABLE_TFTP@
243CURL_LT_SHLIB_VERSIONED_FLAVOUR = @CURL_LT_SHLIB_VERSIONED_FLAVOUR@
244CURL_NETWORK_AND_TIME_LIBS = @CURL_NETWORK_AND_TIME_LIBS@
245CURL_NETWORK_LIBS = @CURL_NETWORK_LIBS@
246CYGPATH_W = @CYGPATH_W@
247DEFS = @DEFS@
248DEPDIR = @DEPDIR@
249DLLTOOL = @DLLTOOL@
250DSYMUTIL = @DSYMUTIL@
251DUMPBIN = @DUMPBIN@
252ECHO_C = @ECHO_C@
253ECHO_N = @ECHO_N@
254ECHO_T = @ECHO_T@
255EGREP = @EGREP@
256ENABLE_SHARED = @ENABLE_SHARED@
257EXEEXT = @EXEEXT@
258FGREP = @FGREP@
259GREP = @GREP@
260HAVE_GNUTLS_SRP = @HAVE_GNUTLS_SRP@
261HAVE_LDAP_SSL = @HAVE_LDAP_SSL@
262HAVE_LIBZ = @HAVE_LIBZ@
263HAVE_NSS_INITCONTEXT = @HAVE_NSS_INITCONTEXT@
264HAVE_SSLEAY_SRP = @HAVE_SSLEAY_SRP@
265IDN_ENABLED = @IDN_ENABLED@
266INSTALL = @INSTALL@
267INSTALL_DATA = @INSTALL_DATA@
268INSTALL_PROGRAM = @INSTALL_PROGRAM@
269INSTALL_SCRIPT = @INSTALL_SCRIPT@
270INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
271IPV6_ENABLED = @IPV6_ENABLED@
272KRB4_ENABLED = @KRB4_ENABLED@
273LD = @LD@
274LDFLAGS = @LDFLAGS@
275LIBCURL_LIBS = @LIBCURL_LIBS@
276LIBMETALINK_CPPFLAGS = @LIBMETALINK_CPPFLAGS@
277LIBMETALINK_LDFLAGS = @LIBMETALINK_LDFLAGS@
278LIBMETALINK_LIBS = @LIBMETALINK_LIBS@
279LIBOBJS = @LIBOBJS@
280LIBS = @LIBS@
281LIBTOOL = @LIBTOOL@
282LIPO = @LIPO@
283LN_S = @LN_S@
284LTLIBOBJS = @LTLIBOBJS@
285MAINT = @MAINT@
286MAKEINFO = @MAKEINFO@
287MANIFEST_TOOL = @MANIFEST_TOOL@
288MANOPT = @MANOPT@
289MKDIR_P = @MKDIR_P@
290NM = @NM@
291NMEDIT = @NMEDIT@
292NROFF = @NROFF@
293OBJDUMP = @OBJDUMP@
294OBJEXT = @OBJEXT@
295OTOOL = @OTOOL@
296OTOOL64 = @OTOOL64@
297PACKAGE = @PACKAGE@
298PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
299PACKAGE_NAME = @PACKAGE_NAME@
300PACKAGE_STRING = @PACKAGE_STRING@
301PACKAGE_TARNAME = @PACKAGE_TARNAME@
302PACKAGE_URL = @PACKAGE_URL@
303PACKAGE_VERSION = @PACKAGE_VERSION@
304PATH_SEPARATOR = @PATH_SEPARATOR@
305PERL = @PERL@
306PKGADD_NAME = @PKGADD_NAME@
307PKGADD_PKG = @PKGADD_PKG@
308PKGADD_VENDOR = @PKGADD_VENDOR@
309PKGCONFIG = @PKGCONFIG@
310RANDOM_FILE = @RANDOM_FILE@
311RANLIB = @RANLIB@
312REQUIRE_LIB_DEPS = @REQUIRE_LIB_DEPS@
313SED = @SED@
314SET_MAKE = @SET_MAKE@
315SHELL = @SHELL@
316SSL_ENABLED = @SSL_ENABLED@
317STRIP = @STRIP@
318SUPPORT_FEATURES = @SUPPORT_FEATURES@
319SUPPORT_PROTOCOLS = @SUPPORT_PROTOCOLS@
320USE_ARES = @USE_ARES@
321USE_AXTLS = @USE_AXTLS@
322USE_CYASSL = @USE_CYASSL@
323USE_DARWINSSL = @USE_DARWINSSL@
324USE_GNUTLS = @USE_GNUTLS@
325USE_GNUTLS_NETTLE = @USE_GNUTLS_NETTLE@
326USE_LIBRTMP = @USE_LIBRTMP@
327USE_LIBSSH2 = @USE_LIBSSH2@
328USE_NSS = @USE_NSS@
329USE_OPENLDAP = @USE_OPENLDAP@
330USE_POLARSSL = @USE_POLARSSL@
331USE_SCHANNEL = @USE_SCHANNEL@
332USE_SSLEAY = @USE_SSLEAY@
333USE_WINDOWS_SSPI = @USE_WINDOWS_SSPI@
334VERSION = @VERSION@
335VERSIONNUM = @VERSIONNUM@
336ZLIB_LIBS = @ZLIB_LIBS@
337abs_builddir = @abs_builddir@
338abs_srcdir = @abs_srcdir@
339abs_top_builddir = @abs_top_builddir@
340abs_top_srcdir = @abs_top_srcdir@
341ac_ct_AR = @ac_ct_AR@
342ac_ct_CC = @ac_ct_CC@
343ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
344am__include = @am__include@
345am__leading_dot = @am__leading_dot@
346am__quote = @am__quote@
347am__tar = @am__tar@
348am__untar = @am__untar@
349bindir = @bindir@
350build = @build@
351build_alias = @build_alias@
352build_cpu = @build_cpu@
353build_os = @build_os@
354build_vendor = @build_vendor@
355builddir = @builddir@
356datadir = @datadir@
357datarootdir = @datarootdir@
358docdir = @docdir@
359dvidir = @dvidir@
360exec_prefix = @exec_prefix@
361host = @host@
362host_alias = @host_alias@
363host_cpu = @host_cpu@
364host_os = @host_os@
365host_vendor = @host_vendor@
366htmldir = @htmldir@
367includedir = @includedir@
368infodir = @infodir@
369install_sh = @install_sh@
370libdir = @libdir@
371libexecdir = @libexecdir@
372libext = @libext@
373localedir = @localedir@
374localstatedir = @localstatedir@
375mandir = @mandir@
376mkdir_p = @mkdir_p@
377oldincludedir = @oldincludedir@
378pdfdir = @pdfdir@
379prefix = @prefix@
380program_transform_name = @program_transform_name@
381psdir = @psdir@
382sbindir = @sbindir@
383sharedstatedir = @sharedstatedir@
384srcdir = @srcdir@
385subdirs = @subdirs@
386sysconfdir = @sysconfdir@
387target_alias = @target_alias@
388top_build_prefix = @top_build_prefix@
389top_builddir = @top_builddir@
390top_srcdir = @top_srcdir@
391AUTOMAKE_OPTIONS = foreign
392ACLOCAL_AMFLAGS = -I m4
393CMAKE_DIST = CMakeLists.txt CMake/CMakeConfigurableFile.in		\
394CMake/CurlCheckCSourceCompiles.cmake CMake/CurlCheckCSourceRuns.cmake	\
395CMake/CurlTests.c CMake/FindOpenSSL.cmake CMake/FindZLIB.cmake		\
396CMake/OtherTests.cmake CMake/Platforms/WindowsCache.cmake		\
397CMake/Utilities.cmake include/curl/curlbuild.h.cmake
398
399VC6LIBDSP = vs/vc6/lib/vc6libcurl.dsp
400VC6LIBDSPHEAD = vs/t/lib/vc6_libcurl_dsp.head
401VC6LIBDSPFOOT = vs/t/lib/vc6_libcurl_dsp.foot
402VC8LIBPRJ = vs/vc8/lib/vc8libcurl.vcproj
403VC8LIBPRJHEAD = vs/t/lib/vc8_libcurl_prj.head
404VC8LIBPRJFOOT = vs/t/lib/vc8_libcurl_prj.foot
405VC_DIST = \
406 vs/t/README \
407 $(VC6LIBDSP) $(VC6LIBDSPHEAD) $(VC6LIBDSPFOOT) \
408 $(VC8LIBPRJ) $(VC8LIBPRJHEAD) $(VC8LIBPRJFOOT) \
409 vs/vc6/vc6curl.dsw \
410 vs/vc6/lib/vc6libcurl.dsw \
411 vs/vc6/src/vc6curltool.dsw \
412 vs/vc6/src/vc6curltool.dsp
413
414VC6LIBDSP_DEPS = $(VC6LIBDSPHEAD) $(VC6LIBDSPFOOT) \
415 Makefile.am lib/Makefile.inc
416
417VC8LIBPRJ_DEPS = $(VC8LIBPRJHEAD) $(VC8LIBPRJFOOT) \
418 Makefile.am lib/Makefile.inc
419
420WINBUILD_DIST = winbuild/BUILD.WINDOWS.txt winbuild/gen_resp_file.bat	\
421 winbuild/MakefileBuild.vc winbuild/Makefile.vc				\
422 winbuild/Makefile.msvc.names
423
424EXTRA_DIST = CHANGES COPYING maketgz Makefile.dist curl-config.in	\
425 RELEASE-NOTES buildconf libcurl.pc.in MacOSX-Framework	\
426 $(CMAKE_DIST) $(VC_DIST) $(WINBUILD_DIST) lib/libcurl.vers.in
427
428CLEANFILES = $(VC6LIBDSP) $(VC8LIBPRJ)
429bin_SCRIPTS = curl-config
430SUBDIRS = lib src include
431DIST_SUBDIRS = $(SUBDIRS) tests packages docs
432pkgconfigdir = $(libdir)/pkgconfig
433pkgconfig_DATA = libcurl.pc
434CSOURCES = file.c timeval.c base64.c hostip.c progress.c formdata.c	\
435  cookie.c http.c sendf.c ftp.c url.c dict.c if2ip.c speedcheck.c	\
436  ldap.c ssluse.c version.c getenv.c escape.c mprintf.c telnet.c	\
437  netrc.c getinfo.c transfer.c strequal.c easy.c security.c krb4.c	\
438  curl_fnmatch.c fileinfo.c ftplistparser.c wildcard.c krb5.c		\
439  memdebug.c http_chunks.c strtok.c connect.c llist.c hash.c multi.c	\
440  content_encoding.c share.c http_digest.c md4.c md5.c curl_rand.c	\
441  http_negotiate.c inet_pton.c strtoofft.c strerror.c amigaos.c		\
442  hostasyn.c hostip4.c hostip6.c hostsyn.c inet_ntop.c parsedate.c	\
443  select.c gtls.c sslgen.c tftp.c splay.c strdup.c socks.c ssh.c nss.c	\
444  qssl.c rawstr.c curl_addrinfo.c socks_gssapi.c socks_sspi.c		\
445  curl_sspi.c slist.c nonblock.c curl_memrchr.c imap.c pop3.c smtp.c	\
446  pingpong.c rtsp.c curl_threads.c warnless.c hmac.c polarssl.c		\
447  polarssl_threadlock.c curl_rtmp.c openldap.c curl_gethostname.c	\
448  gopher.c axtls.c idn_win32.c http_negotiate_sspi.c cyassl.c		\
449  http_proxy.c non-ascii.c asyn-ares.c asyn-thread.c curl_gssapi.c	\
450  curl_ntlm.c curl_ntlm_wb.c curl_ntlm_core.c curl_ntlm_msgs.c		\
451  curl_sasl.c curl_schannel.c curl_multibyte.c curl_darwinssl.c		\
452  hostcheck.c bundles.c conncache.c pipeline.c
453
454HHEADERS = arpa_telnet.h netrc.h file.h timeval.h qssl.h hostip.h	\
455  progress.h formdata.h cookie.h http.h sendf.h ftp.h url.h dict.h	\
456  if2ip.h speedcheck.h urldata.h curl_ldap.h ssluse.h escape.h telnet.h	\
457  getinfo.h strequal.h krb4.h memdebug.h http_chunks.h curl_rand.h	\
458  curl_fnmatch.h wildcard.h fileinfo.h ftplistparser.h strtok.h		\
459  connect.h llist.h hash.h content_encoding.h share.h curl_md4.h	\
460  curl_md5.h http_digest.h http_negotiate.h inet_pton.h amigaos.h	\
461  strtoofft.h strerror.h inet_ntop.h curlx.h curl_memory.h curl_setup.h	\
462  transfer.h select.h easyif.h multiif.h parsedate.h sslgen.h gtls.h	\
463  tftp.h sockaddr.h splay.h strdup.h socks.h ssh.h nssg.h curl_base64.h	\
464  rawstr.h curl_addrinfo.h curl_sspi.h slist.h nonblock.h		\
465  curl_memrchr.h imap.h pop3.h smtp.h pingpong.h rtsp.h curl_threads.h	\
466  warnless.h curl_hmac.h polarssl.h polarssl_threadlock.h curl_rtmp.h	\
467  curl_gethostname.h gopher.h axtls.h cyassl.h http_proxy.h non-ascii.h	\
468  asyn.h curl_ntlm.h curl_gssapi.h curl_ntlm_wb.h curl_ntlm_core.h	\
469  curl_ntlm_msgs.h curl_sasl.h curl_schannel.h curl_multibyte.h		\
470  curl_darwinssl.h hostcheck.h bundles.h conncache.h curl_setup_once.h	\
471  multihandle.h setup-vms.h pipeline.h
472
473
474# List of libcurl source files required to generate VC IDE dsp and prj files
475WIN32SOURCES = $(CSOURCES)
476WIN32HEADERS = $(HHEADERS) config-win32.h
477all: all-recursive
478
479.SUFFIXES:
480am--refresh: Makefile
481	@:
482$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/lib/Makefile.inc $(am__configure_deps)
483	@for dep in $?; do \
484	  case '$(am__configure_deps)' in \
485	    *$$dep*) \
486	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
487	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
488		&& exit 0; \
489	      exit 1;; \
490	  esac; \
491	done; \
492	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
493	$(am__cd) $(top_srcdir) && \
494	  $(AUTOMAKE) --foreign Makefile
495.PRECIOUS: Makefile
496Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
497	@case '$?' in \
498	  *config.status*) \
499	    echo ' $(SHELL) ./config.status'; \
500	    $(SHELL) ./config.status;; \
501	  *) \
502	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
503	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
504	esac;
505$(srcdir)/lib/Makefile.inc:
506
507$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
508	$(SHELL) ./config.status --recheck
509
510$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
511	$(am__cd) $(srcdir) && $(AUTOCONF)
512$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
513	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
514$(am__aclocal_m4_deps):
515curl-config: $(top_builddir)/config.status $(srcdir)/curl-config.in
516	cd $(top_builddir) && $(SHELL) ./config.status $@
517libcurl.pc: $(top_builddir)/config.status $(srcdir)/libcurl.pc.in
518	cd $(top_builddir) && $(SHELL) ./config.status $@
519install-binSCRIPTS: $(bin_SCRIPTS)
520	@$(NORMAL_INSTALL)
521	@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
522	if test -n "$$list"; then \
523	  echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
524	  $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
525	fi; \
526	for p in $$list; do \
527	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
528	  if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
529	done | \
530	sed -e 'p;s,.*/,,;n' \
531	    -e 'h;s|.*|.|' \
532	    -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
533	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
534	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
535	    if ($$2 == $$4) { files[d] = files[d] " " $$1; \
536	      if (++n[d] == $(am__install_max)) { \
537		print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
538	    else { print "f", d "/" $$4, $$1 } } \
539	  END { for (d in files) print "f", d, files[d] }' | \
540	while read type dir files; do \
541	     if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
542	     test -z "$$files" || { \
543	       echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
544	       $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
545	     } \
546	; done
547
548uninstall-binSCRIPTS:
549	@$(NORMAL_UNINSTALL)
550	@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
551	files=`for p in $$list; do echo "$$p"; done | \
552	       sed -e 's,.*/,,;$(transform)'`; \
553	dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
554
555mostlyclean-libtool:
556	-rm -f *.lo
557
558clean-libtool:
559	-rm -rf .libs _libs
560
561distclean-libtool:
562	-rm -f libtool config.lt
563install-pkgconfigDATA: $(pkgconfig_DATA)
564	@$(NORMAL_INSTALL)
565	@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
566	if test -n "$$list"; then \
567	  echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
568	  $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
569	fi; \
570	for p in $$list; do \
571	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
572	  echo "$$d$$p"; \
573	done | $(am__base_list) | \
574	while read files; do \
575	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
576	  $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
577	done
578
579uninstall-pkgconfigDATA:
580	@$(NORMAL_UNINSTALL)
581	@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
582	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
583	dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
584
585# This directory's subdirectories are mostly independent; you can cd
586# into them and run `make' without going through this Makefile.
587# To change the values of `make' variables: instead of editing Makefiles,
588# (1) if the variable is set in `config.status', edit `config.status'
589#     (which will cause the Makefiles to be regenerated when you run `make');
590# (2) otherwise, pass the desired values on the `make' command line.
591$(RECURSIVE_TARGETS):
592	@fail= failcom='exit 1'; \
593	for f in x $$MAKEFLAGS; do \
594	  case $$f in \
595	    *=* | --[!k]*);; \
596	    *k*) failcom='fail=yes';; \
597	  esac; \
598	done; \
599	dot_seen=no; \
600	target=`echo $@ | sed s/-recursive//`; \
601	list='$(SUBDIRS)'; for subdir in $$list; do \
602	  echo "Making $$target in $$subdir"; \
603	  if test "$$subdir" = "."; then \
604	    dot_seen=yes; \
605	    local_target="$$target-am"; \
606	  else \
607	    local_target="$$target"; \
608	  fi; \
609	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
610	  || eval $$failcom; \
611	done; \
612	if test "$$dot_seen" = "no"; then \
613	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
614	fi; test -z "$$fail"
615
616$(RECURSIVE_CLEAN_TARGETS):
617	@fail= failcom='exit 1'; \
618	for f in x $$MAKEFLAGS; do \
619	  case $$f in \
620	    *=* | --[!k]*);; \
621	    *k*) failcom='fail=yes';; \
622	  esac; \
623	done; \
624	dot_seen=no; \
625	case "$@" in \
626	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
627	  *) list='$(SUBDIRS)' ;; \
628	esac; \
629	rev=''; for subdir in $$list; do \
630	  if test "$$subdir" = "."; then :; else \
631	    rev="$$subdir $$rev"; \
632	  fi; \
633	done; \
634	rev="$$rev ."; \
635	target=`echo $@ | sed s/-recursive//`; \
636	for subdir in $$rev; do \
637	  echo "Making $$target in $$subdir"; \
638	  if test "$$subdir" = "."; then \
639	    local_target="$$target-am"; \
640	  else \
641	    local_target="$$target"; \
642	  fi; \
643	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
644	  || eval $$failcom; \
645	done && test -z "$$fail"
646tags-recursive:
647	list='$(SUBDIRS)'; for subdir in $$list; do \
648	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
649	done
650ctags-recursive:
651	list='$(SUBDIRS)'; for subdir in $$list; do \
652	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
653	done
654
655ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
656	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
657	unique=`for i in $$list; do \
658	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
659	  done | \
660	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
661	      END { if (nonempty) { for (i in files) print i; }; }'`; \
662	mkid -fID $$unique
663tags: TAGS
664
665TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
666		$(TAGS_FILES) $(LISP)
667	set x; \
668	here=`pwd`; \
669	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
670	  include_option=--etags-include; \
671	  empty_fix=.; \
672	else \
673	  include_option=--include; \
674	  empty_fix=; \
675	fi; \
676	list='$(SUBDIRS)'; for subdir in $$list; do \
677	  if test "$$subdir" = .; then :; else \
678	    test ! -f $$subdir/TAGS || \
679	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
680	  fi; \
681	done; \
682	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
683	unique=`for i in $$list; do \
684	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
685	  done | \
686	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
687	      END { if (nonempty) { for (i in files) print i; }; }'`; \
688	shift; \
689	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
690	  test -n "$$unique" || unique=$$empty_fix; \
691	  if test $$# -gt 0; then \
692	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
693	      "$$@" $$unique; \
694	  else \
695	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
696	      $$unique; \
697	  fi; \
698	fi
699ctags: CTAGS
700CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
701		$(TAGS_FILES) $(LISP)
702	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
703	unique=`for i in $$list; do \
704	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
705	  done | \
706	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
707	      END { if (nonempty) { for (i in files) print i; }; }'`; \
708	test -z "$(CTAGS_ARGS)$$unique" \
709	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
710	     $$unique
711
712GTAGS:
713	here=`$(am__cd) $(top_builddir) && pwd` \
714	  && $(am__cd) $(top_srcdir) \
715	  && gtags -i $(GTAGS_ARGS) "$$here"
716
717distclean-tags:
718	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
719
720distdir: $(DISTFILES)
721	$(am__remove_distdir)
722	test -d "$(distdir)" || mkdir "$(distdir)"
723	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
724	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
725	list='$(DISTFILES)'; \
726	  dist_files=`for file in $$list; do echo $$file; done | \
727	  sed -e "s|^$$srcdirstrip/||;t" \
728	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
729	case $$dist_files in \
730	  */*) $(MKDIR_P) `echo "$$dist_files" | \
731			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
732			   sort -u` ;; \
733	esac; \
734	for file in $$dist_files; do \
735	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
736	  if test -d $$d/$$file; then \
737	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
738	    if test -d "$(distdir)/$$file"; then \
739	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
740	    fi; \
741	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
742	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
743	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
744	    fi; \
745	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
746	  else \
747	    test -f "$(distdir)/$$file" \
748	    || cp -p $$d/$$file "$(distdir)/$$file" \
749	    || exit 1; \
750	  fi; \
751	done
752	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
753	  if test "$$subdir" = .; then :; else \
754	    $(am__make_dryrun) \
755	      || test -d "$(distdir)/$$subdir" \
756	      || $(MKDIR_P) "$(distdir)/$$subdir" \
757	      || exit 1; \
758	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
759	    $(am__relativize); \
760	    new_distdir=$$reldir; \
761	    dir1=$$subdir; dir2="$(top_distdir)"; \
762	    $(am__relativize); \
763	    new_top_distdir=$$reldir; \
764	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
765	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
766	    ($(am__cd) $$subdir && \
767	      $(MAKE) $(AM_MAKEFLAGS) \
768	        top_distdir="$$new_top_distdir" \
769	        distdir="$$new_distdir" \
770		am__remove_distdir=: \
771		am__skip_length_check=: \
772		am__skip_mode_fix=: \
773	        distdir) \
774	      || exit 1; \
775	  fi; \
776	done
777	$(MAKE) $(AM_MAKEFLAGS) \
778	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
779	  dist-hook
780	-test -n "$(am__skip_mode_fix)" \
781	|| find "$(distdir)" -type d ! -perm -755 \
782		-exec chmod u+rwx,go+rx {} \; -o \
783	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
784	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
785	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
786	|| chmod -R a+r "$(distdir)"
787dist-gzip: distdir
788	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
789	$(am__remove_distdir)
790
791dist-bzip2: distdir
792	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
793	$(am__remove_distdir)
794
795dist-lzip: distdir
796	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
797	$(am__remove_distdir)
798
799dist-lzma: distdir
800	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
801	$(am__remove_distdir)
802
803dist-xz: distdir
804	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
805	$(am__remove_distdir)
806
807dist-tarZ: distdir
808	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
809	$(am__remove_distdir)
810
811dist-shar: distdir
812	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
813	$(am__remove_distdir)
814
815dist-zip: distdir
816	-rm -f $(distdir).zip
817	zip -rq $(distdir).zip $(distdir)
818	$(am__remove_distdir)
819
820dist dist-all: distdir
821	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
822	$(am__remove_distdir)
823
824# This target untars the dist file and tries a VPATH configuration.  Then
825# it guarantees that the distribution is self-contained by making another
826# tarfile.
827distcheck: dist
828	case '$(DIST_ARCHIVES)' in \
829	*.tar.gz*) \
830	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
831	*.tar.bz2*) \
832	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
833	*.tar.lzma*) \
834	  lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
835	*.tar.lz*) \
836	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
837	*.tar.xz*) \
838	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
839	*.tar.Z*) \
840	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
841	*.shar.gz*) \
842	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
843	*.zip*) \
844	  unzip $(distdir).zip ;;\
845	esac
846	chmod -R a-w $(distdir); chmod u+w $(distdir)
847	mkdir $(distdir)/_build
848	mkdir $(distdir)/_inst
849	chmod a-w $(distdir)
850	test -d $(distdir)/_build || exit 0; \
851	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
852	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
853	  && am__cwd=`pwd` \
854	  && $(am__cd) $(distdir)/_build \
855	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
856	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
857	    $(DISTCHECK_CONFIGURE_FLAGS) \
858	  && $(MAKE) $(AM_MAKEFLAGS) \
859	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
860	  && $(MAKE) $(AM_MAKEFLAGS) check \
861	  && $(MAKE) $(AM_MAKEFLAGS) install \
862	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
863	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
864	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
865	        distuninstallcheck \
866	  && chmod -R a-w "$$dc_install_base" \
867	  && ({ \
868	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
869	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
870	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
871	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
872	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
873	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
874	  && rm -rf "$$dc_destdir" \
875	  && $(MAKE) $(AM_MAKEFLAGS) dist \
876	  && rm -rf $(DIST_ARCHIVES) \
877	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
878	  && cd "$$am__cwd" \
879	  || exit 1
880	$(am__remove_distdir)
881	@(echo "$(distdir) archives ready for distribution: "; \
882	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
883	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
884distuninstallcheck:
885	@test -n '$(distuninstallcheck_dir)' || { \
886	  echo 'ERROR: trying to run $@ with an empty' \
887	       '$$(distuninstallcheck_dir)' >&2; \
888	  exit 1; \
889	}; \
890	$(am__cd) '$(distuninstallcheck_dir)' || { \
891	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
892	  exit 1; \
893	}; \
894	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
895	   || { echo "ERROR: files left after uninstall:" ; \
896	        if test -n "$(DESTDIR)"; then \
897	          echo "  (check DESTDIR support)"; \
898	        fi ; \
899	        $(distuninstallcheck_listfiles) ; \
900	        exit 1; } >&2
901distcleancheck: distclean
902	@if test '$(srcdir)' = . ; then \
903	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
904	  exit 1 ; \
905	fi
906	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
907	  || { echo "ERROR: files left in build directory after distclean:" ; \
908	       $(distcleancheck_listfiles) ; \
909	       exit 1; } >&2
910check-am: all-am
911check: check-recursive
912all-am: Makefile $(SCRIPTS) $(DATA)
913installdirs: installdirs-recursive
914installdirs-am:
915	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"; do \
916	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
917	done
918install: install-recursive
919install-exec: install-exec-recursive
920install-data: install-data-recursive
921uninstall: uninstall-recursive
922
923install-am: all-am
924	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
925
926installcheck: installcheck-recursive
927install-strip:
928	if test -z '$(STRIP)'; then \
929	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
930	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
931	      install; \
932	else \
933	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
934	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
935	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
936	fi
937mostlyclean-generic:
938
939clean-generic:
940	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
941
942distclean-generic:
943	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
944	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
945
946maintainer-clean-generic:
947	@echo "This command is intended for maintainers to use"
948	@echo "it deletes files that may require special tools to rebuild."
949clean: clean-recursive
950
951clean-am: clean-generic clean-libtool clean-local mostlyclean-am
952
953distclean: distclean-recursive
954	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
955	-rm -f Makefile
956distclean-am: clean-am distclean-generic distclean-libtool \
957	distclean-tags
958
959dvi: dvi-recursive
960
961dvi-am:
962
963html-am:
964
965info: info-recursive
966
967info-am:
968
969install-data-am: install-pkgconfigDATA
970	@$(NORMAL_INSTALL)
971	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
972install-dvi: install-dvi-recursive
973
974install-dvi-am:
975
976install-exec-am: install-binSCRIPTS
977
978install-html: install-html-recursive
979
980install-html-am:
981
982install-info: install-info-recursive
983
984install-info-am:
985
986install-man:
987
988install-pdf: install-pdf-recursive
989
990install-pdf-am:
991
992install-ps: install-ps-recursive
993
994install-ps-am:
995
996installcheck-am:
997
998maintainer-clean: maintainer-clean-recursive
999	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
1000	-rm -rf $(top_srcdir)/autom4te.cache
1001	-rm -f Makefile
1002maintainer-clean-am: distclean-am maintainer-clean-generic
1003
1004mostlyclean: mostlyclean-recursive
1005
1006mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1007
1008pdf-am:
1009
1010ps: ps-recursive
1011
1012ps-am:
1013
1014uninstall-am: uninstall-binSCRIPTS uninstall-pkgconfigDATA
1015	@$(NORMAL_INSTALL)
1016	$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
1017.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
1018	install-am install-data-am install-strip tags-recursive \
1019	uninstall-am
1020
1021.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1022	all all-am am--refresh check check-am clean clean-generic \
1023	clean-libtool clean-local ctags ctags-recursive dist dist-all \
1024	dist-bzip2 dist-gzip dist-hook dist-lzip dist-lzma dist-shar \
1025	dist-tarZ dist-xz dist-zip distcheck distclean \
1026	distclean-generic distclean-libtool distclean-tags \
1027	distcleancheck distdir distuninstallcheck dvi dvi-am html \
1028	html-am info info-am install install-am install-binSCRIPTS \
1029	install-data install-data-am install-data-hook install-dvi \
1030	install-dvi-am install-exec install-exec-am install-html \
1031	install-html-am install-info install-info-am install-man \
1032	install-pdf install-pdf-am install-pkgconfigDATA install-ps \
1033	install-ps-am install-strip installcheck installcheck-am \
1034	installdirs installdirs-am maintainer-clean \
1035	maintainer-clean-generic mostlyclean mostlyclean-generic \
1036	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
1037	uninstall uninstall-am uninstall-binSCRIPTS uninstall-hook \
1038	uninstall-pkgconfigDATA
1039
1040
1041dist-hook:
1042	rm -rf $(top_builddir)/tests/log
1043	find $(distdir) -name "*.dist" -exec rm {} \;
1044	(distit=`find $(srcdir) -name "*.dist" | grep -v ./ares/`; \
1045	for file in $$distit; do \
1046	  strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \
1047	  cp $$file $(distdir)$$strip; \
1048	done)
1049
1050html:
1051	cd docs; make html
1052
1053pdf:
1054	cd docs; make pdf
1055
1056check: test examples
1057
1058@CROSSCOMPILING_TRUE@test-full: test
1059@CROSSCOMPILING_TRUE@test-torture: test
1060
1061@CROSSCOMPILING_TRUE@test:
1062@CROSSCOMPILING_TRUE@	@echo "NOTICE: we can't run the tests when cross-compiling!"
1063
1064@CROSSCOMPILING_FALSE@test:
1065@CROSSCOMPILING_FALSE@	@(cd tests; $(MAKE) all quiet-test)
1066
1067@CROSSCOMPILING_FALSE@test-full:
1068@CROSSCOMPILING_FALSE@	@(cd tests; $(MAKE) all full-test)
1069
1070@CROSSCOMPILING_FALSE@test-torture:
1071@CROSSCOMPILING_FALSE@	@(cd tests; $(MAKE) all torture-test)
1072
1073@CROSSCOMPILING_FALSE@test-am:
1074@CROSSCOMPILING_FALSE@	@(cd tests; $(MAKE) all am-test)
1075
1076examples:
1077	@(cd docs/examples; $(MAKE) check)
1078
1079# This is a hook to have 'make clean' also clean up the docs and the tests
1080# dir. The extra check for the Makefiles being present is necessary because
1081# 'make distcheck' will make clean first in these directories _before_ it runs
1082# this hook.
1083clean-local:
1084	@(if test -f tests/Makefile; then cd tests; $(MAKE) clean; fi)
1085	@(if test -f docs/Makefile; then cd docs; $(MAKE) clean; fi)
1086
1087#
1088# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
1089# must contain the following line:
1090# %_topdir /home/loic/local/rpm
1091# and that /home/loic/local/rpm contains the directory SOURCES, BUILD etc.
1092#
1093# cd /home/loic/local/rpm ; mkdir -p SOURCES BUILD RPMS/i386 SPECS SRPMS
1094#
1095# If additional configure flags are needed to build the package, add the
1096# following in ~/.rpmmacros
1097# %configure CFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{_prefix} ${AM_CONFIGFLAGS}
1098# and run make rpm in the following way:
1099# AM_CONFIGFLAGS='--with-uri=/home/users/loic/local/RedHat-6.2' make rpm
1100#
1101
1102rpms:
1103	$(MAKE) RPMDIST=curl rpm
1104	$(MAKE) RPMDIST=curl-ssl rpm
1105
1106rpm:
1107	RPM_TOPDIR=`rpm --showrc | $(PERL) -n -e 'print if(s/.*_topdir\s+(.*)/$$1/)'` ; \
1108	cp $(srcdir)/packages/Linux/RPM/$(RPMDIST).spec $$RPM_TOPDIR/SPECS ; \
1109	cp $(PACKAGE)-$(VERSION).tar.gz $$RPM_TOPDIR/SOURCES ; \
1110	rpm -ba --clean --rmsource $$RPM_TOPDIR/SPECS/$(RPMDIST).spec ; \
1111	mv $$RPM_TOPDIR/RPMS/i386/$(RPMDIST)-*.rpm . ; \
1112	mv $$RPM_TOPDIR/SRPMS/$(RPMDIST)-*.src.rpm .
1113
1114#
1115# Build a Solaris pkgadd format file
1116# run 'make pkgadd' once you've done './configure' and 'make' to make a Solaris pkgadd format
1117# file (which ends up back in this directory).
1118# The pkgadd file is in 'pkgtrans' format, so to install on Solaris, do
1119# pkgadd -d ./HAXXcurl-*
1120#
1121
1122# gak - libtool requires an absoulte directory, hence the pwd below...
1123pkgadd:
1124	umask 022 ; \
1125	make install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \
1126	cat COPYING > $(srcdir)/packages/Solaris/copyright ; \
1127	cd $(srcdir)/packages/Solaris && $(MAKE) package
1128
1129#
1130# Build a cygwin binary tarball installation file
1131# resulting .tar.bz2 file will end up at packages/Win32/cygwin
1132cygwinbin:
1133	$(MAKE) -C packages/Win32/cygwin cygwinbin
1134
1135# We extend the standard install with a custom hook:
1136install-data-hook:
1137	cd include && $(MAKE) install
1138	cd docs && $(MAKE) install
1139
1140# We extend the standard uninstall with a custom hook:
1141uninstall-hook:
1142	cd include && $(MAKE) uninstall
1143	cd docs && $(MAKE) uninstall
1144
1145ca-bundle: lib/mk-ca-bundle.pl
1146	@echo "generate a fresh ca-bundle.crt"
1147	@perl $< -b -l -u lib/ca-bundle.crt
1148
1149ca-firefox: lib/firefox-db2pem.sh
1150	@echo "generate a fresh ca-bundle.crt"
1151	./lib/firefox-db2pem.sh lib/ca-bundle.crt
1152
1153checksrc:
1154	cd lib && $(MAKE) checksrc
1155	cd src && $(MAKE) checksrc
1156
1157.PHONY: vc6-ide
1158
1159vc6-ide:
1160	$(MAKE) $(VC6LIBDSP)
1161
1162$(VC6LIBDSP): $(VC6LIBDSP_DEPS)
1163	@(echo "generating '$(VC6LIBDSP)'"; \
1164	\
1165	for dir in 'vs' 'vs/vc6' 'vs/vc6/lib'; do \
1166	  test -d "$$dir" || mkdir "$$dir" || exit 1; \
1167	done; \
1168	\
1169	dir='..\..\..\lib\'; \
1170	body='$(VC6LIBDSP)'.body; \
1171	win32_srcs='$(WIN32SOURCES)'; \
1172	win32_hdrs='$(WIN32HEADERS)'; \
1173	sorted_srcs=`for file in $$win32_srcs; do echo $$file; done | sort`; \
1174	sorted_hdrs=`for file in $$win32_hdrs; do echo $$file; done | sort`; \
1175	\
1176	echo "# Begin Group \"Source Files\""  > $$body; \
1177	echo ""                               >> $$body; \
1178	echo "# PROP Default_Filter \"\""     >> $$body; \
1179	for file in $$sorted_srcs; do \
1180	  echo "# Begin Source File"          >> $$body; \
1181	  echo ""                             >> $$body; \
1182	  echo "SOURCE="$$dir$$file           >> $$body; \
1183	  echo "# End Source File"            >> $$body; \
1184	done; \
1185	echo "# End Group"                    >> $$body; \
1186	echo "# Begin Group \"Header Files\"" >> $$body; \
1187	echo ""                               >> $$body; \
1188	echo "# PROP Default_Filter \"\""     >> $$body; \
1189	for file in $$sorted_hdrs; do \
1190	  echo "# Begin Source File"          >> $$body; \
1191	  echo ""                             >> $$body; \
1192	  echo "SOURCE="$$dir$$file           >> $$body; \
1193	  echo "# End Source File"            >> $$body; \
1194	done; \
1195	echo "# End Group"                    >> $$body; \
1196	\
1197	awk '{ printf("%s\r\n", $$0); }' \
1198	  $(srcdir)/$(VC6LIBDSPHEAD) $$body $(srcdir)/$(VC6LIBDSPFOOT) \
1199	  > $(VC6LIBDSP) || { rm -f $$body; exit 1; }; \
1200	\
1201	rm -f $$body)
1202
1203.PHONY: vc8-ide
1204
1205vc8-ide:
1206	$(MAKE) $(VC8LIBPRJ)
1207
1208$(VC8LIBPRJ): $(VC8LIBPRJ_DEPS)
1209	@(echo "generating '$(VC8LIBPRJ)'"; \
1210	\
1211	for dir in 'vs' 'vs/vc8' 'vs/vc8/lib'; do \
1212	  test -d "$$dir" || mkdir "$$dir" || exit 1; \
1213	done; \
1214	\
1215	dir='..\..\..\lib\'; \
1216	body='$(VC8LIBPRJ)'.body; \
1217	win32_srcs='$(WIN32SOURCES)'; \
1218	win32_hdrs='$(WIN32HEADERS)'; \
1219	sorted_srcs=`for file in $$win32_srcs; do echo $$file; done | sort`; \
1220	sorted_hdrs=`for file in $$win32_hdrs; do echo $$file; done | sort`; \
1221	\
1222	echo "%tab%%tab%<Filter Name=\"Source Files\">"  > $$body; \
1223	for file in $$sorted_srcs; do \
1224	  echo "%tab%%tab%%tab%<File RelativePath=\""$$dir$$file"\"></File>" >> $$body; \
1225	done; \
1226	echo "%tab%%tab%</Filter>"                      >> $$body; \
1227	echo "%tab%%tab%<Filter Name=\"Header Files\">" >> $$body; \
1228	for file in $$sorted_hdrs; do \
1229	  echo "%tab%%tab%%tab%<File RelativePath=\""$$dir$$file"\"></File>" >> $$body; \
1230	done; \
1231	echo "%tab%%tab%</Filter>"                      >> $$body; \
1232	\
1233	awk '{ gsub(/%tab%/, "\t"); printf("%s\r\n", $$0); }' \
1234	  $(srcdir)/$(VC8LIBPRJHEAD) $$body $(srcdir)/$(VC8LIBPRJFOOT) \
1235	  > $(VC8LIBPRJ) || { rm -f $$body; exit 1; }; \
1236	\
1237	rm -f $$body)
1238
1239# Tell versions [3.59,3.63) of GNU make to not export all variables.
1240# Otherwise a system limit (for SysV at least) may be exceeded.
1241.NOEXPORT:
1242