error handling
[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_LIBGNURL
32   CURL_DIR = curl
33 else
34 if HAVE_LIBCURL
35   CURL_DIR = curl
36 endif
37 endif
38
39 if BUILD_PULSE_HELPERS
40 CONVERSATION_DIR = conversation
41 else
42 if BUILD_GST_HELPERS
43 CONVERSATION_DIR = conversation
44 endif
45 endif
46
47 if HAVE_SQLITE
48  SQLITE_DIR = sq
49 endif
50
51 if HAVE_MYSQL
52  MYSQL_DIR = mysql my
53 endif
54
55 if HAVE_POSTGRESQL
56  POSTGRES_DIR = pq
57 endif
58
59 if HAVE_MHD
60 if HAVE_JSON
61  REST_DIR = rest
62  RECLAIM_DIR = \
63   reclaim
64 endif
65 endif
66
67
68 SUBDIRS = \
69   include $(INTLEMU_SUBDIRS) \
70   util \
71   nt \
72   gnsrecord \
73   hello \
74   block \
75   statistics \
76   arm \
77   $(TESTING) \
78   $(JSON_DIR) \
79   $(CURL_DIR) \
80   $(REST_DIR) \
81   peerinfo \
82   $(SQLITE_DIR) \
83   $(MYSQL_DIR) \
84   $(POSTGRES_DIR) \
85   datacache \
86   datastore \
87   template \
88   peerstore \
89   ats \
90   nat \
91   nat-auto \
92   fragmentation \
93   transport \
94   ats-tool \
95   peerinfo-tool \
96   core \
97   $(TESTBED) \
98   $(ATS_TESTS) \
99   nse \
100   dht \
101   hostlist \
102   topology \
103   regex \
104   dns \
105   identity \
106   namecache \
107   namestore \
108   cadet \
109   set \
110   consensus \
111   scalarproduct \
112   revocation \
113   vpn \
114   gns \
115   zonemaster \
116   $(CONVERSATION_DIR) \
117   fs \
118   exit \
119   pt \
120   secretsharing \
121   $(RECLAIM_DIR) \
122   $(EXP_DIR) \
123   integration-tests