Manual: Add stdin note, example
[quvi.git] / lib / Makefile.am
blobb8c29ef8b2ce1c6beddebe97425a1025fc95c1f1
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 hdr = \
19     curl_wrap.h \
20     lua_wrap.h \
21     internal.h \
22     util.h \
23     platform.h \
24     llst.h
26 lib_LTLIBRARIES = libquvi.la
27 libquvi_la_SOURCES = $(src) $(hdr)
29 libquvi_la_CPPFLAGS = \
30     -I$(top_builddir)/include \
31     -DDATADIR='"$(datadir)"' \
32     -DPKGDATADIR='"$(pkgdatadir)"' \
33     $(libcurl_CFLAGS) \
34     $(liblua_CFLAGS) \
35     $(AM_CPPFLAGS)
37 libquvi_la_CFLAGS = \
38     $(AM_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) \
47     $(AM_LDFLAGS)