curl_lib: fix building with gnurl/curl.h
[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
9  CONSENSUS = consensus
10  SECRETSHARING = secretsharing
11 endif
12
13 if HAVE_EXPERIMENTAL
14  EXP_DIR = \
15   dv \
16   rps \
17   $(CONSENSUS) \
18   $(SECRETSHARING)
19 endif
20
21 if HAVE_REST
22   PROVIDER_DIR = identity-provider
23 endif
24
25 if HAVE_JSON
26   JSON_DIR = json
27 if HAVE_LIBGNURL
28   JSON_DIR += curl
29 else
30 if HAVE_LIBCURL
31   JSON_DIR += curl
32 endif
33 endif
34 endif
35
36 if BUILD_PULSE_HELPERS
37 CONVERSATION_DIR = conversation
38 else
39 if BUILD_GST_HELPERS
40 CONVERSATION_DIR = conversation
41 endif
42 endif
43
44 if HAVE_MYSQL
45  MYSQL_DIR = mysql
46 endif
47
48 if HAVE_POSTGRESQL
49  POSTGRES_DIR = pq postgres
50 endif
51
52 if HAVE_REST
53  REST_DIR = rest
54 endif
55
56 if TALER_ONLY
57 SUBDIRS = \
58  include \
59  util
60 else
61
62 SUBDIRS = \
63   include $(INTLEMU_SUBDIRS) \
64   util \
65   $(JSON_DIR) \
66   $(REST_DIR) \
67   hello \
68   tun \
69   block \
70   statistics \
71   arm \
72   $(TESTING) \
73   peerinfo \
74   $(MYSQL_DIR) \
75   $(POSTGRES_DIR) \
76   datacache \
77   datastore \
78   template \
79   ats \
80   nat \
81   fragmentation \
82   transport \
83   ats-tool \
84   peerinfo-tool \
85   core \
86   $(TESTBED) \
87   ats-tests \
88   nse \
89   dht \
90   hostlist \
91   topology \
92   regex \
93   cadet \
94   dns \
95   identity \
96   set \
97   scalarproduct \
98   revocation \
99   gnsrecord \
100   namecache \
101   namestore \
102   vpn \
103   gns \
104   $(CONVERSATION_DIR) \
105   peerstore \
106   fs \
107   exit \
108   pt \
109   integration-tests \
110   multicast \
111   psycutil \
112   psycstore \
113   psyc \
114   social \
115   $(EXP_DIR) \
116   $(PROVIDER_DIR)
117
118 endif