new
[libcurl.git] / lib / Makefile
blob150e2d66d4e2661709ab65bb5d4c90024f6c7ef8
1 # Generated automatically from Makefile.in by configure.
2 # Makefile.in generated automatically by automake 1.4 from Makefile.am
4 # Copyright (C) 1994, 1995-8, 1999 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.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
15 # $Id: Makefile,v 1.1.1.1 1999-12-29 14:21:42 bagder Exp $
19 SHELL = /bin/sh
21 srcdir = .
22 top_srcdir = ..
23 prefix = /usr/local
24 exec_prefix = ${prefix}
26 bindir = ${exec_prefix}/bin
27 sbindir = ${exec_prefix}/sbin
28 libexecdir = ${exec_prefix}/libexec
29 datadir = ${prefix}/share
30 sysconfdir = ${prefix}/etc
31 sharedstatedir = ${prefix}/com
32 localstatedir = ${prefix}/var
33 libdir = ${exec_prefix}/lib
34 infodir = ${prefix}/info
35 mandir = ${prefix}/man
36 includedir = ${prefix}/include
37 oldincludedir = /usr/include
39 DESTDIR =
41 pkgdatadir = $(datadir)/curl
42 pkglibdir = $(libdir)/curl
43 pkgincludedir = $(includedir)/curl
45 top_builddir = ..
47 ACLOCAL = aclocal
48 AUTOCONF = autoconf
49 AUTOMAKE = automake
50 AUTOHEADER = autoheader
52 INSTALL = .././install-sh -c
53 INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
54 INSTALL_DATA = ${INSTALL} -m 644
55 INSTALL_SCRIPT = ${INSTALL_PROGRAM}
56 transform = s,x,x,
58 NORMAL_INSTALL = :
59 PRE_INSTALL = :
60 POST_INSTALL = :
61 NORMAL_UNINSTALL = :
62 PRE_UNINSTALL = :
63 POST_UNINSTALL = :
64 host_alias = sparc-sun-solaris2.6
65 host_triplet = sparc-sun-solaris2.6
66 CC = gcc
67 MAKEINFO = makeinfo
68 NROFF = /bin/nroff
69 PACKAGE = curl
70 PERL = /usr/local/bin/perl
71 RANLIB = ranlib
72 VERSION = 6.3.1
73 YACC = bison -y
75 AUTOMAKE_OPTIONS = foreign no-dependencies
77 noinst_LIBRARIES = libcurl.a
79 # Some flags needed when trying to cause warnings ;-)
80 # CFLAGS = -Wall -pedantic
82 INCLUDES = -I$(top_srcdir)/include
84 libcurl_a_SOURCES = arpa_telnet.h file.c getpass.h netrc.h timeval.c base64.c file.h hostip.c progress.c timeval.h base64.h formdata.c hostip.h progress.h upload.c cookie.c formdata.h http.c sendf.c upload.h cookie.h ftp.c http.h sendf.h url.c dict.c ftp.h if2ip.c speedcheck.c url.h dict.h getdate.c if2ip.h speedcheck.h urldata.h download.c getdate.h ldap.c ssluse.c version.c download.h getenv.c ldap.h ssluse.h escape.c getenv.h mprintf.c telnet.c escape.h getpass.c netrc.c telnet.h
86 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
87 CONFIG_HEADER = ../config.h ../src/config.h
88 CONFIG_CLEAN_FILES =
89 LIBRARIES = $(noinst_LIBRARIES)
92 DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.. -I../src
93 CPPFLAGS = -I/home/dast/include/openssl -I/home/dast/include
94 LDFLAGS =
95 LIBS = -lssl -lcrypto -ldl -lsocket -lnsl -L/home/dast/lib
96 libcurl_a_LIBADD =
97 libcurl_a_OBJECTS = file.o timeval.o base64.o hostip.o progress.o \
98 formdata.o upload.o cookie.o http.o sendf.o ftp.o url.o dict.o if2ip.o \
99 speedcheck.o getdate.o download.o ldap.o ssluse.o version.o getenv.o \
100 escape.o mprintf.o telnet.o getpass.o netrc.o
101 AR = ar
102 CFLAGS = -g -O2
103 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
104 CCLD = $(CC)
105 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
106 DIST_COMMON = Makefile.am Makefile.in
109 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
111 TAR = tar
112 GZIP_ENV = --best
113 SOURCES = $(libcurl_a_SOURCES)
114 OBJECTS = $(libcurl_a_OBJECTS)
116 all: all-redirect
117 .SUFFIXES:
118 .SUFFIXES: .S .c .o .s
119 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
120 cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps lib/Makefile
122 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
123 cd $(top_builddir) \
124 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
127 mostlyclean-noinstLIBRARIES:
129 clean-noinstLIBRARIES:
130 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
132 distclean-noinstLIBRARIES:
134 maintainer-clean-noinstLIBRARIES:
136 .c.o:
137 $(COMPILE) -c $<
139 .s.o:
140 $(COMPILE) -c $<
142 .S.o:
143 $(COMPILE) -c $<
145 mostlyclean-compile:
146 -rm -f *.o core *.core
148 clean-compile:
150 distclean-compile:
151 -rm -f *.tab.c
153 maintainer-clean-compile:
155 libcurl.a: $(libcurl_a_OBJECTS) $(libcurl_a_DEPENDENCIES)
156 -rm -f libcurl.a
157 $(AR) cru libcurl.a $(libcurl_a_OBJECTS) $(libcurl_a_LIBADD)
158 $(RANLIB) libcurl.a
160 tags: TAGS
162 ID: $(HEADERS) $(SOURCES) $(LISP)
163 list='$(SOURCES) $(HEADERS)'; \
164 unique=`for i in $$list; do echo $$i; done | \
165 awk ' { files[$$0] = 1; } \
166 END { for (i in files) print i; }'`; \
167 here=`pwd` && cd $(srcdir) \
168 && mkid -f$$here/ID $$unique $(LISP)
170 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
171 tags=; \
172 here=`pwd`; \
173 list='$(SOURCES) $(HEADERS)'; \
174 unique=`for i in $$list; do echo $$i; done | \
175 awk ' { files[$$0] = 1; } \
176 END { for (i in files) print i; }'`; \
177 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
178 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
180 mostlyclean-tags:
182 clean-tags:
184 distclean-tags:
185 -rm -f TAGS ID
187 maintainer-clean-tags:
189 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
191 subdir = lib
193 distdir: $(DISTFILES)
194 @for file in $(DISTFILES); do \
195 d=$(srcdir); \
196 if test -d $$d/$$file; then \
197 cp -pr $$/$$file $(distdir)/$$file; \
198 else \
199 test -f $(distdir)/$$file \
200 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
201 || cp -p $$d/$$file $(distdir)/$$file || :; \
202 fi; \
203 done
204 info-am:
205 info: info-am
206 dvi-am:
207 dvi: dvi-am
208 check-am: all-am
209 check: check-am
210 installcheck-am:
211 installcheck: installcheck-am
212 install-exec-am:
213 install-exec: install-exec-am
215 install-data-am:
216 install-data: install-data-am
218 install-am: all-am
219 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
220 install: install-am
221 uninstall-am:
222 uninstall: uninstall-am
223 all-am: Makefile $(LIBRARIES)
224 all-redirect: all-am
225 install-strip:
226 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
227 installdirs:
230 mostlyclean-generic:
232 clean-generic:
234 distclean-generic:
235 -rm -f Makefile $(CONFIG_CLEAN_FILES)
236 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
238 maintainer-clean-generic:
239 mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
240 mostlyclean-tags mostlyclean-generic
242 mostlyclean: mostlyclean-am
244 clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
245 mostlyclean-am
247 clean: clean-am
249 distclean-am: distclean-noinstLIBRARIES distclean-compile \
250 distclean-tags distclean-generic clean-am
252 distclean: distclean-am
254 maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
255 maintainer-clean-compile maintainer-clean-tags \
256 maintainer-clean-generic distclean-am
257 @echo "This command is intended for maintainers to use;"
258 @echo "it deletes files that may require special tools to rebuild."
260 maintainer-clean: maintainer-clean-am
262 .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
263 clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
264 mostlyclean-compile distclean-compile clean-compile \
265 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
266 clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
267 check-am installcheck-am installcheck install-exec-am install-exec \
268 install-data-am install-data install-am install uninstall-am uninstall \
269 all-redirect all-am all installdirs mostlyclean-generic \
270 distclean-generic clean-generic maintainer-clean-generic clean \
271 mostlyclean distclean maintainer-clean
274 # Say $(srcdir), so GNU make does not report an ambiguity with the .y.c rule.
275 $(srcdir)/getdate.c: getdate.y
276 cd $(srcdir) && \
277 $(YACC) $(YFLAGS) getdate.y; \
278 mv -f y.tab.c getdate.c
280 # Tell versions [3.59,3.63) of GNU make to not export all variables.
281 # Otherwise a system limit (for SysV at least) may be exceeded.
282 .NOEXPORT: