blob: af8b640782fb8852f9105b6f4e558696b0539af9 (
plain)
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
|
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include
if USE_COVERAGE
AM_CFLAGS = --coverage -O0
XLIB = -lgcov
endif
if HAVE_LIBGNURL
LIB_GNURL=@LIBGNURL@
CPP_GNURL=@LIBGNURL_CPPFLAGS@
else
if HAVE_LIBCURL
LIB_GNURL=@LIBCURL@
CPP_GNURL=@LIBCURL_CPPFLAGS@
endif
endif
lib_LTLIBRARIES = \
libgnunetcurl.la
libgnunetcurl_la_LDFLAGS = \
-version-info 0:0:0 \
-no-undefined
libgnunetcurl_la_SOURCES = \
curl.c \
curl_reschedule.c
libgnunetcurl_la_LIBADD = \
$(top_builddir)/src/util/libgnunetutil.la \
-ljansson \
$(LIB_GNURL) \
$(XLIB)
libgnunetcurl_la_CPPFLAGS = \
$(CPP_GNURL) $(AM_CPPFLAGS)
#check_PROGRAMS = \
# test_curl
#TESTS = \
# $(check_PROGRAMS)
#test_curl_SOURCES = \
# test_curl.c
#test_curl_LDADD = \
# libgnunetcurl.la \
# $(top_builddir)/src/util/libgnunetutil.la \
# -ljansson -lcurl
|