fix compiler warnings
[oweals/gnunet.git] / src / Makefile.am
index 0aa1ec4d1cdde60cbd29d97959c32356a998ddf5..98ca70ae3254aaac9fbf570cdc26c06ac3a59e1f 100644 (file)
@@ -1,28 +1,40 @@
+# This Makefile.am is in the public domain
 #if WANT_FRAMEWORK
 #  INTLEMU_SUBDIRS = intlemu
 #endif
 
 if HAVE_TESTING
  TESTING = testing
- TESTBED = testbed
+ TESTBED = testbed-logger testbed
  CONSENSUS = consensus
  SECRETSHARING = secretsharing
- EXPERIMENTATION = experimentation
 endif
 
 if HAVE_EXPERIMENTAL
  EXP_DIR = \
   dv \
-  scalarproduct \
-  multicast \
-  env \
-  psycstore \
-  psyc \
+  rps \
   $(CONSENSUS) \
-  $(SECRETSHARING) \
-  $(EXPERIMENTATION)
+  $(SECRETSHARING)
+
+endif
+
+if HAVE_JSON
+if HAVE_MHD
+  PROVIDER_DIR = identity-provider
+endif
 endif
 
+if HAVE_JSON
+  JSON_DIR = json
+if HAVE_LIBGNURL
+  JSON_DIR += curl
+else
+if HAVE_LIBCURL
+  JSON_DIR += curl
+endif
+endif
+endif
 
 if BUILD_PULSE_HELPERS
 CONVERSATION_DIR = conversation
@@ -33,16 +45,32 @@ endif
 endif
 
 if HAVE_MYSQL
- MYSQL_DIR = mysql
+ MYSQL_DIR = mysql my
+endif
+
+if HAVE_POSTGRESQL
+ POSTGRES_DIR = pq postgres
 endif
 
-if HAVE_POSTGRES
- POSTGRES_DIR = postgres
+if HAVE_MHD
+ REST_DIR = rest
+if HAVE_JSON
+ JSONAPI_DIR = jsonapi
 endif
+endif
+
+if TALER_ONLY
+SUBDIRS = \
+ include \
+ util
+else
 
 SUBDIRS = \
   include $(INTLEMU_SUBDIRS) \
   util \
+  $(JSON_DIR) \
+  $(REST_DIR) \
+  $(JSONAPI_DIR) \
   hello \
   tun \
   block \
@@ -69,14 +97,16 @@ SUBDIRS = \
   hostlist \
   topology \
   regex \
-  mesh \
   dns \
   identity \
-  set \
-  revocation \
   gnsrecord \
   namecache \
   namestore \
+  peerstore \
+  cadet \
+  set \
+  scalarproduct \
+  revocation \
   vpn \
   gns \
   $(CONVERSATION_DIR) \
@@ -84,4 +114,12 @@ SUBDIRS = \
   exit \
   pt \
   integration-tests \
-  $(EXP_DIR)
+  multicast \
+  psycutil \
+  psycstore \
+  psyc \
+  social \
+  $(EXP_DIR) \
+  $(PROVIDER_DIR)
+
+endif