source: trunk/gtk/Makefile.am @ 12562

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

(trunk gtk) #4366 "Use GAppInfo, rather than GConf2, for mime-type registration" -- done.

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