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