source: trunk/libtransmission/Makefile.am @ 12957

Last change on this file since 12957 was 12957, checked in by jordan, 10 years ago

(trunk libT) #4323 "Allow usage of system miniupnpc" -- fixed.

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    @LIBUPNP_CFLAGS@ \
12    @LIBEVENT_CFLAGS@ \
13    @LIBCURL_CFLAGS@ \
14    @OPENSSL_CFLAGS@ \
15    @PTHREAD_CFLAGS@ \
16    @ZLIB_CFLAGS@
17
18noinst_LIBRARIES = libtransmission.a
19
20libtransmission_a_SOURCES = \
21    announcer.c \
22    announcer-http.c \
23    announcer-udp.c \
24    bandwidth.c \
25    bencode.c \
26    bitfield.c \
27    blocklist.c \
28    cache.c \
29    clients.c \
30    completion.c \
31    ConvertUTF.c \
32    crypto.c \
33    fdlimit.c \
34    handshake.c \
35    history.c \
36    inout.c \
37    json.c \
38    JSON_parser.c \
39    list.c \
40    magnet.c \
41    makemeta.c \
42    metainfo.c \
43    natpmp.c \
44    net.c \
45    peer-io.c \
46    peer-mgr.c \
47    peer-msgs.c \
48    platform.c \
49    port-forwarding.c \
50    ptrarray.c \
51    resume.c \
52    rpcimpl.c \
53    rpc-server.c \
54    session.c \
55    stats.c \
56    torrent.c \
57    torrent-ctor.c \
58    torrent-magnet.c \
59    tr-dht.c \
60    tr-lpd.c \
61    tr-udp.c \
62    tr-utp.c \
63    tr-getopt.c \
64    trevent.c \
65    upnp.c \
66    utils.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    bencode.h \
77    bitfield.h \
78    blocklist.h \
79    cache.h \
80    clients.h \
81    ConvertUTF.h \
82    crypto.h \
83    completion.h \
84    fdlimit.h \
85    handshake.h \
86    history.h \
87    inout.h \
88    json.h \
89    JSON_parser.h \
90    list.h \
91    magnet.h \
92    makemeta.h \
93    metainfo.h \
94    natpmp.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    resume.h \
104    rpcimpl.h \
105    rpc-server.h \
106    session.h \
107    stats.h \
108    torrent.h \
109    torrent-magnet.h \
110    tr-getopt.h \
111    transmission.h \
112    tr-dht.h \
113    tr-udp.h \
114    tr-utp.h \
115    tr-lpd.h \
116    trevent.h \
117    upnp.h \
118    utils.h \
119    verify.h \
120    version.h \
121    web.h \
122    webseed.h
123
124TESTS = \
125    blocklist-test \
126    bencode-test \
127    clients-test \
128    history-test \
129    json-test \
130    magnet-test \
131    peer-msgs-test \
132    rpc-test \
133    test-peer-id \
134    utils-test
135
136noinst_PROGRAMS = $(TESTS)
137
138apps_ldflags = \
139    @ZLIB_LDFLAGS@
140
141apps_ldadd = \
142    ./libtransmission.a  \
143    @LIBUPNP_LIBS@ \
144    $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
145    @INTLLIBS@ \
146    @DHT_LIBS@ \
147    @LIBUTP_LIBS@ \
148    @LIBCURL_LIBS@ \
149    @LIBEVENT_LIBS@ \
150    @OPENSSL_LIBS@ \
151    @PTHREAD_LIBS@ \
152    @ZLIB_LIBS@
153
154bencode_test_SOURCES = bencode-test.c
155bencode_test_LDADD = ${apps_ldadd}
156bencode_test_LDFLAGS = ${apps_ldflags}
157
158blocklist_test_SOURCES = blocklist-test.c
159blocklist_test_LDADD = ${apps_ldadd}
160blocklist_test_LDFLAGS = ${apps_ldflags}
161
162clients_test_SOURCES = clients-test.c
163clients_test_LDADD = ${apps_ldadd}
164clients_test_LDFLAGS = ${apps_ldflags}
165
166history_test_SOURCES = history-test.c
167history_test_LDADD = ${apps_ldadd}
168history_test_LDFLAGS = ${apps_ldflags}
169
170json_test_SOURCES = json-test.c
171json_test_LDADD = ${apps_ldadd}
172json_test_LDFLAGS = ${apps_ldflags}
173
174magnet_test_SOURCES = magnet-test.c
175magnet_test_LDADD = ${apps_ldadd}
176magnet_test_LDFLAGS = ${apps_ldflags}
177
178rpc_test_SOURCES = rpc-test.c
179rpc_test_LDADD = ${apps_ldadd}
180rpc_test_LDFLAGS = ${apps_ldflags}
181
182test_peer_id_SOURCES = test-peer-id.c
183test_peer_id_LDADD = ${apps_ldadd}
184test_peer_id_LDFLAGS = ${apps_ldflags}
185
186peer_msgs_test_SOURCES = peer-msgs-test.c
187peer_msgs_test_LDADD = ${apps_ldadd}
188peer_msgs_test_LDFLAGS = ${apps_ldflags}
189
190utils_test_SOURCES = utils-test.c
191utils_test_LDADD = ${apps_ldadd}
192utils_test_LDFLAGS = ${apps_ldflags}
Note: See TracBrowser for help on using the repository browser.