- rename
[oweals/gnunet.git] / src / Makefile.am
index 1616c9cb3238760c9f9651b5722a10dfa70c3698..44ee035556845ec405cb65abb1bf59aad0c5b08a 100644 (file)
@@ -2,16 +2,40 @@
 #  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 consensus dv sysmon
+ 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 gns pt
+
+if BUILD_PULSE_HELPERS
+CONVERSATION_DIR = conversation
+else
+if BUILD_GST_HELPERS
+CONVERSATION_DIR = conversation
 endif
-if MINGW
- MINGW_DIR = dns gns vpn exit
 endif
 
 if HAVE_MYSQL
@@ -22,7 +46,6 @@ if HAVE_POSTGRES
  POSTGRES_DIR = postgres
 endif
 
-
 SUBDIRS = \
   include $(INTLEMU_SUBDIRS) \
   util \
@@ -31,13 +54,12 @@ SUBDIRS = \
   block \
   statistics \
   arm \
-  testing \
+  $(TESTING) \
   peerinfo \
   $(MYSQL_DIR) \
   $(POSTGRES_DIR) \
   datacache \
   datastore \
-  namestore \
   template \
   ats \
   nat \
@@ -46,17 +68,26 @@ SUBDIRS = \
   ats-tool \
   peerinfo-tool \
   core \
-  testbed \
+  $(TESTBED) \
+  ats-tests \
   nse \
   dht \
   hostlist \
   topology \
   regex \
-  mesh \
-  lockmanager \
-  stream \
+  cadet \
+  dns \
+  identity \
+  set \
+  revocation \
+  gnsrecord \
+  namecache \
+  namestore \
+  vpn \
+  gns \
+  $(CONVERSATION_DIR) \
   fs \
-  $(LINUX_DIR) \
-  $(MINGW_DIR) \
+  exit \
+  pt \
   integration-tests \
-  $(EXP_DIR) 
+  $(EXP_DIR)