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