2
# $Id: Makefile.am,v 1.36 2002/03/06 22:19:16 bagder Exp $
5
AUTOMAKE_OPTIONS = foreign nostdinc
7
EXTRA_DIST = getdate.y \
8
Makefile.b32 Makefile.b32.resp Makefile.m32 Makefile.vc6 \
9
libcurl.def dllinit.c curllib.dsp curllib.dsw \
10
config-vms.h config-win32.h config-riscos.h config-mac.h \
13
lib_LTLIBRARIES = libcurl.la
15
# we use srcdir/include for the static global include files
16
# we use builddir/lib for the generated lib/config.h file to get found
17
# we use srcdir/lib for the lib-private header files
18
INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/lib -I$(top_srcdir)/lib
20
libcurl_la_LDFLAGS = -no-undefined -version-info 2:2:0
21
# This flag accepts an argument of the form current[:revision[:age]]. So,
22
# passing -version-info 3:12:1 sets current to 3, revision to 12, and age to
25
# If either revision or age are omitted, they default to 0. Also note that age
26
# must be less than or equal to the current interface number.
28
# Here are a set of rules to help you update your library version information:
30
# 1.Start with version information of 0:0:0 for each libtool library.
32
# 2.Update the version information only immediately before a public release of
33
# your software. More frequent updates are unnecessary, and only guarantee
34
# that the current interface number gets larger faster.
36
# 3.If the library source code has changed at all since the last update, then
37
# increment revision (c:r:a becomes c:r+1:a).
39
# 4.If any interfaces have been added, removed, or changed since the last
40
# update, increment current, and set revision to 0.
42
# 5.If any interfaces have been added since the last public release, then
45
# 6.If any interfaces have been removed since the last public release, then
49
libcurl_la_SOURCES = \
50
arpa_telnet.h file.c getpass.h netrc.h timeval.c \
51
base64.c file.h hostip.c progress.c timeval.h \
52
base64.h formdata.c hostip.h progress.h \
53
cookie.c formdata.h http.c sendf.c \
54
cookie.h ftp.c http.h sendf.h url.c \
55
dict.c ftp.h if2ip.c speedcheck.c url.h \
56
dict.h getdate.c if2ip.h speedcheck.h urldata.h \
57
getdate.h ldap.c ssluse.c version.c \
58
getenv.c ldap.h ssluse.h \
59
escape.c mprintf.c telnet.c \
60
escape.h getpass.c netrc.c telnet.h \
61
getinfo.c getinfo.h transfer.c strequal.c strequal.h easy.c \
62
security.h security.c krb4.c krb4.h memdebug.c memdebug.h inet_ntoa_r.h \
63
http_chunks.c http_chunks.h strtok.c strtok.h connect.c connect.h \
64
llist.c llist.h hash.c hash.h multi.c multi.h
67
noinst_HEADERS = setup.h transfer.h
69
# Say $(srcdir), so GNU make does not report an ambiguity with the .y.c rule.
70
$(srcdir)/getdate.c: getdate.y
72
$(YACC) $(YFLAGS) getdate.y; \
73
mv -f y.tab.c getdate.c