9867ba6341d9747aea5edb3a24cdc597b450e3bc
[oweals/gnunet.git] / src / curl / Makefile.am
1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
3
4 if USE_COVERAGE
5   AM_CFLAGS = --coverage -O0
6   XLIB = -lgcov
7 endif
8
9 lib_LTLIBRARIES = \
10   libgnunetcurl.la
11
12 libgnunetcurl_la_LDFLAGS = \
13   -version-info 0:0:0 \
14   -no-undefined
15 libgnunetcurl_la_SOURCES = \
16   curl.c
17 libgnunetcurl_la_LIBADD = \
18   $(top_builddir)/src/util/libgnunetutil.la \
19   -ljansson \
20   -lcurl \
21   $(XLIB)
22
23 #check_PROGRAMS = \
24 #  test_curl
25
26 #TESTS = \
27 #  $(check_PROGRAMS)
28
29 #test_curl_SOURCES = \
30 #  test_curl.c
31 #test_curl_LDADD = \
32 #  libgnunetcurl.la \
33 #  $(top_builddir)/src/util/libgnunetutil.la \
34 #  -ljansson -lcurl