merge conflict resolution
[oweals/gnunet.git] / src / rest / Makefile.am
1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
3
4 plugindir = $(libdir)/gnunet
5
6 pkgcfgdir= $(pkgdatadir)/config.d/
7
8 libexecdir= $(pkglibdir)/libexec/
9
10 pkgcfg_DATA = \
11    rest.conf
12
13 if MINGW
14   WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
15 endif
16
17 if USE_COVERAGE
18   AM_CFLAGS = --coverage -O0
19   XLIBS = -lgcov
20 endif
21
22 lib_LTLIBRARIES = \
23   libgnunetrest.la 
24
25 libexec_PROGRAMS = \
26  gnunet-rest-server
27
28 plugin_LTLIBRARIES = libgnunet_plugin_rest_copying.la 
29
30 EXTRA_DIST = \
31  rest.conf
32
33 libgnunet_plugin_rest_copying_la_SOURCES = \
34   plugin_rest_copying.c
35 libgnunet_plugin_rest_copying_la_LIBADD = \
36   libgnunetrest.la \
37   $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
38   $(LTLIBINTL) -lmicrohttpd
39 libgnunet_plugin_rest_copying_la_LDFLAGS = \
40  $(GN_PLUGIN_LDFLAGS)
41
42
43
44 gnunet_rest_server_SOURCES = \
45  gnunet-rest-server.c
46
47 gnunet_rest_server_LDADD = \
48   $(top_builddir)/src/util/libgnunetutil.la \
49   $(GN_LIBINTL) -lmicrohttpd
50
51 libgnunetrest_la_SOURCES = \
52   rest.c
53 libgnunetrest_la_LIBADD = \
54   $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
55   $(GN_LIBINTL) -lmicrohttpd 
56 libgnunetrest_la_LDFLAGS = \
57   $(GN_LIB_LDFLAGS) \
58   -version-info 0:0:0
59