source: trunk/libtransmission/Makefile.am @ 3621

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

better openssl detection & support: use openssl's pkg-config file.

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    basename.c \
8    bencode.c \
9    clients.c \
10    completion.c \
11    crypto.c \
12    dirname.c \
13    fastresume.c \
14    fdlimit.c \
15    handshake.c \
16    http.c \
17    inout.c \
18    ipcparse.c \
19    list.c \
20    makemeta.c \
21    metainfo.c \
22    natpmp.c \
23    net.c \
24    peer-io.c \
25    peer-mgr.c \
26    peer-msgs.c \
27    platform.c \
28    ptrarray.c \
29    publish.c \
30    ratecontrol.c \
31    shared.c \
32    strlcat.c \
33    strlcpy.c \
34    torrent.c \
35    tracker.c \
36    transmission.c \
37    trevent.c \
38    upnp.c \
39    utils.c \
40    xml.c
41
42noinst_HEADERS = \
43    bencode.h \
44    bsdtree.h \
45    clients.h \
46    crypto.h \
47    completion.h \
48    fastresume.h \
49    fdlimit.h \
50    handshake.h \
51    http.h \
52    inout.h \
53    internal.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    ptrarray.h \
66    publish.h \
67    ratecontrol.h \
68    shared.h \
69    tracker.h \
70    transmission.h \
71    trcompat.h \
72    trevent.h \
73    upnp.h \
74    utils.h \
75    xml.h
76
77EXTRA_libtransmission_a_SOURCES = \
78    version.h
79
80BUILT_SOURCES = \
81    version.h
82
83version.h:
84        echo '#define PEERID_PREFIX         "'@PEERID_PREFIX@'"' > version.h
85        echo '#define USERAGENT_PREFIX      "'@USERAGENT_PREFIX@'"' >> version.h
86        echo '#define SVN_REVISION          "'`svn info | grep "Revision" | awk -F': ' '{print $$2}'`'"' >> version.h
87        echo '#define SHORT_VERSION_STRING  "'@USERAGENT_PREFIX@'"' >> version.h
88        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.