source: trunk/libtransmission/Makefile.am @ 14436

Last change on this file since 14436 was 14436, checked in by mikedld, 8 years ago

#4400: Add CyaSSL support

File size: 5.3 KB
Line 
1AM_CPPFLAGS = \
2  -I$(top_srcdir) \
3  -D__TRANSMISSION__ \
4  -DPACKAGE_DATA_DIR=\""$(datadir)"\"
5
6AM_CFLAGS = \
7  @DHT_CFLAGS@ \
8  @LIBB64_CFLAGS@ \
9  @LIBUTP_CFLAGS@ \
10  @LIBUPNP_CFLAGS@ \
11  @LIBNATPMP_CFLAGS@ \
12  @LIBEVENT_CFLAGS@ \
13  @LIBCURL_CFLAGS@ \
14  @CRYPTO_CFLAGS@ \
15  @PTHREAD_CFLAGS@ \
16  @ZLIB_CFLAGS@
17
18noinst_LIBRARIES = libtransmission.a
19
20libtransmission_a_SOURCES = \
21  announcer.c \
22  announcer-http.c \
23  announcer-udp.c \
24  bandwidth.c \
25  bitfield.c \
26  blocklist.c \
27  cache.c \
28  clients.c \
29  completion.c \
30  ConvertUTF.c \
31  crypto.c \
32  crypto-utils.c \
33  crypto-utils-fallback.c \
34  crypto-utils-openssl.c \
35  error.c \
36  fdlimit.c \
37  file.c \
38  handshake.c \
39  history.c \
40  inout.c \
41  list.c \
42  log.c \
43  magnet.c \
44  makemeta.c \
45  metainfo.c \
46  natpmp.c \
47  net.c \
48  peer-io.c \
49  peer-mgr.c \
50  peer-msgs.c \
51  platform.c \
52  platform-quota.c \
53  port-forwarding.c \
54  ptrarray.c \
55  quark.c \
56  resume.c \
57  rpcimpl.c \
58  rpc-server.c \
59  session.c \
60  stats.c \
61  torrent.c \
62  torrent-ctor.c \
63  torrent-magnet.c \
64  tr-dht.c \
65  tr-lpd.c \
66  tr-udp.c \
67  tr-utp.c \
68  tr-getopt.c \
69  trevent.c \
70  upnp.c \
71  utils.c \
72  variant.c \
73  variant-benc.c \
74  variant-json.c \
75  verify.c \
76  web.c \
77  webseed.c \
78  wildmat.c
79
80if WIN32
81libtransmission_a_SOURCES += file-win32.c
82else
83libtransmission_a_SOURCES += file-posix.c
84endif
85
86noinst_HEADERS = \
87  announcer.h \
88  announcer-common.h \
89  bandwidth.h \
90  bitfield.h \
91  blocklist.h \
92  cache.h \
93  clients.h \
94  ConvertUTF.h \
95  crypto.h \
96  crypto-utils.h \
97  completion.h \
98  error.h \
99  error-types.h \
100  fdlimit.h \
101  file.h \
102  handshake.h \
103  history.h \
104  inout.h \
105  jsonsl.c \
106  jsonsl.h \
107  libtransmission-test.h \
108  list.h \
109  log.h \
110  magnet.h \
111  makemeta.h \
112  metainfo.h \
113  natpmp_local.h \
114  net.h \
115  peer-common.h \
116  peer-io.h \
117  peer-mgr.h \
118  peer-msgs.h \
119  platform.h \
120  platform-quota.h \
121  port-forwarding.h \
122  ptrarray.h \
123  quark.h \
124  resume.h \
125  rpcimpl.h \
126  rpc-server.h \
127  session.h \
128  stats.h \
129  torrent.h \
130  torrent-magnet.h \
131  tr-getopt.h \
132  transmission.h \
133  tr-dht.h \
134  tr-udp.h \
135  tr-utp.h \
136  tr-lpd.h \
137  trevent.h \
138  upnp.h \
139  utils.h \
140  variant.h \
141  variant-common.h \
142  verify.h \
143  version.h \
144  web.h \
145  webseed.h
146
147TESTS = \
148  bitfield-test \
149  blocklist-test \
150  clients-test \
151  crypto-test \
152  error-test \
153  file-test \
154  history-test \
155  json-test \
156  magnet-test \
157  makemeta-test \
158  metainfo-test \
159  move-test \
160  peer-msgs-test \
161  quark-test \
162  rename-test \
163  rpc-test \
164  session-test \
165  tr-getopt-test \
166  utils-test \
167  variant-test
168
169noinst_PROGRAMS = $(TESTS)
170
171apps_ldadd = \
172  ./libtransmission.a  \
173  @LIBUPNP_LIBS@ \
174  @LIBNATPMP_LIBS@ \
175  @INTLLIBS@ \
176  @DHT_LIBS@ \
177  @LIBB64_LIBS@ \
178  @LIBUTP_LIBS@ \
179  @LIBCURL_LIBS@ \
180  @LIBEVENT_LIBS@ \
181  @CRYPTO_LIBS@ \
182  @PTHREAD_LIBS@ \
183  @ZLIB_LIBS@ \
184  ${LIBM}
185
186TEST_SOURCES = libtransmission-test.c
187
188bitfield_test_SOURCES = bitfield-test.c $(TEST_SOURCES)
189bitfield_test_LDADD = ${apps_ldadd}
190bitfield_test_LDFLAGS = ${apps_ldflags}
191
192blocklist_test_SOURCES = blocklist-test.c $(TEST_SOURCES)
193blocklist_test_LDADD = ${apps_ldadd}
194blocklist_test_LDFLAGS = ${apps_ldflags}
195
196clients_test_SOURCES = clients-test.c $(TEST_SOURCES)
197clients_test_LDADD = ${apps_ldadd}
198clients_test_LDFLAGS = ${apps_ldflags}
199
200crypto_test_SOURCES = crypto-test.c crypto-test-ref.h $(TEST_SOURCES)
201crypto_test_LDADD = ${apps_ldadd}
202crypto_test_LDFLAGS = ${apps_ldflags}
203
204error_test_SOURCES = error-test.c $(TEST_SOURCES)
205error_test_LDADD = ${apps_ldadd}
206error_test_LDFLAGS = ${apps_ldflags}
207
208file_test_SOURCES = file-test.c $(TEST_SOURCES)
209file_test_LDADD = ${apps_ldadd}
210file_test_LDFLAGS = ${apps_ldflags}
211
212history_test_SOURCES = history-test.c $(TEST_SOURCES)
213history_test_LDADD = ${apps_ldadd}
214history_test_LDFLAGS = ${apps_ldflags}
215
216json_test_SOURCES = json-test.c $(TEST_SOURCES)
217json_test_LDADD = ${apps_ldadd}
218json_test_LDFLAGS = ${apps_ldflags}
219
220quark_test_SOURCES = quark-test.c $(TEST_SOURCES)
221quark_test_LDADD = ${apps_ldadd}
222quark_test_LDFLAGS = ${apps_ldflags}
223
224magnet_test_SOURCES = magnet-test.c $(TEST_SOURCES)
225magnet_test_LDADD = ${apps_ldadd}
226magnet_test_LDFLAGS = ${apps_ldflags}
227
228metainfo_test_SOURCES = metainfo-test.c $(TEST_SOURCES)
229metainfo_test_LDADD = ${apps_ldadd}
230metainfo_test_LDFLAGS = ${apps_ldflags}
231
232makemeta_test_SOURCES = makemeta-test.c $(TEST_SOURCES)
233makemeta_test_LDADD = ${apps_ldadd}
234makemeta_test_LDFLAGS = ${apps_ldflags}
235
236move_test_SOURCES = move-test.c $(TEST_SOURCES)
237move_test_LDADD = ${apps_ldadd}
238move_test_LDFLAGS = ${apps_ldflags}
239
240peer_msgs_test_SOURCES = peer-msgs-test.c $(TEST_SOURCES)
241peer_msgs_test_LDADD = ${apps_ldadd}
242peer_msgs_test_LDFLAGS = ${apps_ldflags}
243
244rpc_test_SOURCES = rpc-test.c $(TEST_SOURCES)
245rpc_test_LDADD = ${apps_ldadd}
246rpc_test_LDFLAGS = ${apps_ldflags}
247
248session_test_SOURCES = session-test.c $(TEST_SOURCES)
249session_test_LDADD = ${apps_ldadd}
250session_test_LDFLAGS = ${apps_ldflags}
251
252tr_getopt_test_SOURCES = tr-getopt-test.c $(TEST_SOURCES)
253tr_getopt_test_LDADD = ${apps_ldadd}
254tr_getopt_test_LDFLAGS = ${apps_ldflags}
255
256utils_test_SOURCES = utils-test.c $(TEST_SOURCES)
257utils_test_LDADD = ${apps_ldadd}
258utils_test_LDFLAGS = ${apps_ldflags}
259
260variant_test_SOURCES = variant-test.c $(TEST_SOURCES)
261variant_test_LDADD = ${apps_ldadd}
262variant_test_LDFLAGS = ${apps_ldflags}
263
264rename_test_SOURCES = rename-test.c $(TEST_SOURCES)
265rename_test_LDADD = ${apps_ldadd}
266rename_test_LDFLAGS = ${apps_ldflags}
Note: See TracBrowser for help on using the repository browser.