2012-09-22 22:36:05 +00:00
|
|
|
BUILT_SOURCES =
|
|
|
|
CLEANFILES =
|
2008-02-07 20:02:06 +00:00
|
|
|
SUBDIRS = icons
|
|
|
|
|
2008-08-15 19:31:59 +00:00
|
|
|
if TR_UNSTABLE
|
2014-01-20 21:30:41 +00:00
|
|
|
#FIXME: migrate from GtkUIManager to GtkBuilder in 2.90
|
|
|
|
#GTK_EXTRA_CPPFLAGS=-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED
|
|
|
|
GTK_EXTRA_CPPFLAGS=-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_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
|
|
|
|
|
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@ \
|
|
|
|
@GTK_CFLAGS@ \
|
|
|
|
@LIBCURL_CFLAGS@ \
|
|
|
|
@ZLIB_CFLAGS@ \
|
|
|
|
@PTHREAD_CFLAGS@
|
2007-07-18 23:04:26 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = \
|
|
|
|
actions.h \
|
|
|
|
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-09-24 15:22:53 +00:00
|
|
|
file-list.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 \
|
2007-07-18 23:04:26 +00:00
|
|
|
makemeta-ui.h \
|
|
|
|
msgwin.h \
|
2008-03-20 03:52:55 +00:00
|
|
|
notify.h \
|
2011-01-20 19:57:42 +00:00
|
|
|
open-dialog.h \
|
2009-05-13 15:54:04 +00:00
|
|
|
relocate.h \
|
2007-11-27 03:29:51 +00:00
|
|
|
stats.h \
|
2007-12-19 02:46:30 +00:00
|
|
|
torrent-cell-renderer.h \
|
2012-09-07 17:18:17 +00:00
|
|
|
transmission-resources.h \
|
2008-02-26 19:58:03 +00:00
|
|
|
tr-core.h \
|
|
|
|
tr-icon.h \
|
|
|
|
tr-prefs.h \
|
|
|
|
tr-window.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
util.h
|
|
|
|
|
2010-08-05 12:57:54 +00:00
|
|
|
bin_PROGRAMS = transmission-gtk
|
2007-07-18 23:04:26 +00:00
|
|
|
|
2010-08-05 12:57:54 +00:00
|
|
|
transmission_gtk_SOURCES = \
|
2007-07-18 23:04:26 +00:00
|
|
|
actions.c \
|
|
|
|
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 \
|
2011-01-20 19:57:42 +00:00
|
|
|
open-dialog.c \
|
2009-05-13 15:54:04 +00:00
|
|
|
relocate.c \
|
2007-11-27 03:29:51 +00:00
|
|
|
stats.c \
|
2007-12-19 02:46:30 +00:00
|
|
|
torrent-cell-renderer.c \
|
2012-09-07 17:18:17 +00:00
|
|
|
transmission-resources.c \
|
2008-02-26 19:58:03 +00:00
|
|
|
tr-core.c \
|
|
|
|
tr-icon.c \
|
|
|
|
tr-prefs.c \
|
|
|
|
tr-window.c \
|
2011-08-07 16:42:38 +00:00
|
|
|
util.c
|
2007-07-18 23:04:26 +00:00
|
|
|
|
2010-08-05 12:57:54 +00:00
|
|
|
dist_man_MANS = transmission-gtk.1
|
2007-10-24 22:53:44 +00:00
|
|
|
|
2010-08-05 12:57:54 +00:00
|
|
|
transmission_gtk_LDADD = \
|
2007-08-15 02:48:32 +00:00
|
|
|
$(top_builddir)/libtransmission/libtransmission.a \
|
2011-10-09 02:05:52 +00:00
|
|
|
@LIBUPNP_LIBS@ \
|
2012-02-04 01:28:15 +00:00
|
|
|
@LIBNATPMP_LIBS@ \
|
2009-12-18 05:02:48 +00:00
|
|
|
@DHT_LIBS@ \
|
2015-01-01 21:16:36 +00:00
|
|
|
@LIBB64_LIBS@ \
|
2011-02-18 00:32:19 +00:00
|
|
|
@LIBUTP_LIBS@ \
|
2009-12-18 05:02:48 +00:00
|
|
|
@GTK_LIBS@ \
|
2010-02-07 19:32:35 +00:00
|
|
|
@LIBAPPINDICATOR_LIBS@ \
|
2009-12-18 05:02:48 +00:00
|
|
|
@LIBEVENT_LIBS@ \
|
|
|
|
@LIBCURL_LIBS@ \
|
2015-01-07 02:04:08 +00:00
|
|
|
@CRYPTO_LIBS@ \
|
2009-12-18 05:02:48 +00:00
|
|
|
@ZLIB_LIBS@ \
|
2014-08-20 17:14:17 +00:00
|
|
|
@PTHREAD_LIBS@ \
|
|
|
|
${LIBM}
|
2007-10-08 15:37:33 +00:00
|
|
|
|
2010-08-05 12:57:54 +00:00
|
|
|
DESKTOP_IN_FILES=transmission-gtk.desktop.in
|
2007-10-09 14:12:38 +00:00
|
|
|
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)
|
|
|
|
|
2017-03-20 15:36:25 +00:00
|
|
|
APPDATA_IN_FILES=transmission-gtk.appdata.xml.in
|
|
|
|
APPDATA_FILES=$(APPDATA_IN_FILES:.xml.in=.xml)
|
|
|
|
@INTLTOOL_XML_RULE@
|
|
|
|
|
|
|
|
appdatadir = $(datadir)/appdata
|
|
|
|
appdata_DATA = $(APPDATA_FILES)
|
|
|
|
|
2007-10-08 15:37:33 +00:00
|
|
|
icon_DATA = transmission.png
|
|
|
|
icondir = $(datadir)/pixmaps
|
2007-10-09 14:12:38 +00:00
|
|
|
|
2015-01-02 11:15:31 +00:00
|
|
|
UI_FILES = transmission-ui.xml
|
2012-09-07 17:18:17 +00:00
|
|
|
|
2015-01-02 11:15:31 +00:00
|
|
|
transmission-resources.c: transmission.gresource.xml $(UI_FILES)
|
2012-09-22 22:36:05 +00:00
|
|
|
$(AM_V_GEN)glib-compile-resources --target=$@ --sourcedir=$(srcdir) \
|
2015-01-02 11:15:31 +00:00
|
|
|
--generate-source --c-name transmission $<
|
2012-09-07 17:18:17 +00:00
|
|
|
|
2015-01-02 11:15:31 +00:00
|
|
|
transmission-resources.h: transmission.gresource.xml $(UI_FILES)
|
2012-09-22 22:36:05 +00:00
|
|
|
$(AM_V_GEN)glib-compile-resources --target=$@ --sourcedir=$(srcdir) \
|
2015-01-02 11:15:31 +00:00
|
|
|
--generate-header --c-name transmission $<
|
2012-09-07 17:18:17 +00:00
|
|
|
|
2012-09-22 22:36:05 +00:00
|
|
|
CLEANFILES += \
|
|
|
|
transmission-resources.c \
|
|
|
|
transmission-resources.h
|
|
|
|
BUILT_SOURCES += \
|
|
|
|
transmission-resources.c \
|
|
|
|
transmission-resources.h
|
|
|
|
|
2007-10-09 14:12:38 +00:00
|
|
|
EXTRA_DIST = \
|
2012-09-22 22:36:05 +00:00
|
|
|
$(DESKTOP_IN_FILES) \
|
2017-05-16 21:56:39 +00:00
|
|
|
$(APPDATA_IN_FILES) \
|
2012-09-22 22:36:05 +00:00
|
|
|
$(UI_FILES) \
|
|
|
|
transmission.gresource.xml \
|
|
|
|
transmission.png
|
2007-10-24 17:20:50 +00:00
|
|
|
|
|
|
|
DISTCLEANFILES = \
|
2017-05-16 21:56:39 +00:00
|
|
|
$(DESKTOP_FILES) \
|
|
|
|
$(APPDATA_FILES)
|
2007-10-24 17:20:50 +00:00
|
|
|
|
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
|
|
|
|
2012-09-22 22:36:05 +00:00
|
|
|
BUILT_SOURCES += transmission.res
|
|
|
|
CLEANFILES += transmission.res
|
|
|
|
transmission_gtk_LDADD += transmission.res
|
|
|
|
transmission_gtk_LDFLAGS = -mwindows
|
2008-09-06 04:23:28 +00:00
|
|
|
|
2008-10-08 20:29:53 +00:00
|
|
|
endif
|