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