source: trunk/libtransmission/Makefile.am @ 3652

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

remove dirname() and basename() for now

File size: 1.8 KB
Line 
1AM_CPPFLAGS = -I. -I$(top_srcdir) -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    http.c \
15    inout.c \
16    ipcparse.c \
17    list.c \
18    makemeta.c \
19    metainfo.c \
20    natpmp.c \
21    net.c \
22    peer-io.c \
23    peer-mgr.c \
24    peer-msgs.c \
25    platform.c \
26    ptrarray.c \
27    publish.c \
28    ratecontrol.c \
29    shared.c \
30    strlcat.c \
31    strlcpy.c \
32    torrent.c \
33    tracker.c \
34    transmission.c \
35    trevent.c \
36    upnp.c \
37    utils.c \
38    xml.c
39
40noinst_HEADERS = \
41    bencode.h \
42    bsdtree.h \
43    clients.h \
44    crypto.h \
45    completion.h \
46    fastresume.h \
47    fdlimit.h \
48    handshake.h \
49    http.h \
50    inout.h \
51    internal.h \
52    ipcparse.h \
53    list.h \
54    makemeta.h \
55    metainfo.h \
56    natpmp.h \
57    net.h \
58    peer-io.h \
59    peer-mgr.h \
60    peer-mgr-private.h \
61    peer-msgs.h \
62    platform.h \
63    ptrarray.h \
64    publish.h \
65    ratecontrol.h \
66    shared.h \
67    tracker.h \
68    transmission.h \
69    trcompat.h \
70    trevent.h \
71    upnp.h \
72    utils.h \
73    xml.h
74
75EXTRA_libtransmission_a_SOURCES = \
76    version.h
77
78BUILT_SOURCES = \
79    version.h
80
81version.h:
82        echo '#define PEERID_PREFIX         "'@PEERID_PREFIX@'"' > version.h
83        echo '#define USERAGENT_PREFIX      "'@USERAGENT_PREFIX@'"' >> version.h
84        echo '#define SVN_REVISION          "'`svn info | grep "Revision" | awk -F': ' '{print $$2}'`'"' >> version.h
85        echo '#define SHORT_VERSION_STRING  "'@USERAGENT_PREFIX@'"' >> version.h
86        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.