Extend quvi.fetch to allow setting user-agent [11]
[quvi.git] / lib / Makefile.am
blobae6b5b23fe4fc2b9bd65449681b0c6c2782cd368
2 if HAVE_GNU_LD
3 EXTRA_LIBQUVI_LDFLAGS += -Wl,--version-script=$(top_srcdir)/libquvi.ver
4 endif
6 src = \
7 quvi.c \
8 util.c \
9 curl_wrap.c \
10 lua_wrap.c \
11 strepl.c \
12 llst.c
14 if NO_ASPRINTF
15 src += vasprintf.c asprintf.c
16 endif
18 if NO_STRUPR
19 src += strupr.c
20 endif
22 hdr = \
23 curl_wrap.h \
24 lua_wrap.h \
25 internal.h \
26 util.h \
27 platform.h \
28 llst.h
30 lib_LTLIBRARIES = libquvi.la
31 libquvi_la_SOURCES = $(src) $(hdr)
33 libquvi_la_CFLAGS = \
34 -I$(top_builddir)/include \
35 -DDATADIR='"$(datadir)"' \
36 -DPKGDATADIR='"$(pkgdatadir)"' \
37 $(libcurl_CFLAGS) \
38 $(liblua_CFLAGS)
40 libquvi_la_LDFLAGS = \
41 $(libcurl_LIBS) \
42 $(liblua_LIBS) \
43 $(LIBICONV) \
44 $(LTLIBICONV) \
45 -version-info $(QUVI_CURRENT):$(QUVI_REVISION):$(QUVI_AGE) \
46 $(EXTRA_LIBQUVI_LDFLAGS)