source: trunk/libtransmission/Makefile.am @ 14314

Last change on this file since 14314 was 14314, checked in by jordan, 8 years ago

(trunk, libT) mike.dld's 4160-02a-path.patch: portability wrapper around file paths.

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