source: trunk/libtransmission/Makefile.am @ 9328

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

(trunk) #1483: move completed torrents to a user-specified directory + #629: different file extension for incomplete files

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    makemeta.c \
31    metainfo.c \
32    natpmp.c \
33    net.c \
34    peer-io.c \
35    peer-mgr.c \
36    peer-msgs.c \
37    platform.c \
38    port-forwarding.c \
39    ptrarray.c \
40    publish.c \
41    ratecontrol.c \
42    request-list.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    tr-dht.c \
51    tr-getopt.c \
52    trevent.c \
53    upnp.c \
54    utils.c \
55    verify.c \
56    web.c \
57    webseed.c \
58    wildmat.c
59
60noinst_HEADERS = \
61    announcer.h \
62    bandwidth.h \
63    bencode.h \
64    bitfield.h \
65    blocklist.h \
66    clients.h \
67    ConvertUTF.h \
68    crypto.h \
69    completion.h \
70    fdlimit.h \
71    ggets.h \
72    handshake.h \
73    inout.h \
74    json.h \
75    JSON_parser.h \
76    list.h \
77    makemeta.h \
78    metainfo.h \
79    natpmp.h \
80    net.h \
81    peer-common.h \
82    peer-io.h \
83    peer-mgr.h \
84    peer-msgs.h \
85    platform.h \
86    port-forwarding.h \
87    ptrarray.h \
88    publish.h \
89    ratecontrol.h \
90    request-list.h \
91    resume.h \
92    rpcimpl.h \
93    rpc-server.h \
94    session.h \
95    stats.h \
96    torrent.h \
97    tr-getopt.h \
98    transmission.h \
99    tr-dht.h \
100    trevent.h \
101    upnp.h \
102    utils.h \
103    verify.h \
104    version.h \
105    web.h \
106    webseed.h
107
108TESTS = \
109    blocklist-test \
110    bencode-test \
111    clients-test \
112    json-test \
113    peer-msgs-test \
114    request-list-test \
115    rpc-test \
116    test-peer-id \
117    utils-test
118
119noinst_PROGRAMS = $(TESTS)
120
121apps_ldflags = \
122    $(ZLIB_LDFLAGS)
123
124apps_ldadd = \
125    ./libtransmission.a  \
126    $(top_builddir)/third-party/miniupnp/libminiupnp.a \
127    $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
128    $(INTLLIBS) \
129    $(DHT_LIBS) \
130    $(LIBEVENT_LIBS) \
131    $(LIBCURL_LIBS) \
132    $(OPENSSL_LIBS) \
133    $(PTHREAD_LIBS) \
134    $(ZLIB_LIBS)
135
136bencode_test_SOURCES = bencode-test.c
137bencode_test_LDADD = ${apps_ldadd}
138bencode_test_LDFLAGS = ${apps_ldflags}
139
140blocklist_test_SOURCES = blocklist-test.c
141blocklist_test_LDADD = ${apps_ldadd}
142blocklist_test_LDFLAGS = ${apps_ldflags}
143
144clients_test_SOURCES = clients-test.c
145clients_test_LDADD = ${apps_ldadd}
146clients_test_LDFLAGS = ${apps_ldflags}
147
148json_test_SOURCES = json-test.c
149json_test_LDADD = ${apps_ldadd}
150json_test_LDFLAGS = ${apps_ldflags}
151
152rpc_test_SOURCES = rpc-test.c
153rpc_test_LDADD = ${apps_ldadd}
154rpc_test_LDFLAGS = ${apps_ldflags}
155
156test_peer_id_SOURCES = test-peer-id.c
157test_peer_id_LDADD = ${apps_ldadd}
158test_peer_id_LDFLAGS = ${apps_ldflags}
159
160request_list_test_SOURCES = request-list-test.c
161request_list_test_LDADD = ${apps_ldadd}
162request_list_test_LDFLAGS = ${apps_ldflags}
163
164peer_msgs_test_SOURCES = peer-msgs-test.c
165peer_msgs_test_LDADD = ${apps_ldadd}
166peer_msgs_test_LDFLAGS = ${apps_ldflags}
167
168utils_test_SOURCES = utils-test.c
169utils_test_LDADD = ${apps_ldadd}
170utils_test_LDFLAGS = ${apps_ldflags}
Note: See TracBrowser for help on using the repository browser.