2007-11-06 16:02:50 +00:00
|
|
|
AM_CPPFLAGS = -I. -I$(top_srcdir) -I$(top_srcdir)/third-party/ -D__TRANSMISSION__ $(LIBEVENT_CPPFLAGS)
|
2007-10-28 19:55:03 +00:00
|
|
|
AM_CFLAGS = $(OPENSSL_CFLAGS) $(PTHREAD_CFLAGS)
|
2007-07-18 23:04:26 +00:00
|
|
|
|
|
|
|
noinst_LIBRARIES = libtransmission.a
|
|
|
|
|
|
|
|
libtransmission_a_SOURCES = \
|
|
|
|
bencode.c \
|
|
|
|
clients.c \
|
|
|
|
completion.c \
|
2007-09-20 16:32:01 +00:00
|
|
|
crypto.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
fastresume.c \
|
|
|
|
fdlimit.c \
|
2007-09-20 16:32:01 +00:00
|
|
|
handshake.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
inout.c \
|
|
|
|
ipcparse.c \
|
|
|
|
list.c \
|
|
|
|
makemeta.c \
|
|
|
|
metainfo.c \
|
|
|
|
natpmp.c \
|
|
|
|
net.c \
|
2007-09-20 16:32:01 +00:00
|
|
|
peer-io.c \
|
|
|
|
peer-mgr.c \
|
|
|
|
peer-msgs.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
platform.c \
|
2007-08-14 20:45:23 +00:00
|
|
|
ptrarray.c \
|
|
|
|
publish.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
ratecontrol.c \
|
|
|
|
shared.c \
|
|
|
|
torrent.c \
|
|
|
|
tracker.c \
|
|
|
|
transmission.c \
|
2007-08-18 03:02:32 +00:00
|
|
|
trevent.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
upnp.c \
|
2007-11-06 16:02:50 +00:00
|
|
|
utils.c
|
2007-07-18 23:04:26 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = \
|
|
|
|
bencode.h \
|
|
|
|
bsdtree.h \
|
|
|
|
clients.h \
|
2007-09-20 16:32:01 +00:00
|
|
|
crypto.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
completion.h \
|
|
|
|
fastresume.h \
|
|
|
|
fdlimit.h \
|
2007-09-20 16:32:01 +00:00
|
|
|
handshake.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
inout.h \
|
|
|
|
internal.h \
|
|
|
|
ipcparse.h \
|
|
|
|
list.h \
|
|
|
|
makemeta.h \
|
|
|
|
metainfo.h \
|
|
|
|
natpmp.h \
|
|
|
|
net.h \
|
2007-09-20 16:32:01 +00:00
|
|
|
peer-io.h \
|
|
|
|
peer-mgr.h \
|
|
|
|
peer-mgr-private.h \
|
|
|
|
peer-msgs.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
platform.h \
|
2007-08-14 20:45:23 +00:00
|
|
|
ptrarray.h \
|
|
|
|
publish.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
ratecontrol.h \
|
|
|
|
shared.h \
|
|
|
|
tracker.h \
|
|
|
|
transmission.h \
|
|
|
|
trcompat.h \
|
2007-08-18 03:02:32 +00:00
|
|
|
trevent.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
upnp.h \
|
2007-11-06 16:02:50 +00:00
|
|
|
utils.h
|
2007-10-24 17:20:50 +00:00
|
|
|
|
2007-10-24 20:18:13 +00:00
|
|
|
EXTRA_libtransmission_a_SOURCES = \
|
|
|
|
version.h
|
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
2007-10-24 19:57:47 +00:00
|
|
|
version.h
|
2007-10-24 18:36:53 +00:00
|
|
|
|
2007-10-24 19:57:47 +00:00
|
|
|
version.h:
|
|
|
|
echo '#define PEERID_PREFIX "'@PEERID_PREFIX@'"' > version.h
|
|
|
|
echo '#define USERAGENT_PREFIX "'@USERAGENT_PREFIX@'"' >> version.h
|
|
|
|
echo '#define SVN_REVISION "'`svn info | grep "Revision" | awk -F': ' '{print $$2}'`'"' >> version.h
|
|
|
|
echo '#define SHORT_VERSION_STRING "'@USERAGENT_PREFIX@'"' >> version.h
|
|
|
|
echo '#define LONG_VERSION_STRING "'@USERAGENT_PREFIX@' ('`svn info | grep "Revision" | awk -F': ' '{print $$2}'`')"' >> version.h
|