blob: 9bd95537760ac6376002cb5db7606bb67d547608 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
|
icondir = $(datadir)/icons/mate
context = actions
NULL =
SUBDIRS = cut-n-paste
plugin_LTLIBRARIES = libmedia-keys.la
BUILT_SOURCES = \
msd-media-keys-manager-glue.h \
msd-marshal.h \
msd-marshal.c \
$(NULL)
ICON_FILES = \
touchpad-disabled-16.png \
touchpad-enabled-16.png \
touchpad-disabled-22.png \
touchpad-enabled-22.png \
touchpad-disabled-24.png \
touchpad-enabled-24.png \
touchpad-disabled-32.png \
touchpad-enabled-32.png \
touchpad-disabled-48.png \
touchpad-enabled-48.png \
touchpad-disabled.svg \
touchpad-enabled.svg
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(icondir)/16x16/$(context)
$(mkinstalldirs) $(DESTDIR)$(icondir)/22x22/$(context)
$(mkinstalldirs) $(DESTDIR)$(icondir)/24x24/$(context)
$(mkinstalldirs) $(DESTDIR)$(icondir)/32x32/$(context)
$(mkinstalldirs) $(DESTDIR)$(icondir)/scalable/$(context)
$(INSTALL_DATA) $(srcdir)/touchpad-enabled-16.png $(DESTDIR)$(icondir)/16x16/$(context)/touchpad-enabled.png
$(INSTALL_DATA) $(srcdir)/touchpad-enabled-22.png $(DESTDIR)$(icondir)/22x22/$(context)/touchpad-enabled.png
$(INSTALL_DATA) $(srcdir)/touchpad-enabled-24.png $(DESTDIR)$(icondir)/24x24/$(context)/touchpad-enabled.png
$(INSTALL_DATA) $(srcdir)/touchpad-enabled-32.png $(DESTDIR)$(icondir)/32x32/$(context)/touchpad-enabled.png
$(INSTALL_DATA) $(srcdir)/touchpad-enabled.svg $(DESTDIR)$(icondir)/scalable/$(context)/touchpad-enabled.svg
$(INSTALL_DATA) $(srcdir)/touchpad-disabled-16.png $(DESTDIR)$(icondir)/16x16/$(context)/touchpad-disabled.png
$(INSTALL_DATA) $(srcdir)/touchpad-disabled-22.png $(DESTDIR)$(icondir)/22x22/$(context)/touchpad-disabled.png
$(INSTALL_DATA) $(srcdir)/touchpad-disabled-24.png $(DESTDIR)$(icondir)/24x24/$(context)/touchpad-disabled.png
$(INSTALL_DATA) $(srcdir)/touchpad-disabled-32.png $(DESTDIR)$(icondir)/32x32/$(context)/touchpad-disabled.png
$(INSTALL_DATA) $(srcdir)/touchpad-disabled.svg $(DESTDIR)$(icondir)/scalable/$(context)/touchpad-disabled.svg
uninstall-local:
rm -f $(DESTDIR)$(icondir)/16x16/$(context)/touchpad-enabled.png
rm -f $(DESTDIR)$(icondir)/22x22/$(context)/touchpad-enabled.png
rm -f $(DESTDIR)$(icondir)/24x24/$(context)/touchpad-enabled.png
rm -f $(DESTDIR)$(icondir)/32x32/$(context)/touchpad-enabled.png
rm -f $(DESTDIR)$(icondir)/scalable/$(context)/touchpad-enabled.svg
rm -f $(DESTDIR)$(icondir)/16x16/$(context)/touchpad-disabled.png
rm -f $(DESTDIR)$(icondir)/22x22/$(context)/touchpad-disabled.png
rm -f $(DESTDIR)$(icondir)/24x24/$(context)/touchpad-disabled.png
rm -f $(DESTDIR)$(icondir)/32x32/$(context)/touchpad-disabled.png
rm -f $(DESTDIR)$(icondir)/scalable/$(context)/touchpad-disabled.svg
msd-media-keys-manager-glue.h: msd-media-keys-manager.xml Makefile
dbus-binding-tool --prefix=msd_media_keys_manager --mode=glib-server $< > xgen-$(@F) \
&& ( cmp -s xgen-$(@F) $@ || cp xgen-$(@F) $@ ) \
&& rm -f xgen-$(@F)
msd-marshal.c: msd-marshal.list
$(GLIB_GENMARSHAL) --prefix=msd_marshal $< --header --body --internal > $@
msd-marshal.h: msd-marshal.list
$(GLIB_GENMARSHAL) --prefix=msd_marshal $< --header --internal > $@
libmedia_keys_la_SOURCES = \
msd-media-keys-plugin.h \
msd-media-keys-plugin.c \
msd-media-keys-manager.h \
msd-media-keys-manager.c \
msd-media-keys-window.h \
msd-media-keys-window.c \
acme.h \
$(BUILT_SOURCES) \
$(NULL)
libmedia_keys_la_CPPFLAGS = \
-I$(top_srcdir)/mate-settings-daemon \
-I$(top_srcdir)/plugins/common \
-I$(top_srcdir)/plugins/media-keys/cut-n-paste \
-DPIXMAPDIR=\""$(pkgdatadir)"\" \
-DGTKBUILDERDIR=\""$(pkgdatadir)"\" \
-DMATE_SETTINGS_LOCALEDIR=\""$(datadir)/locale"\" \
$(AM_CPPFLAGS)
libmedia_keys_la_CFLAGS = \
$(SETTINGS_PLUGIN_CFLAGS) \
$(AM_CFLAGS)
libmedia_keys_la_LDFLAGS = \
$(MSD_PLUGIN_LDFLAGS)
libmedia_keys_la_LIBADD = \
$(top_builddir)/plugins/common/libcommon.la \
$(top_builddir)/plugins/media-keys/cut-n-paste/libgvc.la \
$(SETTINGS_PLUGIN_LIBS) \
$(XF86MISC_LIBS) \
-lm
plugin_in_files = \
media-keys.mate-settings-plugin.in
plugin_DATA = $(plugin_in_files:.mate-settings-plugin.in=.mate-settings-plugin)
noinst_PROGRAMS = \
test-media-keys \
test-media-window \
$(NULL)
test_media_window_SOURCES = \
msd-media-keys-window.c \
msd-media-keys-window.h \
test-media-window.c \
$(NULL)
test_media_window_CPPFLAGS = \
-I$(top_srcdir)/mate-settings-daemon \
-I$(top_srcdir)/plugins/common \
-I$(top_srcdir)/plugins/media-keys/cut-n-paste \
-DDATADIR=\""$(datadir)"\" \
-DPIXMAPDIR=\""$(pkgdatadir)"\" \
-DGTKBUILDERDIR=\""$(pkgdatadir)"\" \
-DMATE_SETTINGS_LOCALEDIR=\""$(datadir)/locale"\" \
$(AM_CPPFLAGS)
test_media_window_CFLAGS = \
$(SETTINGS_PLUGIN_CFLAGS) \
$(AM_CFLAGS)
test_media_window_LDADD = \
$(top_builddir)/plugins/common/libcommon.la \
$(SETTINGS_DAEMON_LIBS) \
$(SETTINGS_PLUGIN_LIBS) \
$(XF86MISC_LIBS) \
$(GST_LIBS) \
-lm
test_media_keys_SOURCES = \
msd-media-keys-manager.c \
msd-media-keys-manager.h \
msd-media-keys-window.h \
msd-media-keys-window.c \
test-media-keys.c \
$(BUILT_SOURCES) \
$(NULL)
test_media_keys_CPPFLAGS = \
-I$(top_srcdir)/mate-settings-daemon \
-I$(top_srcdir)/plugins/common \
-I$(top_srcdir)/plugins/media-keys/cut-n-paste \
-DPIXMAPDIR=\""$(pkgdatadir)"\" \
-DGTKBUILDERDIR=\""$(pkgdatadir)"\" \
-DMATE_SETTINGS_LOCALEDIR=\""$(datadir)/locale"\" \
$(AM_CPPFLAGS)
test_media_keys_CFLAGS = \
$(SETTINGS_PLUGIN_CFLAGS) \
$(AM_CFLAGS)
test_media_keys_LDADD = \
$(top_builddir)/mate-settings-daemon/libmsd-profile.la \
$(top_builddir)/plugins/common/libcommon.la \
$(SETTINGS_DAEMON_LIBS) \
$(SETTINGS_PLUGIN_LIBS) \
$(XF86MISC_LIBS) \
$(GST_LIBS) \
-lm
test_media_keys_LDADD += $(top_builddir)/plugins/media-keys/cut-n-paste/libgvc.la
gtkbuilderdir = $(pkgdatadir)
gtkbuilder_DATA = \
acme.ui \
$(NULL)
DIST_SUBDIRS = cut-n-paste
EXTRA_DIST = \
msd-media-keys-manager.xml \
msd-marshal.list \
$(plugin_in_files) \
$(gtkbuilder_DATA) \
$(pixmaps_DATA) \
touchpad-enabled-template.svg \
touchpad-disabled-template.svg \
$(ICON_FILES)
CLEANFILES = \
$(BUILT_SOURCES) \
$(plugin_DATA)
DISTCLEANFILES = \
$(plugin_DATA)
@MSD_INTLTOOL_PLUGIN_RULE@
|