source: trunk/gtk/Makefile.am @ 12206

Last change on this file since 12206 was 12206, checked in by jordan, 11 years ago

still trying to make hudson happy

File size: 3.2 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
10AM_CPPFLAGS = \
11    -I$(top_srcdir) \
12    -DTRANSMISSIONLOCALEDIR=\""$(transmissionlocaledir)"\" \
13    $(GTK_EXTRA_CPPFLAGS)
14
15AM_CFLAGS = \
16    @LIBAPPINDICATOR_CFLAGS@ \
17    @LIBEVENT_CFLAGS@ \
18    @LIBCANBERRA_CFLAGS@ \
19    @GCONF2_CFLAGS@ \
20    @GTK_CFLAGS@ \
21    @LIBCURL_CFLAGS@ \
22    @GIO_CFLAGS@ \
23    @LIBNOTIFY_CFLAGS@ \
24    @DBUS_GLIB_CFLAGS@ \
25    @OPENSSL_CFLAGS@ \
26    @ZLIB_CFLAGS@ \
27    @PTHREAD_CFLAGS@
28
29AM_LDFLAGS = \
30    @ZLIB_LDFLAGS@
31
32noinst_HEADERS = \
33    actions.h \
34    conf.h \
35    details.h \
36    dialogs.h \
37    favicon.h \
38    file-list.h \
39    filter.h \
40    hig.h \
41    icons.h \
42    icon-lock.h \
43    icon-logo-24.h \
44    icon-logo-48.h \
45    icon-ratio.h \
46    icon-turtle.h \
47    icon-utilities.h \
48    makemeta-ui.h \
49    msgwin.h \
50    notify.h \
51    open-dialog.h \
52    relocate.h \
53    stats.h \
54    torrent-cell-renderer.h \
55    tr-core.h \
56    tr-core-dbus.h \
57    tr-icon.h \
58    tr-prefs.h \
59    tr-window.h \
60    ui.h \
61    util.h
62
63bin_PROGRAMS = transmission-gtk
64
65dbus_generated_sources = tr-core-dbus.h
66
67transmission_gtk_SOURCES = \
68    actions.c \
69    conf.c \
70    details.c \
71    dialogs.c \
72    favicon.c \
73    file-list.c \
74    filter.c \
75    hig.c \
76    icons.c \
77    main.c \
78    makemeta-ui.c \
79    msgwin.c \
80    notify.c \
81    open-dialog.c \
82    relocate.c \
83    stats.c \
84    torrent-cell-renderer.c \
85    tr-core.c \
86    tr-icon.c \
87    tr-prefs.c \
88    tr-window.c \
89    util.c \
90    $(dbus_generated_sources)
91
92dist_man_MANS = transmission-gtk.1
93
94transmission_gtk_LDADD = \
95    $(top_builddir)/libtransmission/libtransmission.a \
96    $(top_builddir)/third-party/miniupnp/libminiupnp.a \
97    $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
98    @LIBCANBERRA_LIBS@ \
99    @GCONF2_LIBS@ \
100    @DHT_LIBS@ \
101    @LIBUTP_LIBS@ \
102    @GTK_LIBS@ \
103    @GIO_LIBS@ \
104    @LIBAPPINDICATOR_LIBS@ \
105    @LIBNOTIFY_LIBS@ \
106    @LIBEVENT_LIBS@ \
107    @DBUS_GLIB_LIBS@ \
108    @LIBCURL_LIBS@ \
109    @OPENSSL_LIBS@ \
110    @ZLIB_LIBS@ \
111    @PTHREAD_LIBS@
112
113DESKTOP_IN_FILES=transmission-gtk.desktop.in
114DESKTOP_FILES=$(DESKTOP_IN_FILES:.desktop.in=.desktop)
115@INTLTOOL_DESKTOP_RULE@
116
117Productivitydir = $(datadir)/applications
118Productivity_DATA = $(DESKTOP_FILES)
119
120icon_DATA = transmission.png
121icondir = $(datadir)/pixmaps
122
123EXTRA_DIST = \
124    $(DESKTOP_IN_FILES) \
125    marshal.list \
126    tr-core-dbus.xml \
127    transmission.png
128
129DISTCLEANFILES = \
130    transmission-gtk.desktop
131
132CLEANFILES = $(dbus_generated_sources)
133
134$(srcdir)/tr-core.c: tr-core-dbus.h
135
136tr-core-dbus.h: $(srcdir)/tr-core-dbus.xml
137        $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=gtr_core $< > $(@F)
138
139if WIN32
140
141transmission.res: transmission.rc
142        $(WINDRES) -J rc -i transmission.rc -O coff -o transmission.res
143
144BUILT_SOURCES = \
145        setransmission.res
146
147CLEANFILES += \
148        transmission.res
149
150transmission_gtk_LDADD += \
151        transmission.res
152
153transmission_gtk_LDFLAGS = \
154        -mwindows
155
156endif
Note: See TracBrowser for help on using the repository browser.