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