7f97190d03207db3ebfef5d123c8eb21e7f64300
[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 jsonapi 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   gnsrecord \
84   hello \
85   block \
86   statistics \
87   arm \
88   $(TESTING) \
89   peerinfo \
90   $(SQLITE_DIR) \
91   $(MYSQL_DIR) \
92   $(POSTGRES_DIR) \
93   datacache \
94   datastore \
95   template \
96   ats \
97   nat \
98   nat-auto \
99   fragmentation \
100   transport \
101   ats-tool \
102   peerinfo-tool \
103   core \
104   $(TESTBED) \
105   $(ATS_TESTS) \
106   nse \
107   dht \
108   hostlist \
109   topology \
110   regex \
111   dns \
112   identity \
113   namecache \
114   namestore \
115   peerstore \
116   cadet \
117   set \
118   consensus \
119   scalarproduct \
120   revocation \
121   vpn \
122   gns \
123   zonemaster \
124   $(CONVERSATION_DIR) \
125   fs \
126   exit \
127   pt \
128   secretsharing \
129         $(EXP_DIR) \
130   $(JSON_DIR) \
131   $(REST_DIR) \
132   integration-tests 
133
134 endif