ftbfs
[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   reclaim-attribute \
17   reclaim
18 if HAVE_ABE
19  EXP_DIR += \
20   abe
21 endif
22 if HAVE_JSON
23  EXP_DIR += \
24   auction
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_SQLITE
48  SQLITE_DIR = sq
49 endif
50
51 if HAVE_MYSQL
52  MYSQL_DIR = mysql my
53 endif
54
55 if HAVE_POSTGRESQL
56  POSTGRES_DIR = pq
57 endif
58
59 if HAVE_MHD
60 if HAVE_JSON
61  REST_DIR = rest
62 endif
63 endif
64
65
66 if TALER_ONLY
67 SUBDIRS = \
68  include \
69  util
70 else
71
72 SUBDIRS = \
73   include $(INTLEMU_SUBDIRS) \
74   util \
75   nt \
76   gnsrecord \
77   hello \
78   block \
79   statistics \
80   arm \
81   $(TESTING) \
82   $(JSON_DIR) \
83   $(REST_DIR) \
84   peerinfo \
85   $(SQLITE_DIR) \
86   $(MYSQL_DIR) \
87   $(POSTGRES_DIR) \
88   datacache \
89   datastore \
90   template \
91   peerstore \
92   ats \
93   nat \
94   nat-auto \
95   fragmentation \
96   transport \
97   ats-tool \
98   peerinfo-tool \
99   core \
100   $(TESTBED) \
101   $(ATS_TESTS) \
102   nse \
103   dht \
104   hostlist \
105   topology \
106   regex \
107   dns \
108   identity \
109   namecache \
110   namestore \
111   cadet \
112   set \
113   consensus \
114   scalarproduct \
115   revocation \
116   vpn \
117   gns \
118   zonemaster \
119   $(CONVERSATION_DIR) \
120   fs \
121   exit \
122   pt \
123   secretsharing \
124   $(EXP_DIR) \
125   integration-tests
126
127 endif