summaryrefslogtreecommitdiff
path: root/plugins/xrandr/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/xrandr/Makefile.am')
-rw-r--r--plugins/xrandr/Makefile.am22
1 files changed, 7 insertions, 15 deletions
diff --git a/plugins/xrandr/Makefile.am b/plugins/xrandr/Makefile.am
index 0ea6790..7316599 100644
--- a/plugins/xrandr/Makefile.am
+++ b/plugins/xrandr/Makefile.am
@@ -1,6 +1,7 @@
icondir = $(datadir)/icons/hicolor
context = apps
+
ICON_FILES = \
msd-xrandr-16.png \
msd-xrandr-22.png \
@@ -43,19 +44,8 @@ uninstall-local:
plugin_LTLIBRARIES = \
libxrandr.la
-msd_xrandr_built_sources = \
- msd-xrandr-generated.h \
- msd-xrandr-generated.c \
- $(NULL)
-
-$(msd_xrandr_built_sources) : $(srcdir)/msd-xrandr-manager.xml
- $(AM_V_GEN) $(GDBUS_CODEGEN) \
- --interface-prefix org.mate.SettingsDaemon. \
- --c-namespace MateXrandr \
- --generate-c-code msd-xrandr-generated $<
libxrandr_la_SOURCES = \
- $(msd_xrandr_built_sources) \
msd-xrandr-plugin.h \
msd-xrandr-plugin.c \
msd-xrandr-manager.h \
@@ -80,16 +70,18 @@ libxrandr_la_LDFLAGS = \
libxrandr_la_LIBADD = \
$(SETTINGS_PLUGIN_LIBS) \
$(LIBNOTIFY_LIBS) \
- $(MATE_DESKTOP_LIBS)
+ $(MATE_DESKTOP_LIBS) \
+ $(X11_LIBS) \
+ $(NULL)
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) msd-xrandr-manager.xml
-CLEANFILES = $(plugin_DATA) $(msd_xrandr_built_sources)
-DISTCLEANFILES = $(plugin_DATA) $(msd_xrandr_built_sources)
+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 $@