blob: 9472d92b06f334f15050538463328f7884c46bf6 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001# Makefile.in generated by automake 1.15 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17#***************************************************************************
18# _ _ ____ _
19# Project ___| | | | _ \| |
20# / __| | | | |_) | |
21# | (__| |_| | _ <| |___
22# \___|\___/|_| \_\_____|
23#
24# Copyright (C) 1998 - 2017, 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 https://curl.haxx.se/docs/copyright.html.
29#
30# You may opt to use, copy, modify, merge, publish, distribute and/or sell
31# copies of the Software, and permit persons to whom the Software is
32# furnished to do so, under the terms of the COPYING file.
33#
34# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
35# KIND, either express or implied.
36#
37###########################################################################
38
39#***************************************************************************
40# _ _ ____ _
41# Project ___| | | | _ \| |
42# / __| | | | |_) | |
43# | (__| |_| | _ <| |___
44# \___|\___/|_| \_\_____|
45#
46# Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
47#
48# This software is licensed as described in the file COPYING, which
49# you should have received as part of this distribution. The terms
50# are also available at https://curl.haxx.se/docs/copyright.html.
51#
52# You may opt to use, copy, modify, merge, publish, distribute and/or sell
53# copies of the Software, and permit persons to whom the Software is
54# furnished to do so, under the terms of the COPYING file.
55#
56# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
57# KIND, either express or implied.
58#
59###########################################################################
60
61# ./src/Makefile.inc
62# Using the backslash as line continuation character might be problematic
63# with some make flavours, as Watcom's wmake showed us already. If we
64# ever want to change this in a portable manner then we should consider
65# this idea (posted to the libcurl list by Adam Kellas):
66# CSRC1 = file1.c file2.c file3.c
67# CSRC2 = file4.c file5.c file6.c
68# CSOURCES = $(CSRC1) $(CSRC2)
69
70
71VPATH = @srcdir@
72am__is_gnu_make = { \
73 if test -z '$(MAKELEVEL)'; then \
74 false; \
75 elif test -n '$(MAKE_HOST)'; then \
76 true; \
77 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
78 true; \
79 else \
80 false; \
81 fi; \
82}
83am__make_running_with_option = \
84 case $${target_option-} in \
85 ?) ;; \
86 *) echo "am__make_running_with_option: internal error: invalid" \
87 "target option '$${target_option-}' specified" >&2; \
88 exit 1;; \
89 esac; \
90 has_opt=no; \
91 sane_makeflags=$$MAKEFLAGS; \
92 if $(am__is_gnu_make); then \
93 sane_makeflags=$$MFLAGS; \
94 else \
95 case $$MAKEFLAGS in \
96 *\\[\ \ ]*) \
97 bs=\\; \
98 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
99 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
100 esac; \
101 fi; \
102 skip_next=no; \
103 strip_trailopt () \
104 { \
105 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
106 }; \
107 for flg in $$sane_makeflags; do \
108 test $$skip_next = yes && { skip_next=no; continue; }; \
109 case $$flg in \
110 *=*|--*) continue;; \
111 -*I) strip_trailopt 'I'; skip_next=yes;; \
112 -*I?*) strip_trailopt 'I';; \
113 -*O) strip_trailopt 'O'; skip_next=yes;; \
114 -*O?*) strip_trailopt 'O';; \
115 -*l) strip_trailopt 'l'; skip_next=yes;; \
116 -*l?*) strip_trailopt 'l';; \
117 -[dEDm]) skip_next=yes;; \
118 -[JT]) skip_next=yes;; \
119 esac; \
120 case $$flg in \
121 *$$target_option*) has_opt=yes; break;; \
122 esac; \
123 done; \
124 test $$has_opt = yes
125am__make_dryrun = (target_option=n; $(am__make_running_with_option))
126am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
127pkgdatadir = $(datadir)/@PACKAGE@
128pkgincludedir = $(includedir)/@PACKAGE@
129pkglibdir = $(libdir)/@PACKAGE@
130pkglibexecdir = $(libexecdir)/@PACKAGE@
131am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
132install_sh_DATA = $(install_sh) -c -m 644
133install_sh_PROGRAM = $(install_sh) -c
134install_sh_SCRIPT = $(install_sh) -c
135INSTALL_HEADER = $(INSTALL_DATA)
136transform = $(program_transform_name)
137NORMAL_INSTALL = :
138PRE_INSTALL = :
139POST_INSTALL = :
140NORMAL_UNINSTALL = :
141PRE_UNINSTALL = :
142POST_UNINSTALL = :
143build_triplet = @build@
144host_triplet = @host@
145subdir = .
146ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
147am__aclocal_m4_deps = $(top_srcdir)/m4/ax_code_coverage.m4 \
148 $(top_srcdir)/m4/curl-compilers.m4 \
149 $(top_srcdir)/m4/curl-confopts.m4 \
150 $(top_srcdir)/m4/curl-functions.m4 \
151 $(top_srcdir)/m4/curl-openssl.m4 \
152 $(top_srcdir)/m4/curl-override.m4 \
153 $(top_srcdir)/m4/curl-reentrant.m4 $(top_srcdir)/m4/libtool.m4 \
154 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
155 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
156 $(top_srcdir)/m4/xc-am-iface.m4 \
157 $(top_srcdir)/m4/xc-cc-check.m4 \
158 $(top_srcdir)/m4/xc-lt-iface.m4 \
159 $(top_srcdir)/m4/xc-translit.m4 \
160 $(top_srcdir)/m4/xc-val-flgs.m4 \
161 $(top_srcdir)/m4/zz40-xc-ovr.m4 \
162 $(top_srcdir)/m4/zz50-xc-ovr.m4 \
163 $(top_srcdir)/m4/zz60-xc-ovr.m4 $(top_srcdir)/acinclude.m4 \
164 $(top_srcdir)/configure.ac
165am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
166 $(ACLOCAL_M4)
167DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
168 $(am__configure_deps) $(am__DIST_COMMON)
169am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
170 configure.lineno config.status.lineno
171mkinstalldirs = $(install_sh) -d
172CONFIG_HEADER = $(top_builddir)/lib/curl_config.h \
173 $(top_builddir)/include/curl/curlbuild.h
174CONFIG_CLEAN_FILES = curl-config libcurl.pc
175CONFIG_CLEAN_VPATH_FILES =
176am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
177am__vpath_adj = case $$p in \
178 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
179 *) f=$$p;; \
180 esac;
181am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
182am__install_max = 40
183am__nobase_strip_setup = \
184 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
185am__nobase_strip = \
186 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
187am__nobase_list = $(am__nobase_strip_setup); \
188 for p in $$list; do echo "$$p $$p"; done | \
189 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
190 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
191 if (++n[$$2] == $(am__install_max)) \
192 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
193 END { for (dir in files) print dir, files[dir] }'
194am__base_list = \
195 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
196 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
197am__uninstall_files_from_dir = { \
198 test -z "$$files" \
199 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
200 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
201 $(am__cd) "$$dir" && rm -f $$files; }; \
202 }
203am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"
204SCRIPTS = $(bin_SCRIPTS)
205AM_V_P = $(am__v_P_@AM_V@)
206am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
207am__v_P_0 = false
208am__v_P_1 = :
209AM_V_GEN = $(am__v_GEN_@AM_V@)
210am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
211am__v_GEN_0 = @echo " GEN " $@;
212am__v_GEN_1 =
213AM_V_at = $(am__v_at_@AM_V@)
214am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
215am__v_at_0 = @
216am__v_at_1 =
217SOURCES =
218DIST_SOURCES =
219RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
220 ctags-recursive dvi-recursive html-recursive info-recursive \
221 install-data-recursive install-dvi-recursive \
222 install-exec-recursive install-html-recursive \
223 install-info-recursive install-pdf-recursive \
224 install-ps-recursive install-recursive installcheck-recursive \
225 installdirs-recursive pdf-recursive ps-recursive \
226 tags-recursive uninstall-recursive
227am__can_run_installinfo = \
228 case $$AM_UPDATE_INFO_DIR in \
229 n|no|NO) false;; \
230 *) (install-info --version) >/dev/null 2>&1;; \
231 esac
232DATA = $(pkgconfig_DATA)
233RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
234 distclean-recursive maintainer-clean-recursive
235am__recursive_targets = \
236 $(RECURSIVE_TARGETS) \
237 $(RECURSIVE_CLEAN_TARGETS) \
238 $(am__extra_recursive_targets)
239AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
240 cscope distdir dist dist-all distcheck
241am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
242# Read a list of newline-separated strings from the standard input,
243# and print each of them once, without duplicates. Input order is
244# *not* preserved.
245am__uniquify_input = $(AWK) '\
246 BEGIN { nonempty = 0; } \
247 { items[$$0] = 1; nonempty = 1; } \
248 END { if (nonempty) { for (i in items) print i; }; } \
249'
250# Make sure the list of sources is unique. This is necessary because,
251# e.g., the same source file might be shared among _SOURCES variables
252# for different programs/libraries.
253am__define_uniq_tagged_files = \
254 list='$(am__tagged_files)'; \
255 unique=`for i in $$list; do \
256 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
257 done | $(am__uniquify_input)`
258ETAGS = etags
259CTAGS = ctags
260CSCOPE = cscope
261am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/curl-config.in \
262 $(srcdir)/lib/Makefile.inc $(srcdir)/libcurl.pc.in \
263 $(srcdir)/src/Makefile.inc COPYING README compile config.guess \
264 config.sub depcomp install-sh ltmain.sh missing
265DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
266distdir = $(PACKAGE)-$(VERSION)
267top_distdir = $(distdir)
268am__remove_distdir = \
269 if test -d "$(distdir)"; then \
270 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
271 && rm -rf "$(distdir)" \
272 || { sleep 5 && rm -rf "$(distdir)"; }; \
273 else :; fi
274am__post_remove_distdir = $(am__remove_distdir)
275am__relativize = \
276 dir0=`pwd`; \
277 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
278 sed_rest='s,^[^/]*/*,,'; \
279 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
280 sed_butlast='s,/*[^/]*$$,,'; \
281 while test -n "$$dir1"; do \
282 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
283 if test "$$first" != "."; then \
284 if test "$$first" = ".."; then \
285 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
286 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
287 else \
288 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
289 if test "$$first2" = "$$first"; then \
290 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
291 else \
292 dir2="../$$dir2"; \
293 fi; \
294 dir0="$$dir0"/"$$first"; \
295 fi; \
296 fi; \
297 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
298 done; \
299 reldir="$$dir2"
300DIST_ARCHIVES = $(distdir).tar.gz
301GZIP_ENV = --best
302DIST_TARGETS = dist-gzip
303distuninstallcheck_listfiles = find . -type f -print
304am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
305 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
306distcleancheck_listfiles = find . -type f -print
307ACLOCAL = @ACLOCAL@
308AMTAR = @AMTAR@
309AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
310AR = @AR@
311AS = @AS@
312AUTOCONF = @AUTOCONF@
313AUTOHEADER = @AUTOHEADER@
314AUTOMAKE = @AUTOMAKE@
315AWK = @AWK@
316BLANK_AT_MAKETIME = @BLANK_AT_MAKETIME@
317CC = @CC@
318CCDEPMODE = @CCDEPMODE@
319CFLAGS = @CFLAGS@
320CFLAG_CURL_SYMBOL_HIDING = @CFLAG_CURL_SYMBOL_HIDING@
321CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
322CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
323CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
324CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@
325CPP = @CPP@
326CPPFLAGS = @CPPFLAGS@
327CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@
328CURLVERSION = @CURLVERSION@
329CURL_CA_BUNDLE = @CURL_CA_BUNDLE@
330CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@
331CURL_DISABLE_DICT = @CURL_DISABLE_DICT@
332CURL_DISABLE_FILE = @CURL_DISABLE_FILE@
333CURL_DISABLE_FTP = @CURL_DISABLE_FTP@
334CURL_DISABLE_GOPHER = @CURL_DISABLE_GOPHER@
335CURL_DISABLE_HTTP = @CURL_DISABLE_HTTP@
336CURL_DISABLE_IMAP = @CURL_DISABLE_IMAP@
337CURL_DISABLE_LDAP = @CURL_DISABLE_LDAP@
338CURL_DISABLE_LDAPS = @CURL_DISABLE_LDAPS@
339CURL_DISABLE_POP3 = @CURL_DISABLE_POP3@
340CURL_DISABLE_PROXY = @CURL_DISABLE_PROXY@
341CURL_DISABLE_RTSP = @CURL_DISABLE_RTSP@
342CURL_DISABLE_SMB = @CURL_DISABLE_SMB@
343CURL_DISABLE_SMTP = @CURL_DISABLE_SMTP@
344CURL_DISABLE_TELNET = @CURL_DISABLE_TELNET@
345CURL_DISABLE_TFTP = @CURL_DISABLE_TFTP@
346CURL_LT_SHLIB_VERSIONED_FLAVOUR = @CURL_LT_SHLIB_VERSIONED_FLAVOUR@
347CURL_NETWORK_AND_TIME_LIBS = @CURL_NETWORK_AND_TIME_LIBS@
348CURL_NETWORK_LIBS = @CURL_NETWORK_LIBS@
349CYGPATH_W = @CYGPATH_W@
350DEFS = @DEFS@
351DEPDIR = @DEPDIR@
352DLLTOOL = @DLLTOOL@
353DSYMUTIL = @DSYMUTIL@
354DUMPBIN = @DUMPBIN@
355ECHO_C = @ECHO_C@
356ECHO_N = @ECHO_N@
357ECHO_T = @ECHO_T@
358EGREP = @EGREP@
359ENABLE_SHARED = @ENABLE_SHARED@
360ENABLE_STATIC = @ENABLE_STATIC@
361EXEEXT = @EXEEXT@
362FGREP = @FGREP@
363GCOV = @GCOV@
364GENHTML = @GENHTML@
365GREP = @GREP@
366HAVE_GNUTLS_SRP = @HAVE_GNUTLS_SRP@
367HAVE_LDAP_SSL = @HAVE_LDAP_SSL@
368HAVE_LIBZ = @HAVE_LIBZ@
369HAVE_OPENSSL_SRP = @HAVE_OPENSSL_SRP@
370IDN_ENABLED = @IDN_ENABLED@
371INSTALL = @INSTALL@
372INSTALL_DATA = @INSTALL_DATA@
373INSTALL_PROGRAM = @INSTALL_PROGRAM@
374INSTALL_SCRIPT = @INSTALL_SCRIPT@
375INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
376IPV6_ENABLED = @IPV6_ENABLED@
377LCOV = @LCOV@
378LD = @LD@
379LDFLAGS = @LDFLAGS@
380LIBCURL_LIBS = @LIBCURL_LIBS@
381LIBMETALINK_CPPFLAGS = @LIBMETALINK_CPPFLAGS@
382LIBMETALINK_LDFLAGS = @LIBMETALINK_LDFLAGS@
383LIBMETALINK_LIBS = @LIBMETALINK_LIBS@
384LIBOBJS = @LIBOBJS@
385LIBS = @LIBS@
386LIBTOOL = @LIBTOOL@
387LIPO = @LIPO@
388LN_S = @LN_S@
389LTLIBOBJS = @LTLIBOBJS@
390LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
391MAINT = @MAINT@
392MAKEINFO = @MAKEINFO@
393MANIFEST_TOOL = @MANIFEST_TOOL@
394MANOPT = @MANOPT@
395MKDIR_P = @MKDIR_P@
396NM = @NM@
397NMEDIT = @NMEDIT@
398NROFF = @NROFF@
399NSS_LIBS = @NSS_LIBS@
400OBJDUMP = @OBJDUMP@
401OBJEXT = @OBJEXT@
402OTOOL = @OTOOL@
403OTOOL64 = @OTOOL64@
404PACKAGE = @PACKAGE@
405PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
406PACKAGE_NAME = @PACKAGE_NAME@
407PACKAGE_STRING = @PACKAGE_STRING@
408PACKAGE_TARNAME = @PACKAGE_TARNAME@
409PACKAGE_URL = @PACKAGE_URL@
410PACKAGE_VERSION = @PACKAGE_VERSION@
411PATH_SEPARATOR = @PATH_SEPARATOR@
412PERL = @PERL@
413PKGADD_NAME = @PKGADD_NAME@
414PKGADD_PKG = @PKGADD_PKG@
415PKGADD_VENDOR = @PKGADD_VENDOR@
416PKGCONFIG = @PKGCONFIG@
417RANDOM_FILE = @RANDOM_FILE@
418RANLIB = @RANLIB@
419REQUIRE_LIB_DEPS = @REQUIRE_LIB_DEPS@
420SED = @SED@
421SET_MAKE = @SET_MAKE@
422SHELL = @SHELL@
423SSL_ENABLED = @SSL_ENABLED@
424SSL_LIBS = @SSL_LIBS@
425STRIP = @STRIP@
426SUPPORT_FEATURES = @SUPPORT_FEATURES@
427SUPPORT_PROTOCOLS = @SUPPORT_PROTOCOLS@
428USE_ARES = @USE_ARES@
429USE_AXTLS = @USE_AXTLS@
430USE_CYASSL = @USE_CYASSL@
431USE_DARWINSSL = @USE_DARWINSSL@
432USE_GNUTLS = @USE_GNUTLS@
433USE_GNUTLS_NETTLE = @USE_GNUTLS_NETTLE@
434USE_LIBRTMP = @USE_LIBRTMP@
435USE_LIBSSH2 = @USE_LIBSSH2@
436USE_MBEDTLS = @USE_MBEDTLS@
437USE_NGHTTP2 = @USE_NGHTTP2@
438USE_NSS = @USE_NSS@
439USE_OPENLDAP = @USE_OPENLDAP@
440USE_POLARSSL = @USE_POLARSSL@
441USE_SCHANNEL = @USE_SCHANNEL@
442USE_UNIX_SOCKETS = @USE_UNIX_SOCKETS@
443USE_WINDOWS_SSPI = @USE_WINDOWS_SSPI@
444VERSION = @VERSION@
445VERSIONNUM = @VERSIONNUM@
446ZLIB_LIBS = @ZLIB_LIBS@
447ZSH_FUNCTIONS_DIR = @ZSH_FUNCTIONS_DIR@
448abs_builddir = @abs_builddir@
449abs_srcdir = @abs_srcdir@
450abs_top_builddir = @abs_top_builddir@
451abs_top_srcdir = @abs_top_srcdir@
452ac_ct_AR = @ac_ct_AR@
453ac_ct_CC = @ac_ct_CC@
454ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
455am__include = @am__include@
456am__leading_dot = @am__leading_dot@
457am__quote = @am__quote@
458am__tar = @am__tar@
459am__untar = @am__untar@
460bindir = @bindir@
461build = @build@
462build_alias = @build_alias@
463build_cpu = @build_cpu@
464build_os = @build_os@
465build_vendor = @build_vendor@
466builddir = @builddir@
467datadir = @datadir@
468datarootdir = @datarootdir@
469docdir = @docdir@
470dvidir = @dvidir@
471exec_prefix = @exec_prefix@
472host = @host@
473host_alias = @host_alias@
474host_cpu = @host_cpu@
475host_os = @host_os@
476host_vendor = @host_vendor@
477htmldir = @htmldir@
478includedir = @includedir@
479infodir = @infodir@
480install_sh = @install_sh@
481libdir = @libdir@
482libexecdir = @libexecdir@
483libext = @libext@
484localedir = @localedir@
485localstatedir = @localstatedir@
486mandir = @mandir@
487mkdir_p = @mkdir_p@
488oldincludedir = @oldincludedir@
489pdfdir = @pdfdir@
490prefix = @prefix@
491program_transform_name = @program_transform_name@
492psdir = @psdir@
493runstatedir = @runstatedir@
494sbindir = @sbindir@
495sharedstatedir = @sharedstatedir@
496srcdir = @srcdir@
497subdirs = @subdirs@
498sysconfdir = @sysconfdir@
499target_alias = @target_alias@
500top_build_prefix = @top_build_prefix@
501top_builddir = @top_builddir@
502top_srcdir = @top_srcdir@
503AUTOMAKE_OPTIONS = foreign
504ACLOCAL_AMFLAGS = -I m4
505CMAKE_DIST = CMakeLists.txt CMake/CMakeConfigurableFile.in \
506 CMake/CurlTests.c CMake/FindGSS.cmake CMake/OtherTests.cmake \
507 CMake/Platforms/WindowsCache.cmake CMake/Utilities.cmake \
508 include/curl/curlbuild.h.cmake CMake/Macros.cmake \
509 CMake/CurlSymbolHiding.cmake CMake/FindCARES.cmake \
510 CMake/FindLibSSH2.cmake CMake/FindNGHTTP2.cmake \
511 CMake/FindMbedTLS.cmake
512
513VC6_LIBTMPL = projects/Windows/VC6/lib/libcurl.tmpl
514VC6_LIBDSP = projects/Windows/VC6/lib/libcurl.dsp.dist
515VC6_LIBDSP_DEPS = $(VC6_LIBTMPL) Makefile.am lib/Makefile.inc
516VC6_SRCTMPL = projects/Windows/VC6/src/curl.tmpl
517VC6_SRCDSP = projects/Windows/VC6/src/curl.dsp.dist
518VC6_SRCDSP_DEPS = $(VC6_SRCTMPL) Makefile.am src/Makefile.inc
519VC7_LIBTMPL = projects/Windows/VC7/lib/libcurl.tmpl
520VC7_LIBVCPROJ = projects/Windows/VC7/lib/libcurl.vcproj.dist
521VC7_LIBVCPROJ_DEPS = $(VC7_LIBTMPL) Makefile.am lib/Makefile.inc
522VC7_SRCTMPL = projects/Windows/VC7/src/curl.tmpl
523VC7_SRCVCPROJ = projects/Windows/VC7/src/curl.vcproj.dist
524VC7_SRCVCPROJ_DEPS = $(VC7_SRCTMPL) Makefile.am src/Makefile.inc
525VC71_LIBTMPL = projects/Windows/VC7.1/lib/libcurl.tmpl
526VC71_LIBVCPROJ = projects/Windows/VC7.1/lib/libcurl.vcproj.dist
527VC71_LIBVCPROJ_DEPS = $(VC71_LIBTMPL) Makefile.am lib/Makefile.inc
528VC71_SRCTMPL = projects/Windows/VC7.1/src/curl.tmpl
529VC71_SRCVCPROJ = projects/Windows/VC7.1/src/curl.vcproj.dist
530VC71_SRCVCPROJ_DEPS = $(VC71_SRCTMPL) Makefile.am src/Makefile.inc
531VC8_LIBTMPL = projects/Windows/VC8/lib/libcurl.tmpl
532VC8_LIBVCPROJ = projects/Windows/VC8/lib/libcurl.vcproj.dist
533VC8_LIBVCPROJ_DEPS = $(VC8_LIBTMPL) Makefile.am lib/Makefile.inc
534VC8_SRCTMPL = projects/Windows/VC8/src/curl.tmpl
535VC8_SRCVCPROJ = projects/Windows/VC8/src/curl.vcproj.dist
536VC8_SRCVCPROJ_DEPS = $(VC8_SRCTMPL) Makefile.am src/Makefile.inc
537VC9_LIBTMPL = projects/Windows/VC9/lib/libcurl.tmpl
538VC9_LIBVCPROJ = projects/Windows/VC9/lib/libcurl.vcproj.dist
539VC9_LIBVCPROJ_DEPS = $(VC9_LIBTMPL) Makefile.am lib/Makefile.inc
540VC9_SRCTMPL = projects/Windows/VC9/src/curl.tmpl
541VC9_SRCVCPROJ = projects/Windows/VC9/src/curl.vcproj.dist
542VC9_SRCVCPROJ_DEPS = $(VC9_SRCTMPL) Makefile.am src/Makefile.inc
543VC10_LIBTMPL = projects/Windows/VC10/lib/libcurl.tmpl
544VC10_LIBVCXPROJ = projects/Windows/VC10/lib/libcurl.vcxproj.dist
545VC10_LIBVCXPROJ_DEPS = $(VC10_LIBTMPL) Makefile.am lib/Makefile.inc
546VC10_SRCTMPL = projects/Windows/VC10/src/curl.tmpl
547VC10_SRCVCXPROJ = projects/Windows/VC10/src/curl.vcxproj.dist
548VC10_SRCVCXPROJ_DEPS = $(VC10_SRCTMPL) Makefile.am src/Makefile.inc
549VC11_LIBTMPL = projects/Windows/VC11/lib/libcurl.tmpl
550VC11_LIBVCXPROJ = projects/Windows/VC11/lib/libcurl.vcxproj.dist
551VC11_LIBVCXPROJ_DEPS = $(VC11_LIBTMPL) Makefile.am lib/Makefile.inc
552VC11_SRCTMPL = projects/Windows/VC11/src/curl.tmpl
553VC11_SRCVCXPROJ = projects/Windows/VC11/src/curl.vcxproj.dist
554VC11_SRCVCXPROJ_DEPS = $(VC11_SRCTMPL) Makefile.am src/Makefile.inc
555VC12_LIBTMPL = projects/Windows/VC12/lib/libcurl.tmpl
556VC12_LIBVCXPROJ = projects/Windows/VC12/lib/libcurl.vcxproj.dist
557VC12_LIBVCXPROJ_DEPS = $(VC12_LIBTMPL) Makefile.am lib/Makefile.inc
558VC12_SRCTMPL = projects/Windows/VC12/src/curl.tmpl
559VC12_SRCVCXPROJ = projects/Windows/VC12/src/curl.vcxproj.dist
560VC12_SRCVCXPROJ_DEPS = $(VC12_SRCTMPL) Makefile.am src/Makefile.inc
561VC14_LIBTMPL = projects/Windows/VC14/lib/libcurl.tmpl
562VC14_LIBVCXPROJ = projects/Windows/VC14/lib/libcurl.vcxproj.dist
563VC14_LIBVCXPROJ_DEPS = $(VC14_LIBTMPL) Makefile.am lib/Makefile.inc
564VC14_SRCTMPL = projects/Windows/VC14/src/curl.tmpl
565VC14_SRCVCXPROJ = projects/Windows/VC14/src/curl.vcxproj.dist
566VC14_SRCVCXPROJ_DEPS = $(VC14_SRCTMPL) Makefile.am src/Makefile.inc
567VC_DIST = projects/README \
568 projects/build-openssl.bat \
569 projects/build-wolfssl.bat \
570 projects/checksrc.bat \
571 projects/Windows/VC6/curl-all.dsw \
572 projects/Windows/VC6/lib/libcurl.dsw \
573 projects/Windows/VC6/src/curl.dsw \
574 projects/Windows/VC7/curl-all.sln \
575 projects/Windows/VC7/lib/libcurl.sln \
576 projects/Windows/VC7/src/curl.sln \
577 projects/Windows/VC7.1/curl-all.sln \
578 projects/Windows/VC7.1/lib/libcurl.sln \
579 projects/Windows/VC7.1/src/curl.sln \
580 projects/Windows/VC8/curl-all.sln \
581 projects/Windows/VC8/lib/libcurl.sln \
582 projects/Windows/VC8/src/curl.sln \
583 projects/Windows/VC9/curl-all.sln \
584 projects/Windows/VC9/lib/libcurl.sln \
585 projects/Windows/VC9/src/curl.sln \
586 projects/Windows/VC10/curl-all.sln \
587 projects/Windows/VC10/lib/libcurl.sln \
588 projects/Windows/VC10/lib/libcurl.vcxproj.filters \
589 projects/Windows/VC10/src/curl.sln \
590 projects/Windows/VC10/src/curl.vcxproj.filters \
591 projects/Windows/VC11/curl-all.sln \
592 projects/Windows/VC11/lib/libcurl.sln \
593 projects/Windows/VC11/lib/libcurl.vcxproj.filters \
594 projects/Windows/VC11/src/curl.sln \
595 projects/Windows/VC11/src/curl.vcxproj.filters \
596 projects/Windows/VC12/curl-all.sln \
597 projects/Windows/VC12/lib/libcurl.sln \
598 projects/Windows/VC12/lib/libcurl.vcxproj.filters \
599 projects/Windows/VC12/src/curl.sln \
600 projects/Windows/VC12/src/curl.vcxproj.filters \
601 projects/Windows/VC14/curl-all.sln \
602 projects/Windows/VC14/lib/libcurl.sln \
603 projects/Windows/VC14/lib/libcurl.vcxproj.filters \
604 projects/Windows/VC14/src/curl.sln \
605 projects/Windows/VC14/src/curl.vcxproj.filters \
606 projects/generate.bat \
607 projects/wolfssl_options.h \
608 projects/wolfssl_override.props
609
610WINBUILD_DIST = winbuild/BUILD.WINDOWS.txt winbuild/gen_resp_file.bat \
611 winbuild/MakefileBuild.vc winbuild/Makefile.vc
612
613EXTRA_DIST = CHANGES COPYING maketgz Makefile.dist curl-config.in \
614 RELEASE-NOTES buildconf libcurl.pc.in MacOSX-Framework scripts/zsh.pl \
615 scripts/updatemanpages.pl $(CMAKE_DIST) $(VC_DIST) $(WINBUILD_DIST) \
616 lib/libcurl.vers.in buildconf.bat scripts/coverage.sh
617
618CLEANFILES = $(VC6_LIBDSP) $(VC6_SRCDSP) $(VC7_LIBVCPROJ) $(VC7_SRCVCPROJ) \
619 $(VC71_LIBVCPROJ) $(VC71_SRCVCPROJ) $(VC8_LIBVCPROJ) $(VC8_SRCVCPROJ) \
620 $(VC9_LIBVCPROJ) $(VC9_SRCVCPROJ) $(VC10_LIBVCXPROJ) $(VC10_SRCVCXPROJ) \
621 $(VC11_LIBVCXPROJ) $(VC11_SRCVCXPROJ) $(VC12_LIBVCXPROJ) $(VC12_SRCVCXPROJ) \
622 $(VC14_LIBVCXPROJ) $(VC14_SRCVCXPROJ)
623
624bin_SCRIPTS = curl-config
625SUBDIRS = lib docs src include
626DIST_SUBDIRS = $(SUBDIRS) tests packages scripts
627pkgconfigdir = $(libdir)/pkgconfig
628pkgconfig_DATA = libcurl.pc
629LIB_VAUTH_CFILES = vauth/vauth.c vauth/cleartext.c vauth/cram.c \
630 vauth/digest.c vauth/digest_sspi.c vauth/krb5_gssapi.c \
631 vauth/krb5_sspi.c vauth/ntlm.c vauth/ntlm_sspi.c vauth/oauth2.c \
632 vauth/spnego_gssapi.c vauth/spnego_sspi.c
633
634LIB_VAUTH_HFILES = vauth/vauth.h vauth/digest.h vauth/ntlm.h
635LIB_VTLS_CFILES = vtls/openssl.c vtls/gtls.c vtls/vtls.c vtls/nss.c \
636 vtls/polarssl.c vtls/polarssl_threadlock.c vtls/axtls.c \
637 vtls/cyassl.c vtls/schannel.c vtls/darwinssl.c vtls/gskit.c \
638 vtls/mbedtls.c
639
640LIB_VTLS_HFILES = vtls/openssl.h vtls/vtls.h vtls/gtls.h \
641 vtls/nssg.h vtls/polarssl.h vtls/polarssl_threadlock.h vtls/axtls.h \
642 vtls/cyassl.h vtls/schannel.h vtls/darwinssl.h vtls/gskit.h \
643 vtls/mbedtls.h
644
645LIB_CFILES = file.c timeval.c base64.c hostip.c progress.c formdata.c \
646 cookie.c http.c sendf.c ftp.c url.c dict.c if2ip.c speedcheck.c \
647 ldap.c version.c getenv.c escape.c mprintf.c telnet.c netrc.c \
648 getinfo.c transfer.c strcase.c easy.c security.c curl_fnmatch.c \
649 fileinfo.c ftplistparser.c wildcard.c krb5.c memdebug.c http_chunks.c \
650 strtok.c connect.c llist.c hash.c multi.c content_encoding.c share.c \
651 http_digest.c md4.c md5.c http_negotiate.c inet_pton.c strtoofft.c \
652 strerror.c amigaos.c hostasyn.c hostip4.c hostip6.c hostsyn.c \
653 inet_ntop.c parsedate.c select.c tftp.c splay.c strdup.c socks.c \
654 ssh.c curl_addrinfo.c socks_gssapi.c socks_sspi.c \
655 curl_sspi.c slist.c nonblock.c curl_memrchr.c imap.c pop3.c smtp.c \
656 pingpong.c rtsp.c curl_threads.c warnless.c hmac.c curl_rtmp.c \
657 openldap.c curl_gethostname.c gopher.c idn_win32.c \
658 http_proxy.c non-ascii.c asyn-ares.c asyn-thread.c curl_gssapi.c \
659 http_ntlm.c curl_ntlm_wb.c curl_ntlm_core.c curl_sasl.c rand.c \
660 curl_multibyte.c hostcheck.c conncache.c pipeline.c dotdot.c \
661 x509asn1.c http2.c smb.c curl_endian.c curl_des.c system_win32.c
662
663LIB_HFILES = arpa_telnet.h netrc.h file.h timeval.h hostip.h progress.h \
664 formdata.h cookie.h http.h sendf.h ftp.h url.h dict.h if2ip.h \
665 speedcheck.h urldata.h curl_ldap.h escape.h telnet.h getinfo.h \
666 strcase.h curl_sec.h memdebug.h http_chunks.h curl_fnmatch.h \
667 wildcard.h fileinfo.h ftplistparser.h strtok.h connect.h llist.h \
668 hash.h content_encoding.h share.h curl_md4.h curl_md5.h http_digest.h \
669 http_negotiate.h inet_pton.h amigaos.h strtoofft.h strerror.h \
670 inet_ntop.h curlx.h curl_memory.h curl_setup.h transfer.h select.h \
671 easyif.h multiif.h parsedate.h tftp.h sockaddr.h splay.h strdup.h \
672 socks.h ssh.h curl_base64.h curl_addrinfo.h curl_sspi.h \
673 slist.h nonblock.h curl_memrchr.h imap.h pop3.h smtp.h pingpong.h \
674 rtsp.h curl_threads.h warnless.h curl_hmac.h curl_rtmp.h \
675 curl_gethostname.h gopher.h http_proxy.h non-ascii.h asyn.h \
676 http_ntlm.h curl_gssapi.h curl_ntlm_wb.h curl_ntlm_core.h \
677 curl_sasl.h curl_multibyte.h hostcheck.h conncache.h \
678 curl_setup_once.h multihandle.h setup-vms.h pipeline.h dotdot.h \
679 x509asn1.h http2.h sigpipe.h smb.h curl_endian.h curl_des.h \
680 curl_printf.h system_win32.h rand.h
681
682LIB_RCFILES = libcurl.rc
683CSOURCES = $(LIB_CFILES) $(LIB_VAUTH_CFILES) $(LIB_VTLS_CFILES)
684HHEADERS = $(LIB_HFILES) $(LIB_VAUTH_HFILES) $(LIB_VTLS_HFILES)
685
686# libcurl has sources that provide functions named curlx_* that aren't part of
687# the official API, but we re-use the code here to avoid duplication.
688CURLX_CFILES = \
689 ../lib/strtoofft.c \
690 ../lib/nonblock.c \
691 ../lib/warnless.c
692
693CURLX_HFILES = \
694 ../lib/curl_setup.h \
695 ../lib/strtoofft.h \
696 ../lib/nonblock.h \
697 ../lib/warnless.h
698
699CURL_CFILES = \
700 slist_wc.c \
701 tool_binmode.c \
702 tool_bname.c \
703 tool_cb_dbg.c \
704 tool_cb_hdr.c \
705 tool_cb_prg.c \
706 tool_cb_rea.c \
707 tool_cb_see.c \
708 tool_cb_wrt.c \
709 tool_cfgable.c \
710 tool_convert.c \
711 tool_dirhie.c \
712 tool_doswin.c \
713 tool_easysrc.c \
714 tool_formparse.c \
715 tool_getparam.c \
716 tool_getpass.c \
717 tool_help.c \
718 tool_helpers.c \
719 tool_homedir.c \
720 tool_hugehelp.c \
721 tool_libinfo.c \
722 tool_main.c \
723 tool_metalink.c \
724 tool_mfiles.c \
725 tool_msgs.c \
726 tool_operate.c \
727 tool_operhlp.c \
728 tool_panykey.c \
729 tool_paramhlp.c \
730 tool_parsecfg.c \
731 tool_strdup.c \
732 tool_setopt.c \
733 tool_sleep.c \
734 tool_urlglob.c \
735 tool_util.c \
736 tool_vms.c \
737 tool_writeout.c \
738 tool_xattr.c
739
740CURL_HFILES = \
741 slist_wc.h \
742 tool_binmode.h \
743 tool_bname.h \
744 tool_cb_dbg.h \
745 tool_cb_hdr.h \
746 tool_cb_prg.h \
747 tool_cb_rea.h \
748 tool_cb_see.h \
749 tool_cb_wrt.h \
750 tool_cfgable.h \
751 tool_convert.h \
752 tool_dirhie.h \
753 tool_doswin.h \
754 tool_easysrc.h \
755 tool_formparse.h \
756 tool_getparam.h \
757 tool_getpass.h \
758 tool_help.h \
759 tool_helpers.h \
760 tool_homedir.h \
761 tool_hugehelp.h \
762 tool_libinfo.h \
763 tool_main.h \
764 tool_metalink.h \
765 tool_mfiles.h \
766 tool_msgs.h \
767 tool_operate.h \
768 tool_operhlp.h \
769 tool_panykey.h \
770 tool_paramhlp.h \
771 tool_parsecfg.h \
772 tool_sdecls.h \
773 tool_setopt.h \
774 tool_setup.h \
775 tool_sleep.h \
776 tool_strdup.h \
777 tool_urlglob.h \
778 tool_util.h \
779 tool_version.h \
780 tool_vms.h \
781 tool_writeout.h \
782 tool_xattr.h
783
784CURL_RCFILES = curl.rc
785
786# curl_SOURCES is special and gets assigned in src/Makefile.am
787CURL_FILES = $(CURL_CFILES) $(CURLX_CFILES) $(CURL_HFILES)
788all: all-recursive
789
790.SUFFIXES:
791am--refresh: Makefile
792 @:
793$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/lib/Makefile.inc $(srcdir)/src/Makefile.inc $(am__configure_deps)
794 @for dep in $?; do \
795 case '$(am__configure_deps)' in \
796 *$$dep*) \
797 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
798 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
799 && exit 0; \
800 exit 1;; \
801 esac; \
802 done; \
803 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
804 $(am__cd) $(top_srcdir) && \
805 $(AUTOMAKE) --foreign Makefile
806Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
807 @case '$?' in \
808 *config.status*) \
809 echo ' $(SHELL) ./config.status'; \
810 $(SHELL) ./config.status;; \
811 *) \
812 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
813 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
814 esac;
815$(srcdir)/lib/Makefile.inc $(srcdir)/src/Makefile.inc $(am__empty):
816
817$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
818 $(SHELL) ./config.status --recheck
819
820$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
821 $(am__cd) $(srcdir) && $(AUTOCONF)
822$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
823 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
824$(am__aclocal_m4_deps):
825curl-config: $(top_builddir)/config.status $(srcdir)/curl-config.in
826 cd $(top_builddir) && $(SHELL) ./config.status $@
827libcurl.pc: $(top_builddir)/config.status $(srcdir)/libcurl.pc.in
828 cd $(top_builddir) && $(SHELL) ./config.status $@
829install-binSCRIPTS: $(bin_SCRIPTS)
830 @$(NORMAL_INSTALL)
831 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
832 if test -n "$$list"; then \
833 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
834 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
835 fi; \
836 for p in $$list; do \
837 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
838 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
839 done | \
840 sed -e 'p;s,.*/,,;n' \
841 -e 'h;s|.*|.|' \
842 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
843 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
844 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
845 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
846 if (++n[d] == $(am__install_max)) { \
847 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
848 else { print "f", d "/" $$4, $$1 } } \
849 END { for (d in files) print "f", d, files[d] }' | \
850 while read type dir files; do \
851 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
852 test -z "$$files" || { \
853 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
854 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
855 } \
856 ; done
857
858uninstall-binSCRIPTS:
859 @$(NORMAL_UNINSTALL)
860 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
861 files=`for p in $$list; do echo "$$p"; done | \
862 sed -e 's,.*/,,;$(transform)'`; \
863 dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
864
865mostlyclean-libtool:
866 -rm -f *.lo
867
868clean-libtool:
869 -rm -rf .libs _libs
870
871distclean-libtool:
872 -rm -f libtool config.lt
873install-pkgconfigDATA: $(pkgconfig_DATA)
874 @$(NORMAL_INSTALL)
875 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
876 if test -n "$$list"; then \
877 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
878 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
879 fi; \
880 for p in $$list; do \
881 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
882 echo "$$d$$p"; \
883 done | $(am__base_list) | \
884 while read files; do \
885 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
886 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
887 done
888
889uninstall-pkgconfigDATA:
890 @$(NORMAL_UNINSTALL)
891 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
892 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
893 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
894
895# This directory's subdirectories are mostly independent; you can cd
896# into them and run 'make' without going through this Makefile.
897# To change the values of 'make' variables: instead of editing Makefiles,
898# (1) if the variable is set in 'config.status', edit 'config.status'
899# (which will cause the Makefiles to be regenerated when you run 'make');
900# (2) otherwise, pass the desired values on the 'make' command line.
901$(am__recursive_targets):
902 @fail=; \
903 if $(am__make_keepgoing); then \
904 failcom='fail=yes'; \
905 else \
906 failcom='exit 1'; \
907 fi; \
908 dot_seen=no; \
909 target=`echo $@ | sed s/-recursive//`; \
910 case "$@" in \
911 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
912 *) list='$(SUBDIRS)' ;; \
913 esac; \
914 for subdir in $$list; do \
915 echo "Making $$target in $$subdir"; \
916 if test "$$subdir" = "."; then \
917 dot_seen=yes; \
918 local_target="$$target-am"; \
919 else \
920 local_target="$$target"; \
921 fi; \
922 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
923 || eval $$failcom; \
924 done; \
925 if test "$$dot_seen" = "no"; then \
926 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
927 fi; test -z "$$fail"
928
929ID: $(am__tagged_files)
930 $(am__define_uniq_tagged_files); mkid -fID $$unique
931tags: tags-recursive
932TAGS: tags
933
934tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
935 set x; \
936 here=`pwd`; \
937 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
938 include_option=--etags-include; \
939 empty_fix=.; \
940 else \
941 include_option=--include; \
942 empty_fix=; \
943 fi; \
944 list='$(SUBDIRS)'; for subdir in $$list; do \
945 if test "$$subdir" = .; then :; else \
946 test ! -f $$subdir/TAGS || \
947 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
948 fi; \
949 done; \
950 $(am__define_uniq_tagged_files); \
951 shift; \
952 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
953 test -n "$$unique" || unique=$$empty_fix; \
954 if test $$# -gt 0; then \
955 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
956 "$$@" $$unique; \
957 else \
958 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
959 $$unique; \
960 fi; \
961 fi
962ctags: ctags-recursive
963
964CTAGS: ctags
965ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
966 $(am__define_uniq_tagged_files); \
967 test -z "$(CTAGS_ARGS)$$unique" \
968 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
969 $$unique
970
971GTAGS:
972 here=`$(am__cd) $(top_builddir) && pwd` \
973 && $(am__cd) $(top_srcdir) \
974 && gtags -i $(GTAGS_ARGS) "$$here"
975cscope: cscope.files
976 test ! -s cscope.files \
977 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
978clean-cscope:
979 -rm -f cscope.files
980cscope.files: clean-cscope cscopelist
981cscopelist: cscopelist-recursive
982
983cscopelist-am: $(am__tagged_files)
984 list='$(am__tagged_files)'; \
985 case "$(srcdir)" in \
986 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
987 *) sdir=$(subdir)/$(srcdir) ;; \
988 esac; \
989 for i in $$list; do \
990 if test -f "$$i"; then \
991 echo "$(subdir)/$$i"; \
992 else \
993 echo "$$sdir/$$i"; \
994 fi; \
995 done >> $(top_builddir)/cscope.files
996
997distclean-tags:
998 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
999 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
1000
1001distdir: $(DISTFILES)
1002 $(am__remove_distdir)
1003 test -d "$(distdir)" || mkdir "$(distdir)"
1004 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1005 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1006 list='$(DISTFILES)'; \
1007 dist_files=`for file in $$list; do echo $$file; done | \
1008 sed -e "s|^$$srcdirstrip/||;t" \
1009 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1010 case $$dist_files in \
1011 */*) $(MKDIR_P) `echo "$$dist_files" | \
1012 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1013 sort -u` ;; \
1014 esac; \
1015 for file in $$dist_files; do \
1016 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1017 if test -d $$d/$$file; then \
1018 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1019 if test -d "$(distdir)/$$file"; then \
1020 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1021 fi; \
1022 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1023 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1024 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1025 fi; \
1026 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1027 else \
1028 test -f "$(distdir)/$$file" \
1029 || cp -p $$d/$$file "$(distdir)/$$file" \
1030 || exit 1; \
1031 fi; \
1032 done
1033 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1034 if test "$$subdir" = .; then :; else \
1035 $(am__make_dryrun) \
1036 || test -d "$(distdir)/$$subdir" \
1037 || $(MKDIR_P) "$(distdir)/$$subdir" \
1038 || exit 1; \
1039 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
1040 $(am__relativize); \
1041 new_distdir=$$reldir; \
1042 dir1=$$subdir; dir2="$(top_distdir)"; \
1043 $(am__relativize); \
1044 new_top_distdir=$$reldir; \
1045 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1046 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1047 ($(am__cd) $$subdir && \
1048 $(MAKE) $(AM_MAKEFLAGS) \
1049 top_distdir="$$new_top_distdir" \
1050 distdir="$$new_distdir" \
1051 am__remove_distdir=: \
1052 am__skip_length_check=: \
1053 am__skip_mode_fix=: \
1054 distdir) \
1055 || exit 1; \
1056 fi; \
1057 done
1058 $(MAKE) $(AM_MAKEFLAGS) \
1059 top_distdir="$(top_distdir)" distdir="$(distdir)" \
1060 dist-hook
1061 -test -n "$(am__skip_mode_fix)" \
1062 || find "$(distdir)" -type d ! -perm -755 \
1063 -exec chmod u+rwx,go+rx {} \; -o \
1064 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1065 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1066 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1067 || chmod -R a+r "$(distdir)"
1068dist-gzip: distdir
1069 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1070 $(am__post_remove_distdir)
1071
1072dist-bzip2: distdir
1073 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1074 $(am__post_remove_distdir)
1075
1076dist-lzip: distdir
1077 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1078 $(am__post_remove_distdir)
1079
1080dist-xz: distdir
1081 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1082 $(am__post_remove_distdir)
1083
1084dist-tarZ: distdir
1085 @echo WARNING: "Support for distribution archives compressed with" \
1086 "legacy program 'compress' is deprecated." >&2
1087 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1088 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1089 $(am__post_remove_distdir)
1090
1091dist-shar: distdir
1092 @echo WARNING: "Support for shar distribution archives is" \
1093 "deprecated." >&2
1094 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1095 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1096 $(am__post_remove_distdir)
1097
1098dist-zip: distdir
1099 -rm -f $(distdir).zip
1100 zip -rq $(distdir).zip $(distdir)
1101 $(am__post_remove_distdir)
1102
1103dist dist-all:
1104 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1105 $(am__post_remove_distdir)
1106
1107# This target untars the dist file and tries a VPATH configuration. Then
1108# it guarantees that the distribution is self-contained by making another
1109# tarfile.
1110distcheck: dist
1111 case '$(DIST_ARCHIVES)' in \
1112 *.tar.gz*) \
1113 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1114 *.tar.bz2*) \
1115 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1116 *.tar.lz*) \
1117 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1118 *.tar.xz*) \
1119 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1120 *.tar.Z*) \
1121 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1122 *.shar.gz*) \
1123 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1124 *.zip*) \
1125 unzip $(distdir).zip ;;\
1126 esac
1127 chmod -R a-w $(distdir)
1128 chmod u+w $(distdir)
1129 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
1130 chmod a-w $(distdir)
1131 test -d $(distdir)/_build || exit 0; \
1132 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1133 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1134 && am__cwd=`pwd` \
1135 && $(am__cd) $(distdir)/_build/sub \
1136 && ../../configure \
1137 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1138 $(DISTCHECK_CONFIGURE_FLAGS) \
1139 --srcdir=../.. --prefix="$$dc_install_base" \
1140 && $(MAKE) $(AM_MAKEFLAGS) \
1141 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1142 && $(MAKE) $(AM_MAKEFLAGS) check \
1143 && $(MAKE) $(AM_MAKEFLAGS) install \
1144 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1145 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1146 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1147 distuninstallcheck \
1148 && chmod -R a-w "$$dc_install_base" \
1149 && ({ \
1150 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1151 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1152 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1153 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1154 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1155 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1156 && rm -rf "$$dc_destdir" \
1157 && $(MAKE) $(AM_MAKEFLAGS) dist \
1158 && rm -rf $(DIST_ARCHIVES) \
1159 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1160 && cd "$$am__cwd" \
1161 || exit 1
1162 $(am__post_remove_distdir)
1163 @(echo "$(distdir) archives ready for distribution: "; \
1164 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1165 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1166distuninstallcheck:
1167 @test -n '$(distuninstallcheck_dir)' || { \
1168 echo 'ERROR: trying to run $@ with an empty' \
1169 '$$(distuninstallcheck_dir)' >&2; \
1170 exit 1; \
1171 }; \
1172 $(am__cd) '$(distuninstallcheck_dir)' || { \
1173 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1174 exit 1; \
1175 }; \
1176 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1177 || { echo "ERROR: files left after uninstall:" ; \
1178 if test -n "$(DESTDIR)"; then \
1179 echo " (check DESTDIR support)"; \
1180 fi ; \
1181 $(distuninstallcheck_listfiles) ; \
1182 exit 1; } >&2
1183distcleancheck: distclean
1184 @if test '$(srcdir)' = . ; then \
1185 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1186 exit 1 ; \
1187 fi
1188 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1189 || { echo "ERROR: files left in build directory after distclean:" ; \
1190 $(distcleancheck_listfiles) ; \
1191 exit 1; } >&2
1192check-am: all-am
1193check: check-recursive
1194all-am: Makefile $(SCRIPTS) $(DATA)
1195installdirs: installdirs-recursive
1196installdirs-am:
1197 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"; do \
1198 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1199 done
1200install: install-recursive
1201install-exec: install-exec-recursive
1202install-data: install-data-recursive
1203uninstall: uninstall-recursive
1204
1205install-am: all-am
1206 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1207
1208installcheck: installcheck-recursive
1209install-strip:
1210 if test -z '$(STRIP)'; then \
1211 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1212 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1213 install; \
1214 else \
1215 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1216 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1217 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1218 fi
1219mostlyclean-generic:
1220
1221clean-generic:
1222 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1223
1224distclean-generic:
1225 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1226 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1227
1228maintainer-clean-generic:
1229 @echo "This command is intended for maintainers to use"
1230 @echo "it deletes files that may require special tools to rebuild."
1231clean: clean-recursive
1232
1233clean-am: clean-generic clean-libtool clean-local mostlyclean-am
1234
1235distclean: distclean-recursive
1236 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1237 -rm -f Makefile
1238distclean-am: clean-am distclean-generic distclean-libtool \
1239 distclean-tags
1240
1241dvi: dvi-recursive
1242
1243dvi-am:
1244
1245html-am:
1246
1247info: info-recursive
1248
1249info-am:
1250
1251install-data-am: install-pkgconfigDATA
1252 @$(NORMAL_INSTALL)
1253 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
1254install-dvi: install-dvi-recursive
1255
1256install-dvi-am:
1257
1258install-exec-am: install-binSCRIPTS
1259
1260install-html: install-html-recursive
1261
1262install-html-am:
1263
1264install-info: install-info-recursive
1265
1266install-info-am:
1267
1268install-man:
1269
1270install-pdf: install-pdf-recursive
1271
1272install-pdf-am:
1273
1274install-ps: install-ps-recursive
1275
1276install-ps-am:
1277
1278installcheck-am:
1279
1280maintainer-clean: maintainer-clean-recursive
1281 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1282 -rm -rf $(top_srcdir)/autom4te.cache
1283 -rm -f Makefile
1284maintainer-clean-am: distclean-am maintainer-clean-generic
1285
1286mostlyclean: mostlyclean-recursive
1287
1288mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1289
1290pdf-am:
1291
1292ps: ps-recursive
1293
1294ps-am:
1295
1296uninstall-am: uninstall-binSCRIPTS uninstall-pkgconfigDATA
1297 @$(NORMAL_INSTALL)
1298 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
1299.MAKE: $(am__recursive_targets) install-am install-data-am \
1300 install-strip uninstall-am
1301
1302.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1303 am--refresh check check-am clean clean-cscope clean-generic \
1304 clean-libtool clean-local cscope cscopelist-am ctags ctags-am \
1305 dist dist-all dist-bzip2 dist-gzip dist-hook dist-lzip \
1306 dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
1307 distclean-generic distclean-libtool distclean-tags \
1308 distcleancheck distdir distuninstallcheck dvi dvi-am html \
1309 html-am info info-am install install-am install-binSCRIPTS \
1310 install-data install-data-am install-data-hook install-dvi \
1311 install-dvi-am install-exec install-exec-am install-html \
1312 install-html-am install-info install-info-am install-man \
1313 install-pdf install-pdf-am install-pkgconfigDATA install-ps \
1314 install-ps-am install-strip installcheck installcheck-am \
1315 installdirs installdirs-am maintainer-clean \
1316 maintainer-clean-generic mostlyclean mostlyclean-generic \
1317 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
1318 uninstall-am uninstall-binSCRIPTS uninstall-hook \
1319 uninstall-pkgconfigDATA
1320
1321.PRECIOUS: Makefile
1322
1323
1324# List of files required to generate VC IDE .dsp, .vcproj and .vcxproj files
1325
1326dist-hook:
1327 rm -rf $(top_builddir)/tests/log
1328 find $(distdir) -name "*.dist" -exec rm {} \;
1329 (distit=`find $(srcdir) -name "*.dist" | grep -v ./ares/`; \
1330 for file in $$distit; do \
1331 strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \
1332 cp $$file $(distdir)$$strip; \
1333 done)
1334
1335html:
1336 cd docs && $(MAKE) html
1337
1338pdf:
1339 cd docs && $(MAKE) pdf
1340
1341check: test examples check-docs
1342
1343@CROSSCOMPILING_TRUE@test-full: test
1344@CROSSCOMPILING_TRUE@test-torture: test
1345
1346@CROSSCOMPILING_TRUE@test:
1347@CROSSCOMPILING_TRUE@ @echo "NOTICE: we can't run the tests when cross-compiling!"
1348
1349@CROSSCOMPILING_FALSE@test:
1350@CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all quiet-test)
1351
1352@CROSSCOMPILING_FALSE@test-full:
1353@CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all full-test)
1354
1355@CROSSCOMPILING_FALSE@test-nonflaky:
1356@CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all nonflaky-test)
1357
1358@CROSSCOMPILING_FALSE@test-torture:
1359@CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all torture-test)
1360
1361@CROSSCOMPILING_FALSE@test-event:
1362@CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all event-test)
1363
1364@CROSSCOMPILING_FALSE@test-am:
1365@CROSSCOMPILING_FALSE@ @(cd tests; $(MAKE) all am-test)
1366
1367examples:
1368 @(cd docs/examples; $(MAKE) check)
1369
1370check-docs:
1371 @(cd docs/libcurl; $(MAKE) check)
1372
1373# This is a hook to have 'make clean' also clean up the docs and the tests
1374# dir. The extra check for the Makefiles being present is necessary because
1375# 'make distcheck' will make clean first in these directories _before_ it runs
1376# this hook.
1377clean-local:
1378 @(if test -f tests/Makefile; then cd tests; $(MAKE) clean; fi)
1379 @(if test -f docs/Makefile; then cd docs; $(MAKE) clean; fi)
1380
1381#
1382# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
1383# must contain the following line:
1384# %_topdir /home/loic/local/rpm
1385# and that /home/loic/local/rpm contains the directory SOURCES, BUILD etc.
1386#
1387# cd /home/loic/local/rpm ; mkdir -p SOURCES BUILD RPMS/i386 SPECS SRPMS
1388#
1389# If additional configure flags are needed to build the package, add the
1390# following in ~/.rpmmacros
1391# %configure CFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{_prefix} ${AM_CONFIGFLAGS}
1392# and run make rpm in the following way:
1393# AM_CONFIGFLAGS='--with-uri=/home/users/loic/local/RedHat-6.2' make rpm
1394#
1395
1396rpms:
1397 $(MAKE) RPMDIST=curl rpm
1398 $(MAKE) RPMDIST=curl-ssl rpm
1399
1400rpm:
1401 RPM_TOPDIR=`rpm --showrc | $(PERL) -n -e 'print if(s/.*_topdir\s+(.*)/$$1/)'` ; \
1402 cp $(srcdir)/packages/Linux/RPM/$(RPMDIST).spec $$RPM_TOPDIR/SPECS ; \
1403 cp $(PACKAGE)-$(VERSION).tar.gz $$RPM_TOPDIR/SOURCES ; \
1404 rpm -ba --clean --rmsource $$RPM_TOPDIR/SPECS/$(RPMDIST).spec ; \
1405 mv $$RPM_TOPDIR/RPMS/i386/$(RPMDIST)-*.rpm . ; \
1406 mv $$RPM_TOPDIR/SRPMS/$(RPMDIST)-*.src.rpm .
1407
1408#
1409# Build a Solaris pkgadd format file
1410# run 'make pkgadd' once you've done './configure' and 'make' to make a Solaris pkgadd format
1411# file (which ends up back in this directory).
1412# The pkgadd file is in 'pkgtrans' format, so to install on Solaris, do
1413# pkgadd -d ./HAXXcurl-*
1414#
1415
1416# gak - libtool requires an absolute directory, hence the pwd below...
1417pkgadd:
1418 umask 022 ; \
1419 $(MAKE) install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \
1420 cat COPYING > $(srcdir)/packages/Solaris/copyright ; \
1421 cd $(srcdir)/packages/Solaris && $(MAKE) package
1422
1423#
1424# Build a cygwin binary tarball installation file
1425# resulting .tar.bz2 file will end up at packages/Win32/cygwin
1426cygwinbin:
1427 $(MAKE) -C packages/Win32/cygwin cygwinbin
1428
1429# We extend the standard install with a custom hook:
1430install-data-hook:
1431 cd include && $(MAKE) install
1432 cd docs && $(MAKE) install
1433
1434# We extend the standard uninstall with a custom hook:
1435uninstall-hook:
1436 cd include && $(MAKE) uninstall
1437 cd docs && $(MAKE) uninstall
1438
1439ca-bundle: lib/mk-ca-bundle.pl
1440 @echo "generating a fresh ca-bundle.crt"
1441 @perl $< -b -l -u lib/ca-bundle.crt
1442
1443ca-firefox: lib/firefox-db2pem.sh
1444 @echo "generating a fresh ca-bundle.crt"
1445 ./lib/firefox-db2pem.sh lib/ca-bundle.crt
1446
1447checksrc:
1448 cd lib && $(MAKE) checksrc
1449 cd src && $(MAKE) checksrc
1450 cd tests && $(MAKE) checksrc
1451 cd include/curl && $(MAKE) checksrc
1452 cd docs/examples && $(MAKE) checksrc
1453
1454.PHONY: vc-ide
1455
1456vc-ide: $(VC6_LIBDSP_DEPS) $(VC6_SRCDSP_DEPS) $(VC7_LIBVCPROJ_DEPS) \
1457 $(VC7_SRCVCPROJ_DEPS) $(VC71_LIBVCPROJ_DEPS) $(VC71_SRCVCPROJ_DEPS) \
1458 $(VC8_LIBVCPROJ_DEPS) $(VC8_SRCVCPROJ_DEPS) $(VC9_LIBVCPROJ_DEPS) \
1459 $(VC9_SRCVCPROJ_DEPS) $(VC10_LIBVCXPROJ_DEPS) $(VC10_SRCVCXPROJ_DEPS) \
1460 $(VC11_LIBVCXPROJ_DEPS) $(VC11_SRCVCXPROJ_DEPS) $(VC12_LIBVCXPROJ_DEPS) \
1461 $(VC12_SRCVCXPROJ_DEPS) $(VC14_LIBVCXPROJ_DEPS) $(VC14_SRCVCXPROJ_DEPS)
1462 @(win32_lib_srcs='$(LIB_CFILES)'; \
1463 win32_lib_hdrs='$(LIB_HFILES) config-win32.h'; \
1464 win32_lib_rc='$(LIB_RCFILES)'; \
1465 win32_lib_vauth_srcs='$(LIB_VAUTH_CFILES)'; \
1466 win32_lib_vauth_hdrs='$(LIB_VAUTH_HFILES)'; \
1467 win32_lib_vtls_srcs='$(LIB_VTLS_CFILES)'; \
1468 win32_lib_vtls_hdrs='$(LIB_VTLS_HFILES)'; \
1469 win32_src_srcs='$(CURL_CFILES)'; \
1470 win32_src_hdrs='$(CURL_HFILES)'; \
1471 win32_src_rc='$(CURL_RCFILES)'; \
1472 win32_src_x_srcs='$(CURLX_CFILES)'; \
1473 win32_src_x_hdrs='$(CURLX_HFILES) ../lib/config-win32.h'; \
1474 \
1475 sorted_lib_srcs=`for file in $$win32_lib_srcs; do echo $$file; done | sort`; \
1476 sorted_lib_hdrs=`for file in $$win32_lib_hdrs; do echo $$file; done | sort`; \
1477 sorted_lib_vauth_srcs=`for file in $$win32_lib_vauth_srcs; do echo $$file; done | sort`; \
1478 sorted_lib_vauth_hdrs=`for file in $$win32_lib_vauth_hdrs; do echo $$file; done | sort`; \
1479 sorted_lib_vtls_srcs=`for file in $$win32_lib_vtls_srcs; do echo $$file; done | sort`; \
1480 sorted_lib_vtls_hdrs=`for file in $$win32_lib_vtls_hdrs; do echo $$file; done | sort`; \
1481 sorted_src_srcs=`for file in $$win32_src_srcs; do echo $$file; done | sort`; \
1482 sorted_src_hdrs=`for file in $$win32_src_hdrs; do echo $$file; done | sort`; \
1483 sorted_src_x_srcs=`for file in $$win32_src_x_srcs; do echo $$file; done | sort`; \
1484 sorted_src_x_hdrs=`for file in $$win32_src_x_hdrs; do echo $$file; done | sort`; \
1485 \
1486 awk_code='\
1487function gen_element(type, dir, file)\
1488{\
1489 sub(/vauth\//, "", file);\
1490 sub(/vtls\//, "", file);\
1491\
1492 spaces=" ";\
1493 if(dir == "lib\\vauth" || dir == "lib\\vtls")\
1494 tabs=" ";\
1495 else\
1496 tabs=" ";\
1497\
1498 if(type == "dsp") {\
1499 printf("# Begin Source File\r\n");\
1500 printf("\r\n");\
1501 printf("SOURCE=..\\..\\..\\..\\%s\\%s\r\n", dir, file);\
1502 printf("# End Source File\r\n");\
1503 }\
1504 else if(type == "vcproj1") {\
1505 printf("%s<File\r\n", tabs);\
1506 printf("%s RelativePath=\"..\\..\\..\\..\\%s\\%s\">\r\n",\
1507 tabs, dir, file);\
1508 printf("%s</File>\r\n", tabs);\
1509 }\
1510 else if(type == "vcproj2") {\
1511 printf("%s<File\r\n", tabs);\
1512 printf("%s RelativePath=\"..\\..\\..\\..\\%s\\%s\"\r\n",\
1513 tabs, dir, file);\
1514 printf("%s>\r\n", tabs);\
1515 printf("%s</File>\r\n", tabs);\
1516 }\
1517 else if(type == "vcxproj") {\
1518 i = index(file, ".");\
1519 ext = substr(file, i == 0 ? 0 : i + 1);\
1520\
1521 if(ext == "c")\
1522 printf("%s<ClCompile Include=\"..\\..\\..\\..\\%s\\%s\" />\r\n",\
1523 spaces, dir, file);\
1524 else if(ext == "h")\
1525 printf("%s<ClInclude Include=\"..\\..\\..\\..\\%s\\%s\" />\r\n",\
1526 spaces, dir, file);\
1527 else if(ext == "rc")\
1528 printf("%s<ResourceCompile Include=\"..\\..\\..\\..\\%s\\%s\" />\r\n",\
1529 spaces, dir, file);\
1530 }\
1531}\
1532\
1533{\
1534\
1535 if($$0 == "CURL_LIB_C_FILES") {\
1536 split(lib_srcs, arr);\
1537 for(val in arr) gen_element(proj_type, "lib", arr[val]);\
1538 }\
1539 else if($$0 == "CURL_LIB_H_FILES") {\
1540 split(lib_hdrs, arr);\
1541 for(val in arr) gen_element(proj_type, "lib", arr[val]);\
1542 }\
1543 else if($$0 == "CURL_LIB_RC_FILES") {\
1544 split(lib_rc, arr);\
1545 for(val in arr) gen_element(proj_type, "lib", arr[val]);\
1546 }\
1547 else if($$0 == "CURL_LIB_VAUTH_C_FILES") {\
1548 split(lib_vauth_srcs, arr);\
1549 for(val in arr) gen_element(proj_type, "lib\\vauth", arr[val]);\
1550 }\
1551 else if($$0 == "CURL_LIB_VAUTH_H_FILES") {\
1552 split(lib_vauth_hdrs, arr);\
1553 for(val in arr) gen_element(proj_type, "lib\\vauth", arr[val]);\
1554 }\
1555 else if($$0 == "CURL_LIB_VTLS_C_FILES") {\
1556 split(lib_vtls_srcs, arr);\
1557 for(val in arr) gen_element(proj_type, "lib\\vtls", arr[val]);\
1558 }\
1559 else if($$0 == "CURL_LIB_VTLS_H_FILES") {\
1560 split(lib_vtls_hdrs, arr);\
1561 for(val in arr) gen_element(proj_type, "lib\\vtls", arr[val]);\
1562 }\
1563 else if($$0 == "CURL_SRC_C_FILES") {\
1564 split(src_srcs, arr);\
1565 for(val in arr) gen_element(proj_type, "src", arr[val]);\
1566 }\
1567 else if($$0 == "CURL_SRC_H_FILES") {\
1568 split(src_hdrs, arr);\
1569 for(val in arr) gen_element(proj_type, "src", arr[val]);\
1570 }\
1571 else if($$0 == "CURL_SRC_RC_FILES") {\
1572 split(src_rc, arr);\
1573 for(val in arr) gen_element(proj_type, "src", arr[val]);\
1574 }\
1575 else if($$0 == "CURL_SRC_X_C_FILES") {\
1576 split(src_x_srcs, arr);\
1577 for(val in arr) {\
1578 sub(/..\/lib\//, "", arr[val]);\
1579 gen_element(proj_type, "lib", arr[val]);\
1580 }\
1581 }\
1582 else if($$0 == "CURL_SRC_X_H_FILES") {\
1583 split(src_x_hdrs, arr);\
1584 for(val in arr) {\
1585 sub(/..\/lib\//, "", arr[val]);\
1586 gen_element(proj_type, "lib", arr[val]);\
1587 }\
1588 }\
1589 else\
1590 printf("%s\r\n", $$0);\
1591}';\
1592 \
1593 echo "generating '$(VC6_LIBDSP)'"; \
1594 awk -v proj_type=dsp \
1595 -v lib_srcs="$$sorted_lib_srcs" \
1596 -v lib_hdrs="$$sorted_lib_hdrs" \
1597 -v lib_rc="$$win32_lib_rc" \
1598 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1599 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1600 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1601 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1602 "$$awk_code" $(srcdir)/$(VC6_LIBTMPL) > $(VC6_LIBDSP) || { exit 1; }; \
1603 \
1604 echo "generating '$(VC6_SRCDSP)'"; \
1605 awk -v proj_type=dsp \
1606 -v src_srcs="$$sorted_src_srcs" \
1607 -v src_hdrs="$$sorted_src_hdrs" \
1608 -v src_rc="$$win32_src_rc" \
1609 -v src_x_srcs="$$sorted_src_x_srcs" \
1610 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1611 "$$awk_code" $(srcdir)/$(VC6_SRCTMPL) > $(VC6_SRCDSP) || { exit 1; }; \
1612 \
1613 echo "generating '$(VC7_LIBVCPROJ)'"; \
1614 awk -v proj_type=vcproj1 \
1615 -v lib_srcs="$$sorted_lib_srcs" \
1616 -v lib_hdrs="$$sorted_lib_hdrs" \
1617 -v lib_rc="$$win32_lib_rc" \
1618 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1619 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1620 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1621 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1622 "$$awk_code" $(srcdir)/$(VC7_LIBTMPL) > $(VC7_LIBVCPROJ) || { exit 1; }; \
1623 \
1624 echo "generating '$(VC7_SRCVCPROJ)'"; \
1625 awk -v proj_type=vcproj1 \
1626 -v src_srcs="$$sorted_src_srcs" \
1627 -v src_hdrs="$$sorted_src_hdrs" \
1628 -v src_rc="$$win32_src_rc" \
1629 -v src_x_srcs="$$sorted_src_x_srcs" \
1630 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1631 "$$awk_code" $(srcdir)/$(VC7_SRCTMPL) > $(VC7_SRCVCPROJ) || { exit 1; }; \
1632 \
1633 echo "generating '$(VC71_LIBVCPROJ)'"; \
1634 awk -v proj_type=vcproj1 \
1635 -v lib_srcs="$$sorted_lib_srcs" \
1636 -v lib_hdrs="$$sorted_lib_hdrs" \
1637 -v lib_rc="$$win32_lib_rc" \
1638 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1639 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1640 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1641 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1642 "$$awk_code" $(srcdir)/$(VC71_LIBTMPL) > $(VC71_LIBVCPROJ) || { exit 1; }; \
1643 \
1644 echo "generating '$(VC71_SRCVCPROJ)'"; \
1645 awk -v proj_type=vcproj1 \
1646 -v src_srcs="$$sorted_src_srcs" \
1647 -v src_hdrs="$$sorted_src_hdrs" \
1648 -v src_rc="$$win32_src_rc" \
1649 -v src_x_srcs="$$sorted_src_x_srcs" \
1650 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1651 "$$awk_code" $(srcdir)/$(VC71_SRCTMPL) > $(VC71_SRCVCPROJ) || { exit 1; }; \
1652 \
1653 echo "generating '$(VC8_LIBVCPROJ)'"; \
1654 awk -v proj_type=vcproj2 \
1655 -v lib_srcs="$$sorted_lib_srcs" \
1656 -v lib_hdrs="$$sorted_lib_hdrs" \
1657 -v lib_rc="$$win32_lib_rc" \
1658 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1659 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1660 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1661 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1662 "$$awk_code" $(srcdir)/$(VC8_LIBTMPL) > $(VC8_LIBVCPROJ) || { exit 1; }; \
1663 \
1664 echo "generating '$(VC8_SRCVCPROJ)'"; \
1665 awk -v proj_type=vcproj2 \
1666 -v src_srcs="$$sorted_src_srcs" \
1667 -v src_hdrs="$$sorted_src_hdrs" \
1668 -v src_rc="$$win32_src_rc" \
1669 -v src_x_srcs="$$sorted_src_x_srcs" \
1670 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1671 "$$awk_code" $(srcdir)/$(VC8_SRCTMPL) > $(VC8_SRCVCPROJ) || { exit 1; }; \
1672 \
1673 echo "generating '$(VC9_LIBVCPROJ)'"; \
1674 awk -v proj_type=vcproj2 \
1675 -v lib_srcs="$$sorted_lib_srcs" \
1676 -v lib_hdrs="$$sorted_lib_hdrs" \
1677 -v lib_rc="$$win32_lib_rc" \
1678 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1679 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1680 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1681 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1682 "$$awk_code" $(srcdir)/$(VC9_LIBTMPL) > $(VC9_LIBVCPROJ) || { exit 1; }; \
1683 \
1684 echo "generating '$(VC9_SRCVCPROJ)'"; \
1685 awk -v proj_type=vcproj2 \
1686 -v src_srcs="$$sorted_src_srcs" \
1687 -v src_hdrs="$$sorted_src_hdrs" \
1688 -v src_rc="$$win32_src_rc" \
1689 -v src_x_srcs="$$sorted_src_x_srcs" \
1690 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1691 "$$awk_code" $(srcdir)/$(VC9_SRCTMPL) > $(VC9_SRCVCPROJ) || { exit 1; }; \
1692 \
1693 echo "generating '$(VC10_LIBVCXPROJ)'"; \
1694 awk -v proj_type=vcxproj \
1695 -v lib_srcs="$$sorted_lib_srcs" \
1696 -v lib_hdrs="$$sorted_lib_hdrs" \
1697 -v lib_rc="$$win32_lib_rc" \
1698 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1699 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1700 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1701 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1702 "$$awk_code" $(srcdir)/$(VC10_LIBTMPL) > $(VC10_LIBVCXPROJ) || { exit 1; }; \
1703 \
1704 echo "generating '$(VC10_SRCVCXPROJ)'"; \
1705 awk -v proj_type=vcxproj \
1706 -v src_srcs="$$sorted_src_srcs" \
1707 -v src_hdrs="$$sorted_src_hdrs" \
1708 -v src_rc="$$win32_src_rc" \
1709 -v src_x_srcs="$$sorted_src_x_srcs" \
1710 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1711 "$$awk_code" $(srcdir)/$(VC10_SRCTMPL) > $(VC10_SRCVCXPROJ) || { exit 1; }; \
1712 \
1713 echo "generating '$(VC11_LIBVCXPROJ)'"; \
1714 awk -v proj_type=vcxproj \
1715 -v lib_srcs="$$sorted_lib_srcs" \
1716 -v lib_hdrs="$$sorted_lib_hdrs" \
1717 -v lib_rc="$$win32_lib_rc" \
1718 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1719 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1720 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1721 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1722 "$$awk_code" $(srcdir)/$(VC11_LIBTMPL) > $(VC11_LIBVCXPROJ) || { exit 1; }; \
1723 \
1724 echo "generating '$(VC11_SRCVCXPROJ)'"; \
1725 awk -v proj_type=vcxproj \
1726 -v src_srcs="$$sorted_src_srcs" \
1727 -v src_hdrs="$$sorted_src_hdrs" \
1728 -v src_rc="$$win32_src_rc" \
1729 -v src_x_srcs="$$sorted_src_x_srcs" \
1730 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1731 "$$awk_code" $(srcdir)/$(VC11_SRCTMPL) > $(VC11_SRCVCXPROJ) || { exit 1; }; \
1732 \
1733 echo "generating '$(VC12_LIBVCXPROJ)'"; \
1734 awk -v proj_type=vcxproj \
1735 -v lib_srcs="$$sorted_lib_srcs" \
1736 -v lib_hdrs="$$sorted_lib_hdrs" \
1737 -v lib_rc="$$win32_lib_rc" \
1738 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1739 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1740 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1741 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1742 "$$awk_code" $(srcdir)/$(VC12_LIBTMPL) > $(VC12_LIBVCXPROJ) || { exit 1; }; \
1743 \
1744 echo "generating '$(VC12_SRCVCXPROJ)'"; \
1745 awk -v proj_type=vcxproj \
1746 -v src_srcs="$$sorted_src_srcs" \
1747 -v src_hdrs="$$sorted_src_hdrs" \
1748 -v src_rc="$$win32_src_rc" \
1749 -v src_x_srcs="$$sorted_src_x_srcs" \
1750 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1751 "$$awk_code" $(srcdir)/$(VC12_SRCTMPL) > $(VC12_SRCVCXPROJ) || { exit 1; }; \
1752 \
1753 echo "generating '$(VC14_LIBVCXPROJ)'"; \
1754 awk -v proj_type=vcxproj \
1755 -v lib_srcs="$$sorted_lib_srcs" \
1756 -v lib_hdrs="$$sorted_lib_hdrs" \
1757 -v lib_rc="$$win32_lib_rc" \
1758 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \
1759 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \
1760 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \
1761 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \
1762 "$$awk_code" $(srcdir)/$(VC14_LIBTMPL) > $(VC14_LIBVCXPROJ) || { exit 1; }; \
1763 \
1764 echo "generating '$(VC14_SRCVCXPROJ)'"; \
1765 awk -v proj_type=vcxproj \
1766 -v src_srcs="$$sorted_src_srcs" \
1767 -v src_hdrs="$$sorted_src_hdrs" \
1768 -v src_rc="$$win32_src_rc" \
1769 -v src_x_srcs="$$sorted_src_x_srcs" \
1770 -v src_x_hdrs="$$sorted_src_x_hdrs" \
1771 "$$awk_code" $(srcdir)/$(VC14_SRCTMPL) > $(VC14_SRCVCXPROJ) || { exit 1; };)
1772
1773# Tell versions [3.59,3.63) of GNU make to not export all variables.
1774# Otherwise a system limit (for SysV at least) may be exceeded.
1775.NOEXPORT: