summaryrefslogtreecommitdiff
path: root/plugins/rfkill/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/rfkill/Makefile.am')
-rw-r--r--plugins/rfkill/Makefile.am42
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@