source: trunk/libtransmission/Makefile.am @ 12545

Last change on this file since 12545 was 12248, checked in by jordan, 11 years ago

(trunk libT) break the mac build and introduce new crashes.

This is partially to address #4145 "Downloads stuck at 100%" by refactoring the bitset, bitfield, and tr_completion; however, the ripple effect is larger than usual so things may get worse in the short term before getting better.

livings124: to fix the mac build, remove bitset.[ch] from xcode

File size: 3.6 KB
Line 
1AM_CPPFLAGS = \
2    -I. \
3    -I$(top_srcdir) \
4    -I$(top_srcdir)/third-party/ \
5    -D__TRANSMISSION__ \
6    -DPACKAGE_DATA_DIR=\""$(datadir)"\"
7
8AM_CFLAGS = \
9    @DHT_CFLAGS@ \
10    @LIBUTP_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    bencode.c \
25    bitfield.c \
26    blocklist.c \
27    cache.c \
28    clients.c \
29    completion.c \
30    ConvertUTF.c \
31    crypto.c \
32    fdlimit.c \
33    handshake.c \
34    history.c \
35    inout.c \
36    json.c \
37    JSON_parser.c \
38    list.c \
39    magnet.c \
40    makemeta.c \
41    metainfo.c \
42    natpmp.c \
43    net.c \
44    peer-io.c \
45    peer-mgr.c \
46    peer-msgs.c \
47    platform.c \
48    port-forwarding.c \
49    ptrarray.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    verify.c \
67    web.c \
68    webseed.c \
69    wildmat.c
70
71noinst_HEADERS = \
72    announcer.h \
73    announcer-common.h \
74    bandwidth.h \
75    bencode.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    json.h \
88    JSON_parser.h \
89    list.h \
90    magnet.h \
91    makemeta.h \
92    metainfo.h \
93    natpmp.h \
94    net.h \
95    peer-common.h \
96    peer-io.h \
97    peer-mgr.h \
98    peer-msgs.h \
99    platform.h \
100    port-forwarding.h \
101    ptrarray.h \
102    resume.h \
103    rpcimpl.h \
104    rpc-server.h \
105    session.h \
106    stats.h \
107    torrent.h \
108    torrent-magnet.h \
109    tr-getopt.h \
110    transmission.h \
111    tr-dht.h \
112    tr-udp.h \
113    tr-utp.h \
114    tr-lpd.h \
115    trevent.h \
116    upnp.h \
117    utils.h \
118    verify.h \
119    version.h \
120    web.h \
121    webseed.h
122
123TESTS = \
124    blocklist-test \
125    bencode-test \
126    clients-test \
127    history-test \
128    json-test \
129    magnet-test \
130    peer-msgs-test \
131    rpc-test \
132    test-peer-id \
133    utils-test
134
135noinst_PROGRAMS = $(TESTS)
136
137apps_ldflags = \
138    @ZLIB_LDFLAGS@
139
140apps_ldadd = \
141    ./libtransmission.a  \
142    $(top_builddir)/third-party/miniupnp/libminiupnp.a \
143    $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
144    @INTLLIBS@ \
145    @DHT_LIBS@ \
146    @LIBUTP_LIBS@ \
147    @LIBCURL_LIBS@ \
148    @LIBEVENT_LIBS@ \
149    @OPENSSL_LIBS@ \
150    @PTHREAD_LIBS@ \
151    @ZLIB_LIBS@
152
153bencode_test_SOURCES = bencode-test.c
154bencode_test_LDADD = ${apps_ldadd}
155bencode_test_LDFLAGS = ${apps_ldflags}
156
157blocklist_test_SOURCES = blocklist-test.c
158blocklist_test_LDADD = ${apps_ldadd}
159blocklist_test_LDFLAGS = ${apps_ldflags}
160
161clients_test_SOURCES = clients-test.c
162clients_test_LDADD = ${apps_ldadd}
163clients_test_LDFLAGS = ${apps_ldflags}
164
165history_test_SOURCES = history-test.c
166history_test_LDADD = ${apps_ldadd}
167history_test_LDFLAGS = ${apps_ldflags}
168
169json_test_SOURCES = json-test.c
170json_test_LDADD = ${apps_ldadd}
171json_test_LDFLAGS = ${apps_ldflags}
172
173magnet_test_SOURCES = magnet-test.c
174magnet_test_LDADD = ${apps_ldadd}
175magnet_test_LDFLAGS = ${apps_ldflags}
176
177rpc_test_SOURCES = rpc-test.c
178rpc_test_LDADD = ${apps_ldadd}
179rpc_test_LDFLAGS = ${apps_ldflags}
180
181test_peer_id_SOURCES = test-peer-id.c
182test_peer_id_LDADD = ${apps_ldadd}
183test_peer_id_LDFLAGS = ${apps_ldflags}
184
185peer_msgs_test_SOURCES = peer-msgs-test.c
186peer_msgs_test_LDADD = ${apps_ldadd}
187peer_msgs_test_LDFLAGS = ${apps_ldflags}
188
189utils_test_SOURCES = utils-test.c
190utils_test_LDADD = ${apps_ldadd}
191utils_test_LDFLAGS = ${apps_ldflags}
Note: See TracBrowser for help on using the repository browser.