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