source: trunk/libtransmission/Makefile.am @ 9795

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

(trunk) use AC_ARG_VAR for some autoconf variables s.t. their values will persist between reconfs

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