introduce have_rest; fix warnings
[oweals/gnunet.git] / src / Makefile.am
1 # This Makefile.am is in the public domain
2 #if WANT_FRAMEWORK
3 #  INTLEMU_SUBDIRS = intlemu
4 #endif
5
6 if HAVE_TESTING
7  TESTING = testing
8  TESTBED = testbed-logger testbed
9  ATS_TESTS = ats-tests
10 endif
11
12 if HAVE_EXPERIMENTAL
13  EXP_DIR = \
14   rps \
15   abd
16 if HAVE_ABE
17  EXP_DIR += \
18   abe
19 endif
20 if HAVE_JSON
21  EXP_DIR += \
22   auction
23 endif
24 endif
25
26 if HAVE_JSON
27 if HAVE_MHD
28   JSON_DIR = json
29 endif
30 endif
31 if HAVE_MHD
32 if HAVE_LIBGNURL
33   CURL_DIR = curl
34 else
35 if HAVE_LIBCURL
36   CURL_DIR = curl
37 endif
38 endif
39 endif
40
41 if BUILD_PULSE_HELPERS
42 CONVERSATION_DIR = conversation
43 else
44 if BUILD_GST_HELPERS
45 CONVERSATION_DIR = conversation
46 endif
47 endif
48
49 if HAVE_SQLITE
50  SQLITE_DIR = sq
51 endif
52
53 if HAVE_MYSQL
54  MYSQL_DIR = mysql my
55 endif
56
57 if HAVE_POSTGRESQL
58  POSTGRES_DIR = pq
59 endif
60
61 if HAVE_REST
62  REST_DIR = rest
63 endif
64
65
66 SUBDIRS = \
67   include $(INTLEMU_SUBDIRS) \
68   util \
69   nt \
70   gnsrecord \
71   hello \
72   block \
73   statistics \
74   arm \
75   $(TESTING) \
76   $(JSON_DIR) \
77   $(CURL_DIR) \
78   $(REST_DIR) \
79   peerinfo \
80   $(SQLITE_DIR) \
81   $(MYSQL_DIR) \
82   $(POSTGRES_DIR) \
83   datacache \
84   datastore \
85   template \
86   peerstore \
87   ats \
88   nat \
89   nat-auto \
90   fragmentation \
91   transport \
92   ats-tool \
93   peerinfo-tool \
94   core \
95   $(TESTBED) \
96   $(ATS_TESTS) \
97   nse \
98   dht \
99   hostlist \
100   topology \
101   regex \
102   dns \
103   identity \
104   namecache \
105   namestore \
106   cadet \
107   set \
108   consensus \
109   scalarproduct \
110   revocation \
111   vpn \
112   gns \
113   zonemaster \
114   $(CONVERSATION_DIR) \
115   fs \
116   exit \
117   pt \
118   secretsharing \
119   reclaim \
120   $(EXP_DIR) \
121   integration-tests