2008-02-07 20:02:06 +00:00
|
|
|
SUBDIRS = icons
|
|
|
|
|
2008-08-15 19:31:59 +00:00
|
|
|
if TR_UNSTABLE
|
2008-10-31 23:58:34 +00:00
|
|
|
GTK_EXTRA_CPPFLAGS=-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED
|
2008-08-15 19:31:59 +00:00
|
|
|
endif
|
|
|
|
|
2008-10-31 23:58:34 +00:00
|
|
|
# these should go in GTK_EXTRA_CPPFLAGS at some point, but not yet because it breaks libnotify's headers
|
|
|
|
# -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES
|
|
|
|
|
2008-10-08 20:29:53 +00:00
|
|
|
sexy-marshal.h: marshal.list
|
|
|
|
glib-genmarshal --prefix=sexy_marshal ./marshal.list --header > sexy-marshal.h
|
|
|
|
|
|
|
|
sexy-marshal.c: marshal.list
|
2008-10-10 02:32:14 +00:00
|
|
|
echo '#include "sexy-marshal.h"' > sexy-marshal.c
|
|
|
|
glib-genmarshal --prefix=sexy_marshal ./marshal.list --body >> sexy-marshal.c
|
2008-10-08 20:29:53 +00:00
|
|
|
|
2007-08-14 19:26:49 +00:00
|
|
|
AM_CPPFLAGS = \
|
2007-08-14 19:53:36 +00:00
|
|
|
-I$(top_srcdir) \
|
2008-08-15 19:31:59 +00:00
|
|
|
-DTRANSMISSIONLOCALEDIR=\""$(transmissionlocaledir)"\" \
|
|
|
|
$(GTK_EXTRA_CPPFLAGS)
|
2007-07-18 23:04:26 +00:00
|
|
|
|
2007-10-28 19:55:03 +00:00
|
|
|
AM_CFLAGS = \
|
2010-02-07 19:32:35 +00:00
|
|
|
@LIBAPPINDICATOR_CFLAGS@ \
|
2009-12-18 05:02:48 +00:00
|
|
|
@LIBEVENT_CFLAGS@ \
|
|
|
|
@LIBCANBERRA_CFLAGS@ \
|
2010-04-01 22:12:32 +00:00
|
|
|
@GCONF2_CFLAGS@ \
|
2009-12-18 05:02:48 +00:00
|
|
|
@GTK_CFLAGS@ \
|
|
|
|
@LIBCURL_CFLAGS@ \
|
|
|
|
@GIO_CFLAGS@ \
|
|
|
|
@LIBNOTIFY_CFLAGS@ \
|
|
|
|
@DBUS_GLIB_CFLAGS@ \
|
|
|
|
@OPENSSL_CFLAGS@ \
|
|
|
|
@ZLIB_CFLAGS@ \
|
|
|
|
@PTHREAD_CFLAGS@
|
2007-07-18 23:04:26 +00:00
|
|
|
|
2008-11-09 15:43:31 +00:00
|
|
|
AM_LDFLAGS = \
|
2009-12-18 05:02:48 +00:00
|
|
|
@ZLIB_LDFLAGS@
|
2008-11-09 15:43:31 +00:00
|
|
|
|
2007-07-18 23:04:26 +00:00
|
|
|
noinst_HEADERS = \
|
|
|
|
actions.h \
|
2008-04-03 02:11:15 +00:00
|
|
|
add-dialog.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
conf.h \
|
2008-02-19 03:57:03 +00:00
|
|
|
details.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
dialogs.h \
|
2010-03-15 02:53:31 +00:00
|
|
|
favicon.h \
|
2010-03-14 05:13:02 +00:00
|
|
|
filter.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
hig.h \
|
2009-03-02 23:31:01 +00:00
|
|
|
icons.h \
|
2008-02-10 22:25:42 +00:00
|
|
|
file-list.h \
|
2007-10-13 13:51:38 +00:00
|
|
|
lock.h \
|
2008-02-07 20:27:17 +00:00
|
|
|
logo.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
makemeta-ui.h \
|
|
|
|
msgwin.h \
|
2008-03-20 03:52:55 +00:00
|
|
|
notify.h \
|
2009-04-15 04:28:04 +00:00
|
|
|
options-icon.h \
|
2009-11-28 16:51:47 +00:00
|
|
|
ratio-icon.h \
|
2009-05-13 15:54:04 +00:00
|
|
|
relocate.h \
|
2007-11-27 03:29:51 +00:00
|
|
|
stats.h \
|
2007-12-24 00:14:39 +00:00
|
|
|
sexy-icon-entry.h \
|
2008-10-08 20:29:53 +00:00
|
|
|
sexy-marshal.h \
|
2007-12-19 02:46:30 +00:00
|
|
|
torrent-cell-renderer.h \
|
2008-06-01 05:36:23 +00:00
|
|
|
tracker-list.h \
|
2008-02-26 19:58:03 +00:00
|
|
|
tr-core.h \
|
2008-05-20 23:58:59 +00:00
|
|
|
tr-core-dbus.h \
|
2008-02-26 19:58:03 +00:00
|
|
|
tr-icon.h \
|
|
|
|
tr-prefs.h \
|
|
|
|
tr-torrent.h \
|
|
|
|
tr-window.h \
|
2009-03-28 16:47:01 +00:00
|
|
|
turtles.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
ui.h \
|
|
|
|
util.h
|
|
|
|
|
2007-09-23 23:38:39 +00:00
|
|
|
bin_PROGRAMS = transmission
|
2007-07-18 23:04:26 +00:00
|
|
|
|
2008-08-17 12:39:26 +00:00
|
|
|
dbus_generated_sources = tr-core-dbus.h
|
|
|
|
|
2007-09-23 23:38:39 +00:00
|
|
|
transmission_SOURCES = \
|
2007-07-18 23:04:26 +00:00
|
|
|
actions.c \
|
2008-04-03 02:11:15 +00:00
|
|
|
add-dialog.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
conf.c \
|
2008-02-19 03:57:03 +00:00
|
|
|
details.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
dialogs.c \
|
2010-03-15 02:53:31 +00:00
|
|
|
favicon.c \
|
2008-02-10 22:25:42 +00:00
|
|
|
file-list.c \
|
2010-03-14 05:13:02 +00:00
|
|
|
filter.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
hig.c \
|
2009-03-02 23:31:01 +00:00
|
|
|
icons.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
main.c \
|
|
|
|
makemeta-ui.c \
|
|
|
|
msgwin.c \
|
2008-02-24 15:42:31 +00:00
|
|
|
notify.c \
|
2009-05-13 15:54:04 +00:00
|
|
|
relocate.c \
|
2007-12-24 00:14:39 +00:00
|
|
|
sexy-icon-entry.c \
|
2008-10-08 20:29:53 +00:00
|
|
|
sexy-marshal.c \
|
2007-11-27 03:29:51 +00:00
|
|
|
stats.c \
|
2007-12-19 02:46:30 +00:00
|
|
|
torrent-cell-renderer.c \
|
2008-06-01 05:36:23 +00:00
|
|
|
tracker-list.c \
|
2008-02-26 19:58:03 +00:00
|
|
|
tr-core.c \
|
|
|
|
tr-icon.c \
|
|
|
|
tr-prefs.c \
|
|
|
|
tr-torrent.c \
|
|
|
|
tr-window.c \
|
2008-08-17 12:39:26 +00:00
|
|
|
util.c \
|
|
|
|
$(dbus_generated_sources)
|
2007-07-18 23:04:26 +00:00
|
|
|
|
2007-10-24 22:53:44 +00:00
|
|
|
dist_man_MANS = transmission.1
|
|
|
|
|
2007-09-23 23:38:39 +00:00
|
|
|
transmission_LDADD = \
|
2007-08-15 02:48:32 +00:00
|
|
|
$(top_builddir)/libtransmission/libtransmission.a \
|
2007-11-06 16:02:50 +00:00
|
|
|
$(top_builddir)/third-party/miniupnp/libminiupnp.a \
|
2007-12-08 19:34:15 +00:00
|
|
|
$(top_builddir)/third-party/libnatpmp/libnatpmp.a \
|
2009-12-18 05:02:48 +00:00
|
|
|
@LIBCANBERRA_LIBS@ \
|
2010-04-01 22:12:32 +00:00
|
|
|
@GCONF2_LIBS@ \
|
2009-12-18 05:02:48 +00:00
|
|
|
@DHT_LIBS@ \
|
|
|
|
@GTK_LIBS@ \
|
|
|
|
@GIO_LIBS@ \
|
2010-02-07 19:32:35 +00:00
|
|
|
@LIBAPPINDICATOR_LIBS@ \
|
2009-12-18 05:02:48 +00:00
|
|
|
@LIBNOTIFY_LIBS@ \
|
|
|
|
@LIBEVENT_LIBS@ \
|
|
|
|
@DBUS_GLIB_LIBS@ \
|
|
|
|
@LIBCURL_LIBS@ \
|
|
|
|
@OPENSSL_LIBS@ \
|
|
|
|
@ZLIB_LIBS@ \
|
|
|
|
@PTHREAD_LIBS@
|
2007-10-08 15:37:33 +00:00
|
|
|
|
2007-10-09 14:12:38 +00:00
|
|
|
DESKTOP_IN_FILES=transmission.desktop.in
|
|
|
|
DESKTOP_FILES=$(DESKTOP_IN_FILES:.desktop.in=.desktop)
|
2007-10-09 18:28:14 +00:00
|
|
|
@INTLTOOL_DESKTOP_RULE@
|
2007-10-09 14:12:38 +00:00
|
|
|
|
2007-10-08 15:37:33 +00:00
|
|
|
Productivitydir = $(datadir)/applications
|
|
|
|
Productivity_DATA = $(DESKTOP_FILES)
|
|
|
|
|
|
|
|
icon_DATA = transmission.png
|
|
|
|
icondir = $(datadir)/pixmaps
|
2007-10-09 14:12:38 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2007-10-24 15:25:43 +00:00
|
|
|
$(DESKTOP_IN_FILES) \
|
2008-10-19 20:20:23 +00:00
|
|
|
marshal.list \
|
2008-08-17 12:39:31 +00:00
|
|
|
tr-core-dbus.xml \
|
2007-10-24 15:25:43 +00:00
|
|
|
transmission.png
|
2007-10-24 17:20:50 +00:00
|
|
|
|
|
|
|
DISTCLEANFILES = \
|
|
|
|
transmission.desktop
|
|
|
|
|
2008-08-17 12:39:26 +00:00
|
|
|
CLEANFILES = $(dbus_generated_sources)
|
|
|
|
|
2008-08-17 21:43:39 +00:00
|
|
|
$(srcdir)/tr-core.c: tr-core-dbus.h
|
2008-08-17 12:39:26 +00:00
|
|
|
|
|
|
|
tr-core-dbus.h: $(srcdir)/tr-core-dbus.xml
|
|
|
|
$(DBUS_BINDING_TOOL) --mode=glib-server --prefix=tr_core $< > $(@F)
|
2008-09-06 04:23:28 +00:00
|
|
|
|
|
|
|
if WIN32
|
2008-10-08 20:29:53 +00:00
|
|
|
|
2008-09-06 04:31:08 +00:00
|
|
|
transmission.res: transmission.rc
|
2008-09-06 04:37:08 +00:00
|
|
|
$(WINDRES) -J rc -i transmission.rc -O coff -o transmission.res
|
2008-09-06 04:31:08 +00:00
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
2008-10-08 20:29:53 +00:00
|
|
|
sexy-marshal.h \
|
|
|
|
sexy-marshal.c \
|
|
|
|
setransmission.res
|
2008-09-06 04:31:08 +00:00
|
|
|
|
|
|
|
CLEANFILES += \
|
2008-09-06 04:37:08 +00:00
|
|
|
transmission.res
|
2008-09-06 04:31:08 +00:00
|
|
|
|
|
|
|
transmission_LDADD += \
|
2008-09-06 04:37:08 +00:00
|
|
|
transmission.res
|
2008-09-06 04:31:08 +00:00
|
|
|
|
2008-09-06 04:23:28 +00:00
|
|
|
transmission_LDFLAGS = \
|
|
|
|
-mwindows
|
|
|
|
|
2008-10-08 20:29:53 +00:00
|
|
|
else
|
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
|
|
|
sexy-marshal.h \
|
|
|
|
sexy-marshal.c
|
|
|
|
|
|
|
|
endif
|