diff options
author | Zhang Xianwei <[email protected]> | 2018-10-18 17:09:38 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-10-24 18:19:17 +0200 |
commit | 2b528edce044642edcd388b851f52012b7e09e38 (patch) | |
tree | a1fc84470e773a5ef74e4a4aa481cb1c17bacc6c /plugins/rfkill/Makefile.am | |
parent | 765208efe3772d5aebf1680c4c5fac87a9b33136 (diff) | |
download | mate-settings-daemon-2b528edce044642edcd388b851f52012b7e09e38.tar.bz2 mate-settings-daemon-2b528edce044642edcd388b851f52012b7e09e38.tar.xz |
rfkill: Add RFKill support plugin on Linux systems
from https://github.com/GNOME/gnome-settings-daemon/commit/444af32e343a79ca3db0f957bf73687a0f0df9ec
Signed-off-by: Zhang Xianwei <[email protected]>
Diffstat (limited to 'plugins/rfkill/Makefile.am')
-rw-r--r-- | plugins/rfkill/Makefile.am | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/plugins/rfkill/Makefile.am b/plugins/rfkill/Makefile.am new file mode 100644 index 0000000..9cc6a99 --- /dev/null +++ b/plugins/rfkill/Makefile.am @@ -0,0 +1,42 @@ +plugin_LTLIBRARIES = librfkill.la + +librfkill_la_SOURCES = \ + msd-rfkill-plugin.c \ + msd-rfkill-manager.h \ + msd-rfkill-manager.c \ + rfkill-glib.c \ + rfkill-glib.h \ + rfkill.h + +librfkill_la_CPPFLAGS = \ + -I$(top_srcdir)/mate-settings-daemon \ + -I$(top_srcdir)/data/ \ + -DMATE_SETTINGS_LOCALEDIR=\""$(datadir)/locale"\" \ + -DLIBEXECDIR=\""$(libexecdir)"\" \ + $(AM_CPPFLAGS) + +librfkill_la_CFLAGS = \ + $(PLUGIN_CFLAGS) \ + $(RFKILL_CFLAGS) \ + $(SETTINGS_PLUGIN_CFLAGS) \ + $(AM_CFLAGS) + +librfkill_la_LDFLAGS = \ + $(MSD_PLUGIN_LDFLAGS) + +librfkill_la_LIBADD = \ + $(RFKILL_LIBS) \ + $(SETTINGS_PLUGIN_LIBS) + +plugin_in_files = rfkill.mate-settings-plugin.in + +plugin_DATA = $(plugin_in_files:.mate-settings-plugin.in=.mate-settings-plugin) + +udevrulesdir = $(prefix)/lib/udev/rules.d +udevrules_DATA = 61-mate-settings-daemon-rfkill.rules + +EXTRA_DIST = $(plugin_in_files) $(udevrules_DATA) +CLEANFILES = $(plugin_DATA) +DISTCLEANFILES = $(plugin_DATA) + +@MSD_INTLTOOL_PLUGIN_RULE@ |