-simplify
[oweals/gnunet.git] / src / Makefile.am
index 9bd75d892a5a1d1e1b4f6ac62dd57b28b456f6f8..0d056100e315fc26decb40d6489500c162fc53b6 100644 (file)
@@ -2,26 +2,61 @@
 #  INTLEMU_SUBDIRS = intlemu
 #endif
 
-if !MINGW
- NAT_DIR = nat
+if HAVE_EXPERIMENTAL
+ EXP_DIR = gns chat consensus dv set experimentation
 endif
 
+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 \
+  hello \
+  tun \
   block \
   statistics \
   arm \
-  hello \
+  testing \
   peerinfo \
+  $(MYSQL_DIR) \
+  $(POSTGRES_DIR) \
   datacache \
   datastore \
+  namestore \
   template \
+  ats \
+  nat \
+  fragmentation \
   transport \
+  ats-tool \
   peerinfo-tool \
   core \
-  testing \
+  testbed \
+  nse \
+  dht \
   hostlist \
   topology \
-  $(NAT_DIR) \
-  fs
+  regex \
+  mesh \
+  lockmanager \
+  stream \ 
+  fs \
+  $(LINUX_DIR) \
+  $(MINGW_DIR) \
+  integration-tests \
+  $(EXP_DIR)