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