Makefile.in 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757
  1. # Makefile.in generated by automake 1.8.3 from Makefile.am.
  2. # @configure_input@
  3. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  4. # 2003, 2004 Free Software Foundation, Inc.
  5. # This Makefile.in is free software; the Free Software Foundation
  6. # gives unlimited permission to copy and/or distribute it,
  7. # with or without modifications, as long as this notice is preserved.
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  10. # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  11. # PARTICULAR PURPOSE.
  12. @SET_MAKE@
  13. #***************************************************************************
  14. # _ _ ____ _
  15. # Project ___| | | | _ \| |
  16. # / __| | | | |_) | |
  17. # | (__| |_| | _ <| |___
  18. # \___|\___/|_| \_\_____|
  19. #
  20. # Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
  21. #
  22. # This software is licensed as described in the file COPYING, which
  23. # you should have received as part of this distribution. The terms
  24. # are also available at http://curl.haxx.se/docs/copyright.html.
  25. #
  26. # You may opt to use, copy, modify, merge, publish, distribute and/or sell
  27. # copies of the Software, and permit persons to whom the Software is
  28. # furnished to do so, under the terms of the COPYING file.
  29. #
  30. # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  31. # KIND, either express or implied.
  32. #
  33. # $Id: Makefile.am,v 1.49 2004/03/15 10:18:38 bagder Exp $
  34. ###########################################################################
  35. srcdir = @srcdir@
  36. top_srcdir = @top_srcdir@
  37. VPATH = @srcdir@
  38. pkgdatadir = $(datadir)/@PACKAGE@
  39. pkglibdir = $(libdir)/@PACKAGE@
  40. pkgincludedir = $(includedir)/@PACKAGE@
  41. top_builddir = .
  42. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  43. INSTALL = @INSTALL@
  44. install_sh_DATA = $(install_sh) -c -m 644
  45. install_sh_PROGRAM = $(install_sh) -c
  46. install_sh_SCRIPT = $(install_sh) -c
  47. INSTALL_HEADER = $(INSTALL_DATA)
  48. transform = $(program_transform_name)
  49. NORMAL_INSTALL = :
  50. PRE_INSTALL = :
  51. POST_INSTALL = :
  52. NORMAL_UNINSTALL = :
  53. PRE_UNINSTALL = :
  54. POST_UNINSTALL = :
  55. host_triplet = @host@
  56. DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
  57. $(srcdir)/Makefile.in $(srcdir)/curl-config.in \
  58. $(top_srcdir)/configure COPYING config.guess config.sub \
  59. depcomp install-sh ltmain.sh missing mkinstalldirs
  60. subdir = .
  61. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  62. am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  63. $(top_srcdir)/configure.ac
  64. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  65. $(ACLOCAL_M4)
  66. am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  67. configure.lineno configure.status.lineno
  68. mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  69. CONFIG_HEADER = $(top_builddir)/lib/config.h \
  70. $(top_builddir)/src/config.h
  71. CONFIG_CLEAN_FILES = curl-config
  72. am__installdirs = "$(DESTDIR)$(bindir)"
  73. binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
  74. SCRIPTS = $(bin_SCRIPTS)
  75. SOURCES =
  76. DIST_SOURCES =
  77. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  78. html-recursive info-recursive install-data-recursive \
  79. install-exec-recursive install-info-recursive \
  80. install-recursive installcheck-recursive installdirs-recursive \
  81. pdf-recursive ps-recursive uninstall-info-recursive \
  82. uninstall-recursive
  83. ETAGS = etags
  84. CTAGS = ctags
  85. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  86. distdir = $(PACKAGE)-$(VERSION)
  87. top_distdir = $(distdir)
  88. am__remove_distdir = \
  89. { test ! -d $(distdir) \
  90. || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
  91. && rm -fr $(distdir); }; }
  92. DIST_ARCHIVES = $(distdir).tar.gz
  93. GZIP_ENV = --best
  94. distuninstallcheck_listfiles = find . -type f -print
  95. distcleancheck_listfiles = find . -type f -print
  96. ACLOCAL = @ACLOCAL@
  97. AMDEP_FALSE = @AMDEP_FALSE@
  98. AMDEP_TRUE = @AMDEP_TRUE@
  99. AMTAR = @AMTAR@
  100. AR = @AR@
  101. AS = @AS@
  102. AUTOCONF = @AUTOCONF@
  103. AUTOHEADER = @AUTOHEADER@
  104. AUTOMAKE = @AUTOMAKE@
  105. AWK = @AWK@
  106. CABUNDLE_FALSE = @CABUNDLE_FALSE@
  107. CABUNDLE_TRUE = @CABUNDLE_TRUE@
  108. CC = @CC@
  109. CCDEPMODE = @CCDEPMODE@
  110. CFLAGS = @CFLAGS@
  111. CPP = @CPP@
  112. CPPFLAGS = @CPPFLAGS@
  113. CURL_CA_BUNDLE = @CURL_CA_BUNDLE@
  114. CURL_DISABLE_DICT = @CURL_DISABLE_DICT@
  115. CURL_DISABLE_FILE = @CURL_DISABLE_FILE@
  116. CURL_DISABLE_FTP = @CURL_DISABLE_FTP@
  117. CURL_DISABLE_GOPHER = @CURL_DISABLE_GOPHER@
  118. CURL_DISABLE_HTTP = @CURL_DISABLE_HTTP@
  119. CURL_DISABLE_LDAP = @CURL_DISABLE_LDAP@
  120. CURL_DISABLE_TELNET = @CURL_DISABLE_TELNET@
  121. CXX = @CXX@
  122. CXXCPP = @CXXCPP@
  123. CXXDEPMODE = @CXXDEPMODE@
  124. CXXFLAGS = @CXXFLAGS@
  125. CYGPATH_W = @CYGPATH_W@
  126. DEFS = @DEFS@
  127. DEPDIR = @DEPDIR@
  128. DLLTOOL = @DLLTOOL@
  129. ECHO = @ECHO@
  130. ECHO_C = @ECHO_C@
  131. ECHO_N = @ECHO_N@
  132. ECHO_T = @ECHO_T@
  133. EGREP = @EGREP@
  134. EXEEXT = @EXEEXT@
  135. F77 = @F77@
  136. FFLAGS = @FFLAGS@
  137. HAVE_ARES = @HAVE_ARES@
  138. HAVE_LIBZ = @HAVE_LIBZ@
  139. HAVE_LIBZ_FALSE = @HAVE_LIBZ_FALSE@
  140. HAVE_LIBZ_TRUE = @HAVE_LIBZ_TRUE@
  141. INSTALL_DATA = @INSTALL_DATA@
  142. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  143. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  144. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  145. IPV6_ENABLED = @IPV6_ENABLED@
  146. KRB4_ENABLED = @KRB4_ENABLED@
  147. LDFLAGS = @LDFLAGS@
  148. LIBOBJS = @LIBOBJS@
  149. LIBS = @LIBS@
  150. LIBTOOL = @LIBTOOL@
  151. LN_S = @LN_S@
  152. LTLIBOBJS = @LTLIBOBJS@
  153. MAINT = @MAINT@
  154. MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  155. MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  156. MAKEINFO = @MAKEINFO@
  157. MANOPT = @MANOPT@
  158. MIMPURE_FALSE = @MIMPURE_FALSE@
  159. MIMPURE_TRUE = @MIMPURE_TRUE@
  160. NO_UNDEFINED_FALSE = @NO_UNDEFINED_FALSE@
  161. NO_UNDEFINED_TRUE = @NO_UNDEFINED_TRUE@
  162. NROFF = @NROFF@
  163. OBJDUMP = @OBJDUMP@
  164. OBJEXT = @OBJEXT@
  165. OPENSSL_ENABLED = @OPENSSL_ENABLED@
  166. PACKAGE = @PACKAGE@
  167. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  168. PACKAGE_NAME = @PACKAGE_NAME@
  169. PACKAGE_STRING = @PACKAGE_STRING@
  170. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  171. PACKAGE_VERSION = @PACKAGE_VERSION@
  172. PATH_SEPARATOR = @PATH_SEPARATOR@
  173. PERL = @PERL@
  174. PKGADD_NAME = @PKGADD_NAME@
  175. PKGADD_PKG = @PKGADD_PKG@
  176. PKGADD_VENDOR = @PKGADD_VENDOR@
  177. PKGCONFIG = @PKGCONFIG@
  178. RANDOM_FILE = @RANDOM_FILE@
  179. RANLIB = @RANLIB@
  180. SED = @SED@
  181. SET_MAKE = @SET_MAKE@
  182. SHELL = @SHELL@
  183. STRIP = @STRIP@
  184. USE_MANUAL_FALSE = @USE_MANUAL_FALSE@
  185. USE_MANUAL_TRUE = @USE_MANUAL_TRUE@
  186. VERSION = @VERSION@
  187. VERSIONNUM = @VERSIONNUM@
  188. YACC = @YACC@
  189. ac_ct_AR = @ac_ct_AR@
  190. ac_ct_AS = @ac_ct_AS@
  191. ac_ct_CC = @ac_ct_CC@
  192. ac_ct_CXX = @ac_ct_CXX@
  193. ac_ct_DLLTOOL = @ac_ct_DLLTOOL@
  194. ac_ct_F77 = @ac_ct_F77@
  195. ac_ct_OBJDUMP = @ac_ct_OBJDUMP@
  196. ac_ct_RANLIB = @ac_ct_RANLIB@
  197. ac_ct_STRIP = @ac_ct_STRIP@
  198. am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  199. am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  200. am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  201. am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  202. am__include = @am__include@
  203. am__leading_dot = @am__leading_dot@
  204. am__quote = @am__quote@
  205. bindir = @bindir@
  206. build = @build@
  207. build_alias = @build_alias@
  208. build_cpu = @build_cpu@
  209. build_os = @build_os@
  210. build_vendor = @build_vendor@
  211. datadir = @datadir@
  212. exec_prefix = @exec_prefix@
  213. host = @host@
  214. host_alias = @host_alias@
  215. host_cpu = @host_cpu@
  216. host_os = @host_os@
  217. host_vendor = @host_vendor@
  218. includedir = @includedir@
  219. infodir = @infodir@
  220. install_sh = @install_sh@
  221. libdir = @libdir@
  222. libexecdir = @libexecdir@
  223. localstatedir = @localstatedir@
  224. mandir = @mandir@
  225. mkdir_p = @mkdir_p@
  226. oldincludedir = @oldincludedir@
  227. prefix = @prefix@
  228. program_transform_name = @program_transform_name@
  229. sbindir = @sbindir@
  230. sharedstatedir = @sharedstatedir@
  231. subdirs = @subdirs@
  232. sysconfdir = @sysconfdir@
  233. target_alias = @target_alias@
  234. AUTOMAKE_OPTIONS = foreign
  235. EXTRA_DIST = CHANGES COPYING maketgz reconf Makefile.dist \
  236. curl-config.in curl-style.el sample.emacs testcurl.sh RELEASE-NOTES
  237. bin_SCRIPTS = curl-config
  238. SUBDIRS = lib src
  239. DIST_SUBDIRS = $(SUBDIRS) tests include packages docs
  240. all: all-recursive
  241. .SUFFIXES:
  242. am--refresh:
  243. @:
  244. $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
  245. @for dep in $?; do \
  246. case '$(am__configure_deps)' in \
  247. *$$dep*) \
  248. echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
  249. cd $(srcdir) && $(AUTOMAKE) --foreign \
  250. && exit 0; \
  251. exit 1;; \
  252. esac; \
  253. done; \
  254. echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  255. cd $(top_srcdir) && \
  256. $(AUTOMAKE) --foreign Makefile
  257. .PRECIOUS: Makefile
  258. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  259. @case '$?' in \
  260. *config.status*) \
  261. echo ' $(SHELL) ./config.status'; \
  262. $(SHELL) ./config.status;; \
  263. *) \
  264. echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
  265. cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
  266. esac;
  267. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  268. $(SHELL) ./config.status --recheck
  269. $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  270. cd $(srcdir) && $(AUTOCONF)
  271. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  272. cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  273. curl-config: $(top_builddir)/config.status $(srcdir)/curl-config.in
  274. cd $(top_builddir) && $(SHELL) ./config.status $@
  275. install-binSCRIPTS: $(bin_SCRIPTS)
  276. @$(NORMAL_INSTALL)
  277. test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
  278. @list='$(bin_SCRIPTS)'; for p in $$list; do \
  279. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  280. if test -f $$d$$p; then \
  281. f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  282. echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  283. $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
  284. else :; fi; \
  285. done
  286. uninstall-binSCRIPTS:
  287. @$(NORMAL_UNINSTALL)
  288. @list='$(bin_SCRIPTS)'; for p in $$list; do \
  289. f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  290. echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  291. rm -f "$(DESTDIR)$(bindir)/$$f"; \
  292. done
  293. mostlyclean-libtool:
  294. -rm -f *.lo
  295. clean-libtool:
  296. -rm -rf .libs _libs
  297. distclean-libtool:
  298. -rm -f libtool
  299. uninstall-info-am:
  300. # This directory's subdirectories are mostly independent; you can cd
  301. # into them and run `make' without going through this Makefile.
  302. # To change the values of `make' variables: instead of editing Makefiles,
  303. # (1) if the variable is set in `config.status', edit `config.status'
  304. # (which will cause the Makefiles to be regenerated when you run `make');
  305. # (2) otherwise, pass the desired values on the `make' command line.
  306. $(RECURSIVE_TARGETS):
  307. @set fnord $$MAKEFLAGS; amf=$$2; \
  308. dot_seen=no; \
  309. target=`echo $@ | sed s/-recursive//`; \
  310. list='$(SUBDIRS)'; for subdir in $$list; do \
  311. echo "Making $$target in $$subdir"; \
  312. if test "$$subdir" = "."; then \
  313. dot_seen=yes; \
  314. local_target="$$target-am"; \
  315. else \
  316. local_target="$$target"; \
  317. fi; \
  318. (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  319. || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  320. done; \
  321. if test "$$dot_seen" = "no"; then \
  322. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  323. fi; test -z "$$fail"
  324. mostlyclean-recursive clean-recursive distclean-recursive \
  325. maintainer-clean-recursive:
  326. @set fnord $$MAKEFLAGS; amf=$$2; \
  327. dot_seen=no; \
  328. case "$@" in \
  329. distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  330. *) list='$(SUBDIRS)' ;; \
  331. esac; \
  332. rev=''; for subdir in $$list; do \
  333. if test "$$subdir" = "."; then :; else \
  334. rev="$$subdir $$rev"; \
  335. fi; \
  336. done; \
  337. rev="$$rev ."; \
  338. target=`echo $@ | sed s/-recursive//`; \
  339. for subdir in $$rev; do \
  340. echo "Making $$target in $$subdir"; \
  341. if test "$$subdir" = "."; then \
  342. local_target="$$target-am"; \
  343. else \
  344. local_target="$$target"; \
  345. fi; \
  346. (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  347. || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  348. done && test -z "$$fail"
  349. tags-recursive:
  350. list='$(SUBDIRS)'; for subdir in $$list; do \
  351. test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  352. done
  353. ctags-recursive:
  354. list='$(SUBDIRS)'; for subdir in $$list; do \
  355. test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  356. done
  357. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  358. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  359. unique=`for i in $$list; do \
  360. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  361. done | \
  362. $(AWK) ' { files[$$0] = 1; } \
  363. END { for (i in files) print i; }'`; \
  364. mkid -fID $$unique
  365. tags: TAGS
  366. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  367. $(TAGS_FILES) $(LISP)
  368. tags=; \
  369. here=`pwd`; \
  370. if (etags --etags-include --version) >/dev/null 2>&1; then \
  371. include_option=--etags-include; \
  372. else \
  373. include_option=--include; \
  374. fi; \
  375. list='$(SUBDIRS)'; for subdir in $$list; do \
  376. if test "$$subdir" = .; then :; else \
  377. test -f $$subdir/TAGS && \
  378. tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  379. fi; \
  380. done; \
  381. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  382. unique=`for i in $$list; do \
  383. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  384. done | \
  385. $(AWK) ' { files[$$0] = 1; } \
  386. END { for (i in files) print i; }'`; \
  387. test -z "$(ETAGS_ARGS)$$tags$$unique" \
  388. || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  389. $$tags $$unique
  390. ctags: CTAGS
  391. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  392. $(TAGS_FILES) $(LISP)
  393. tags=; \
  394. here=`pwd`; \
  395. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  396. unique=`for i in $$list; do \
  397. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  398. done | \
  399. $(AWK) ' { files[$$0] = 1; } \
  400. END { for (i in files) print i; }'`; \
  401. test -z "$(CTAGS_ARGS)$$tags$$unique" \
  402. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  403. $$tags $$unique
  404. GTAGS:
  405. here=`$(am__cd) $(top_builddir) && pwd` \
  406. && cd $(top_srcdir) \
  407. && gtags -i $(GTAGS_ARGS) $$here
  408. distclean-tags:
  409. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  410. distdir: $(DISTFILES)
  411. $(am__remove_distdir)
  412. mkdir $(distdir)
  413. $(mkdir_p) $(distdir)/. $(distdir)/packages/EPM $(distdir)/packages/Linux/RPM
  414. @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  415. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  416. list='$(DISTFILES)'; for file in $$list; do \
  417. case $$file in \
  418. $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  419. $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  420. esac; \
  421. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  422. dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  423. if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  424. dir="/$$dir"; \
  425. $(mkdir_p) "$(distdir)$$dir"; \
  426. else \
  427. dir=''; \
  428. fi; \
  429. if test -d $$d/$$file; then \
  430. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  431. cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  432. fi; \
  433. cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  434. else \
  435. test -f $(distdir)/$$file \
  436. || cp -p $$d/$$file $(distdir)/$$file \
  437. || exit 1; \
  438. fi; \
  439. done
  440. list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  441. if test "$$subdir" = .; then :; else \
  442. test -d "$(distdir)/$$subdir" \
  443. || mkdir "$(distdir)/$$subdir" \
  444. || exit 1; \
  445. (cd $$subdir && \
  446. $(MAKE) $(AM_MAKEFLAGS) \
  447. top_distdir="../$(top_distdir)" \
  448. distdir="../$(distdir)/$$subdir" \
  449. distdir) \
  450. || exit 1; \
  451. fi; \
  452. done
  453. $(MAKE) $(AM_MAKEFLAGS) \
  454. top_distdir="$(top_distdir)" distdir="$(distdir)" \
  455. dist-hook
  456. -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
  457. ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  458. ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  459. ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
  460. || chmod -R a+r $(distdir)
  461. dist-gzip: distdir
  462. $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  463. $(am__remove_distdir)
  464. dist-bzip2: distdir
  465. $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
  466. $(am__remove_distdir)
  467. dist-tarZ: distdir
  468. $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
  469. $(am__remove_distdir)
  470. dist-shar: distdir
  471. shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
  472. $(am__remove_distdir)
  473. dist-zip: distdir
  474. -rm -f $(distdir).zip
  475. zip -rq $(distdir).zip $(distdir)
  476. $(am__remove_distdir)
  477. dist dist-all: distdir
  478. $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  479. $(am__remove_distdir)
  480. # This target untars the dist file and tries a VPATH configuration. Then
  481. # it guarantees that the distribution is self-contained by making another
  482. # tarfile.
  483. distcheck: dist
  484. case '$(DIST_ARCHIVES)' in \
  485. *.tar.gz*) \
  486. GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
  487. *.tar.bz2*) \
  488. bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
  489. *.tar.Z*) \
  490. uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
  491. *.shar.gz*) \
  492. GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | unshar ;;\
  493. *.zip*) \
  494. unzip $(distdir).zip ;;\
  495. esac
  496. chmod -R a-w $(distdir); chmod a+w $(distdir)
  497. mkdir $(distdir)/_build
  498. mkdir $(distdir)/_inst
  499. chmod a-w $(distdir)
  500. dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  501. && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  502. && cd $(distdir)/_build \
  503. && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  504. $(DISTCHECK_CONFIGURE_FLAGS) \
  505. && $(MAKE) $(AM_MAKEFLAGS) \
  506. && $(MAKE) $(AM_MAKEFLAGS) dvi \
  507. && $(MAKE) $(AM_MAKEFLAGS) check \
  508. && $(MAKE) $(AM_MAKEFLAGS) install \
  509. && $(MAKE) $(AM_MAKEFLAGS) installcheck \
  510. && $(MAKE) $(AM_MAKEFLAGS) uninstall \
  511. && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
  512. distuninstallcheck \
  513. && chmod -R a-w "$$dc_install_base" \
  514. && ({ \
  515. (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
  516. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
  517. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
  518. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
  519. distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
  520. } || { rm -rf "$$dc_destdir"; exit 1; }) \
  521. && rm -rf "$$dc_destdir" \
  522. && $(MAKE) $(AM_MAKEFLAGS) dist \
  523. && rm -rf $(DIST_ARCHIVES) \
  524. && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
  525. $(am__remove_distdir)
  526. @(echo "$(distdir) archives ready for distribution: "; \
  527. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  528. sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
  529. distuninstallcheck:
  530. @cd $(distuninstallcheck_dir) \
  531. && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  532. || { echo "ERROR: files left after uninstall:" ; \
  533. if test -n "$(DESTDIR)"; then \
  534. echo " (check DESTDIR support)"; \
  535. fi ; \
  536. $(distuninstallcheck_listfiles) ; \
  537. exit 1; } >&2
  538. distcleancheck: distclean
  539. @if test '$(srcdir)' = . ; then \
  540. echo "ERROR: distcleancheck can only run from a VPATH build" ; \
  541. exit 1 ; \
  542. fi
  543. @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
  544. || { echo "ERROR: files left in build directory after distclean:" ; \
  545. $(distcleancheck_listfiles) ; \
  546. exit 1; } >&2
  547. check-am: all-am
  548. check: check-recursive
  549. all-am: Makefile $(SCRIPTS)
  550. installdirs: installdirs-recursive
  551. installdirs-am:
  552. for dir in "$(DESTDIR)$(bindir)"; do \
  553. test -z "$$dir" || $(mkdir_p) "$$dir"; \
  554. done
  555. install: install-recursive
  556. install-exec: install-exec-recursive
  557. install-data: install-data-recursive
  558. uninstall: uninstall-recursive
  559. install-am: all-am
  560. @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  561. installcheck: installcheck-recursive
  562. install-strip:
  563. $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  564. install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  565. `test -z '$(STRIP)' || \
  566. echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  567. mostlyclean-generic:
  568. clean-generic:
  569. distclean-generic:
  570. -rm -f $(CONFIG_CLEAN_FILES)
  571. maintainer-clean-generic:
  572. @echo "This command is intended for maintainers to use"
  573. @echo "it deletes files that may require special tools to rebuild."
  574. clean: clean-recursive
  575. clean-am: clean-generic clean-libtool mostlyclean-am
  576. distclean: distclean-recursive
  577. -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  578. -rm -f Makefile
  579. distclean-am: clean-am distclean-generic distclean-libtool \
  580. distclean-tags
  581. dvi: dvi-recursive
  582. dvi-am:
  583. info: info-recursive
  584. info-am:
  585. install-data-am:
  586. @$(NORMAL_INSTALL)
  587. $(MAKE) $(AM_MAKEFLAGS) install-data-hook
  588. install-exec-am: install-binSCRIPTS
  589. install-info: install-info-recursive
  590. install-man:
  591. installcheck-am:
  592. maintainer-clean: maintainer-clean-recursive
  593. -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  594. -rm -rf $(top_srcdir)/autom4te.cache
  595. -rm -f Makefile
  596. maintainer-clean-am: distclean-am maintainer-clean-generic
  597. mostlyclean: mostlyclean-recursive
  598. mostlyclean-am: mostlyclean-generic mostlyclean-libtool
  599. pdf-am:
  600. ps: ps-recursive
  601. ps-am:
  602. uninstall-am: uninstall-binSCRIPTS uninstall-info-am
  603. @$(NORMAL_INSTALL)
  604. $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
  605. uninstall-info: uninstall-info-recursive
  606. .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
  607. check-am clean clean-generic clean-libtool clean-recursive \
  608. ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
  609. dist-shar dist-tarZ dist-zip distcheck distclean \
  610. distclean-generic distclean-libtool distclean-recursive \
  611. distclean-tags distcleancheck distdir distuninstallcheck dvi \
  612. dvi-am html html-am info info-am install install-am \
  613. install-binSCRIPTS install-data install-data-am install-exec \
  614. install-exec-am install-info install-info-am install-man \
  615. install-strip installcheck installcheck-am installdirs \
  616. installdirs-am maintainer-clean maintainer-clean-generic \
  617. maintainer-clean-recursive mostlyclean mostlyclean-generic \
  618. mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
  619. tags tags-recursive uninstall uninstall-am \
  620. uninstall-binSCRIPTS uninstall-info-am
  621. dist-hook:
  622. rm -rf $(top_builddir)/tests/log
  623. find $(distdir) -name "*.dist" -exec rm {} \;
  624. (distit=`find $(srcdir) -name "*.dist"`; \
  625. for file in $$distit; do \
  626. strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \
  627. cp $$file $(distdir)$$strip; \
  628. done)
  629. html:
  630. cd docs; make html
  631. pdf:
  632. cd docs; make pdf
  633. check: test
  634. test:
  635. @(cd tests; $(MAKE) all quiet-test)
  636. test-full:
  637. @(cd tests; $(MAKE) all full-test)
  638. #
  639. # Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
  640. # must contain the following line:
  641. # %_topdir /home/loic/local/rpm
  642. # and that /home/loic/local/rpm contains the directory SOURCES, BUILD etc.
  643. #
  644. # cd /home/loic/local/rpm ; mkdir -p SOURCES BUILD RPMS/i386 SPECS SRPMS
  645. #
  646. # If additional configure flags are needed to build the package, add the
  647. # following in ~/.rpmmacros
  648. # %configure CFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{_prefix} ${AM_CONFIGFLAGS}
  649. # and run make rpm in the following way:
  650. # AM_CONFIGFLAGS='--with-uri=/home/users/loic/local/RedHat-6.2' make rpm
  651. #
  652. rpms:
  653. $(MAKE) RPMDIST=curl rpm
  654. $(MAKE) RPMDIST=curl-ssl rpm
  655. rpm:
  656. RPM_TOPDIR=`rpm --showrc | $(PERL) -n -e 'print if(s/.*_topdir\s+(.*)/$$1/)'` ; \
  657. cp $(srcdir)/packages/Linux/RPM/$(RPMDIST).spec $$RPM_TOPDIR/SPECS ; \
  658. cp $(PACKAGE)-$(VERSION).tar.gz $$RPM_TOPDIR/SOURCES ; \
  659. rpm -ba --clean --rmsource $$RPM_TOPDIR/SPECS/$(RPMDIST).spec ; \
  660. mv $$RPM_TOPDIR/RPMS/i386/$(RPMDIST)-*.rpm . ; \
  661. mv $$RPM_TOPDIR/SRPMS/$(RPMDIST)-*.src.rpm .
  662. #
  663. # Build a Solaris pkkgadd format file
  664. # run 'make pkgadd' once you've done './configure' and 'make' to make a Solaris pkgadd format
  665. # file (which ends up back in this directory).
  666. # The pkgadd file is in 'pkgtrans' format, so to install on Solaris, do
  667. # pkgadd -d ./HAXXcurl-*
  668. #
  669. # gak - libtool requires an absoulte directory, hence the pwd below...
  670. pkgadd:
  671. umask 022 ; \
  672. make install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \
  673. cat COPYING > $(srcdir)/packages/Solaris/copyright ; \
  674. cd $(srcdir)/packages/Solaris && $(MAKE) package
  675. #
  676. # Build a cygwin binary tarball installation file
  677. # resulting .tar.bz2 file will end up at packages/Win32/cygwin
  678. cygwinbin:
  679. $(MAKE) -C packages/Win32/cygwin cygwinbin
  680. # We extend the standard install with a custom hook:
  681. install-data-hook:
  682. cd include && $(MAKE) install
  683. cd docs && $(MAKE) install
  684. # We extend the standard uninstall with a custom hook:
  685. uninstall-hook:
  686. cd include && $(MAKE) uninstall
  687. cd docs && $(MAKE) uninstall
  688. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  689. # Otherwise a system limit (for SysV at least) may be exceeded.
  690. .NOEXPORT: