source: trunk/gtk/Makefile.am @ 6559

Last change on this file since 6559 was 6559, checked in by muks, 13 years ago

Don't show an error when transmission is run twice

Instead, present the main window. This commit also auto-generates
the dbus bindings.

File size: 2.5 KB
Line 
1SUBDIRS = icons
2
3if TR_UNSTABLE
4GTK_EXTRA_CPPFLAGS="-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED"
5endif
6
7AM_CPPFLAGS = \
8    -I$(top_srcdir) \
9    -I$(top_srcdir)/third-party/ \
10    $(LIBEVENT_CPPFLAGS) \
11    -DTRANSMISSIONLOCALEDIR=\""$(transmissionlocaledir)"\" \
12    $(GTK_EXTRA_CPPFLAGS)
13
14AM_CFLAGS = \
15    $(GTK_CFLAGS) \
16    $(OPENSSL_CFLAGS) \
17    $(LIBCURL_CFLAGS) \
18    $(PTHREAD_CFLAGS) \
19    $(GIO_CFLAGS) \
20    $(DBUS_GLIB_CFLAGS) \
21    $(LIBNOTIFY_CFLAGS)
22
23noinst_HEADERS = \
24    actions.h \
25    add-dialog.h \
26    conf.h \
27    details.h \
28    dialogs.h \
29    hig.h \
30    file-list.h \
31    lock.h \
32    logo.h \
33    makemeta-ui.h \
34    msgwin.h \
35    notify.h \
36    stats.h \
37    sexy-icon-entry.h \
38    torrent-cell-renderer.h \
39    tracker-list.h \
40    tr-core.h \
41    tr-core-dbus.h \
42    tr-icon.h \
43    tr-io.h \
44    tr-prefs.h \
45    tr-torrent.h \
46    tr-window.h \
47    ui.h \
48    util.h
49
50bin_PROGRAMS = transmission
51
52dbus_generated_sources = tr-core-dbus.h
53
54transmission_SOURCES = \
55    actions.c \
56    add-dialog.c \
57    conf.c \
58    details.c \
59    dialogs.c \
60    file-list.c \
61    hig.c \
62    main.c \
63    makemeta-ui.c \
64    msgwin.c \
65    notify.c \
66    sexy-icon-entry.c \
67    stats.c \
68    torrent-cell-renderer.c \
69    tracker-list.c \
70    tr-core.c \
71    tr-icon.c \
72    tr-io.c \
73    tr-prefs.c \
74    tr-torrent.c \
75    tr-window.c \
76    util.c \
77    $(dbus_generated_sources)
78
79dist_man_MANS = transmission.1
80
81transmission_LDADD = \
82    $(top_builddir)/libtransmission/libtransmission.a \
83    $(top_builddir)/third-party/libevent/libevent_core.la \
84    $(top_builddir)/third-party/miniupnp/libminiupnp.a \
85    $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
86    $(top_builddir)/third-party/shttpd/libshttpd.a \
87    $(GTK_LIBS) \
88    $(GIO_LIBS) \
89    $(LIBNOTIFY_LIBS) \
90    $(DBUS_GLIB_LIBS) \
91    $(OPENSSL_LIBS) \
92    $(LIBCURL_LIBS) \
93    $(PTHREAD_LIBS) -lm
94
95DESKTOP_IN_FILES=transmission.desktop.in
96DESKTOP_FILES=$(DESKTOP_IN_FILES:.desktop.in=.desktop)
97@INTLTOOL_DESKTOP_RULE@
98
99Productivitydir = $(datadir)/applications
100Productivity_DATA = $(DESKTOP_FILES)
101
102icon_DATA = transmission.png
103icondir = $(datadir)/pixmaps
104
105EXTRA_DIST = \
106    $(DESKTOP_IN_FILES) \
107    transmission.png
108
109DISTCLEANFILES = \
110    transmission.desktop
111
112CLEANFILES = $(dbus_generated_sources)
113
114$(srcdir)/tr-core-dbus.c: tr-core-dbus.h
115
116tr-core-dbus.h: $(srcdir)/tr-core-dbus.xml
117        $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=tr_core $< > $(@F)
Note: See TracBrowser for help on using the repository browser.