source: trunk/libtransmission/Makefile.am @ 5606

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

#872: crash in bitfield code when loading resume files

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