source: trunk/libtransmission/Makefile.am @ 14289

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

add tr_makeMetaInfo() unit test for creating a single-file torrent

File size: 4.8 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  fdlimit.c \
32  handshake.c \
33  history.c \
34  inout.c \
35  list.c \
36  log.c \
37  magnet.c \
38  makemeta.c \
39  metainfo.c \
40  natpmp.c \
41  net.c \
42  peer-io.c \
43  peer-mgr.c \
44  peer-msgs.c \
45  platform.c \
46  platform-quota.c \
47  port-forwarding.c \
48  ptrarray.c \
49  quark.c \
50  resume.c \
51  rpcimpl.c \
52  rpc-server.c \
53  session.c \
54  stats.c \
55  torrent.c \
56  torrent-ctor.c \
57  torrent-magnet.c \
58  tr-dht.c \
59  tr-lpd.c \
60  tr-udp.c \
61  tr-utp.c \
62  tr-getopt.c \
63  trevent.c \
64  upnp.c \
65  utils.c \
66  variant.c \
67  variant-benc.c \
68  variant-json.c \
69  verify.c \
70  web.c \
71  webseed.c \
72  wildmat.c
73
74noinst_HEADERS = \
75  announcer.h \
76  announcer-common.h \
77  bandwidth.h \
78  bitfield.h \
79  blocklist.h \
80  cache.h \
81  clients.h \
82  ConvertUTF.h \
83  crypto.h \
84  completion.h \
85  fdlimit.h \
86  handshake.h \
87  history.h \
88  inout.h \
89  jsonsl.c \
90  jsonsl.h \
91  libtransmission-test.h \
92  list.h \
93  log.h \
94  magnet.h \
95  makemeta.h \
96  metainfo.h \
97  natpmp_local.h \
98  net.h \
99  peer-common.h \
100  peer-io.h \
101  peer-mgr.h \
102  peer-msgs.h \
103  platform.h \
104  platform-quota.h \
105  port-forwarding.h \
106  ptrarray.h \
107  quark.h \
108  resume.h \
109  rpcimpl.h \
110  rpc-server.h \
111  session.h \
112  stats.h \
113  torrent.h \
114  torrent-magnet.h \
115  tr-getopt.h \
116  transmission.h \
117  tr-dht.h \
118  tr-udp.h \
119  tr-utp.h \
120  tr-lpd.h \
121  trevent.h \
122  upnp.h \
123  utils.h \
124  variant.h \
125  variant-common.h \
126  verify.h \
127  version.h \
128  web.h \
129  webseed.h
130
131TESTS = \
132  bitfield-test \
133  blocklist-test \
134  clients-test \
135  crypto-test \
136  history-test \
137  json-test \
138  magnet-test \
139  makemeta-test \
140  metainfo-test \
141  move-test \
142  peer-msgs-test \
143  quark-test \
144  rename-test \
145  rpc-test \
146  session-test \
147  tr-getopt-test \
148  utils-test \
149  variant-test
150
151noinst_PROGRAMS = $(TESTS)
152
153apps_ldflags = \
154  @ZLIB_LDFLAGS@
155
156apps_ldadd = \
157  ./libtransmission.a  \
158  @LIBUPNP_LIBS@ \
159  @LIBNATPMP_LIBS@ \
160  @INTLLIBS@ \
161  @DHT_LIBS@ \
162  @LIBUTP_LIBS@ \
163  @LIBCURL_LIBS@ \
164  @LIBEVENT_LIBS@ \
165  @OPENSSL_LIBS@ \
166  @PTHREAD_LIBS@ \
167  @ZLIB_LIBS@
168
169TEST_SOURCES = libtransmission-test.c
170
171bitfield_test_SOURCES = bitfield-test.c $(TEST_SOURCES)
172bitfield_test_LDADD = ${apps_ldadd}
173bitfield_test_LDFLAGS = ${apps_ldflags}
174
175blocklist_test_SOURCES = blocklist-test.c $(TEST_SOURCES)
176blocklist_test_LDADD = ${apps_ldadd}
177blocklist_test_LDFLAGS = ${apps_ldflags}
178
179clients_test_SOURCES = clients-test.c $(TEST_SOURCES)
180clients_test_LDADD = ${apps_ldadd}
181clients_test_LDFLAGS = ${apps_ldflags}
182
183crypto_test_SOURCES = crypto-test.c $(TEST_SOURCES)
184crypto_test_LDADD = ${apps_ldadd}
185crypto_test_LDFLAGS = ${apps_ldflags}
186
187history_test_SOURCES = history-test.c $(TEST_SOURCES)
188history_test_LDADD = ${apps_ldadd}
189history_test_LDFLAGS = ${apps_ldflags}
190
191json_test_SOURCES = json-test.c $(TEST_SOURCES)
192json_test_LDADD = ${apps_ldadd}
193json_test_LDFLAGS = ${apps_ldflags}
194
195quark_test_SOURCES = quark-test.c $(TEST_SOURCES)
196quark_test_LDADD = ${apps_ldadd}
197quark_test_LDFLAGS = ${apps_ldflags}
198
199magnet_test_SOURCES = magnet-test.c $(TEST_SOURCES)
200magnet_test_LDADD = ${apps_ldadd}
201magnet_test_LDFLAGS = ${apps_ldflags}
202
203metainfo_test_SOURCES = metainfo-test.c $(TEST_SOURCES)
204metainfo_test_LDADD = ${apps_ldadd}
205metainfo_test_LDFLAGS = ${apps_ldflags}
206
207makemeta_test_SOURCES = makemeta-test.c $(TEST_SOURCES)
208makemeta_test_LDADD = ${apps_ldadd}
209makemeta_test_LDFLAGS = ${apps_ldflags}
210
211move_test_SOURCES = move-test.c $(TEST_SOURCES)
212move_test_LDADD = ${apps_ldadd}
213move_test_LDFLAGS = ${apps_ldflags}
214
215peer_msgs_test_SOURCES = peer-msgs-test.c $(TEST_SOURCES)
216peer_msgs_test_LDADD = ${apps_ldadd}
217peer_msgs_test_LDFLAGS = ${apps_ldflags}
218
219rpc_test_SOURCES = rpc-test.c $(TEST_SOURCES)
220rpc_test_LDADD = ${apps_ldadd}
221rpc_test_LDFLAGS = ${apps_ldflags}
222
223session_test_SOURCES = session-test.c $(TEST_SOURCES)
224session_test_LDADD = ${apps_ldadd}
225session_test_LDFLAGS = ${apps_ldflags}
226
227tr_getopt_test_SOURCES = tr-getopt-test.c $(TEST_SOURCES)
228tr_getopt_test_LDADD = ${apps_ldadd}
229tr_getopt_test_LDFLAGS = ${apps_ldflags}
230
231utils_test_SOURCES = utils-test.c $(TEST_SOURCES)
232utils_test_LDADD = ${apps_ldadd}
233utils_test_LDFLAGS = ${apps_ldflags}
234
235variant_test_SOURCES = variant-test.c $(TEST_SOURCES)
236variant_test_LDADD = ${apps_ldadd}
237variant_test_LDFLAGS = ${apps_ldflags}
238
239rename_test_SOURCES = rename-test.c $(TEST_SOURCES)
240rename_test_LDADD = ${apps_ldadd}
241rename_test_LDFLAGS = ${apps_ldflags}
Note: See TracBrowser for help on using the repository browser.