91b4daf51f07cd361c1d4328b4a4b489904a3522
[oweals/gnunet.git] / src / Makefile.am
1 #if WANT_FRAMEWORK
2 #  INTLEMU_SUBDIRS = intlemu
3 #endif
4
5 if HAVE_LIBIDN
6  DNS = dns
7  EXIT = exit
8  PT = pt
9 else
10  DNS =
11  EXIT =
12  PT =
13 endif
14
15 if HAVE_EXPERIMENTAL
16  EXP_DIR = gns set dv consensus experimentation
17 endif
18
19 if LINUX
20 # All of these currently only work on GNU/Linux
21  LINUX_DIR = $(DNS) $(EXIT) vpn $(PT)
22 endif
23 if MINGW
24  MINGW_DIR = $(DNS) vpn $(EXIT)
25 endif
26
27 if HAVE_MYSQL
28  MYSQL_DIR = mysql
29 endif
30
31 if HAVE_POSTGRES
32  POSTGRES_DIR = postgres
33 endif
34
35
36 SUBDIRS = \
37   include $(INTLEMU_SUBDIRS) \
38   util \
39   hello \
40   tun \
41   block \
42   statistics \
43   arm \
44   testing \
45   peerinfo \
46   $(MYSQL_DIR) \
47   $(POSTGRES_DIR) \
48   datacache \
49   datastore \
50   namestore \
51   template \
52   ats \
53   nat \
54   fragmentation \
55   transport \
56   ats-tool \
57   peerinfo-tool \
58   core \
59   testbed \
60   nse \
61   dht \
62   hostlist \
63   topology \
64   regex \
65   mesh \
66   lockmanager \
67   stream \
68   fs \
69   $(LINUX_DIR) \
70   $(MINGW_DIR) \
71   integration-tests \
72   $(EXP_DIR)