fix #5829
[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   credential
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_MHD
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 endif
38
39 if HAVE_SQLITE
40  SQLITE_DIR = sq
41 endif
42
43 if HAVE_MYSQL
44  MYSQL_DIR = mysql my
45 endif
46
47 if HAVE_POSTGRESQL
48  POSTGRES_DIR = pq
49 endif
50
51 if HAVE_MHD
52 if HAVE_JSON
53  REST_DIR = rest
54  RECLAIM_DIR = reclaim-attribute reclaim
55 endif
56 endif
57
58
59 if TALER_ONLY
60 SUBDIRS = \
61  include \
62  util
63 else
64
65 SUBDIRS = \
66   include $(INTLEMU_SUBDIRS) \
67   util \
68   nt \
69   gnsrecord \
70   hello \
71   block \
72   statistics \
73   arm \
74   $(TESTING) \
75   $(JSON_DIR) \
76   $(REST_DIR) \
77   peerinfo \
78   $(SQLITE_DIR) \
79   $(MYSQL_DIR) \
80   $(POSTGRES_DIR) \
81   datacache \
82   datastore \
83   template \
84   peerstore \
85   ats \
86   nat \
87   nat-auto \
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   namecache \
103   namestore \
104   cadet \
105   set \
106   consensus \
107   scalarproduct \
108   revocation \
109   vpn \
110   gns \
111   zonemaster \
112   conversation \
113   fs \
114   exit \
115   pt \
116   secretsharing \
117   $(RECLAIM_DIR) \
118   $(EXP_DIR) \
119   integration-tests
120
121 endif