source: trunk/libtransmission/Makefile.am @ 9558

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

(trunk libT) fix bitset crash. add bitset.h to the automake file.

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