1 | AM_CPPFLAGS = \ |
---|
2 | -I$(top_srcdir) \ |
---|
3 | -D__TRANSMISSION__ \ |
---|
4 | -DPACKAGE_DATA_DIR=\""$(datadir)"\" |
---|
5 | |
---|
6 | AM_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 | |
---|
17 | noinst_LIBRARIES = libtransmission.a |
---|
18 | |
---|
19 | libtransmission_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 | |
---|
74 | noinst_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 | |
---|
131 | TESTS = \ |
---|
132 | bitfield-test \ |
---|
133 | blocklist-test \ |
---|
134 | clients-test \ |
---|
135 | crypto-test \ |
---|
136 | history-test \ |
---|
137 | json-test \ |
---|
138 | magnet-test \ |
---|
139 | metainfo-test \ |
---|
140 | move-test \ |
---|
141 | peer-msgs-test \ |
---|
142 | quark-test \ |
---|
143 | rename-test \ |
---|
144 | rpc-test \ |
---|
145 | session-test \ |
---|
146 | tr-getopt-test \ |
---|
147 | utils-test \ |
---|
148 | variant-test |
---|
149 | |
---|
150 | noinst_PROGRAMS = $(TESTS) |
---|
151 | |
---|
152 | apps_ldflags = \ |
---|
153 | @ZLIB_LDFLAGS@ |
---|
154 | |
---|
155 | apps_ldadd = \ |
---|
156 | ./libtransmission.a \ |
---|
157 | @LIBUPNP_LIBS@ \ |
---|
158 | @LIBNATPMP_LIBS@ \ |
---|
159 | @INTLLIBS@ \ |
---|
160 | @DHT_LIBS@ \ |
---|
161 | @LIBUTP_LIBS@ \ |
---|
162 | @LIBCURL_LIBS@ \ |
---|
163 | @LIBEVENT_LIBS@ \ |
---|
164 | @OPENSSL_LIBS@ \ |
---|
165 | @PTHREAD_LIBS@ \ |
---|
166 | @ZLIB_LIBS@ |
---|
167 | |
---|
168 | TEST_SOURCES = libtransmission-test.c |
---|
169 | |
---|
170 | bitfield_test_SOURCES = bitfield-test.c $(TEST_SOURCES) |
---|
171 | bitfield_test_LDADD = ${apps_ldadd} |
---|
172 | bitfield_test_LDFLAGS = ${apps_ldflags} |
---|
173 | |
---|
174 | blocklist_test_SOURCES = blocklist-test.c $(TEST_SOURCES) |
---|
175 | blocklist_test_LDADD = ${apps_ldadd} |
---|
176 | blocklist_test_LDFLAGS = ${apps_ldflags} |
---|
177 | |
---|
178 | clients_test_SOURCES = clients-test.c $(TEST_SOURCES) |
---|
179 | clients_test_LDADD = ${apps_ldadd} |
---|
180 | clients_test_LDFLAGS = ${apps_ldflags} |
---|
181 | |
---|
182 | crypto_test_SOURCES = crypto-test.c $(TEST_SOURCES) |
---|
183 | crypto_test_LDADD = ${apps_ldadd} |
---|
184 | crypto_test_LDFLAGS = ${apps_ldflags} |
---|
185 | |
---|
186 | history_test_SOURCES = history-test.c $(TEST_SOURCES) |
---|
187 | history_test_LDADD = ${apps_ldadd} |
---|
188 | history_test_LDFLAGS = ${apps_ldflags} |
---|
189 | |
---|
190 | json_test_SOURCES = json-test.c $(TEST_SOURCES) |
---|
191 | json_test_LDADD = ${apps_ldadd} |
---|
192 | json_test_LDFLAGS = ${apps_ldflags} |
---|
193 | |
---|
194 | quark_test_SOURCES = quark-test.c $(TEST_SOURCES) |
---|
195 | quark_test_LDADD = ${apps_ldadd} |
---|
196 | quark_test_LDFLAGS = ${apps_ldflags} |
---|
197 | |
---|
198 | magnet_test_SOURCES = magnet-test.c $(TEST_SOURCES) |
---|
199 | magnet_test_LDADD = ${apps_ldadd} |
---|
200 | magnet_test_LDFLAGS = ${apps_ldflags} |
---|
201 | |
---|
202 | metainfo_test_SOURCES = metainfo-test.c $(TEST_SOURCES) |
---|
203 | metainfo_test_LDADD = ${apps_ldadd} |
---|
204 | metainfo_test_LDFLAGS = ${apps_ldflags} |
---|
205 | |
---|
206 | move_test_SOURCES = move-test.c $(TEST_SOURCES) |
---|
207 | move_test_LDADD = ${apps_ldadd} |
---|
208 | move_test_LDFLAGS = ${apps_ldflags} |
---|
209 | |
---|
210 | peer_msgs_test_SOURCES = peer-msgs-test.c $(TEST_SOURCES) |
---|
211 | peer_msgs_test_LDADD = ${apps_ldadd} |
---|
212 | peer_msgs_test_LDFLAGS = ${apps_ldflags} |
---|
213 | |
---|
214 | rpc_test_SOURCES = rpc-test.c $(TEST_SOURCES) |
---|
215 | rpc_test_LDADD = ${apps_ldadd} |
---|
216 | rpc_test_LDFLAGS = ${apps_ldflags} |
---|
217 | |
---|
218 | session_test_SOURCES = session-test.c $(TEST_SOURCES) |
---|
219 | session_test_LDADD = ${apps_ldadd} |
---|
220 | session_test_LDFLAGS = ${apps_ldflags} |
---|
221 | |
---|
222 | tr_getopt_test_SOURCES = tr-getopt-test.c $(TEST_SOURCES) |
---|
223 | tr_getopt_test_LDADD = ${apps_ldadd} |
---|
224 | tr_getopt_test_LDFLAGS = ${apps_ldflags} |
---|
225 | |
---|
226 | utils_test_SOURCES = utils-test.c $(TEST_SOURCES) |
---|
227 | utils_test_LDADD = ${apps_ldadd} |
---|
228 | utils_test_LDFLAGS = ${apps_ldflags} |
---|
229 | |
---|
230 | variant_test_SOURCES = variant-test.c $(TEST_SOURCES) |
---|
231 | variant_test_LDADD = ${apps_ldadd} |
---|
232 | variant_test_LDFLAGS = ${apps_ldflags} |
---|
233 | |
---|
234 | rename_test_SOURCES = rename-test.c $(TEST_SOURCES) |
---|
235 | rename_test_LDADD = ${apps_ldadd} |
---|
236 | rename_test_LDFLAGS = ${apps_ldflags} |
---|