-fixes
[oweals/gnunet.git] / src / Makefile.am
index 36e87f82bd9f9b46b0d17d430eda992214bf3e12..1a4e588261870c2fbb4a55bab98d49412b0a9e19 100644 (file)
@@ -3,9 +3,23 @@
 #endif
 
 if HAVE_EXPERIMENTAL
- EXP_DIR = chat dv 
+ EXP_DIR = chat dv stream regex
 endif
 
+if LINUX
+# All of these currently only work on GNU/Linux
+ LINUX_DIR = dns gns exit vpn pt
+endif
+
+if HAVE_MYSQL
+ MYSQL_DIR = mysql
+endif
+
+if HAVE_POSTGRES
+ POSTGRES_DIR = postgres
+endif
+
+
 SUBDIRS = \
   include $(INTLEMU_SUBDIRS) \
   util \
@@ -15,8 +29,11 @@ SUBDIRS = \
   statistics \
   arm \
   peerinfo \
+  $(MYSQL_DIR) \
+  $(POSTGRES_DIR) \
   datacache \
   datastore \
+  namestore \
   template \
   ats \
   nat \
@@ -31,9 +48,6 @@ SUBDIRS = \
   topology \
   fs \
   mesh \
-  dns \
-  exit \
-  vpn \
-  pt \
+  $(LINUX_DIR) \
   integration-tests \
   $(EXP_DIR)