Build peerstore before ats
[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 if HAVE_JSON
69  REST_DIR = rest rest-plugins
70 endif
71 endif
72
73
74 if TALER_ONLY
75 SUBDIRS = \
76  include \
77  util
78 else
79
80 SUBDIRS = \
81   include $(INTLEMU_SUBDIRS) \
82   util \
83   nt \
84   gnsrecord \
85   hello \
86   block \
87   statistics \
88   arm \
89   $(TESTING) \
90   peerinfo \
91   $(SQLITE_DIR) \
92   $(MYSQL_DIR) \
93   $(POSTGRES_DIR) \
94   datacache \
95   datastore \
96   template \
97   peerstore \
98   ats \
99   nat \
100   nat-auto \
101   fragmentation \
102   transport \
103   ats-tool \
104   peerinfo-tool \
105   core \
106   $(TESTBED) \
107   $(ATS_TESTS) \
108   nse \
109   dht \
110   hostlist \
111   topology \
112   regex \
113   dns \
114   identity \
115   namecache \
116   namestore \
117   cadet \
118   set \
119   consensus \
120   scalarproduct \
121   revocation \
122   vpn \
123   gns \
124   zonemaster \
125   $(CONVERSATION_DIR) \
126   fs \
127   exit \
128   pt \
129   secretsharing \
130         $(EXP_DIR) \
131   $(JSON_DIR) \
132   $(REST_DIR) \
133   integration-tests
134
135 endif