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