moved here from the newlib branch
[platform/upstream/curl.git] / lib / Makefile.am
1 #
2 # $Id$
3 #
4
5 AUTOMAKE_OPTIONS = foreign no-dependencies
6
7 noinst_LIBRARIES = libcurl.a
8
9 # Some flags needed when trying to cause warnings ;-)
10 CFLAGS = -g -Wall #-pedantic
11
12 INCLUDES = -I$(top_srcdir)/include
13
14 libcurl_a_SOURCES = \
15 arpa_telnet.h  file.c         getpass.h      netrc.h        timeval.c \
16 base64.c       file.h         hostip.c       progress.c     timeval.h \
17 base64.h       formdata.c     hostip.h       progress.h     \
18 cookie.c       formdata.h     http.c         sendf.c        \
19 cookie.h       ftp.c          http.h         sendf.h        url.c \
20 dict.c         ftp.h          if2ip.c        speedcheck.c   url.h \
21 dict.h         getdate.c      if2ip.h        speedcheck.h   urldata.h \
22 download.c     getdate.h      ldap.c         ssluse.c       version.c \
23 download.h     getenv.c       ldap.h         ssluse.h       \
24 escape.c       getenv.h       mprintf.c      telnet.c       \
25 escape.h       getpass.c      netrc.c        telnet.h       \
26 writeout.c writeout.h highlevel.c strequal.c strequal.h easy.c
27
28 # Say $(srcdir), so GNU make does not report an ambiguity with the .y.c rule.
29 $(srcdir)/getdate.c: getdate.y
30         cd $(srcdir) && \
31           $(YACC) $(YFLAGS) getdate.y; \
32           mv -f y.tab.c getdate.c