source: trunk/libtransmission/Makefile.am @ 9550

Last change on this file since 9550 was 9550, checked in by charles, 12 years ago

(trunk) #2096: Magnet, BEP #9 support

File size: 3.3 KB
Line 
1AM_CPPFLAGS = -I. -I$(top_srcdir) -I$(top_srcdir)/third-party/ -D__TRANSMISSION__ -DPACKAGE_DATA_DIR=\""$(datadir)"\"
2
3AM_CFLAGS = \
4    $(DHT_CFLAGS) \
5    $(LIBEVENT_CFLAGS) \
6    $(LIBCURL_CFLAGS) \
7    $(OPENSSL_CFLAGS) \
8    $(PTHREAD_CFLAGS) \
9    $(ZLIB_CFLAGS)
10
11noinst_LIBRARIES = libtransmission.a
12
13libtransmission_a_SOURCES = \
14    announcer.c \
15    bandwidth.c \
16    bencode.c \
17    bitfield.c \
18    blocklist.c \
19    clients.c \
20    completion.c \
21    ConvertUTF.c \
22    crypto.c \
23    fdlimit.c \
24    ggets.c \
25    handshake.c \
26    inout.c \
27    json.c \
28    JSON_parser.c \
29    list.c \
30    magnet.c \
31    makemeta.c \
32    metainfo.c \
33    natpmp.c \
34    net.c \
35    peer-io.c \
36    peer-mgr.c \
37    peer-msgs.c \
38    platform.c \
39    port-forwarding.c \
40    ptrarray.c \
41    publish.c \
42    ratecontrol.c \
43    resume.c \
44    rpcimpl.c \
45    rpc-server.c \
46    session.c \
47    stats.c \
48    torrent.c \
49    torrent-ctor.c \
50    torrent-magnet.c \
51    tr-dht.c \
52    tr-getopt.c \
53    trevent.c \
54    upnp.c \
55    utils.c \
56    verify.c \
57    web.c \
58    webseed.c \
59    wildmat.c
60
61noinst_HEADERS = \
62    announcer.h \
63    bandwidth.h \
64    bencode.h \
65    bitfield.h \
66    blocklist.h \
67    clients.h \
68    ConvertUTF.h \
69    crypto.h \
70    completion.h \
71    fdlimit.h \
72    ggets.h \
73    handshake.h \
74    inout.h \
75    json.h \
76    JSON_parser.h \
77    list.h \
78    magnet.h \
79    makemeta.h \
80    metainfo.h \
81    natpmp.h \
82    net.h \
83    peer-common.h \
84    peer-io.h \
85    peer-mgr.h \
86    peer-msgs.h \
87    platform.h \
88    port-forwarding.h \
89    ptrarray.h \
90    publish.h \
91    ratecontrol.h \
92    resume.h \
93    rpcimpl.h \
94    rpc-server.h \
95    session.h \
96    stats.h \
97    torrent.h \
98    torrent-magnet.h \
99    tr-getopt.h \
100    transmission.h \
101    tr-dht.h \
102    trevent.h \
103    upnp.h \
104    utils.h \
105    verify.h \
106    version.h \
107    web.h \
108    webseed.h
109
110TESTS = \
111    blocklist-test \
112    bencode-test \
113    clients-test \
114    json-test \
115    magnet-test \
116    peer-msgs-test \
117    rpc-test \
118    test-peer-id \
119    utils-test
120
121noinst_PROGRAMS = $(TESTS)
122
123apps_ldflags = \
124    $(ZLIB_LDFLAGS)
125
126apps_ldadd = \
127    ./libtransmission.a  \
128    $(top_builddir)/third-party/miniupnp/libminiupnp.a \
129    $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
130    $(INTLLIBS) \
131    $(DHT_LIBS) \
132    $(LIBEVENT_LIBS) \
133    $(LIBCURL_LIBS) \
134    $(OPENSSL_LIBS) \
135    $(PTHREAD_LIBS) \
136    $(ZLIB_LIBS)
137
138bencode_test_SOURCES = bencode-test.c
139bencode_test_LDADD = ${apps_ldadd}
140bencode_test_LDFLAGS = ${apps_ldflags}
141
142blocklist_test_SOURCES = blocklist-test.c
143blocklist_test_LDADD = ${apps_ldadd}
144blocklist_test_LDFLAGS = ${apps_ldflags}
145
146clients_test_SOURCES = clients-test.c
147clients_test_LDADD = ${apps_ldadd}
148clients_test_LDFLAGS = ${apps_ldflags}
149
150json_test_SOURCES = json-test.c
151json_test_LDADD = ${apps_ldadd}
152json_test_LDFLAGS = ${apps_ldflags}
153
154magnet_test_SOURCES = magnet-test.c
155magnet_test_LDADD = ${apps_ldadd}
156magnet_test_LDFLAGS = ${apps_ldflags}
157
158rpc_test_SOURCES = rpc-test.c
159rpc_test_LDADD = ${apps_ldadd}
160rpc_test_LDFLAGS = ${apps_ldflags}
161
162test_peer_id_SOURCES = test-peer-id.c
163test_peer_id_LDADD = ${apps_ldadd}
164test_peer_id_LDFLAGS = ${apps_ldflags}
165
166peer_msgs_test_SOURCES = peer-msgs-test.c
167peer_msgs_test_LDADD = ${apps_ldadd}
168peer_msgs_test_LDFLAGS = ${apps_ldflags}
169
170utils_test_SOURCES = utils-test.c
171utils_test_LDADD = ${apps_ldadd}
172utils_test_LDFLAGS = ${apps_ldflags}
Note: See TracBrowser for help on using the repository browser.