source: trunk/libtransmission/Makefile.am @ 5673

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

#377: preliminary https support. this commit probably breaks mac and cli and is not for the faint of heart.

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