source: trunk/libtransmission/Makefile.am @ 8690

Last change on this file since 8690 was 8690, checked in by charles, 13 years ago

(trunk) replace LIBEVENT_CPPFLAGS with LIBEVENT_CFLAGS

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    $(LIBEVENT_CFLAGS) \
5    $(LIBCURL_CFLAGS) \
6    $(OPENSSL_CFLAGS) \
7    $(PTHREAD_CFLAGS) \
8    $(ZLIB_CFLAGS)
9
10noinst_LIBRARIES = libtransmission.a
11
12libtransmission_a_SOURCES = \
13    bandwidth.c \
14    bencode.c \
15    blocklist.c \
16    clients.c \
17    completion.c \
18    ConvertUTF.c \
19    crypto.c \
20    fastresume.c \
21    fdlimit.c \
22    ggets.c \
23    handshake.c \
24    inout.c \
25    json.c \
26    JSON_parser.c \
27    list.c \
28    makemeta.c \
29    metainfo.c \
30    natpmp.c \
31    net.c \
32    peer-io.c \
33    peer-mgr.c \
34    peer-msgs.c \
35    platform.c \
36    port-forwarding.c \
37    ptrarray.c \
38    publish.c \
39    ratecontrol.c \
40    request-list.c \
41    resume.c \
42    rpcimpl.c \
43    rpc-server.c \
44    session.c \
45    stats.c \
46    torrent.c \
47    torrent-ctor.c \
48    tr-getopt.c \
49    tracker.c \
50    tr-dht.c \
51    trevent.c \
52    upnp.c \
53    utils.c \
54    verify.c \
55    web.c \
56    webseed.c \
57    wildmat.c
58
59noinst_HEADERS = \
60    bandwidth.h \
61    bencode.h \
62    blocklist.h \
63    clients.h \
64    ConvertUTF.h \
65    crypto.h \
66    completion.h \
67    fastresume.h \
68    fdlimit.h \
69    ggets.h \
70    handshake.h \
71    inout.h \
72    json.h \
73    JSON_parser.h \
74    list.h \
75    makemeta.h \
76    metainfo.h \
77    natpmp.h \
78    net.h \
79    peer-common.h \
80    peer-io.h \
81    peer-mgr.h \
82    peer-msgs.h \
83    platform.h \
84    port-forwarding.h \
85    ptrarray.h \
86    publish.h \
87    ratecontrol.h \
88    request-list.h \
89    resume.h \
90    rpcimpl.h \
91    rpc-server.h \
92    session.h \
93    stats.h \
94    torrent.h \
95    tracker.h \
96    tr-getopt.h \
97    transmission.h \
98    tr-dht.h \
99    trevent.h \
100    upnp.h \
101    utils.h \
102    verify.h \
103    version.h \
104    web.h \
105    webseed.h
106
107TESTS = \
108    blocklist-test \
109    bencode-test \
110    clients-test \
111    json-test \
112    peer-msgs-test \
113    request-list-test \
114    rpc-test \
115    test-peer-id \
116    utils-test
117
118noinst_PROGRAMS = $(TESTS)
119
120apps_ldflags = \
121    $(ZLIB_LDFLAGS)
122
123apps_ldadd = \
124    ./libtransmission.a  \
125    $(top_builddir)/third-party/miniupnp/libminiupnp.a \
126    $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
127    $(top_builddir)/third-party/dht/libdht.a \
128    $(INTLLIBS) \
129    $(LIBEVENT_LIBS) \
130    $(LIBCURL_LIBS) \
131    $(OPENSSL_LIBS) \
132    $(PTHREAD_LIBS) \
133    $(ZLIB_LIBS) \
134    -lm
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.