-simplify
[oweals/gnunet.git] / src / Makefile.am
index d89e4ca09f07cfd4d1034e14b20fe54f652278a8..0d056100e315fc26decb40d6489500c162fc53b6 100644 (file)
@@ -2,27 +2,61 @@
 #  INTLEMU_SUBDIRS = intlemu
 #endif
 
+if HAVE_EXPERIMENTAL
+ EXP_DIR = gns chat consensus dv set experimentation
+endif
 
-if HAVE_MHD
- HOSTLIST_DIR = hostlist
+if LINUX
+# All of these currently only work on GNU/Linux
+ LINUX_DIR = dns exit vpn pt
+endif
+if MINGW
+ MINGW_DIR = dns vpn exit
 endif
 
+if HAVE_MYSQL
+ MYSQL_DIR = mysql
+endif
+
+if HAVE_POSTGRES
+ POSTGRES_DIR = postgres
+endif
+
+
 SUBDIRS = \
   include $(INTLEMU_SUBDIRS) \
   util \
-  arm \
-  fragmentation \
   hello \
-  nat \
-  peerinfo \
+  tun \
+  block \
   statistics \
+  arm \
+  testing \
+  peerinfo \
+  $(MYSQL_DIR) \
+  $(POSTGRES_DIR) \
   datacache \
   datastore \
+  namestore \
   template \
+  ats \
+  nat \
+  fragmentation \
   transport \
+  ats-tool \
+  peerinfo-tool \
   core \
-  testing \
-  $(HOSTLIST_DIR) \
+  testbed \
+  nse \
+  dht \
+  hostlist \
   topology \
-  fs
-
+  regex \
+  mesh \
+  lockmanager \
+  stream \ 
+  fs \
+  $(LINUX_DIR) \
+  $(MINGW_DIR) \
+  integration-tests \
+  $(EXP_DIR)