File: Makefile.am

package info (click to toggle)
libquvi 0.2.0-1.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,284 kB
  • ctags: 491
  • sloc: sh: 11,898; ansic: 2,864; makefile: 202; perl: 187
file content (54 lines) | stat: -rw-r--r-- 800 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

if HAVE_GNU_LD
EXTRA_LIBQUVI_LDFLAGS += -Wl,--version-script=$(top_srcdir)/libquvi.ver
endif

src = \
quvi.c \
util.c \
curl_wrap.c \
lua_wrap.c \
strepl.c \
llst.c

if NO_ASPRINTF
src += vasprintf.c asprintf.c
endif

if NO_STRUPR
src += strupr.c
endif

if NO_STRTOK_R
src += strtok_r.c
endif

hdr = \
curl_wrap.h \
lua_wrap.h \
internal.h \
util.h \
platform.h \
llst.h

lib_LTLIBRARIES = libquvi.la
libquvi_la_SOURCES = $(src) $(hdr)

libquvi_la_CFLAGS = \
-I$(top_builddir)/include \
-DDATADIR='"$(datadir)"' \
-DPKGDATADIR='"$(pkgdatadir)"' \
$(libcurl_CFLAGS) \
$(libpcre_CFLAGS) \
$(liblua_CFLAGS)

libquvi_la_LDFLAGS = \
$(libcurl_LIBS) \
$(libpcre_LIBS) \
$(liblua_LIBS) \
$(LIBICONV) \
$(LTLIBICONV) \
-version-info $(QUVI_CURRENT):$(QUVI_REVISION):$(QUVI_AGE) \
$(EXTRA_LIBQUVI_LDFLAGS)