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