add attestation API
[oweals/gnunet.git] / src / Makefile.am
index 09d1761001a924e1e7bbd157c94666116e3e2972..7b73a4bb8f686ed8250bdc2d77c28127758d5235 100644 (file)
@@ -24,13 +24,15 @@ endif
 endif
 
 if HAVE_JSON
+if HAVE_MHD
   JSON_DIR = json
+endif
+endif
 if HAVE_LIBGNURL
-  JSON_DIR += curl
+  CURL_DIR = curl
 else
 if HAVE_LIBCURL
-  JSON_DIR += curl
-endif
+  CURL_DIR = curl
 endif
 endif
 
@@ -64,12 +66,6 @@ endif
 endif
 
 
-if TALER_ONLY
-SUBDIRS = \
- include \
- util
-else
-
 SUBDIRS = \
   include $(INTLEMU_SUBDIRS) \
   util \
@@ -81,6 +77,7 @@ SUBDIRS = \
   arm \
   $(TESTING) \
   $(JSON_DIR) \
+  $(CURL_DIR) \
   $(REST_DIR) \
   peerinfo \
   $(SQLITE_DIR) \
@@ -125,5 +122,3 @@ SUBDIRS = \
   $(RECLAIM_DIR) \
   $(EXP_DIR) \
   integration-tests
-
-endif