last XDG change: use GNUNET_RUNTIME_DIR instead of /tmp for UNIXPATHs by default
[oweals/gnunet.git] / src / Makefile.am
index c3cf0836a6cbc3015dadd4a232ddd6b4b1d8172a..8746a47e25a540143ef3f5b51e872112d42af664 100644 (file)
@@ -2,31 +2,81 @@
 #  INTLEMU_SUBDIRS = intlemu
 #endif
 
+if HAVE_TESTING
+ TESTING = testing
+ TESTBED = testbed
+ CONSENSUS = consensus
+ EXPERIMENTATION = experimentation
+ SCALARPRODUCT = scalarproduct
+endif
+
 if HAVE_EXPERIMENTAL
- EXP_DIR = mesh vpn chat
+ EXP_DIR = \
+  multicast \
+  env \
+  psyc \
+  $(CONSENSUS) \
+  $(EXPERIMENTATION)
+  # NOTE: scalarproduct is not being listed here yet as the crypto is being reworked at the moment
+endif
+
+
+if HAVE_PULSE
+if HAVE_OPUS
+  CONVERSATION_DIR = conversation
+endif
+endif
+
+if HAVE_MYSQL
+ MYSQL_DIR = mysql
+endif
+
+if HAVE_POSTGRES
+ POSTGRES_DIR = postgres
 endif
 
 SUBDIRS = \
   include $(INTLEMU_SUBDIRS) \
   util \
   hello \
+  tun \
   block \
   statistics \
   arm \
+  $(TESTING) \
   peerinfo \
+  $(MYSQL_DIR) \
+  $(POSTGRES_DIR) \
   datacache \
   datastore \
   template \
+  ats \
   nat \
   fragmentation \
   transport \
+  ats-tool \
   peerinfo-tool \
   core \
-  testing \
+  $(TESTBED) \
+  ats-tests \
   nse \
-  dv \
   dht \
   hostlist \
   topology \
+  regex \
+  mesh \
+  dns \
+  identity \
+  set \
+  dv \
+  revocation \
+  namestore \
+  vpn \
+  gns \
+  $(CONVERSATION_DIR) \
+  psycstore \
   fs \
-  $(EXP_DIR)
+  exit \
+  pt \
+  integration-tests \
+  $(EXP_DIR)