source: branches/1.9x/gtk/Makefile.am @ 10563

Last change on this file since 10563 was 10563, checked in by charles, 12 years ago

(1.93 gtk) backport #3179 "gtk+ client should use the 24-pixel-wide icon in the system tray"

File size: 3.6 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
7# these should go in GTK_EXTRA_CPPFLAGS at some point, but not yet because it breaks libnotify's headers
8# -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES
9
10sexy-marshal.h: marshal.list
11        glib-genmarshal --prefix=sexy_marshal ./marshal.list --header > sexy-marshal.h
12
13sexy-marshal.c: marshal.list
14        echo '#include "sexy-marshal.h"' > sexy-marshal.c
15        glib-genmarshal --prefix=sexy_marshal ./marshal.list --body >> sexy-marshal.c
16
17AM_CPPFLAGS = \
18    -I$(top_srcdir) \
19    -DTRANSMISSIONLOCALEDIR=\""$(transmissionlocaledir)"\" \
20    $(GTK_EXTRA_CPPFLAGS)
21
22AM_CFLAGS = \
23    @LIBAPPINDICATOR_CFLAGS@ \
24    @LIBEVENT_CFLAGS@ \
25    @LIBCANBERRA_CFLAGS@ \
26    @LIBGCONF_CFLAGS@ \
27    @GTK_CFLAGS@ \
28    @LIBCURL_CFLAGS@ \
29    @GIO_CFLAGS@ \
30    @LIBNOTIFY_CFLAGS@ \
31    @DBUS_GLIB_CFLAGS@ \
32    @OPENSSL_CFLAGS@ \
33    @ZLIB_CFLAGS@ \
34    @PTHREAD_CFLAGS@
35
36AM_LDFLAGS = \
37    @ZLIB_LDFLAGS@
38
39noinst_HEADERS = \
40    actions.h \
41    add-dialog.h \
42    conf.h \
43    details.h \
44    dialogs.h \
45    hig.h \
46    icons.h \
47    file-list.h \
48    lock.h \
49    logo-24.h \
50    logo-48.h \
51    makemeta-ui.h \
52    msgwin.h \
53    notify.h \
54    options-icon.h \
55    ratio-icon.h \
56    relocate.h \
57    stats.h \
58    sexy-icon-entry.h \
59    sexy-marshal.h \
60    torrent-cell-renderer.h \
61    tracker-list.h \
62    tr-core.h \
63    tr-core-dbus.h \
64    tr-icon.h \
65    tr-prefs.h \
66    tr-torrent.h \
67    tr-window.h \
68    turtles.h \
69    ui.h \
70    util.h
71
72bin_PROGRAMS = transmission
73
74dbus_generated_sources = tr-core-dbus.h
75
76transmission_SOURCES = \
77    actions.c \
78    add-dialog.c \
79    conf.c \
80    details.c \
81    dialogs.c \
82    file-list.c \
83    hig.c \
84    icons.c \
85    main.c \
86    makemeta-ui.c \
87    msgwin.c \
88    notify.c \
89    relocate.c \
90    sexy-icon-entry.c \
91    sexy-marshal.c \
92    stats.c \
93    torrent-cell-renderer.c \
94    tracker-list.c \
95    tr-core.c \
96    tr-icon.c \
97    tr-prefs.c \
98    tr-torrent.c \
99    tr-window.c \
100    util.c \
101    $(dbus_generated_sources)
102
103dist_man_MANS = transmission.1
104
105transmission_LDADD = \
106    $(top_builddir)/libtransmission/libtransmission.a \
107    $(top_builddir)/third-party/miniupnp/libminiupnp.a \
108    $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
109    @LIBCANBERRA_LIBS@ \
110    @LIBGCONF_LIBS@ \
111    @DHT_LIBS@ \
112    @GTK_LIBS@ \
113    @GIO_LIBS@ \
114    @LIBAPPINDICATOR_LIBS@ \
115    @LIBNOTIFY_LIBS@ \
116    @LIBEVENT_LIBS@ \
117    @DBUS_GLIB_LIBS@ \
118    @LIBCURL_LIBS@ \
119    @OPENSSL_LIBS@ \
120    @ZLIB_LIBS@ \
121    @PTHREAD_LIBS@
122
123DESKTOP_IN_FILES=transmission.desktop.in
124DESKTOP_FILES=$(DESKTOP_IN_FILES:.desktop.in=.desktop)
125@INTLTOOL_DESKTOP_RULE@
126
127Productivitydir = $(datadir)/applications
128Productivity_DATA = $(DESKTOP_FILES)
129
130icon_DATA = transmission.png
131icondir = $(datadir)/pixmaps
132
133EXTRA_DIST = \
134    $(DESKTOP_IN_FILES) \
135    marshal.list \
136    tr-core-dbus.xml \
137    transmission.png
138
139DISTCLEANFILES = \
140    transmission.desktop
141
142CLEANFILES = $(dbus_generated_sources)
143
144$(srcdir)/tr-core.c: tr-core-dbus.h
145
146tr-core-dbus.h: $(srcdir)/tr-core-dbus.xml
147        $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=tr_core $< > $(@F)
148
149if WIN32
150
151transmission.res: transmission.rc
152        $(WINDRES) -J rc -i transmission.rc -O coff -o transmission.res
153
154BUILT_SOURCES = \
155        sexy-marshal.h \
156        sexy-marshal.c \
157        setransmission.res
158
159CLEANFILES += \
160        transmission.res
161
162transmission_LDADD += \
163        transmission.res
164
165transmission_LDFLAGS = \
166        -mwindows
167
168else
169
170BUILT_SOURCES = \
171        sexy-marshal.h \
172        sexy-marshal.c
173
174endif
Note: See TracBrowser for help on using the repository browser.