1 | AM_CPPFLAGS = -I. -I$(top_srcdir) -I$(top_srcdir)/third-party/ -D__TRANSMISSION__ -DPACKAGE_DATA_DIR=\""$(datadir)"\" |
---|
2 | |
---|
3 | AM_CFLAGS = \ |
---|
4 | $(DHT_CFLAGS) \ |
---|
5 | $(LIBEVENT_CFLAGS) \ |
---|
6 | $(LIBCURL_CFLAGS) \ |
---|
7 | $(OPENSSL_CFLAGS) \ |
---|
8 | $(PTHREAD_CFLAGS) \ |
---|
9 | $(ZLIB_CFLAGS) |
---|
10 | |
---|
11 | noinst_LIBRARIES = libtransmission.a |
---|
12 | |
---|
13 | libtransmission_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 | |
---|
61 | noinst_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 | |
---|
110 | TESTS = \ |
---|
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 | |
---|
121 | noinst_PROGRAMS = $(TESTS) |
---|
122 | |
---|
123 | apps_ldflags = \ |
---|
124 | $(ZLIB_LDFLAGS) |
---|
125 | |
---|
126 | apps_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 | |
---|
138 | bencode_test_SOURCES = bencode-test.c |
---|
139 | bencode_test_LDADD = ${apps_ldadd} |
---|
140 | bencode_test_LDFLAGS = ${apps_ldflags} |
---|
141 | |
---|
142 | blocklist_test_SOURCES = blocklist-test.c |
---|
143 | blocklist_test_LDADD = ${apps_ldadd} |
---|
144 | blocklist_test_LDFLAGS = ${apps_ldflags} |
---|
145 | |
---|
146 | clients_test_SOURCES = clients-test.c |
---|
147 | clients_test_LDADD = ${apps_ldadd} |
---|
148 | clients_test_LDFLAGS = ${apps_ldflags} |
---|
149 | |
---|
150 | json_test_SOURCES = json-test.c |
---|
151 | json_test_LDADD = ${apps_ldadd} |
---|
152 | json_test_LDFLAGS = ${apps_ldflags} |
---|
153 | |
---|
154 | rpc_test_SOURCES = rpc-test.c |
---|
155 | rpc_test_LDADD = ${apps_ldadd} |
---|
156 | rpc_test_LDFLAGS = ${apps_ldflags} |
---|
157 | |
---|
158 | test_peer_id_SOURCES = test-peer-id.c |
---|
159 | test_peer_id_LDADD = ${apps_ldadd} |
---|
160 | test_peer_id_LDFLAGS = ${apps_ldflags} |
---|
161 | |
---|
162 | request_list_test_SOURCES = request-list-test.c |
---|
163 | request_list_test_LDADD = ${apps_ldadd} |
---|
164 | request_list_test_LDFLAGS = ${apps_ldflags} |
---|
165 | |
---|
166 | peer_msgs_test_SOURCES = peer-msgs-test.c |
---|
167 | peer_msgs_test_LDADD = ${apps_ldadd} |
---|
168 | peer_msgs_test_LDFLAGS = ${apps_ldflags} |
---|
169 | |
---|
170 | utils_test_SOURCES = utils-test.c |
---|
171 | utils_test_LDADD = ${apps_ldadd} |
---|
172 | utils_test_LDFLAGS = ${apps_ldflags} |
---|