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
|
|
|
|
|
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@ \
|
|
|
|
@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 \
|
|
|
|
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 \
|
2010-09-24 15:22:53 +00:00
|
|
|
icon-lock.h \
|
|
|
|
icon-logo-24.h \
|
|
|
|
icon-logo-48.h \
|
|
|
|
icon-ratio.h \
|
|
|
|
icon-turtle.h \
|
|
|
|
icon-utilities.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 \
|
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
|
|
|
ui.h \
|
|
|
|
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 \
|
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 \
|
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
|
|
|
@DHT_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@ \
|
|
|
|
@OPENSSL_LIBS@ \
|
|
|
|
@ZLIB_LIBS@ \
|
|
|
|
@PTHREAD_LIBS@
|
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)
|
|
|
|
|
|
|
|
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) \
|
|
|
|
transmission.png
|
2007-10-24 17:20:50 +00:00
|
|
|
|
|
|
|
DISTCLEANFILES = \
|
2010-08-05 12:57:54 +00:00
|
|
|
transmission-gtk.desktop
|
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
|
|
|
|
2011-03-22 16:07:49 +00:00
|
|
|
BUILT_SOURCES = \
|
2008-10-08 20:29:53 +00:00
|
|
|
setransmission.res
|
2008-09-06 04:31:08 +00:00
|
|
|
|
2011-08-07 16:42:38 +00:00
|
|
|
CLEANFILES = \
|
2008-09-06 04:37:08 +00:00
|
|
|
transmission.res
|
2008-09-06 04:31:08 +00:00
|
|
|
|
2010-08-05 12:57:54 +00:00
|
|
|
transmission_gtk_LDADD += \
|
2008-09-06 04:37:08 +00:00
|
|
|
transmission.res
|
2008-09-06 04:31:08 +00:00
|
|
|
|
2010-08-05 12:57:54 +00:00
|
|
|
transmission_gtk_LDFLAGS = \
|
2008-09-06 04:23:28 +00:00
|
|
|
-mwindows
|
|
|
|
|
2008-10-08 20:29:53 +00:00
|
|
|
endif
|