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