blob: ccf6f69453f73bbd8f9d266c860f2e5a52c53d09 (
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
|
icondir = $(datadir)/icons/hicolor
context = apps
ICON_FILES = \
msd-xrandr-16.png \
msd-xrandr-22.png \
msd-xrandr-24.png \
msd-xrandr-32.png \
msd-xrandr-48.png \
msd-xrandr-64.png \
msd-xrandr-96.png \
msd-xrandr.svg
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/mate-settings-daemon/xrandr
$(mkinstalldirs) $(DESTDIR)$(icondir)/16x16/$(context)
$(mkinstalldirs) $(DESTDIR)$(icondir)/22x22/$(context)
$(mkinstalldirs) $(DESTDIR)$(icondir)/24x24/$(context)
$(mkinstalldirs) $(DESTDIR)$(icondir)/32x32/$(context)
$(mkinstalldirs) $(DESTDIR)$(icondir)/48x48/$(context)
$(mkinstalldirs) $(DESTDIR)$(icondir)/64x64/$(context)
$(mkinstalldirs) $(DESTDIR)$(icondir)/96x96/$(context)
$(mkinstalldirs) $(DESTDIR)$(icondir)/scalable/$(context)
$(INSTALL_DATA) $(srcdir)/msd-xrandr-16.png $(DESTDIR)$(icondir)/16x16/$(context)/msd-xrandr.png
$(INSTALL_DATA) $(srcdir)/msd-xrandr-22.png $(DESTDIR)$(icondir)/22x22/$(context)/msd-xrandr.png
$(INSTALL_DATA) $(srcdir)/msd-xrandr-24.png $(DESTDIR)$(icondir)/24x24/$(context)/msd-xrandr.png
$(INSTALL_DATA) $(srcdir)/msd-xrandr-32.png $(DESTDIR)$(icondir)/32x32/$(context)/msd-xrandr.png
$(INSTALL_DATA) $(srcdir)/msd-xrandr-48.png $(DESTDIR)$(icondir)/48x48/$(context)/msd-xrandr.png
$(INSTALL_DATA) $(srcdir)/msd-xrandr-64.png $(DESTDIR)$(icondir)/64x64/$(context)/msd-xrandr.png
$(INSTALL_DATA) $(srcdir)/msd-xrandr-96.png $(DESTDIR)$(icondir)/96x96/$(context)/msd-xrandr.png
$(INSTALL_DATA) $(srcdir)/msd-xrandr.svg $(DESTDIR)$(icondir)/scalable/$(context)/msd-xrandr.svg
uninstall-local:
rm -f $(DESTDIR)$(icondir)/16x16/$(context)/msd-xrandr.png
rm -f $(DESTDIR)$(icondir)/22x22/$(context)/msd-xrandr.png
rm -f $(DESTDIR)$(icondir)/24x24/$(context)/msd-xrandr.png
rm -f $(DESTDIR)$(icondir)/32x32/$(context)/msd-xrandr.png
rm -f $(DESTDIR)$(icondir)/48x48/$(context)/msd-xrandr.png
rm -f $(DESTDIR)$(icondir)/64x64/$(context)/msd-xrandr.png
rm -f $(DESTDIR)$(icondir)/96x96/$(context)/msd-xrandr.png
rm -f $(DESTDIR)$(icondir)/scalable/$(context)/msd-xrandr.svg
plugin_LTLIBRARIES = \
libxrandr.la
libxrandr_la_SOURCES = \
msd-xrandr-plugin.h \
msd-xrandr-plugin.c \
msd-xrandr-manager.h \
msd-xrandr-manager.c
libxrandr_la_CPPFLAGS = \
-I$(top_srcdir)/mate-settings-daemon \
-DBINDIR=\"$(bindir)\" \
-DMATE_SETTINGS_LOCALEDIR=\""$(datadir)/locale"\" \
$(AM_CPPFLAGS)
libxrandr_la_CFLAGS = \
$(SETTINGS_PLUGIN_CFLAGS) \
$(LIBNOTIFY_CFLAGS) \
$(MATE_DESKTOP_CFLAGS) \
$(AM_CFLAGS) \
$(WARN_CFLAGS)
libxrandr_la_LDFLAGS = \
$(MSD_PLUGIN_LDFLAGS)
libxrandr_la_LIBADD = \
$(SETTINGS_PLUGIN_LIBS) \
$(LIBNOTIFY_LIBS) \
$(MATE_DESKTOP_LIBS)
plugin_in_files = \
xrandr.mate-settings-plugin.desktop.in
plugin_DATA = $(plugin_in_files:.mate-settings-plugin.desktop.in=.mate-settings-plugin)
EXTRA_DIST = $(plugin_in_files) $(ICON_FILES)
CLEANFILES = $(plugin_DATA)
DISTCLEANFILES = $(plugin_DATA)
$(plugin_DATA): $(plugin_in_files)
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
-include $(top_srcdir)/git.mk
|