include json dependency
authorMarkus Teich <teichm@fs.tum.de>
Thu, 12 Jan 2017 16:29:25 +0000 (17:29 +0100)
committerMarkus Teich <teichm@fs.tum.de>
Thu, 12 Jan 2017 16:29:25 +0000 (17:29 +0100)
src/Makefile.am
src/auction/Makefile.am
src/auction/gnunet-auction-create.c

index c6f320ae4542d2581848000a32f5dbbc05bc4cca..56f301ac026a4d0f1727d759d45286732ddc5b23 100644 (file)
@@ -60,6 +60,10 @@ if HAVE_JSON
 endif
 endif
 
+if HAVE_JSON
+  AUCTION_DIR = auction
+endif
+
 if TALER_ONLY
 SUBDIRS = \
  include \
@@ -122,7 +126,7 @@ SUBDIRS = \
   psycstore \
   psyc \
   social \
-  auction \
+  $(AUCTION_DIR) \
   $(EXP_DIR) \
   $(PROVIDER_DIR)
 
index 18a3e5604d9fea2a7284b52dcff0766c6ecdbf71..8518244faeb48adce907aaa926805c6fd7809712 100644 (file)
@@ -28,24 +28,28 @@ gnunet_auction_create_SOURCES = \
  gnunet-auction-create.c
 gnunet_auction_create_LDADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
+  -ljansson \
   $(GN_LIBINTL)
 
 gnunet_auction_info_SOURCES = \
  gnunet-auction-info.c
 gnunet_auction_info_LDADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
+  -ljansson \
   $(GN_LIBINTL)
 
 gnunet_auction_join_SOURCES = \
  gnunet-auction-join.c
 gnunet_auction_join_LDADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
+  -ljansson \
   $(GN_LIBINTL)
 
 gnunet_service_auction_SOURCES = \
  gnunet-service-auction.c
 gnunet_service_auction_LDADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
+  -ljansson \
   $(GN_LIBINTL)
 
 
index fae9c13aef5a35949602c057c55f024ea35c85d7..c21e93f2600e540757a9754db6f51464718e4b5f 100644 (file)
@@ -25,6 +25,7 @@
  */
 #include "platform.h"
 #include "gnunet_util_lib.h"
+#include "gnunet_json_lib.h"
 /* #include "gnunet_auction_service.h" */
 
 #define FIRST_PRICE 0