support compatibility mode for DNS names in gnunet-gns
[oweals/gnunet.git] / src / Makefile.am
index 11e260e5af51a5e880e273314943bd41726d0b24..09d1761001a924e1e7bbd157c94666116e3e2972 100644 (file)
+# This Makefile.am is in the public domain
 #if WANT_FRAMEWORK
 #  INTLEMU_SUBDIRS = intlemu
 #endif
 
+if HAVE_TESTING
+ TESTING = testing
+ TESTBED = testbed-logger testbed
+ ATS_TESTS = ats-tests
+endif
+
 if HAVE_EXPERIMENTAL
- EXP_DIR = fs chat consensus dv 
+ EXP_DIR = \
+  rps \
+  abd
+if HAVE_ABE
+ EXP_DIR += \
+  abe
+endif
+if HAVE_JSON
+ EXP_DIR += \
+  auction
+endif
+endif
+
+if HAVE_JSON
+  JSON_DIR = json
+if HAVE_LIBGNURL
+  JSON_DIR += curl
+else
+if HAVE_LIBCURL
+  JSON_DIR += curl
+endif
+endif
 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_SQLITE
+ SQLITE_DIR = sq
 endif
 
 if HAVE_MYSQL
- MYSQL_DIR = mysql
+ MYSQL_DIR = mysql my
 endif
 
-if HAVE_POSTGRES
- POSTGRES_DIR = postgres
+if HAVE_POSTGRESQL
+ POSTGRES_DIR = pq
 endif
 
+if HAVE_MHD
+if HAVE_JSON
+ REST_DIR = rest
+ RECLAIM_DIR = \
+  reclaim-attribute \
+  reclaim
+endif
+endif
+
+
+if TALER_ONLY
+SUBDIRS = \
+ include \
+ util
+else
 
 SUBDIRS = \
   include $(INTLEMU_SUBDIRS) \
   util \
+  nt \
+  gnsrecord \
   hello \
-  tun \
   block \
   statistics \
   arm \
-  testing \
+  $(TESTING) \
+  $(JSON_DIR) \
+  $(REST_DIR) \
   peerinfo \
+  $(SQLITE_DIR) \
   $(MYSQL_DIR) \
   $(POSTGRES_DIR) \
   datacache \
   datastore \
-  namestore \
   template \
+  peerstore \
   ats \
   nat \
+  nat-auto \
   fragmentation \
   transport \
   ats-tool \
   peerinfo-tool \
   core \
-  testbed \
+  $(TESTBED) \
+  $(ATS_TESTS) \
   nse \
   dht \
   hostlist \
   topology \
   regex \
-  mesh \
-  lockmanager \
-  stream \
-  $(LINUX_DIR) \
-  $(MINGW_DIR) \
-  integration-tests \
-  $(EXP_DIR) 
+  dns \
+  identity \
+  namecache \
+  namestore \
+  cadet \
+  set \
+  consensus \
+  scalarproduct \
+  revocation \
+  vpn \
+  gns \
+  zonemaster \
+  $(CONVERSATION_DIR) \
+  fs \
+  exit \
+  pt \
+  secretsharing \
+  $(RECLAIM_DIR) \
+  $(EXP_DIR) \
+  integration-tests
+
+endif