remove 'illegal' (non-reentrant) log logic from signal handler
[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   $(GN_LIBINTL) \
24   -version-info 0:0:0 \
25   -no-undefined
26 libgnunetcurl_la_SOURCES = \
27   curl.c \
28   curl_reschedule.c
29 libgnunetcurl_la_LIBADD = \
30   $(top_builddir)/src/util/libgnunetutil.la \
31   -ljansson \
32   $(LIB_GNURL) \
33   $(XLIB)
34 libgnunetcurl_la_CPPFLAGS = \
35  $(CPP_GNURL) $(AM_CPPFLAGS)
36
37 #check_PROGRAMS = \
38 #  test_curl
39
40 #TESTS = \
41 #  $(check_PROGRAMS)
42
43 #test_curl_SOURCES = \
44 #  test_curl.c
45 #test_curl_LDADD = \
46 #  libgnunetcurl.la \
47 #  $(top_builddir)/src/util/libgnunetutil.la \
48 #  -ljansson -lcurl