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