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