source: trunk/libtransmission/Makefile.am @ 6237

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

(rpc) remove the sort and filter options from the "torrent-get" rpc command. NOTE: probably breaks the mac build; xcode needs to drop "rpc-utils" from its list of libtransmission source files

File size: 3.2 KB
Line 
1AM_CPPFLAGS = -I. -I$(top_srcdir) -I$(top_srcdir)/third-party/ -D__TRANSMISSION__ $(LIBEVENT_CPPFLAGS)
2AM_CFLAGS = $(OPENSSL_CFLAGS) $(LIBCURL_CFLAGS) $(PTHREAD_CFLAGS)
3
4noinst_LIBRARIES = libtransmission.a
5
6libtransmission_a_SOURCES = \
7    bencode.c \
8    blocklist.c \
9    clients.c \
10    completion.c \
11    ConvertUTF.c \
12    crypto.c \
13    fastresume.c \
14    fdlimit.c \
15    ggets.c \
16    handshake.c \
17    inout.c \
18    json.c \
19    JSON_parser.c \
20    list.c \
21    makemeta.c \
22    metainfo.c \
23    natpmp.c \
24    net.c \
25    peer-io.c \
26    peer-mgr.c \
27    peer-msgs.c \
28    platform.c \
29    port-forwarding.c \
30    ptrarray.c \
31    publish.c \
32    ratecontrol.c \
33    resume.c \
34    rpc.c \
35    rpc-server.c \
36    session.c \
37    stats.c \
38    torrent.c \
39    torrent-ctor.c \
40    tracker.c \
41    trevent.c \
42    upnp.c \
43    utils.c \
44    verify.c \
45    web.c \
46    webseed.c
47
48noinst_HEADERS = \
49    bencode.h \
50    blocklist.h \
51    clients.h \
52    ConvertUTF.h \
53    crypto.h \
54    completion.h \
55    fastresume.h \
56    fdlimit.h \
57    ggets.h \
58    handshake.h \
59    inout.h \
60    json.h \
61    JSON_parser.h \
62    list.h \
63    makemeta.h \
64    metainfo.h \
65    natpmp.h \
66    net.h \
67    peer-common.h \
68    peer-io.h \
69    peer-mgr.h \
70    peer-mgr-private.h \
71    peer-msgs.h \
72    platform.h \
73    port-forwarding.h \
74    ptrarray.h \
75    publish.h \
76    ratecontrol.h \
77    resume.h \
78    rpc.h \
79    rpc-server.h \
80    session.h \
81    stats.h \
82    torrent.h \
83    tracker.h \
84    transmission.h \
85    trevent.h \
86    upnp.h \
87    utils.h \
88    verify.h \
89    web.h \
90    webseed.h
91
92TESTS = \
93    blocklist-test \
94    bencode-test \
95    clients-test \
96    json-test \
97    rpc-test \
98    test-fastset \
99    test-peer-id \
100    utils-test
101
102noinst_PROGRAMS = $(TESTS)
103
104APPS_LDADD = \
105    ./libtransmission.a  \
106    $(top_builddir)/third-party/shttpd/libshttpd.a \
107    $(top_builddir)/third-party/miniupnp/libminiupnp.a \
108    $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
109    $(top_builddir)/third-party/libevent/libevent.la \
110    $(INTLLIBS) \
111    $(OPENSSL_LIBS) \
112    $(LIBCURL_LIBS) \
113    $(PTHREAD_LIBS) \
114    -lm
115
116bencode_test_SOURCES = bencode-test.c
117bencode_test_LDADD = $(APPS_LDADD)
118blocklist_test_SOURCES = blocklist-test.c
119blocklist_test_LDADD = $(APPS_LDADD)
120clients_test_SOURCES = clients-test.c
121clients_test_LDADD = $(APPS_LDADD)
122json_test_SOURCES = json-test.c
123json_test_LDADD = $(APPS_LDADD)
124rpc_test_SOURCES = rpc-test.c
125rpc_test_LDADD = $(APPS_LDADD)
126test_fastset_SOURCES = test-fastset.c
127test_fastset_LDADD = $(APPS_LDADD)
128test_peer_id_SOURCES = test-peer-id.c
129test_peer_id_LDADD = $(APPS_LDADD)
130utils_test_SOURCES = utils-test.c
131utils_test_LDADD = $(APPS_LDADD)
132
133
134clean-local:
135        if test -d .svn; then rm version.h; fi;
136
137EXTRA_libtransmission_a_SOURCES = \
138    version.h
139
140BUILT_SOURCES = \
141    version.h
142
143version.h:
144        echo '#define PEERID_PREFIX         "'@PEERID_PREFIX@'"' > version.h
145        echo '#define USERAGENT_PREFIX      "'@USERAGENT_PREFIX@'"' >> version.h
146        echo '#define SVN_REVISION          "'`svn info | grep "Revision" | awk -F': ' '{print $$2}'`'"' >> version.h
147        echo '#define SHORT_VERSION_STRING  "'@USERAGENT_PREFIX@'"' >> version.h
148        echo '#define LONG_VERSION_STRING   "'@USERAGENT_PREFIX@' ('`svn info | grep "Revision" | awk -F': ' '{print $$2}'`')"' >> version.h
Note: See TracBrowser for help on using the repository browser.