- rename
[oweals/gnunet.git] / src / Makefile.am
index c3474d5d9bb6134b50014454fdd0e99e995e0c53..44ee035556845ec405cb65abb1bf59aad0c5b08a 100644 (file)
@@ -2,15 +2,49 @@
 #  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 gns stream
+ EXP_DIR = \
+  dv \
+  multicast \
+  env \
+  psycstore \
+  psyc \
+  social \
+  $(CONSENSUS) \
+  $(SECRETSHARING) \
+  $(SCALARPRODUCT) \
+  $(EXPERIMENTATION) \
+  $(PEERSTORE) \
+  $(SENSOR)
 endif
 
-if LINUX
-# All of these currently only work on GNU/Linux
- LINUX_DIR = dns 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) \
@@ -20,24 +54,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 \
+  regex \
+  cadet \
+  dns \
+  identity \
+  set \
+  revocation \
+  gnsrecord \
+  namecache \
+  namestore \
+  vpn \
+  gns \
+  $(CONVERSATION_DIR) \
   fs \
-  mesh \
-  $(LINUX_DIR) \
+  exit \
+  pt \
   integration-tests \
-  $(EXP_DIR) 
+  $(EXP_DIR)