6925788d54a71d1c49d0b6c43f67e180dbbd01ac
[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 endif
12
13 if HAVE_EXPERIMENTAL
14  EXP_DIR = \
15   dv \
16   rps \
17   $(CONSENSUS) \
18   $(SECRETSHARING)
19
20 endif
21
22 if HAVE_JSON
23 if HAVE_MHD
24   PROVIDER_DIR = identity-provider
25 endif
26 endif
27
28 if HAVE_JSON
29   JSON_DIR = json
30 if HAVE_LIBGNURL
31   JSON_DIR += curl
32 else
33 if HAVE_LIBCURL
34   JSON_DIR += curl
35 endif
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_MYSQL
48  MYSQL_DIR = mysql my
49 endif
50
51 if HAVE_POSTGRESQL
52  POSTGRES_DIR = pq postgres
53 endif
54
55 if HAVE_MHD
56  REST_DIR = rest
57 if HAVE_JSON
58  JSONAPI_DIR = jsonapi
59 endif
60 endif
61
62 if TALER_ONLY
63 SUBDIRS = \
64  include \
65  util
66 else
67
68 SUBDIRS = \
69   include $(INTLEMU_SUBDIRS) \
70   util \
71   $(JSON_DIR) \
72   $(REST_DIR) \
73   $(JSONAPI_DIR) \
74   hello \
75   tun \
76   block \
77   statistics \
78   arm \
79   $(TESTING) \
80   peerinfo \
81   $(MYSQL_DIR) \
82   $(POSTGRES_DIR) \
83   datacache \
84   datastore \
85   template \
86   ats \
87   nat \
88   fragmentation \
89   transport \
90   ats-tool \
91   peerinfo-tool \
92   core \
93   $(TESTBED) \
94   ats-tests \
95   nse \
96   dht \
97   hostlist \
98   topology \
99   regex \
100   dns \
101   identity \
102   gnsrecord \
103   namecache \
104   namestore \
105   peerstore \
106   cadet \
107   set \
108   scalarproduct \
109   revocation \
110   vpn \
111   gns \
112   zonemaster \
113   $(CONVERSATION_DIR) \
114   fs \
115   exit \
116   pt \
117   integration-tests \
118   multicast \
119   psycutil \
120   psycstore \
121   psyc \
122   social \
123   $(EXP_DIR) \
124   $(PROVIDER_DIR)
125
126 endif