source: trunk/libtransmission/Makefile.am @ 5429

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

first (and incomplete) pass at peer blocking. this commit is to get the API into SVN so the mac client can access them

File size: 2.5 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    ptrarray.c \
28    publish.c \
29    ratecontrol.c \
30    shared.c \
31    stats.c \
32    torrent.c \
33    torrent-ctor.c \
34    tracker.c \
35    transmission.c \
36    trevent.c \
37    upnp.c \
38    utils.c \
39    verify.c
40
41noinst_HEADERS = \
42    bencode.h \
43    blocklist.h \
44    clients.h \
45    crypto.h \
46    completion.h \
47    fastresume.h \
48    fdlimit.h \
49    ggets.h \
50    handshake.h \
51    inout.h \
52    internal.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    ptrarray.h \
65    publish.h \
66    ratecontrol.h \
67    shared.h \
68    stats.h \
69    torrent.h \
70    tracker.h \
71    transmission.h \
72    trcompat.h \
73    trevent.h \
74    upnp.h \
75    utils.h \
76    verify.h
77
78bin_PROGRAMS = benc2php
79
80TESTS = \
81    bencode-test \
82    test-fastset \
83    test-peer-id
84
85noinst_PROGRAMS = $(TESTS)
86
87APPS_LDADD = \
88    ./libtransmission.a  \
89    $(top_builddir)/third-party/miniupnp/libminiupnp.a \
90    $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
91    $(top_builddir)/third-party/libevent/libevent.la \
92    $(OPENSSL_LIBS) $(PTHREAD_LIBS) -lm
93
94benc2php_SOURCES = benc2php.c
95benc2php_LDADD = $(APPS_LDADD)
96bencode_test_SOURCES = bencode-test.c
97bencode_test_LDADD = $(APPS_LDADD)
98test_fastset_SOURCES = test-fastset.c
99test_fastset_LDADD = $(APPS_LDADD)
100test_peer_id_SOURCES = test-peer-id.c
101test_peer_id_LDADD = $(APPS_LDADD)
102
103
104
105EXTRA_libtransmission_a_SOURCES = \
106    version.h
107
108BUILT_SOURCES = \
109    version.h
110
111version.h:
112        echo '#define PEERID_PREFIX         "'@PEERID_PREFIX@'"' > version.h
113        echo '#define USERAGENT_PREFIX      "'@USERAGENT_PREFIX@'"' >> version.h
114        echo '#define SVN_REVISION          "'`svn info | grep "Revision" | awk -F': ' '{print $$2}'`'"' >> version.h
115        echo '#define SHORT_VERSION_STRING  "'@USERAGENT_PREFIX@'"' >> version.h
116        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.