1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
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.
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
17 #***************************************************************************
19 # Project ___| | | | _ \| |
21 # | (__| |_| | _ <| |___
22 # \___|\___/|_| \_\_____|
24 # Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
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.
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.
34 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
35 # KIND, either express or implied.
37 ###########################################################################
41 top_srcdir = @top_srcdir@
43 pkgdatadir = $(datadir)/@PACKAGE@
44 pkglibdir = $(libdir)/@PACKAGE@
45 pkgincludedir = $(includedir)/@PACKAGE@
47 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
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)
60 build_triplet = @build@
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 \
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) \
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)
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 \
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/||"`;; \
103 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
104 pkgconfigDATA_INSTALL = $(INSTALL_DATA)
105 DATA = $(pkgconfig_DATA)
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
117 distuninstallcheck_listfiles = find . -type f -print
118 distcleancheck_listfiles = find . -type f -print
120 AMDEP_FALSE = @AMDEP_FALSE@
121 AMDEP_TRUE = @AMDEP_TRUE@
125 AUTOCONF = @AUTOCONF@
126 AUTOHEADER = @AUTOHEADER@
127 AUTOMAKE = @AUTOMAKE@
129 BUILD_LIBHOSTNAME_FALSE = @BUILD_LIBHOSTNAME_FALSE@
130 BUILD_LIBHOSTNAME_TRUE = @BUILD_LIBHOSTNAME_TRUE@
132 CCDEPMODE = @CCDEPMODE@
134 CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@
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@
163 DSYMUTIL = @DSYMUTIL@
169 ENABLE_SHARED = @ENABLE_SHARED@
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@
187 LIBCURL_LIBS = @LIBCURL_LIBS@
193 LTLIBOBJS = @LTLIBOBJS@
195 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
196 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
197 MAKEINFO = @MAKEINFO@
199 MIMPURE_FALSE = @MIMPURE_FALSE@
200 MIMPURE_TRUE = @MIMPURE_TRUE@
203 NO_UNDEFINED_FALSE = @NO_UNDEFINED_FALSE@
204 NO_UNDEFINED_TRUE = @NO_UNDEFINED_TRUE@
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@
218 PATH_SEPARATOR = @PATH_SEPARATOR@
220 PKGADD_NAME = @PKGADD_NAME@
221 PKGADD_PKG = @PKGADD_PKG@
222 PKGADD_VENDOR = @PKGADD_VENDOR@
223 PKGCONFIG = @PKGCONFIG@
224 RANDOM_FILE = @RANDOM_FILE@
226 REQUIRE_LIB_DEPS = @REQUIRE_LIB_DEPS@
228 SET_MAKE = @SET_MAKE@
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@
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@
248 USE_OPENLDAP = @USE_OPENLDAP@
249 USE_POLARSSL = @USE_POLARSSL@
250 USE_SSLEAY = @USE_SSLEAY@
251 USE_WINDOWS_SSPI = @USE_WINDOWS_SSPI@
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@
262 am__untar = @am__untar@
265 build_alias = @build_alias@
266 build_cpu = @build_cpu@
267 build_os = @build_os@
268 build_vendor = @build_vendor@
270 datarootdir = @datarootdir@
273 exec_prefix = @exec_prefix@
275 host_alias = @host_alias@
276 host_cpu = @host_cpu@
278 host_vendor = @host_vendor@
280 includedir = @includedir@
282 install_sh = @install_sh@
284 libexecdir = @libexecdir@
286 localedir = @localedir@
287 localstatedir = @localstatedir@
291 oldincludedir = @oldincludedir@
294 program_transform_name = @program_transform_name@
297 sharedstatedir = @sharedstatedir@
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
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)
313 bin_SCRIPTS = curl-config
315 DIST_SUBDIRS = $(SUBDIRS) tests include packages docs
316 pkgconfigdir = $(libdir)/pkgconfig
317 pkgconfig_DATA = libcurl.pc
323 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
325 case '$(am__configure_deps)' in \
327 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
328 cd $(srcdir) && $(AUTOMAKE) --foreign \
333 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
334 cd $(top_srcdir) && \
335 $(AUTOMAKE) --foreign Makefile
337 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
340 echo ' $(SHELL) ./config.status'; \
341 $(SHELL) ./config.status;; \
343 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
344 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
347 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
348 $(SHELL) ./config.status --recheck
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)
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"; \
370 uninstall-binSCRIPTS:
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"; \
387 install-pkgconfigDATA: $(pkgconfig_DATA)
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; \
393 echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
394 $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \
397 uninstall-pkgconfigDATA:
399 @list='$(pkgconfig_DATA)'; for p in $$list; do \
401 echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
402 rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \
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):
413 for f in x $$MAKEFLAGS; do \
416 *k*) failcom='fail=yes';; \
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 \
425 local_target="$$target-am"; \
427 local_target="$$target"; \
429 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
432 if test "$$dot_seen" = "no"; then \
433 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
436 mostlyclean-recursive clean-recursive distclean-recursive \
437 maintainer-clean-recursive:
439 for f in x $$MAKEFLAGS; do \
442 *k*) failcom='fail=yes';; \
447 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
448 *) list='$(SUBDIRS)' ;; \
450 rev=''; for subdir in $$list; do \
451 if test "$$subdir" = "."; then :; else \
452 rev="$$subdir $$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"; \
462 local_target="$$target"; \
464 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
466 done && test -z "$$fail"
468 list='$(SUBDIRS)'; for subdir in $$list; do \
469 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
472 list='$(SUBDIRS)'; for subdir in $$list; do \
473 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
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; \
481 $(AWK) ' { files[$$0] = 1; } \
482 END { for (i in files) print i; }'`; \
486 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
487 $(TAGS_FILES) $(LISP)
490 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
491 include_option=--etags-include; \
494 include_option=--include; \
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"; \
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; \
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) \
515 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
516 $(TAGS_FILES) $(LISP)
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; \
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) \
530 here=`$(am__cd) $(top_builddir) && pwd` \
531 && cd $(top_srcdir) \
532 && gtags -i $(GTAGS_ARGS) $$here
535 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
537 distdir: $(DISTFILES)
538 $(am__remove_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 \
545 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
546 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
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 \
552 $(mkdir_p) "$(distdir)$$dir"; \
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; \
560 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
562 test -f $(distdir)/$$file \
563 || cp -p $$d/$$file $(distdir)/$$file \
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" \
572 distdir=`$(am__cd) $(distdir) && pwd`; \
573 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
575 $(MAKE) $(AM_MAKEFLAGS) \
576 top_distdir="$$top_distdir" \
577 distdir="$$distdir/$$subdir" \
582 $(MAKE) $(AM_MAKEFLAGS) \
583 top_distdir="$(top_distdir)" distdir="$(distdir)" \
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)
592 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
593 $(am__remove_distdir)
596 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
597 $(am__remove_distdir)
600 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
601 $(am__remove_distdir)
604 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
605 $(am__remove_distdir)
608 -rm -f $(distdir).zip
609 zip -rq $(distdir).zip $(distdir)
610 $(am__remove_distdir)
612 dist dist-all: distdir
613 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
614 $(am__remove_distdir)
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
620 case '$(DIST_ARCHIVES)' in \
622 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
624 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
626 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
628 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
630 unzip $(distdir).zip ;;\
632 chmod -R a-w $(distdir); chmod a+w $(distdir)
633 mkdir $(distdir)/_build
634 mkdir $(distdir)/_inst
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" \
649 && chmod -R a-w "$$dc_install_base" \
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;}'
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)"; \
672 $(distuninstallcheck_listfiles) ; \
674 distcleancheck: distclean
675 @if test '$(srcdir)' = . ; then \
676 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
679 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
680 || { echo "ERROR: files left in build directory after distclean:" ; \
681 $(distcleancheck_listfiles) ; \
684 check: check-recursive
685 all-am: Makefile $(SCRIPTS) $(DATA)
686 installdirs: installdirs-recursive
688 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"; do \
689 test -z "$$dir" || $(mkdir_p) "$$dir"; \
691 install: install-recursive
692 install-exec: install-exec-recursive
693 install-data: install-data-recursive
694 uninstall: uninstall-recursive
697 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
699 installcheck: installcheck-recursive
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
710 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
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
717 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
719 distclean: distclean-recursive
720 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
722 distclean-am: clean-am distclean-generic distclean-libtool \
733 install-data-am: install-pkgconfigDATA
735 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
737 install-exec-am: install-binSCRIPTS
739 install-info: install-info-recursive
745 maintainer-clean: maintainer-clean-recursive
746 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
747 -rm -rf $(top_srcdir)/autom4te.cache
749 maintainer-clean-am: distclean-am maintainer-clean-generic
751 mostlyclean: mostlyclean-recursive
753 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
761 uninstall-am: uninstall-binSCRIPTS uninstall-info-am \
762 uninstall-pkgconfigDATA
764 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
766 uninstall-info: uninstall-info-recursive
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
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; \
804 @CROSSCOMPILING_TRUE@test-full: test
805 @CROSSCOMPILING_TRUE@test-torture: test
807 @CROSSCOMPILING_TRUE@test:
808 @CROSSCOMPILING_TRUE@ @echo "NOTICE: we can't run the tests when cross-compiling!"
810 @CROSSCOMPILING_FALSE@test:
811 @CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all quiet-test)
813 @CROSSCOMPILING_FALSE@test-full:
814 @CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all full-test)
816 @CROSSCOMPILING_FALSE@test-torture:
817 @CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all torture-test)
820 @(cd docs/examples; $(MAKE) check)
823 @(cd tests; $(MAKE) clean)
824 @(cd docs; $(MAKE) clean)
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.
832 # cd /home/loic/local/rpm ; mkdir -p SOURCES BUILD RPMS/i386 SPECS SRPMS
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
842 $(MAKE) RPMDIST=curl rpm
843 $(MAKE) RPMDIST=curl-ssl 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 .
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-*
861 # gak - libtool requires an absoulte directory, hence the pwd below...
864 make install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \
865 cat COPYING > $(srcdir)/packages/Solaris/copyright ; \
866 cd $(srcdir)/packages/Solaris && $(MAKE) package
869 # Build a cygwin binary tarball installation file
870 # resulting .tar.bz2 file will end up at packages/Win32/cygwin
872 $(MAKE) -C packages/Win32/cygwin cygwinbin
874 # We extend the standard install with a custom hook:
876 cd include && $(MAKE) install
877 cd docs && $(MAKE) install
879 # We extend the standard uninstall with a custom hook:
881 cd include && $(MAKE) uninstall
882 cd docs && $(MAKE) uninstall
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
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.