lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | # 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 | |
| 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; \ |
| 82 | } |
| 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 () \ |
| 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 |
| 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/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 |
| 165 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
| 166 | $(ACLOCAL_M4) |
| 167 | DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ |
| 168 | $(am__configure_deps) $(am__DIST_COMMON) |
| 169 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
| 170 | configure.lineno config.status.lineno |
| 171 | mkinstalldirs = $(install_sh) -d |
| 172 | CONFIG_HEADER = $(top_builddir)/lib/curl_config.h \ |
| 173 | $(top_builddir)/include/curl/curlbuild.h |
| 174 | CONFIG_CLEAN_FILES = curl-config libcurl.pc |
| 175 | CONFIG_CLEAN_VPATH_FILES = |
| 176 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
| 177 | am__vpath_adj = case $$p in \ |
| 178 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
| 179 | *) f=$$p;; \ |
| 180 | esac; |
| 181 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; |
| 182 | am__install_max = 40 |
| 183 | am__nobase_strip_setup = \ |
| 184 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` |
| 185 | am__nobase_strip = \ |
| 186 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" |
| 187 | am__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] }' |
| 194 | am__base_list = \ |
| 195 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ |
| 196 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' |
| 197 | am__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 | } |
| 203 | am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)" |
| 204 | SCRIPTS = $(bin_SCRIPTS) |
| 205 | AM_V_P = $(am__v_P_@AM_V@) |
| 206 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) |
| 207 | am__v_P_0 = false |
| 208 | am__v_P_1 = : |
| 209 | AM_V_GEN = $(am__v_GEN_@AM_V@) |
| 210 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) |
| 211 | am__v_GEN_0 = @echo " GEN " $@; |
| 212 | am__v_GEN_1 = |
| 213 | AM_V_at = $(am__v_at_@AM_V@) |
| 214 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) |
| 215 | am__v_at_0 = @ |
| 216 | am__v_at_1 = |
| 217 | SOURCES = |
| 218 | DIST_SOURCES = |
| 219 | RECURSIVE_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 |
| 227 | am__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 |
| 232 | DATA = $(pkgconfig_DATA) |
| 233 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
| 234 | distclean-recursive maintainer-clean-recursive |
| 235 | am__recursive_targets = \ |
| 236 | $(RECURSIVE_TARGETS) \ |
| 237 | $(RECURSIVE_CLEAN_TARGETS) \ |
| 238 | $(am__extra_recursive_targets) |
| 239 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ |
| 240 | cscope distdir dist dist-all distcheck |
| 241 | am__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. |
| 245 | am__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. |
| 253 | am__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)` |
| 258 | ETAGS = etags |
| 259 | CTAGS = ctags |
| 260 | CSCOPE = cscope |
| 261 | am__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 |
| 265 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
| 266 | distdir = $(PACKAGE)-$(VERSION) |
| 267 | top_distdir = $(distdir) |
| 268 | am__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 |
| 274 | am__post_remove_distdir = $(am__remove_distdir) |
| 275 | am__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" |
| 300 | DIST_ARCHIVES = $(distdir).tar.gz |
| 301 | GZIP_ENV = --best |
| 302 | DIST_TARGETS = dist-gzip |
| 303 | distuninstallcheck_listfiles = find . -type f -print |
| 304 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
| 305 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
| 306 | distcleancheck_listfiles = find . -type f -print |
| 307 | ACLOCAL = @ACLOCAL@ |
| 308 | AMTAR = @AMTAR@ |
| 309 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
| 310 | AR = @AR@ |
| 311 | AS = @AS@ |
| 312 | AUTOCONF = @AUTOCONF@ |
| 313 | AUTOHEADER = @AUTOHEADER@ |
| 314 | AUTOMAKE = @AUTOMAKE@ |
| 315 | AWK = @AWK@ |
| 316 | BLANK_AT_MAKETIME = @BLANK_AT_MAKETIME@ |
| 317 | CC = @CC@ |
| 318 | CCDEPMODE = @CCDEPMODE@ |
| 319 | CFLAGS = @CFLAGS@ |
| 320 | CFLAG_CURL_SYMBOL_HIDING = @CFLAG_CURL_SYMBOL_HIDING@ |
| 321 | CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@ |
| 322 | CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@ |
| 323 | CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@ |
| 324 | CONFIGURE_OPTIONS = @CONFIGURE_OPTIONS@ |
| 325 | CPP = @CPP@ |
| 326 | CPPFLAGS = @CPPFLAGS@ |
| 327 | CPPFLAG_CURL_STATICLIB = @CPPFLAG_CURL_STATICLIB@ |
| 328 | CURLVERSION = @CURLVERSION@ |
| 329 | CURL_CA_BUNDLE = @CURL_CA_BUNDLE@ |
| 330 | CURL_CFLAG_EXTRAS = @CURL_CFLAG_EXTRAS@ |
| 331 | CURL_DISABLE_DICT = @CURL_DISABLE_DICT@ |
| 332 | CURL_DISABLE_FILE = @CURL_DISABLE_FILE@ |
| 333 | CURL_DISABLE_FTP = @CURL_DISABLE_FTP@ |
| 334 | CURL_DISABLE_GOPHER = @CURL_DISABLE_GOPHER@ |
| 335 | CURL_DISABLE_HTTP = @CURL_DISABLE_HTTP@ |
| 336 | CURL_DISABLE_IMAP = @CURL_DISABLE_IMAP@ |
| 337 | CURL_DISABLE_LDAP = @CURL_DISABLE_LDAP@ |
| 338 | CURL_DISABLE_LDAPS = @CURL_DISABLE_LDAPS@ |
| 339 | CURL_DISABLE_POP3 = @CURL_DISABLE_POP3@ |
| 340 | CURL_DISABLE_PROXY = @CURL_DISABLE_PROXY@ |
| 341 | CURL_DISABLE_RTSP = @CURL_DISABLE_RTSP@ |
| 342 | CURL_DISABLE_SMB = @CURL_DISABLE_SMB@ |
| 343 | CURL_DISABLE_SMTP = @CURL_DISABLE_SMTP@ |
| 344 | CURL_DISABLE_TELNET = @CURL_DISABLE_TELNET@ |
| 345 | CURL_DISABLE_TFTP = @CURL_DISABLE_TFTP@ |
| 346 | CURL_LT_SHLIB_VERSIONED_FLAVOUR = @CURL_LT_SHLIB_VERSIONED_FLAVOUR@ |
| 347 | CURL_NETWORK_AND_TIME_LIBS = @CURL_NETWORK_AND_TIME_LIBS@ |
| 348 | CURL_NETWORK_LIBS = @CURL_NETWORK_LIBS@ |
| 349 | CYGPATH_W = @CYGPATH_W@ |
| 350 | DEFS = @DEFS@ |
| 351 | DEPDIR = @DEPDIR@ |
| 352 | DLLTOOL = @DLLTOOL@ |
| 353 | DSYMUTIL = @DSYMUTIL@ |
| 354 | DUMPBIN = @DUMPBIN@ |
| 355 | ECHO_C = @ECHO_C@ |
| 356 | ECHO_N = @ECHO_N@ |
| 357 | ECHO_T = @ECHO_T@ |
| 358 | EGREP = @EGREP@ |
| 359 | ENABLE_SHARED = @ENABLE_SHARED@ |
| 360 | ENABLE_STATIC = @ENABLE_STATIC@ |
| 361 | EXEEXT = @EXEEXT@ |
| 362 | FGREP = @FGREP@ |
| 363 | GCOV = @GCOV@ |
| 364 | GENHTML = @GENHTML@ |
| 365 | GREP = @GREP@ |
| 366 | HAVE_GNUTLS_SRP = @HAVE_GNUTLS_SRP@ |
| 367 | HAVE_LDAP_SSL = @HAVE_LDAP_SSL@ |
| 368 | HAVE_LIBZ = @HAVE_LIBZ@ |
| 369 | HAVE_OPENSSL_SRP = @HAVE_OPENSSL_SRP@ |
| 370 | IDN_ENABLED = @IDN_ENABLED@ |
| 371 | INSTALL = @INSTALL@ |
| 372 | INSTALL_DATA = @INSTALL_DATA@ |
| 373 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| 374 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
| 375 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
| 376 | IPV6_ENABLED = @IPV6_ENABLED@ |
| 377 | LCOV = @LCOV@ |
| 378 | LD = @LD@ |
| 379 | LDFLAGS = @LDFLAGS@ |
| 380 | LIBCURL_LIBS = @LIBCURL_LIBS@ |
| 381 | LIBMETALINK_CPPFLAGS = @LIBMETALINK_CPPFLAGS@ |
| 382 | LIBMETALINK_LDFLAGS = @LIBMETALINK_LDFLAGS@ |
| 383 | LIBMETALINK_LIBS = @LIBMETALINK_LIBS@ |
| 384 | LIBOBJS = @LIBOBJS@ |
| 385 | LIBS = @LIBS@ |
| 386 | LIBTOOL = @LIBTOOL@ |
| 387 | LIPO = @LIPO@ |
| 388 | LN_S = @LN_S@ |
| 389 | LTLIBOBJS = @LTLIBOBJS@ |
| 390 | LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ |
| 391 | MAINT = @MAINT@ |
| 392 | MAKEINFO = @MAKEINFO@ |
| 393 | MANIFEST_TOOL = @MANIFEST_TOOL@ |
| 394 | MANOPT = @MANOPT@ |
| 395 | MKDIR_P = @MKDIR_P@ |
| 396 | NM = @NM@ |
| 397 | NMEDIT = @NMEDIT@ |
| 398 | NROFF = @NROFF@ |
| 399 | NSS_LIBS = @NSS_LIBS@ |
| 400 | OBJDUMP = @OBJDUMP@ |
| 401 | OBJEXT = @OBJEXT@ |
| 402 | OTOOL = @OTOOL@ |
| 403 | OTOOL64 = @OTOOL64@ |
| 404 | PACKAGE = @PACKAGE@ |
| 405 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
| 406 | PACKAGE_NAME = @PACKAGE_NAME@ |
| 407 | PACKAGE_STRING = @PACKAGE_STRING@ |
| 408 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
| 409 | PACKAGE_URL = @PACKAGE_URL@ |
| 410 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
| 411 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
| 412 | PERL = @PERL@ |
| 413 | PKGADD_NAME = @PKGADD_NAME@ |
| 414 | PKGADD_PKG = @PKGADD_PKG@ |
| 415 | PKGADD_VENDOR = @PKGADD_VENDOR@ |
| 416 | PKGCONFIG = @PKGCONFIG@ |
| 417 | RANDOM_FILE = @RANDOM_FILE@ |
| 418 | RANLIB = @RANLIB@ |
| 419 | REQUIRE_LIB_DEPS = @REQUIRE_LIB_DEPS@ |
| 420 | SED = @SED@ |
| 421 | SET_MAKE = @SET_MAKE@ |
| 422 | SHELL = @SHELL@ |
| 423 | SSL_ENABLED = @SSL_ENABLED@ |
| 424 | SSL_LIBS = @SSL_LIBS@ |
| 425 | STRIP = @STRIP@ |
| 426 | SUPPORT_FEATURES = @SUPPORT_FEATURES@ |
| 427 | SUPPORT_PROTOCOLS = @SUPPORT_PROTOCOLS@ |
| 428 | USE_ARES = @USE_ARES@ |
| 429 | USE_AXTLS = @USE_AXTLS@ |
| 430 | USE_CYASSL = @USE_CYASSL@ |
| 431 | USE_DARWINSSL = @USE_DARWINSSL@ |
| 432 | USE_GNUTLS = @USE_GNUTLS@ |
| 433 | USE_GNUTLS_NETTLE = @USE_GNUTLS_NETTLE@ |
| 434 | USE_LIBRTMP = @USE_LIBRTMP@ |
| 435 | USE_LIBSSH2 = @USE_LIBSSH2@ |
| 436 | USE_MBEDTLS = @USE_MBEDTLS@ |
| 437 | USE_NGHTTP2 = @USE_NGHTTP2@ |
| 438 | USE_NSS = @USE_NSS@ |
| 439 | USE_OPENLDAP = @USE_OPENLDAP@ |
| 440 | USE_POLARSSL = @USE_POLARSSL@ |
| 441 | USE_SCHANNEL = @USE_SCHANNEL@ |
| 442 | USE_UNIX_SOCKETS = @USE_UNIX_SOCKETS@ |
| 443 | USE_WINDOWS_SSPI = @USE_WINDOWS_SSPI@ |
| 444 | VERSION = @VERSION@ |
| 445 | VERSIONNUM = @VERSIONNUM@ |
| 446 | ZLIB_LIBS = @ZLIB_LIBS@ |
| 447 | ZSH_FUNCTIONS_DIR = @ZSH_FUNCTIONS_DIR@ |
| 448 | abs_builddir = @abs_builddir@ |
| 449 | abs_srcdir = @abs_srcdir@ |
| 450 | abs_top_builddir = @abs_top_builddir@ |
| 451 | abs_top_srcdir = @abs_top_srcdir@ |
| 452 | ac_ct_AR = @ac_ct_AR@ |
| 453 | ac_ct_CC = @ac_ct_CC@ |
| 454 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
| 455 | am__include = @am__include@ |
| 456 | am__leading_dot = @am__leading_dot@ |
| 457 | am__quote = @am__quote@ |
| 458 | am__tar = @am__tar@ |
| 459 | am__untar = @am__untar@ |
| 460 | bindir = @bindir@ |
| 461 | build = @build@ |
| 462 | build_alias = @build_alias@ |
| 463 | build_cpu = @build_cpu@ |
| 464 | build_os = @build_os@ |
| 465 | build_vendor = @build_vendor@ |
| 466 | builddir = @builddir@ |
| 467 | datadir = @datadir@ |
| 468 | datarootdir = @datarootdir@ |
| 469 | docdir = @docdir@ |
| 470 | dvidir = @dvidir@ |
| 471 | exec_prefix = @exec_prefix@ |
| 472 | host = @host@ |
| 473 | host_alias = @host_alias@ |
| 474 | host_cpu = @host_cpu@ |
| 475 | host_os = @host_os@ |
| 476 | host_vendor = @host_vendor@ |
| 477 | htmldir = @htmldir@ |
| 478 | includedir = @includedir@ |
| 479 | infodir = @infodir@ |
| 480 | install_sh = @install_sh@ |
| 481 | libdir = @libdir@ |
| 482 | libexecdir = @libexecdir@ |
| 483 | libext = @libext@ |
| 484 | localedir = @localedir@ |
| 485 | localstatedir = @localstatedir@ |
| 486 | mandir = @mandir@ |
| 487 | mkdir_p = @mkdir_p@ |
| 488 | oldincludedir = @oldincludedir@ |
| 489 | pdfdir = @pdfdir@ |
| 490 | prefix = @prefix@ |
| 491 | program_transform_name = @program_transform_name@ |
| 492 | psdir = @psdir@ |
| 493 | runstatedir = @runstatedir@ |
| 494 | sbindir = @sbindir@ |
| 495 | sharedstatedir = @sharedstatedir@ |
| 496 | srcdir = @srcdir@ |
| 497 | subdirs = @subdirs@ |
| 498 | sysconfdir = @sysconfdir@ |
| 499 | target_alias = @target_alias@ |
| 500 | top_build_prefix = @top_build_prefix@ |
| 501 | top_builddir = @top_builddir@ |
| 502 | top_srcdir = @top_srcdir@ |
| 503 | AUTOMAKE_OPTIONS = foreign |
| 504 | ACLOCAL_AMFLAGS = -I m4 |
| 505 | CMAKE_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 | |
| 513 | VC6_LIBTMPL = projects/Windows/VC6/lib/libcurl.tmpl |
| 514 | VC6_LIBDSP = projects/Windows/VC6/lib/libcurl.dsp.dist |
| 515 | VC6_LIBDSP_DEPS = $(VC6_LIBTMPL) Makefile.am lib/Makefile.inc |
| 516 | VC6_SRCTMPL = projects/Windows/VC6/src/curl.tmpl |
| 517 | VC6_SRCDSP = projects/Windows/VC6/src/curl.dsp.dist |
| 518 | VC6_SRCDSP_DEPS = $(VC6_SRCTMPL) Makefile.am src/Makefile.inc |
| 519 | VC7_LIBTMPL = projects/Windows/VC7/lib/libcurl.tmpl |
| 520 | VC7_LIBVCPROJ = projects/Windows/VC7/lib/libcurl.vcproj.dist |
| 521 | VC7_LIBVCPROJ_DEPS = $(VC7_LIBTMPL) Makefile.am lib/Makefile.inc |
| 522 | VC7_SRCTMPL = projects/Windows/VC7/src/curl.tmpl |
| 523 | VC7_SRCVCPROJ = projects/Windows/VC7/src/curl.vcproj.dist |
| 524 | VC7_SRCVCPROJ_DEPS = $(VC7_SRCTMPL) Makefile.am src/Makefile.inc |
| 525 | VC71_LIBTMPL = projects/Windows/VC7.1/lib/libcurl.tmpl |
| 526 | VC71_LIBVCPROJ = projects/Windows/VC7.1/lib/libcurl.vcproj.dist |
| 527 | VC71_LIBVCPROJ_DEPS = $(VC71_LIBTMPL) Makefile.am lib/Makefile.inc |
| 528 | VC71_SRCTMPL = projects/Windows/VC7.1/src/curl.tmpl |
| 529 | VC71_SRCVCPROJ = projects/Windows/VC7.1/src/curl.vcproj.dist |
| 530 | VC71_SRCVCPROJ_DEPS = $(VC71_SRCTMPL) Makefile.am src/Makefile.inc |
| 531 | VC8_LIBTMPL = projects/Windows/VC8/lib/libcurl.tmpl |
| 532 | VC8_LIBVCPROJ = projects/Windows/VC8/lib/libcurl.vcproj.dist |
| 533 | VC8_LIBVCPROJ_DEPS = $(VC8_LIBTMPL) Makefile.am lib/Makefile.inc |
| 534 | VC8_SRCTMPL = projects/Windows/VC8/src/curl.tmpl |
| 535 | VC8_SRCVCPROJ = projects/Windows/VC8/src/curl.vcproj.dist |
| 536 | VC8_SRCVCPROJ_DEPS = $(VC8_SRCTMPL) Makefile.am src/Makefile.inc |
| 537 | VC9_LIBTMPL = projects/Windows/VC9/lib/libcurl.tmpl |
| 538 | VC9_LIBVCPROJ = projects/Windows/VC9/lib/libcurl.vcproj.dist |
| 539 | VC9_LIBVCPROJ_DEPS = $(VC9_LIBTMPL) Makefile.am lib/Makefile.inc |
| 540 | VC9_SRCTMPL = projects/Windows/VC9/src/curl.tmpl |
| 541 | VC9_SRCVCPROJ = projects/Windows/VC9/src/curl.vcproj.dist |
| 542 | VC9_SRCVCPROJ_DEPS = $(VC9_SRCTMPL) Makefile.am src/Makefile.inc |
| 543 | VC10_LIBTMPL = projects/Windows/VC10/lib/libcurl.tmpl |
| 544 | VC10_LIBVCXPROJ = projects/Windows/VC10/lib/libcurl.vcxproj.dist |
| 545 | VC10_LIBVCXPROJ_DEPS = $(VC10_LIBTMPL) Makefile.am lib/Makefile.inc |
| 546 | VC10_SRCTMPL = projects/Windows/VC10/src/curl.tmpl |
| 547 | VC10_SRCVCXPROJ = projects/Windows/VC10/src/curl.vcxproj.dist |
| 548 | VC10_SRCVCXPROJ_DEPS = $(VC10_SRCTMPL) Makefile.am src/Makefile.inc |
| 549 | VC11_LIBTMPL = projects/Windows/VC11/lib/libcurl.tmpl |
| 550 | VC11_LIBVCXPROJ = projects/Windows/VC11/lib/libcurl.vcxproj.dist |
| 551 | VC11_LIBVCXPROJ_DEPS = $(VC11_LIBTMPL) Makefile.am lib/Makefile.inc |
| 552 | VC11_SRCTMPL = projects/Windows/VC11/src/curl.tmpl |
| 553 | VC11_SRCVCXPROJ = projects/Windows/VC11/src/curl.vcxproj.dist |
| 554 | VC11_SRCVCXPROJ_DEPS = $(VC11_SRCTMPL) Makefile.am src/Makefile.inc |
| 555 | VC12_LIBTMPL = projects/Windows/VC12/lib/libcurl.tmpl |
| 556 | VC12_LIBVCXPROJ = projects/Windows/VC12/lib/libcurl.vcxproj.dist |
| 557 | VC12_LIBVCXPROJ_DEPS = $(VC12_LIBTMPL) Makefile.am lib/Makefile.inc |
| 558 | VC12_SRCTMPL = projects/Windows/VC12/src/curl.tmpl |
| 559 | VC12_SRCVCXPROJ = projects/Windows/VC12/src/curl.vcxproj.dist |
| 560 | VC12_SRCVCXPROJ_DEPS = $(VC12_SRCTMPL) Makefile.am src/Makefile.inc |
| 561 | VC14_LIBTMPL = projects/Windows/VC14/lib/libcurl.tmpl |
| 562 | VC14_LIBVCXPROJ = projects/Windows/VC14/lib/libcurl.vcxproj.dist |
| 563 | VC14_LIBVCXPROJ_DEPS = $(VC14_LIBTMPL) Makefile.am lib/Makefile.inc |
| 564 | VC14_SRCTMPL = projects/Windows/VC14/src/curl.tmpl |
| 565 | VC14_SRCVCXPROJ = projects/Windows/VC14/src/curl.vcxproj.dist |
| 566 | VC14_SRCVCXPROJ_DEPS = $(VC14_SRCTMPL) Makefile.am src/Makefile.inc |
| 567 | VC_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 | |
| 610 | WINBUILD_DIST = winbuild/BUILD.WINDOWS.txt winbuild/gen_resp_file.bat \ |
| 611 | winbuild/MakefileBuild.vc winbuild/Makefile.vc |
| 612 | |
| 613 | EXTRA_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 | |
| 618 | CLEANFILES = $(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 | |
| 624 | bin_SCRIPTS = curl-config |
| 625 | SUBDIRS = lib docs src include |
| 626 | DIST_SUBDIRS = $(SUBDIRS) tests packages scripts |
| 627 | pkgconfigdir = $(libdir)/pkgconfig |
| 628 | pkgconfig_DATA = libcurl.pc |
| 629 | LIB_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 | |
| 634 | LIB_VAUTH_HFILES = vauth/vauth.h vauth/digest.h vauth/ntlm.h |
| 635 | LIB_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 | |
| 640 | LIB_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 | |
| 645 | LIB_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 | |
| 663 | LIB_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 | |
| 682 | LIB_RCFILES = libcurl.rc |
| 683 | CSOURCES = $(LIB_CFILES) $(LIB_VAUTH_CFILES) $(LIB_VTLS_CFILES) |
| 684 | HHEADERS = $(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. |
| 688 | CURLX_CFILES = \ |
| 689 | ../lib/strtoofft.c \ |
| 690 | ../lib/nonblock.c \ |
| 691 | ../lib/warnless.c |
| 692 | |
| 693 | CURLX_HFILES = \ |
| 694 | ../lib/curl_setup.h \ |
| 695 | ../lib/strtoofft.h \ |
| 696 | ../lib/nonblock.h \ |
| 697 | ../lib/warnless.h |
| 698 | |
| 699 | CURL_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 | |
| 740 | CURL_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 | |
| 784 | CURL_RCFILES = curl.rc |
| 785 | |
| 786 | # curl_SOURCES is special and gets assigned in src/Makefile.am |
| 787 | CURL_FILES = $(CURL_CFILES) $(CURLX_CFILES) $(CURL_HFILES) |
| 788 | all: all-recursive |
| 789 | |
| 790 | .SUFFIXES: |
| 791 | am--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 |
| 806 | Makefile: $(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): |
| 825 | curl-config: $(top_builddir)/config.status $(srcdir)/curl-config.in |
| 826 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
| 827 | libcurl.pc: $(top_builddir)/config.status $(srcdir)/libcurl.pc.in |
| 828 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
| 829 | install-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 | |
| 858 | uninstall-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 | |
| 865 | mostlyclean-libtool: |
| 866 | -rm -f *.lo |
| 867 | |
| 868 | clean-libtool: |
| 869 | -rm -rf .libs _libs |
| 870 | |
| 871 | distclean-libtool: |
| 872 | -rm -f libtool config.lt |
| 873 | install-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 | |
| 889 | uninstall-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 | |
| 929 | ID: $(am__tagged_files) |
| 930 | $(am__define_uniq_tagged_files); mkid -fID $$unique |
| 931 | tags: tags-recursive |
| 932 | TAGS: tags |
| 933 | |
| 934 | tags-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 |
| 962 | ctags: ctags-recursive |
| 963 | |
| 964 | CTAGS: ctags |
| 965 | ctags-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 | |
| 971 | GTAGS: |
| 972 | here=`$(am__cd) $(top_builddir) && pwd` \ |
| 973 | && $(am__cd) $(top_srcdir) \ |
| 974 | && gtags -i $(GTAGS_ARGS) "$$here" |
| 975 | cscope: cscope.files |
| 976 | test ! -s cscope.files \ |
| 977 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) |
| 978 | clean-cscope: |
| 979 | -rm -f cscope.files |
| 980 | cscope.files: clean-cscope cscopelist |
| 981 | cscopelist: cscopelist-recursive |
| 982 | |
| 983 | cscopelist-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 | |
| 997 | distclean-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 | |
| 1001 | distdir: $(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)" |
| 1068 | dist-gzip: distdir |
| 1069 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
| 1070 | $(am__post_remove_distdir) |
| 1071 | |
| 1072 | dist-bzip2: distdir |
| 1073 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 |
| 1074 | $(am__post_remove_distdir) |
| 1075 | |
| 1076 | dist-lzip: distdir |
| 1077 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz |
| 1078 | $(am__post_remove_distdir) |
| 1079 | |
| 1080 | dist-xz: distdir |
| 1081 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
| 1082 | $(am__post_remove_distdir) |
| 1083 | |
| 1084 | dist-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 | |
| 1091 | dist-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 | |
| 1098 | dist-zip: distdir |
| 1099 | -rm -f $(distdir).zip |
| 1100 | zip -rq $(distdir).zip $(distdir) |
| 1101 | $(am__post_remove_distdir) |
| 1102 | |
| 1103 | dist 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. |
| 1110 | distcheck: 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' |
| 1166 | distuninstallcheck: |
| 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 |
| 1183 | distcleancheck: 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 |
| 1192 | check-am: all-am |
| 1193 | check: check-recursive |
| 1194 | all-am: Makefile $(SCRIPTS) $(DATA) |
| 1195 | installdirs: installdirs-recursive |
| 1196 | installdirs-am: |
| 1197 | for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"; do \ |
| 1198 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
| 1199 | done |
| 1200 | install: install-recursive |
| 1201 | install-exec: install-exec-recursive |
| 1202 | install-data: install-data-recursive |
| 1203 | uninstall: uninstall-recursive |
| 1204 | |
| 1205 | install-am: all-am |
| 1206 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
| 1207 | |
| 1208 | installcheck: installcheck-recursive |
| 1209 | install-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 |
| 1219 | mostlyclean-generic: |
| 1220 | |
| 1221 | clean-generic: |
| 1222 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
| 1223 | |
| 1224 | distclean-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 | |
| 1228 | maintainer-clean-generic: |
| 1229 | @echo "This command is intended for maintainers to use" |
| 1230 | @echo "it deletes files that may require special tools to rebuild." |
| 1231 | clean: clean-recursive |
| 1232 | |
| 1233 | clean-am: clean-generic clean-libtool clean-local mostlyclean-am |
| 1234 | |
| 1235 | distclean: distclean-recursive |
| 1236 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
| 1237 | -rm -f Makefile |
| 1238 | distclean-am: clean-am distclean-generic distclean-libtool \ |
| 1239 | distclean-tags |
| 1240 | |
| 1241 | dvi: dvi-recursive |
| 1242 | |
| 1243 | dvi-am: |
| 1244 | |
| 1245 | html-am: |
| 1246 | |
| 1247 | info: info-recursive |
| 1248 | |
| 1249 | info-am: |
| 1250 | |
| 1251 | install-data-am: install-pkgconfigDATA |
| 1252 | @$(NORMAL_INSTALL) |
| 1253 | $(MAKE) $(AM_MAKEFLAGS) install-data-hook |
| 1254 | install-dvi: install-dvi-recursive |
| 1255 | |
| 1256 | install-dvi-am: |
| 1257 | |
| 1258 | install-exec-am: install-binSCRIPTS |
| 1259 | |
| 1260 | install-html: install-html-recursive |
| 1261 | |
| 1262 | install-html-am: |
| 1263 | |
| 1264 | install-info: install-info-recursive |
| 1265 | |
| 1266 | install-info-am: |
| 1267 | |
| 1268 | install-man: |
| 1269 | |
| 1270 | install-pdf: install-pdf-recursive |
| 1271 | |
| 1272 | install-pdf-am: |
| 1273 | |
| 1274 | install-ps: install-ps-recursive |
| 1275 | |
| 1276 | install-ps-am: |
| 1277 | |
| 1278 | installcheck-am: |
| 1279 | |
| 1280 | maintainer-clean: maintainer-clean-recursive |
| 1281 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
| 1282 | -rm -rf $(top_srcdir)/autom4te.cache |
| 1283 | -rm -f Makefile |
| 1284 | maintainer-clean-am: distclean-am maintainer-clean-generic |
| 1285 | |
| 1286 | mostlyclean: mostlyclean-recursive |
| 1287 | |
| 1288 | mostlyclean-am: mostlyclean-generic mostlyclean-libtool |
| 1289 | |
| 1290 | pdf-am: |
| 1291 | |
| 1292 | ps: ps-recursive |
| 1293 | |
| 1294 | ps-am: |
| 1295 | |
| 1296 | uninstall-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 | |
| 1326 | dist-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 | |
| 1335 | html: |
| 1336 | cd docs && $(MAKE) html |
| 1337 | |
| 1338 | pdf: |
| 1339 | cd docs && $(MAKE) pdf |
| 1340 | |
| 1341 | check: 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 | |
| 1367 | examples: |
| 1368 | @(cd docs/examples; $(MAKE) check) |
| 1369 | |
| 1370 | check-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. |
| 1377 | clean-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 | |
| 1396 | rpms: |
| 1397 | $(MAKE) RPMDIST=curl rpm |
| 1398 | $(MAKE) RPMDIST=curl-ssl rpm |
| 1399 | |
| 1400 | rpm: |
| 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... |
| 1417 | pkgadd: |
| 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 |
| 1426 | cygwinbin: |
| 1427 | $(MAKE) -C packages/Win32/cygwin cygwinbin |
| 1428 | |
| 1429 | # We extend the standard install with a custom hook: |
| 1430 | install-data-hook: |
| 1431 | cd include && $(MAKE) install |
| 1432 | cd docs && $(MAKE) install |
| 1433 | |
| 1434 | # We extend the standard uninstall with a custom hook: |
| 1435 | uninstall-hook: |
| 1436 | cd include && $(MAKE) uninstall |
| 1437 | cd docs && $(MAKE) uninstall |
| 1438 | |
| 1439 | ca-bundle: lib/mk-ca-bundle.pl |
| 1440 | @echo "generating a fresh ca-bundle.crt" |
| 1441 | @perl $< -b -l -u lib/ca-bundle.crt |
| 1442 | |
| 1443 | ca-firefox: lib/firefox-db2pem.sh |
| 1444 | @echo "generating a fresh ca-bundle.crt" |
| 1445 | ./lib/firefox-db2pem.sh lib/ca-bundle.crt |
| 1446 | |
| 1447 | checksrc: |
| 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 | |
| 1456 | vc-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='\ |
| 1487 | function 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: |