spell out message types more, use correct conversion direction
[oweals/gnunet.git] / src / rest / Makefile.am
index 00021cce23e1bb3cca932f7db615faf04de0bf04..c0feb9122d014818c4f2a28e199feb2f18c04d2b 100644 (file)
@@ -20,12 +20,26 @@ if USE_COVERAGE
   XLIBS = -lgcov
 endif
 
+lib_LTLIBRARIES = \
+       libgnunetrest.la 
+
 libexec_PROGRAMS = \
  gnunet-rest-server
 
+
 gnunet_rest_server_SOURCES = \
  gnunet-rest-server.c
 
 gnunet_rest_server_LDADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
   $(GN_LIBINTL) -lmicrohttpd
+
+libgnunetrest_la_SOURCES = \
+  rest.c
+libgnunetrest_la_LIBADD = \
+  $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
+  $(GN_LIBINTL) -lmicrohttpd 
+libgnunetrest_la_LDFLAGS = \
+  $(GN_LIB_LDFLAGS) \
+  -version-info 0:0:0
+