source: trunk/libtransmission/Makefile.am @ 5042

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

modify "verify local data" to not lose the blocks in incomplete pieces

File size: 2.4 KB
Line 
1AM_CPPFLAGS = -I. -I$(top_srcdir) -I$(top_srcdir)/third-party/ -D__TRANSMISSION__ $(LIBEVENT_CPPFLAGS)
2AM_CFLAGS = $(OPENSSL_CFLAGS) $(PTHREAD_CFLAGS)
3
4noinst_LIBRARIES = libtransmission.a
5
6libtransmission_a_SOURCES = \
7    bencode.c \
8    clients.c \
9    completion.c \
10    crypto.c \
11    fastresume.c \
12    fdlimit.c \
13    handshake.c \
14    inout.c \
15    ipcparse.c \
16    list.c \
17    makemeta.c \
18    metainfo.c \
19    natpmp.c \
20    net.c \
21    peer-io.c \
22    peer-mgr.c \
23    peer-msgs.c \
24    platform.c \
25    ptrarray.c \
26    publish.c \
27    ratecontrol.c \
28    shared.c \
29    stats.c \
30    torrent.c \
31    torrent-ctor.c \
32    tracker.c \
33    transmission.c \
34    trevent.c \
35    upnp.c \
36    utils.c \
37    verify.c
38
39noinst_HEADERS = \
40    bencode.h \
41    bsdtree.h \
42    clients.h \
43    crypto.h \
44    completion.h \
45    fastresume.h \
46    fdlimit.h \
47    handshake.h \
48    inout.h \
49    internal.h \
50    ipcparse.h \
51    list.h \
52    makemeta.h \
53    metainfo.h \
54    natpmp.h \
55    net.h \
56    peer-io.h \
57    peer-mgr.h \
58    peer-mgr-private.h \
59    peer-msgs.h \
60    platform.h \
61    ptrarray.h \
62    publish.h \
63    ratecontrol.h \
64    shared.h \
65    stats.h \
66    torrent.h \
67    tracker.h \
68    transmission.h \
69    trcompat.h \
70    trevent.h \
71    upnp.h \
72    utils.h \
73    verify.h
74
75
76
77noinst_PROGRAMS = \
78    bencode-test \
79    test-fastset \
80    test-peer-id
81
82TESTS = $(noinst_PROGRAMS)
83
84TEST_LDADD = \
85    ./libtransmission.a  \
86    $(top_builddir)/third-party/miniupnp/libminiupnp.a \
87    $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
88    $(top_builddir)/third-party/libevent/libevent.la \
89    $(OPENSSL_LIBS) $(PTHREAD_LIBS) -lm
90
91bencode_test_SOURCES = bencode-test.c
92bencode_test_LDADD = $(TEST_LDADD)
93test_fastset_SOURCES = test-fastset.c
94test_fastset_LDADD = $(TEST_LDADD)
95test_peer_id_SOURCES = test-peer-id.c
96test_peer_id_LDADD = $(TEST_LDADD)
97
98
99
100EXTRA_libtransmission_a_SOURCES = \
101    version.h
102
103BUILT_SOURCES = \
104    version.h
105
106version.h:
107        echo '#define PEERID_PREFIX         "'@PEERID_PREFIX@'"' > version.h
108        echo '#define USERAGENT_PREFIX      "'@USERAGENT_PREFIX@'"' >> version.h
109        echo '#define SVN_REVISION          "'`svn info | grep "Revision" | awk -F': ' '{print $$2}'`'"' >> version.h
110        echo '#define SHORT_VERSION_STRING  "'@USERAGENT_PREFIX@'"' >> version.h
111        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.