WIP commit of scalar product 2.0. It is unfinished and does not yet pass tests. This...
[oweals/gnunet.git] / src / Makefile.am
index 06b2aedc47c2cb9b3c85acf90b38b879c0d51bb4..4b63933b82e20a5e854a38c32232429a0eaff404 100644 (file)
@@ -2,19 +2,48 @@
 #  INTLEMU_SUBDIRS = intlemu
 #endif
 
+if HAVE_TESTING
+ TESTING = testing
+ TESTBED = testbed
+ CONSENSUS = consensus
+ SECRETSHARING = secretsharing
+ EXPERIMENTATION = experimentation
+ SCALARPRODUCT = scalarproduct
+ SENSOR = sensor
+ PEERSTORE = peerstore
+endif
+
 if HAVE_EXPERIMENTAL
- EXP_DIR = chat dv stream
+ EXP_DIR = \
+  dv \
+  multicast \
+  env \
+  psycstore \
+  psyc \
+  $(CONSENSUS) \
+  $(SECRETSHARING) \
+  $(SCALARPRODUCT) \
+  $(EXPERIMENTATION) \
+  $(SENSOR) \
+  $(PEERSTORE)
 endif
 
-if LINUX
-# All of these currently only work on GNU/Linux
- LINUX_DIR = dns gns exit vpn pt
+
+if BUILD_PULSE_HELPERS
+CONVERSATION_DIR = conversation
+else
+if BUILD_GST_HELPERS
+CONVERSATION_DIR = conversation
+endif
 endif
 
 if HAVE_MYSQL
  MYSQL_DIR = mysql
 endif
 
+if HAVE_POSTGRES
+ POSTGRES_DIR = postgres
+endif
 
 SUBDIRS = \
   include $(INTLEMU_SUBDIRS) \
@@ -24,25 +53,40 @@ SUBDIRS = \
   block \
   statistics \
   arm \
+  $(TESTING) \
   peerinfo \
   $(MYSQL_DIR) \
+  $(POSTGRES_DIR) \
   datacache \
   datastore \
-  namestore \
   template \
   ats \
   nat \
   fragmentation \
   transport \
+  ats-tool \
   peerinfo-tool \
   core \
-  testing \
+  $(TESTBED) \
+  ats-tests \
   nse \
   dht \
   hostlist \
   topology \
-  fs \
+  regex \
   mesh \
-  $(LINUX_DIR) \
+  dns \
+  identity \
+  set \
+  revocation \
+  gnsrecord \
+  namecache \
+  namestore \
+  vpn \
+  gns \
+  $(CONVERSATION_DIR) \
+  fs \
+  exit \
+  pt \
   integration-tests \
-  $(EXP_DIR) 
+  $(EXP_DIR)