source: trunk/libtransmission/Makefile.am @ 5827

Last change on this file since 5827 was 5827, checked in by charles, 14 years ago

make the request/response messages a little terser. add per-torrent speed limit toggles. rename ipc -> rpc.

File size: 3.0 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    ConvertUTF.c \
8    JSON_checker.c \
9    bencode.c \
10    blocklist.c \
11    clients.c \
12    completion.c \
13    crypto.c \
14    fastresume.c \
15    fdlimit.c \
16    ggets.c \
17    handshake.c \
18    inout.c \
19    ipcparse.c \
20    json.c \
21    list.c \
22    makemeta.c \
23    metainfo.c \
24    natpmp.c \
25    net.c \
26    peer-io.c \
27    peer-mgr.c \
28    peer-msgs.c \
29    platform.c \
30    port-forwarding.c \
31    ptrarray.c \
32    publish.c \
33    ratecontrol.c \
34    resume.c \
35    rpc.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
47noinst_HEADERS = \
48    ConvertUTF.h \
49    JSON_checker.h \
50    bencode.h \
51    blocklist.h \
52    clients.h \
53    crypto.h \
54    completion.h \
55    fastresume.h \
56    fdlimit.h \
57    ggets.h \
58    handshake.h \
59    inout.h \
60    ipcparse.h \
61    list.h \
62    makemeta.h \
63    metainfo.h \
64    natpmp.h \
65    net.h \
66    peer-io.h \
67    peer-mgr.h \
68    peer-mgr-private.h \
69    peer-msgs.h \
70    platform.h \
71    port-forwarding.h \
72    ptrarray.h \
73    publish.h \
74    ratecontrol.h \
75    resume.h \
76    rpc.h \
77    session.h \
78    stats.h \
79    torrent.h \
80    tracker.h \
81    transmission.h \
82    trcompat.h \
83    trevent.h \
84    upnp.h \
85    utils.h \
86    verify.h \
87    web.h
88
89TESTS = \
90    blocklist-test \
91    bencode-test \
92    clients-test \
93    json-test \
94    test-fastset \
95    test-peer-id
96
97noinst_PROGRAMS = $(TESTS)
98
99APPS_LDADD = \
100    ./libtransmission.a  \
101    $(top_builddir)/third-party/miniupnp/libminiupnp.a \
102    $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
103    $(top_builddir)/third-party/libevent/libevent.la \
104    $(INTLLIBS) \
105    $(OPENSSL_LIBS) \
106    $(LIBCURL_LIBS) \
107    $(PTHREAD_LIBS) \
108    -lm
109
110bencode_test_SOURCES = bencode-test.c
111bencode_test_LDADD = $(APPS_LDADD)
112blocklist_test_SOURCES = blocklist-test.c
113blocklist_test_LDADD = $(APPS_LDADD)
114clients_test_SOURCES = clients-test.c
115clients_test_LDADD = $(APPS_LDADD)
116json_test_SOURCES = json-test.c
117json_test_LDADD = $(APPS_LDADD)
118test_fastset_SOURCES = test-fastset.c
119test_fastset_LDADD = $(APPS_LDADD)
120test_peer_id_SOURCES = test-peer-id.c
121test_peer_id_LDADD = $(APPS_LDADD)
122
123
124clean-local:
125        if test -d .svn; then rm version.h; fi;
126
127EXTRA_libtransmission_a_SOURCES = \
128    version.h
129
130BUILT_SOURCES = \
131    version.h
132
133version.h:
134        echo '#define PEERID_PREFIX         "'@PEERID_PREFIX@'"' > version.h
135        echo '#define USERAGENT_PREFIX      "'@USERAGENT_PREFIX@'"' >> version.h
136        echo '#define SVN_REVISION          "'`svn info | grep "Revision" | awk -F': ' '{print $$2}'`'"' >> version.h
137        echo '#define SHORT_VERSION_STRING  "'@USERAGENT_PREFIX@'"' >> version.h
138        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.