source: trunk/libtransmission/Makefile.am @ 13807

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

(trunk) #1220 'change top folder names' -- added support for this in libtransmission's C and RPC APIs.

File size: 4.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  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
72noinst_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
127TESTS = \
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  rename-test \
138  rpc-test \
139  test-peer-id \
140  utils-test \
141  variant-test
142
143noinst_PROGRAMS = $(TESTS)
144
145apps_ldflags = \
146  @ZLIB_LDFLAGS@
147
148apps_ldadd = \
149  ./libtransmission.a  \
150  @LIBUPNP_LIBS@ \
151  @LIBNATPMP_LIBS@ \
152  @INTLLIBS@ \
153  @DHT_LIBS@ \
154  @LIBUTP_LIBS@ \
155  @LIBCURL_LIBS@ \
156  @LIBEVENT_LIBS@ \
157  @OPENSSL_LIBS@ \
158  @PTHREAD_LIBS@ \
159  @ZLIB_LIBS@
160
161TEST_SOURCES = libtransmission-test.c
162
163bitfield_test_SOURCES = bitfield-test.c $(TEST_SOURCES)
164bitfield_test_LDADD = ${apps_ldadd}
165bitfield_test_LDFLAGS = ${apps_ldflags}
166
167blocklist_test_SOURCES = blocklist-test.c $(TEST_SOURCES)
168blocklist_test_LDADD = ${apps_ldadd}
169blocklist_test_LDFLAGS = ${apps_ldflags}
170
171clients_test_SOURCES = clients-test.c $(TEST_SOURCES)
172clients_test_LDADD = ${apps_ldadd}
173clients_test_LDFLAGS = ${apps_ldflags}
174
175history_test_SOURCES = history-test.c $(TEST_SOURCES)
176history_test_LDADD = ${apps_ldadd}
177history_test_LDFLAGS = ${apps_ldflags}
178
179json_test_SOURCES = json-test.c $(TEST_SOURCES)
180json_test_LDADD = ${apps_ldadd}
181json_test_LDFLAGS = ${apps_ldflags}
182
183quark_test_SOURCES = quark-test.c $(TEST_SOURCES)
184quark_test_LDADD = ${apps_ldadd}
185quark_test_LDFLAGS = ${apps_ldflags}
186
187magnet_test_SOURCES = magnet-test.c $(TEST_SOURCES)
188magnet_test_LDADD = ${apps_ldadd}
189magnet_test_LDFLAGS = ${apps_ldflags}
190
191metainfo_test_SOURCES = metainfo-test.c $(TEST_SOURCES)
192metainfo_test_LDADD = ${apps_ldadd}
193metainfo_test_LDFLAGS = ${apps_ldflags}
194
195peer_msgs_test_SOURCES = peer-msgs-test.c $(TEST_SOURCES)
196peer_msgs_test_LDADD = ${apps_ldadd}
197peer_msgs_test_LDFLAGS = ${apps_ldflags}
198
199rpc_test_SOURCES = rpc-test.c $(TEST_SOURCES)
200rpc_test_LDADD = ${apps_ldadd}
201rpc_test_LDFLAGS = ${apps_ldflags}
202
203test_peer_id_SOURCES = test-peer-id.c $(TEST_SOURCES)
204test_peer_id_LDADD = ${apps_ldadd}
205test_peer_id_LDFLAGS = ${apps_ldflags}
206
207utils_test_SOURCES = utils-test.c $(TEST_SOURCES)
208utils_test_LDADD = ${apps_ldadd}
209utils_test_LDFLAGS = ${apps_ldflags}
210
211variant_test_SOURCES = variant-test.c $(TEST_SOURCES)
212variant_test_LDADD = ${apps_ldadd}
213variant_test_LDFLAGS = ${apps_ldflags}
214
215rename_test_SOURCES = rename-test.c $(TEST_SOURCES)
216rename_test_LDADD = ${apps_ldadd}
217rename_test_LDFLAGS = ${apps_ldflags}
Note: See TracBrowser for help on using the repository browser.