1# Makefile.in generated by automake 1.9.6 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005  Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
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 - 2011, 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
40srcdir = @srcdir@
41top_srcdir = @top_srcdir@
42VPATH = @srcdir@
43pkgdatadir = $(datadir)/@PACKAGE@
44pkglibdir = $(libdir)/@PACKAGE@
45pkgincludedir = $(includedir)/@PACKAGE@
46top_builddir = .
47am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
48INSTALL = @INSTALL@
49install_sh_DATA = $(install_sh) -c -m 644
50install_sh_PROGRAM = $(install_sh) -c
51install_sh_SCRIPT = $(install_sh) -c
52INSTALL_HEADER = $(INSTALL_DATA)
53transform = $(program_transform_name)
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
60build_triplet = @build@
61host_triplet = @host@
62DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
63	$(srcdir)/Makefile.in $(srcdir)/curl-config.in \
64	$(srcdir)/libcurl.pc.in $(top_srcdir)/configure COPYING \
65	compile config.guess config.sub depcomp install-sh ltmain.sh \
66	missing mkinstalldirs
67subdir = .
68ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
69am__aclocal_m4_deps = $(top_srcdir)/m4/curl-compilers.m4 \
70	$(top_srcdir)/m4/curl-confopts.m4 \
71	$(top_srcdir)/m4/curl-functions.m4 \
72	$(top_srcdir)/m4/curl-openssl.m4 \
73	$(top_srcdir)/m4/curl-override.m4 \
74	$(top_srcdir)/m4/curl-reentrant.m4 \
75	$(top_srcdir)/m4/curl-system.m4 $(top_srcdir)/m4/libtool.m4 \
76	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
77	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
78	$(top_srcdir)/m4/xc-translit.m4 $(top_srcdir)/acinclude.m4 \
79	$(top_srcdir)/configure.ac
80am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
81	$(ACLOCAL_M4)
82am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
83 configure.lineno configure.status.lineno
84mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
85CONFIG_HEADER = $(top_builddir)/lib/curl_config.h \
86	$(top_builddir)/src/curl_config.h \
87	$(top_builddir)/include/curl/curlbuild.h
88CONFIG_CLEAN_FILES = curl-config libcurl.pc
89am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"
90binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
91SCRIPTS = $(bin_SCRIPTS)
92SOURCES =
93DIST_SOURCES =
94RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
95	html-recursive info-recursive install-data-recursive \
96	install-exec-recursive install-info-recursive \
97	install-recursive installcheck-recursive installdirs-recursive \
98	pdf-recursive ps-recursive uninstall-info-recursive \
99	uninstall-recursive
100am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
101am__vpath_adj = case $$p in \
102    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
103    *) f=$$p;; \
104  esac;
105am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
106pkgconfigDATA_INSTALL = $(INSTALL_DATA)
107DATA = $(pkgconfig_DATA)
108ETAGS = etags
109CTAGS = ctags
110DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
111distdir = $(PACKAGE)-$(VERSION)
112top_distdir = $(distdir)
113am__remove_distdir = \
114  { test ! -d $(distdir) \
115    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
116         && rm -fr $(distdir); }; }
117DIST_ARCHIVES = $(distdir).tar.gz
118GZIP_ENV = --best
119distuninstallcheck_listfiles = find . -type f -print
120distcleancheck_listfiles = find . -type f -print
121ACLOCAL = @ACLOCAL@
122AMDEP_FALSE = @AMDEP_FALSE@
123AMDEP_TRUE = @AMDEP_TRUE@
124AMTAR = @AMTAR@
125AR = @AR@
126AS = @AS@
127AUTOCONF = @AUTOCONF@
128AUTOHEADER = @AUTOHEADER@
129AUTOMAKE = @AUTOMAKE@
130AWK = @AWK@
131BUILD_LIBHOSTNAME_FALSE = @BUILD_LIBHOSTNAME_FALSE@
132BUILD_LIBHOSTNAME_TRUE = @BUILD_LIBHOSTNAME_TRUE@
133BUILD_UNITTESTS_FALSE = @BUILD_UNITTESTS_FALSE@
134BUILD_UNITTESTS_TRUE = @BUILD_UNITTESTS_TRUE@
135CC = @CC@
136CCDEPMODE = @CCDEPMODE@
137CFLAGS = @CFLAGS@
138CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@
139CPP = @CPP@
140CPPFLAGS = @CPPFLAGS@
141CROSSCOMPILING_FALSE = @CROSSCOMPILING_FALSE@
142CROSSCOMPILING_TRUE = @CROSSCOMPILING_TRUE@
143CURLDEBUG_FALSE = @CURLDEBUG_FALSE@
144CURLDEBUG_TRUE = @CURLDEBUG_TRUE@
145CURLVERSION = @CURLVERSION@
146CURL_CA_BUNDLE = @CURL_CA_BUNDLE@
147CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@
148CURL_DISABLE_DICT = @CURL_DISABLE_DICT@
149CURL_DISABLE_FILE = @CURL_DISABLE_FILE@
150CURL_DISABLE_FTP = @CURL_DISABLE_FTP@
151CURL_DISABLE_GOPHER = @CURL_DISABLE_GOPHER@
152CURL_DISABLE_HTTP = @CURL_DISABLE_HTTP@
153CURL_DISABLE_IMAP = @CURL_DISABLE_IMAP@
154CURL_DISABLE_LDAP = @CURL_DISABLE_LDAP@
155CURL_DISABLE_LDAPS = @CURL_DISABLE_LDAPS@
156CURL_DISABLE_POP3 = @CURL_DISABLE_POP3@
157CURL_DISABLE_PROXY = @CURL_DISABLE_PROXY@
158CURL_DISABLE_RTSP = @CURL_DISABLE_RTSP@
159CURL_DISABLE_SMTP = @CURL_DISABLE_SMTP@
160CURL_DISABLE_TELNET = @CURL_DISABLE_TELNET@
161CURL_DISABLE_TFTP = @CURL_DISABLE_TFTP@
162CURL_LIBS = @CURL_LIBS@
163CURL_NETWORK_LIBS = @CURL_NETWORK_LIBS@
164CYGPATH_W = @CYGPATH_W@
165DEFS = @DEFS@
166DEPDIR = @DEPDIR@
167DLLTOOL = @DLLTOOL@
168DSYMUTIL = @DSYMUTIL@
169DUMPBIN = @DUMPBIN@
170ECHO_C = @ECHO_C@
171ECHO_N = @ECHO_N@
172ECHO_T = @ECHO_T@
173EGREP = @EGREP@
174ENABLE_SHARED = @ENABLE_SHARED@
175EXEEXT = @EXEEXT@
176FGREP = @FGREP@
177GREP = @GREP@
178HAVE_GNUTLS_SRP = @HAVE_GNUTLS_SRP@
179HAVE_LDAP_SSL = @HAVE_LDAP_SSL@
180HAVE_LIBZ = @HAVE_LIBZ@
181HAVE_LIBZ_FALSE = @HAVE_LIBZ_FALSE@
182HAVE_LIBZ_TRUE = @HAVE_LIBZ_TRUE@
183HAVE_PK11_CREATEGENERICOBJECT = @HAVE_PK11_CREATEGENERICOBJECT@
184HAVE_SSLEAY_SRP = @HAVE_SSLEAY_SRP@
185IDN_ENABLED = @IDN_ENABLED@
186INSTALL_DATA = @INSTALL_DATA@
187INSTALL_PROGRAM = @INSTALL_PROGRAM@
188INSTALL_SCRIPT = @INSTALL_SCRIPT@
189INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
190IPV6_ENABLED = @IPV6_ENABLED@
191KRB4_ENABLED = @KRB4_ENABLED@
192LD = @LD@
193LDFLAGS = @LDFLAGS@
194LIBCURL_LIBS = @LIBCURL_LIBS@
195LIBOBJS = @LIBOBJS@
196LIBS = @LIBS@
197LIBTOOL = @LIBTOOL@
198LIPO = @LIPO@
199LN_S = @LN_S@
200LTLIBOBJS = @LTLIBOBJS@
201MAINT = @MAINT@
202MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
203MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
204MAKEINFO = @MAKEINFO@
205MANIFEST_TOOL = @MANIFEST_TOOL@
206MANOPT = @MANOPT@
207MIMPURE_FALSE = @MIMPURE_FALSE@
208MIMPURE_TRUE = @MIMPURE_TRUE@
209NM = @NM@
210NMEDIT = @NMEDIT@
211NO_UNDEFINED_FALSE = @NO_UNDEFINED_FALSE@
212NO_UNDEFINED_TRUE = @NO_UNDEFINED_TRUE@
213NROFF = @NROFF@
214OBJDUMP = @OBJDUMP@
215OBJEXT = @OBJEXT@
216OTOOL = @OTOOL@
217OTOOL64 = @OTOOL64@
218PACKAGE = @PACKAGE@
219PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
220PACKAGE_NAME = @PACKAGE_NAME@
221PACKAGE_STRING = @PACKAGE_STRING@
222PACKAGE_TARNAME = @PACKAGE_TARNAME@
223PACKAGE_URL = @PACKAGE_URL@
224PACKAGE_VERSION = @PACKAGE_VERSION@
225PATH = @PATH@
226PATH_SEPARATOR = @PATH_SEPARATOR@
227PERL = @PERL@
228PKGADD_NAME = @PKGADD_NAME@
229PKGADD_PKG = @PKGADD_PKG@
230PKGADD_VENDOR = @PKGADD_VENDOR@
231PKGCONFIG = @PKGCONFIG@
232RANDOM_FILE = @RANDOM_FILE@
233RANLIB = @RANLIB@
234REQUIRE_LIB_DEPS = @REQUIRE_LIB_DEPS@
235SED = @SED@
236SET_MAKE = @SET_MAKE@
237SHELL = @SHELL@
238SONAME_BUMP_FALSE = @SONAME_BUMP_FALSE@
239SONAME_BUMP_TRUE = @SONAME_BUMP_TRUE@
240SSL_ENABLED = @SSL_ENABLED@
241STATICLIB_FALSE = @STATICLIB_FALSE@
242STATICLIB_TRUE = @STATICLIB_TRUE@
243STRIP = @STRIP@
244SUPPORT_FEATURES = @SUPPORT_FEATURES@
245SUPPORT_PROTOCOLS = @SUPPORT_PROTOCOLS@
246TEST_SERVER_LIBS = @TEST_SERVER_LIBS@
247USE_ARES = @USE_ARES@
248USE_AXTLS = @USE_AXTLS@
249USE_CYASSL = @USE_CYASSL@
250USE_EMBEDDED_ARES_FALSE = @USE_EMBEDDED_ARES_FALSE@
251USE_EMBEDDED_ARES_TRUE = @USE_EMBEDDED_ARES_TRUE@
252USE_GNUTLS = @USE_GNUTLS@
253USE_LIBRTMP = @USE_LIBRTMP@
254USE_LIBSSH2 = @USE_LIBSSH2@
255USE_MANUAL_FALSE = @USE_MANUAL_FALSE@
256USE_MANUAL_TRUE = @USE_MANUAL_TRUE@
257USE_NSS = @USE_NSS@
258USE_OPENLDAP = @USE_OPENLDAP@
259USE_POLARSSL = @USE_POLARSSL@
260USE_SSLEAY = @USE_SSLEAY@
261USE_WINDOWS_SSPI = @USE_WINDOWS_SSPI@
262VERSION = @VERSION@
263VERSIONNUM = @VERSIONNUM@
264ac_ct_AR = @ac_ct_AR@
265ac_ct_CC = @ac_ct_CC@
266ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
267am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
268am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
269am__include = @am__include@
270am__leading_dot = @am__leading_dot@
271am__quote = @am__quote@
272am__tar = @am__tar@
273am__untar = @am__untar@
274bindir = @bindir@
275build = @build@
276build_alias = @build_alias@
277build_cpu = @build_cpu@
278build_os = @build_os@
279build_vendor = @build_vendor@
280datadir = @datadir@
281datarootdir = @datarootdir@
282docdir = @docdir@
283dvidir = @dvidir@
284exec_prefix = @exec_prefix@
285host = @host@
286host_alias = @host_alias@
287host_cpu = @host_cpu@
288host_os = @host_os@
289host_vendor = @host_vendor@
290htmldir = @htmldir@
291includedir = @includedir@
292infodir = @infodir@
293install_sh = @install_sh@
294libdir = @libdir@
295libexecdir = @libexecdir@
296libext = @libext@
297localedir = @localedir@
298localstatedir = @localstatedir@
299mandir = @mandir@
300mkdir_p = @mkdir_p@
301oldincludedir = @oldincludedir@
302pdfdir = @pdfdir@
303prefix = @prefix@
304program_transform_name = @program_transform_name@
305psdir = @psdir@
306sbindir = @sbindir@
307sharedstatedir = @sharedstatedir@
308subdirs = @subdirs@
309sysconfdir = @sysconfdir@
310target_alias = @target_alias@
311AUTOMAKE_OPTIONS = foreign
312ACLOCAL_AMFLAGS = -I m4
313CMAKE_DIST = CMakeLists.txt CMake/CMakeConfigurableFile.in		\
314CMake/CurlCheckCSourceCompiles.cmake CMake/CurlCheckCSourceRuns.cmake	\
315CMake/CurlTests.c CMake/FindOpenSSL.cmake CMake/FindZLIB.cmake		\
316CMake/OtherTests.cmake CMake/Platforms/WindowsCache.cmake		\
317CMake/Utilities.cmake include/curl/curlbuild.h.cmake
318
319WINBUILD_DIST = winbuild/BUILD.WINDOWS.txt winbuild/gen_resp_file.bat	\
320winbuild/MakefileBuild.vc winbuild/Makefile.vc
321
322EXTRA_DIST = CHANGES COPYING maketgz Makefile.dist curl-config.in	\
323 curl-style.el sample.emacs RELEASE-NOTES buildconf 	\
324 libcurl.pc.in vc6curl.dsw MacOSX-Framework Android.mk $(CMAKE_DIST)	\
325 Makefile.msvc.names $(WINBUILD_DIST)
326
327bin_SCRIPTS = curl-config
328SUBDIRS = lib src include
329DIST_SUBDIRS = $(SUBDIRS) tests packages docs
330pkgconfigdir = $(libdir)/pkgconfig
331pkgconfig_DATA = libcurl.pc
332all: all-recursive
333
334.SUFFIXES:
335am--refresh:
336	@:
337$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
338	@for dep in $?; do \
339	  case '$(am__configure_deps)' in \
340	    *$$dep*) \
341	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
342	      cd $(srcdir) && $(AUTOMAKE) --foreign  \
343		&& exit 0; \
344	      exit 1;; \
345	  esac; \
346	done; \
347	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  Makefile'; \
348	cd $(top_srcdir) && \
349	  $(AUTOMAKE) --foreign  Makefile
350.PRECIOUS: Makefile
351Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
352	@case '$?' in \
353	  *config.status*) \
354	    echo ' $(SHELL) ./config.status'; \
355	    $(SHELL) ./config.status;; \
356	  *) \
357	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
358	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
359	esac;
360
361$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
362	$(SHELL) ./config.status --recheck
363
364$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
365	cd $(srcdir) && $(AUTOCONF)
366$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
367	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
368curl-config: $(top_builddir)/config.status $(srcdir)/curl-config.in
369	cd $(top_builddir) && $(SHELL) ./config.status $@
370libcurl.pc: $(top_builddir)/config.status $(srcdir)/libcurl.pc.in
371	cd $(top_builddir) && $(SHELL) ./config.status $@
372install-binSCRIPTS: $(bin_SCRIPTS)
373	@$(NORMAL_INSTALL)
374	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
375	@list='$(bin_SCRIPTS)'; for p in $$list; do \
376	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
377	  if test -f $$d$$p; then \
378	    f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
379	    echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
380	    $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
381	  else :; fi; \
382	done
383
384uninstall-binSCRIPTS:
385	@$(NORMAL_UNINSTALL)
386	@list='$(bin_SCRIPTS)'; for p in $$list; do \
387	  f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
388	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
389	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
390	done
391
392mostlyclean-libtool:
393	-rm -f *.lo
394
395clean-libtool:
396	-rm -rf .libs _libs
397
398distclean-libtool:
399	-rm -f libtool
400uninstall-info-am:
401install-pkgconfigDATA: $(pkgconfig_DATA)
402	@$(NORMAL_INSTALL)
403	test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)"
404	@list='$(pkgconfig_DATA)'; for p in $$list; do \
405	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
406	  f=$(am__strip_dir) \
407	  echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
408	  $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \
409	done
410
411uninstall-pkgconfigDATA:
412	@$(NORMAL_UNINSTALL)
413	@list='$(pkgconfig_DATA)'; for p in $$list; do \
414	  f=$(am__strip_dir) \
415	  echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
416	  rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \
417	done
418
419# This directory's subdirectories are mostly independent; you can cd
420# into them and run `make' without going through this Makefile.
421# To change the values of `make' variables: instead of editing Makefiles,
422# (1) if the variable is set in `config.status', edit `config.status'
423#     (which will cause the Makefiles to be regenerated when you run `make');
424# (2) otherwise, pass the desired values on the `make' command line.
425$(RECURSIVE_TARGETS):
426	@failcom='exit 1'; \
427	for f in x $$MAKEFLAGS; do \
428	  case $$f in \
429	    *=* | --[!k]*);; \
430	    *k*) failcom='fail=yes';; \
431	  esac; \
432	done; \
433	dot_seen=no; \
434	target=`echo $@ | sed s/-recursive//`; \
435	list='$(SUBDIRS)'; for subdir in $$list; do \
436	  echo "Making $$target in $$subdir"; \
437	  if test "$$subdir" = "."; then \
438	    dot_seen=yes; \
439	    local_target="$$target-am"; \
440	  else \
441	    local_target="$$target"; \
442	  fi; \
443	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
444	  || eval $$failcom; \
445	done; \
446	if test "$$dot_seen" = "no"; then \
447	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
448	fi; test -z "$$fail"
449
450mostlyclean-recursive clean-recursive distclean-recursive \
451maintainer-clean-recursive:
452	@failcom='exit 1'; \
453	for f in x $$MAKEFLAGS; do \
454	  case $$f in \
455	    *=* | --[!k]*);; \
456	    *k*) failcom='fail=yes';; \
457	  esac; \
458	done; \
459	dot_seen=no; \
460	case "$@" in \
461	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
462	  *) list='$(SUBDIRS)' ;; \
463	esac; \
464	rev=''; for subdir in $$list; do \
465	  if test "$$subdir" = "."; then :; else \
466	    rev="$$subdir $$rev"; \
467	  fi; \
468	done; \
469	rev="$$rev ."; \
470	target=`echo $@ | sed s/-recursive//`; \
471	for subdir in $$rev; do \
472	  echo "Making $$target in $$subdir"; \
473	  if test "$$subdir" = "."; then \
474	    local_target="$$target-am"; \
475	  else \
476	    local_target="$$target"; \
477	  fi; \
478	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
479	  || eval $$failcom; \
480	done && test -z "$$fail"
481tags-recursive:
482	list='$(SUBDIRS)'; for subdir in $$list; do \
483	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
484	done
485ctags-recursive:
486	list='$(SUBDIRS)'; for subdir in $$list; do \
487	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
488	done
489
490ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
491	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
492	unique=`for i in $$list; do \
493	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
494	  done | \
495	  $(AWK) '    { files[$$0] = 1; } \
496	       END { for (i in files) print i; }'`; \
497	mkid -fID $$unique
498tags: TAGS
499
500TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
501		$(TAGS_FILES) $(LISP)
502	tags=; \
503	here=`pwd`; \
504	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
505	  include_option=--etags-include; \
506	  empty_fix=.; \
507	else \
508	  include_option=--include; \
509	  empty_fix=; \
510	fi; \
511	list='$(SUBDIRS)'; for subdir in $$list; do \
512	  if test "$$subdir" = .; then :; else \
513	    test ! -f $$subdir/TAGS || \
514	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
515	  fi; \
516	done; \
517	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
518	unique=`for i in $$list; do \
519	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
520	  done | \
521	  $(AWK) '    { files[$$0] = 1; } \
522	       END { for (i in files) print i; }'`; \
523	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
524	  test -n "$$unique" || unique=$$empty_fix; \
525	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
526	    $$tags $$unique; \
527	fi
528ctags: CTAGS
529CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
530		$(TAGS_FILES) $(LISP)
531	tags=; \
532	here=`pwd`; \
533	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
534	unique=`for i in $$list; do \
535	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
536	  done | \
537	  $(AWK) '    { files[$$0] = 1; } \
538	       END { for (i in files) print i; }'`; \
539	test -z "$(CTAGS_ARGS)$$tags$$unique" \
540	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
541	     $$tags $$unique
542
543GTAGS:
544	here=`$(am__cd) $(top_builddir) && pwd` \
545	  && cd $(top_srcdir) \
546	  && gtags -i $(GTAGS_ARGS) $$here
547
548distclean-tags:
549	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
550
551distdir: $(DISTFILES)
552	$(am__remove_distdir)
553	mkdir $(distdir)
554	$(mkdir_p) $(distdir)/. $(distdir)/CMake $(distdir)/CMake/Platforms $(distdir)/include/curl $(distdir)/m4 $(distdir)/packages/AIX/RPM $(distdir)/packages/EPM $(distdir)/packages/Linux/RPM $(distdir)/winbuild
555	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
556	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
557	list='$(DISTFILES)'; for file in $$list; do \
558	  case $$file in \
559	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
560	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
561	  esac; \
562	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
563	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
564	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
565	    dir="/$$dir"; \
566	    $(mkdir_p) "$(distdir)$$dir"; \
567	  else \
568	    dir=''; \
569	  fi; \
570	  if test -d $$d/$$file; then \
571	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
572	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
573	    fi; \
574	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
575	  else \
576	    test -f $(distdir)/$$file \
577	    || cp -p $$d/$$file $(distdir)/$$file \
578	    || exit 1; \
579	  fi; \
580	done
581	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
582	  if test "$$subdir" = .; then :; else \
583	    test -d "$(distdir)/$$subdir" \
584	    || $(mkdir_p) "$(distdir)/$$subdir" \
585	    || exit 1; \
586	    distdir=`$(am__cd) $(distdir) && pwd`; \
587	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
588	    (cd $$subdir && \
589	      $(MAKE) $(AM_MAKEFLAGS) \
590	        top_distdir="$$top_distdir" \
591	        distdir="$$distdir/$$subdir" \
592	        distdir) \
593	      || exit 1; \
594	  fi; \
595	done
596	$(MAKE) $(AM_MAKEFLAGS) \
597	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
598	  dist-hook
599	-find "$(distdir)" -type d ! -perm -755 \
600		-exec chmod u+rwx,go+rx {} \; -o \
601	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
602	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
603	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
604	|| chmod -R a+r $(distdir)
605dist-gzip: distdir
606	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
607	$(am__remove_distdir)
608
609dist-bzip2: distdir
610	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
611	$(am__remove_distdir)
612
613dist-tarZ: distdir
614	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
615	$(am__remove_distdir)
616
617dist-shar: distdir
618	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
619	$(am__remove_distdir)
620
621dist-zip: distdir
622	-rm -f $(distdir).zip
623	zip -rq $(distdir).zip $(distdir)
624	$(am__remove_distdir)
625
626dist dist-all: distdir
627	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
628	$(am__remove_distdir)
629
630# This target untars the dist file and tries a VPATH configuration.  Then
631# it guarantees that the distribution is self-contained by making another
632# tarfile.
633distcheck: dist
634	case '$(DIST_ARCHIVES)' in \
635	*.tar.gz*) \
636	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
637	*.tar.bz2*) \
638	  bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
639	*.tar.Z*) \
640	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
641	*.shar.gz*) \
642	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
643	*.zip*) \
644	  unzip $(distdir).zip ;;\
645	esac
646	chmod -R a-w $(distdir); chmod a+w $(distdir)
647	mkdir $(distdir)/_build
648	mkdir $(distdir)/_inst
649	chmod a-w $(distdir)
650	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
651	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
652	  && cd $(distdir)/_build \
653	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
654	    $(DISTCHECK_CONFIGURE_FLAGS) \
655	  && $(MAKE) $(AM_MAKEFLAGS) \
656	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
657	  && $(MAKE) $(AM_MAKEFLAGS) check \
658	  && $(MAKE) $(AM_MAKEFLAGS) install \
659	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
660	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
661	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
662	        distuninstallcheck \
663	  && chmod -R a-w "$$dc_install_base" \
664	  && ({ \
665	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
666	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
667	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
668	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
669	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
670	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
671	  && rm -rf "$$dc_destdir" \
672	  && $(MAKE) $(AM_MAKEFLAGS) dist \
673	  && rm -rf $(DIST_ARCHIVES) \
674	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
675	$(am__remove_distdir)
676	@(echo "$(distdir) archives ready for distribution: "; \
677	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
678	  sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
679distuninstallcheck:
680	@cd $(distuninstallcheck_dir) \
681	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
682	   || { echo "ERROR: files left after uninstall:" ; \
683	        if test -n "$(DESTDIR)"; then \
684	          echo "  (check DESTDIR support)"; \
685	        fi ; \
686	        $(distuninstallcheck_listfiles) ; \
687	        exit 1; } >&2
688distcleancheck: distclean
689	@if test '$(srcdir)' = . ; then \
690	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
691	  exit 1 ; \
692	fi
693	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
694	  || { echo "ERROR: files left in build directory after distclean:" ; \
695	       $(distcleancheck_listfiles) ; \
696	       exit 1; } >&2
697check-am: all-am
698check: check-recursive
699all-am: Makefile $(SCRIPTS) $(DATA)
700installdirs: installdirs-recursive
701installdirs-am:
702	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"; do \
703	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
704	done
705install: install-recursive
706install-exec: install-exec-recursive
707install-data: install-data-recursive
708uninstall: uninstall-recursive
709
710install-am: all-am
711	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
712
713installcheck: installcheck-recursive
714install-strip:
715	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
716	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
717	  `test -z '$(STRIP)' || \
718	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
719mostlyclean-generic:
720
721clean-generic:
722
723distclean-generic:
724	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
725
726maintainer-clean-generic:
727	@echo "This command is intended for maintainers to use"
728	@echo "it deletes files that may require special tools to rebuild."
729clean: clean-recursive
730
731clean-am: clean-generic clean-libtool clean-local mostlyclean-am
732
733distclean: distclean-recursive
734	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
735	-rm -f Makefile
736distclean-am: clean-am distclean-generic distclean-libtool \
737	distclean-tags
738
739dvi: dvi-recursive
740
741dvi-am:
742
743info: info-recursive
744
745info-am:
746
747install-data-am: install-pkgconfigDATA
748	@$(NORMAL_INSTALL)
749	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
750
751install-exec-am: install-binSCRIPTS
752
753install-info: install-info-recursive
754
755install-man:
756
757installcheck-am:
758
759maintainer-clean: maintainer-clean-recursive
760	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
761	-rm -rf $(top_srcdir)/autom4te.cache
762	-rm -f Makefile
763maintainer-clean-am: distclean-am maintainer-clean-generic
764
765mostlyclean: mostlyclean-recursive
766
767mostlyclean-am: mostlyclean-generic mostlyclean-libtool
768
769pdf-am:
770
771ps: ps-recursive
772
773ps-am:
774
775uninstall-am: uninstall-binSCRIPTS uninstall-info-am \
776	uninstall-pkgconfigDATA
777	@$(NORMAL_INSTALL)
778	$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
779
780uninstall-info: uninstall-info-recursive
781
782.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
783	check-am clean clean-generic clean-libtool clean-local \
784	clean-recursive ctags ctags-recursive dist dist-all dist-bzip2 \
785	dist-gzip dist-hook dist-shar dist-tarZ dist-zip distcheck \
786	distclean distclean-generic distclean-libtool \
787	distclean-recursive distclean-tags distcleancheck distdir \
788	distuninstallcheck dvi dvi-am html html-am info info-am \
789	install install-am install-binSCRIPTS install-data \
790	install-data-am install-data-hook install-exec install-exec-am \
791	install-info install-info-am install-man install-pkgconfigDATA \
792	install-strip installcheck installcheck-am installdirs \
793	installdirs-am maintainer-clean maintainer-clean-generic \
794	maintainer-clean-recursive mostlyclean mostlyclean-generic \
795	mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
796	tags tags-recursive uninstall uninstall-am \
797	uninstall-binSCRIPTS uninstall-hook uninstall-info-am \
798	uninstall-pkgconfigDATA
799
800
801dist-hook:
802	rm -rf $(top_builddir)/tests/log
803	find $(distdir) -name "*.dist" -exec rm {} \;
804	(distit=`find $(srcdir) -name "*.dist" | grep -v ./ares/`; \
805	for file in $$distit; do \
806	  strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \
807	  cp $$file $(distdir)$$strip; \
808	done)
809
810html:
811	cd docs; make html
812
813pdf:
814	cd docs; make pdf
815
816check: test examples
817
818@CROSSCOMPILING_TRUE@test-full: test
819@CROSSCOMPILING_TRUE@test-torture: test
820
821@CROSSCOMPILING_TRUE@test:
822@CROSSCOMPILING_TRUE@	@echo "NOTICE: we can't run the tests when cross-compiling!"
823
824@CROSSCOMPILING_FALSE@test:
825@CROSSCOMPILING_FALSE@	@(cd tests; $(MAKE) all quiet-test)
826
827@CROSSCOMPILING_FALSE@test-full:
828@CROSSCOMPILING_FALSE@	@(cd tests; $(MAKE) all full-test)
829
830@CROSSCOMPILING_FALSE@test-torture:
831@CROSSCOMPILING_FALSE@	@(cd tests; $(MAKE) all torture-test)
832
833examples:
834	@(cd docs/examples; $(MAKE) check)
835
836clean-local:
837	@(cd tests; $(MAKE) clean)
838	@(cd docs; $(MAKE) clean)
839
840#
841# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
842# must contain the following line:
843# %_topdir /home/loic/local/rpm
844# and that /home/loic/local/rpm contains the directory SOURCES, BUILD etc.
845#
846# cd /home/loic/local/rpm ; mkdir -p SOURCES BUILD RPMS/i386 SPECS SRPMS
847#
848# If additional configure flags are needed to build the package, add the
849# following in ~/.rpmmacros
850# %configure CFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{_prefix} ${AM_CONFIGFLAGS}
851# and run make rpm in the following way:
852# AM_CONFIGFLAGS='--with-uri=/home/users/loic/local/RedHat-6.2' make rpm
853#
854
855rpms:
856	$(MAKE) RPMDIST=curl rpm
857	$(MAKE) RPMDIST=curl-ssl rpm
858
859rpm:
860	RPM_TOPDIR=`rpm --showrc | $(PERL) -n -e 'print if(s/.*_topdir\s+(.*)/$$1/)'` ; \
861	cp $(srcdir)/packages/Linux/RPM/$(RPMDIST).spec $$RPM_TOPDIR/SPECS ; \
862	cp $(PACKAGE)-$(VERSION).tar.gz $$RPM_TOPDIR/SOURCES ; \
863	rpm -ba --clean --rmsource $$RPM_TOPDIR/SPECS/$(RPMDIST).spec ; \
864	mv $$RPM_TOPDIR/RPMS/i386/$(RPMDIST)-*.rpm . ; \
865	mv $$RPM_TOPDIR/SRPMS/$(RPMDIST)-*.src.rpm .
866
867#
868# Build a Solaris pkgadd format file
869# run 'make pkgadd' once you've done './configure' and 'make' to make a Solaris pkgadd format
870# file (which ends up back in this directory).
871# The pkgadd file is in 'pkgtrans' format, so to install on Solaris, do
872# pkgadd -d ./HAXXcurl-*
873#
874
875# gak - libtool requires an absoulte directory, hence the pwd below...
876pkgadd:
877	umask 022 ; \
878	make install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \
879	cat COPYING > $(srcdir)/packages/Solaris/copyright ; \
880	cd $(srcdir)/packages/Solaris && $(MAKE) package
881
882#
883# Build a cygwin binary tarball installation file
884# resulting .tar.bz2 file will end up at packages/Win32/cygwin
885cygwinbin:
886	$(MAKE) -C packages/Win32/cygwin cygwinbin
887
888# We extend the standard install with a custom hook:
889install-data-hook:
890	cd include && $(MAKE) install
891	cd docs && $(MAKE) install
892
893# We extend the standard uninstall with a custom hook:
894uninstall-hook:
895	cd include && $(MAKE) uninstall
896	cd docs && $(MAKE) uninstall
897
898ca-bundle: lib/mk-ca-bundle.pl
899	@echo "generate a fresh ca-bundle.crt"
900	@perl $< -b -l -u lib/ca-bundle.crt
901
902ca-firefox: lib/firefox-db2pem.sh
903	@echo "generate a fresh ca-bundle.crt"
904	./lib/firefox-db2pem.sh lib/ca-bundle.crt
905
906checksrc:
907	cd lib && $(MAKE) checksrc
908	cd src && $(MAKE) checksrc
909# Tell versions [3.59,3.63) of GNU make to not export all variables.
910# Otherwise a system limit (for SysV at least) may be exceeded.
911.NOEXPORT:
912