2008-02-07 20:02:06 +00:00
|
|
|
SUBDIRS = icons
|
|
|
|
|
2008-08-15 19:31:59 +00:00
|
|
|
if TR_UNSTABLE
|
|
|
|
GTK_EXTRA_CPPFLAGS="-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED"
|
|
|
|
endif
|
|
|
|
|
2007-08-14 19:26:49 +00:00
|
|
|
AM_CPPFLAGS = \
|
2007-08-14 19:53:36 +00:00
|
|
|
-I$(top_srcdir) \
|
2008-01-20 15:50:42 +00:00
|
|
|
-I$(top_srcdir)/third-party/ \
|
2007-08-14 19:53:36 +00:00
|
|
|
$(LIBEVENT_CPPFLAGS) \
|
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 = \
|
|
|
|
$(GTK_CFLAGS) \
|
|
|
|
$(OPENSSL_CFLAGS) \
|
2008-04-24 01:42:53 +00:00
|
|
|
$(LIBCURL_CFLAGS) \
|
2008-02-24 15:42:31 +00:00
|
|
|
$(PTHREAD_CFLAGS) \
|
2008-03-09 15:27:08 +00:00
|
|
|
$(GIO_CFLAGS) \
|
2008-04-13 02:56:26 +00:00
|
|
|
$(DBUS_GLIB_CFLAGS) \
|
2008-02-24 15:42:31 +00:00
|
|
|
$(LIBNOTIFY_CFLAGS)
|
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 \
|
|
|
|
hig.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 \
|
2007-11-27 03:29:51 +00:00
|
|
|
stats.h \
|
2007-12-24 00:14:39 +00:00
|
|
|
sexy-icon-entry.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 \
|
2008-02-25 21:47:21 +00:00
|
|
|
tr-io.h \
|
2008-02-26 19:58:03 +00:00
|
|
|
tr-prefs.h \
|
|
|
|
tr-torrent.h \
|
|
|
|
tr-window.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 \
|
2008-02-10 22:25:42 +00:00
|
|
|
file-list.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
hig.c \
|
|
|
|
main.c \
|
|
|
|
makemeta-ui.c \
|
|
|
|
msgwin.c \
|
2008-02-24 15:42:31 +00:00
|
|
|
notify.c \
|
2007-12-24 00:14:39 +00:00
|
|
|
sexy-icon-entry.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 \
|
2008-02-25 21:47:21 +00:00
|
|
|
tr-io.c \
|
2008-02-26 19:58:03 +00:00
|
|
|
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 \
|
2008-05-01 14:05:17 +00:00
|
|
|
$(top_builddir)/third-party/libevent/libevent_core.la \
|
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 \
|
2008-05-18 16:44:30 +00:00
|
|
|
$(top_builddir)/third-party/shttpd/libshttpd.a \
|
2007-08-14 19:53:36 +00:00
|
|
|
$(GTK_LIBS) \
|
2008-03-09 15:27:08 +00:00
|
|
|
$(GIO_LIBS) \
|
2008-02-24 15:42:31 +00:00
|
|
|
$(LIBNOTIFY_LIBS) \
|
2008-04-13 02:56:26 +00:00
|
|
|
$(DBUS_GLIB_LIBS) \
|
2007-10-28 19:55:03 +00:00
|
|
|
$(OPENSSL_LIBS) \
|
2008-04-24 01:42:53 +00:00
|
|
|
$(LIBCURL_LIBS) \
|
2007-08-14 19:26:49 +00:00
|
|
|
$(PTHREAD_LIBS) -lm
|
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-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)
|