update velocity always at the end of iteration
[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 if HAVE_LIBGNURL
10 LIB_GNURL=@LIBGNURL@
11 CPP_GNURL=@LIBGNURL_CPPFLAGS@
12 else
13 if HAVE_LIBCURL
14 LIB_GNURL=@LIBCURL@
15 CPP_GNURL=@LIBCURL_CPPFLAGS@
16 endif
17 endif
18
19 lib_LTLIBRARIES = \
20   libgnunetcurl.la
21
22 libgnunetcurl_la_LDFLAGS = \
23   -version-info 0:0:0 \
24   -no-undefined
25 libgnunetcurl_la_SOURCES = \
26   curl.c \
27   curl_reschedule.c
28 libgnunetcurl_la_LIBADD = \
29   $(top_builddir)/src/util/libgnunetutil.la \
30   -ljansson \
31   $(LIB_GNURL) \
32   $(XLIB)
33 libgnunetcurl_la_CPPFLAGS = \
34  $(CPP_GNURL) $(AM_CPPFLAGS)
35
36 #check_PROGRAMS = \
37 #  test_curl
38
39 #TESTS = \
40 #  $(check_PROGRAMS)
41
42 #test_curl_SOURCES = \
43 #  test_curl.c
44 #test_curl_LDADD = \
45 #  libgnunetcurl.la \
46 #  $(top_builddir)/src/util/libgnunetutil.la \
47 #  -ljansson -lcurl