source: trunk/libtransmission/Makefile.am @ 8790

Last change on this file since 8790 was 8790, checked in by titer, 13 years ago

Only use libm if it's there and needed

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    bandwidth.c \
15    bencode.c \
16    bitfield.c \
17    blocklist.c \
18    clients.c \
19    completion.c \
20    ConvertUTF.c \
21    crypto.c \
22    fastresume.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-getopt.c \
51    tracker.c \
52    tr-dht.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    bandwidth.h \
63    bencode.h \
64    bitfield.h \
65    blocklist.h \
66    clients.h \
67    ConvertUTF.h \
68    crypto.h \
69    completion.h \
70    fastresume.h \
71    fdlimit.h \
72    ggets.h \
73    handshake.h \
74    inout.h \
75    json.h \
76    JSON_parser.h \
77    list.h \
78    makemeta.h \
79    metainfo.h \
80    natpmp.h \
81    net.h \
82    peer-common.h \
83    peer-io.h \
84    peer-mgr.h \
85    peer-msgs.h \
86    platform.h \
87    port-forwarding.h \
88    ptrarray.h \
89    publish.h \
90    ratecontrol.h \
91    request-list.h \
92    resume.h \
93    rpcimpl.h \
94    rpc-server.h \
95    session.h \
96    stats.h \
97    torrent.h \
98    tracker.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    peer-msgs-test \
116    request-list-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
154rpc_test_SOURCES = rpc-test.c
155rpc_test_LDADD = ${apps_ldadd}
156rpc_test_LDFLAGS = ${apps_ldflags}
157
158test_peer_id_SOURCES = test-peer-id.c
159test_peer_id_LDADD = ${apps_ldadd}
160test_peer_id_LDFLAGS = ${apps_ldflags}
161
162request_list_test_SOURCES = request-list-test.c
163request_list_test_LDADD = ${apps_ldadd}
164request_list_test_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.