c6f320ae4542d2581848000a32f5dbbc05bc4cca
[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  CONSENSUS = consensus
10  SECRETSHARING = secretsharing
11  ATS_TESTS = ats-tests
12 endif
13
14 if HAVE_EXPERIMENTAL
15  EXP_DIR = \
16   dv \
17   rps \
18   $(CONSENSUS) \
19   $(SECRETSHARING)
20
21 endif
22
23 if HAVE_JSON
24 if HAVE_MHD
25   PROVIDER_DIR = identity-provider
26 endif
27 endif
28
29 if HAVE_JSON
30   JSON_DIR = json
31 if HAVE_LIBGNURL
32   JSON_DIR += curl
33 else
34 if HAVE_LIBCURL
35   JSON_DIR += curl
36 endif
37 endif
38 endif
39
40 if BUILD_PULSE_HELPERS
41 CONVERSATION_DIR = conversation
42 else
43 if BUILD_GST_HELPERS
44 CONVERSATION_DIR = conversation
45 endif
46 endif
47
48 if HAVE_MYSQL
49  MYSQL_DIR = mysql my
50 endif
51
52 if HAVE_POSTGRESQL
53  POSTGRES_DIR = pq postgres
54 endif
55
56 if HAVE_MHD
57  REST_DIR = rest
58 if HAVE_JSON
59  JSONAPI_DIR = jsonapi
60 endif
61 endif
62
63 if TALER_ONLY
64 SUBDIRS = \
65  include \
66  util
67 else
68
69 SUBDIRS = \
70   include $(INTLEMU_SUBDIRS) \
71   util \
72   $(JSON_DIR) \
73   $(REST_DIR) \
74   $(JSONAPI_DIR) \
75   hello \
76   tun \
77   block \
78   statistics \
79   arm \
80   $(TESTING) \
81   peerinfo \
82   $(MYSQL_DIR) \
83   $(POSTGRES_DIR) \
84   datacache \
85   datastore \
86   template \
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   gnsrecord \
105   namecache \
106   namestore \
107   peerstore \
108   cadet \
109   set \
110   scalarproduct \
111   revocation \
112   vpn \
113   gns \
114   zonemaster \
115   $(CONVERSATION_DIR) \
116   fs \
117   exit \
118   pt \
119   integration-tests \
120   multicast \
121   psycutil \
122   psycstore \
123   psyc \
124   social \
125   auction \
126   $(EXP_DIR) \
127   $(PROVIDER_DIR)
128
129 endif