summaryrefslogtreecommitdiff
path: root/plugins/mbmon/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mbmon/Makefile.am')
-rw-r--r--plugins/mbmon/Makefile.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/mbmon/Makefile.am b/plugins/mbmon/Makefile.am
new file mode 100644
index 0000000..f391e67
--- /dev/null
+++ b/plugins/mbmon/Makefile.am
@@ -0,0 +1,21 @@
+# MBMON plugin
+plugindir = $(libdir)/mate-sensors-applet/plugins
+
+AM_CPPFLAGS = -DMATELOCALEDIR=\""$(datadir)/locale/"\" \
+ -DG_LOG_DOMAIN=\""Sensors Applet"\" \
+ -DPIXMAPS_DIR=\""$(datadir)/pixmaps/$(PACKAGE)/"\" \
+ -DDATADIR=\""$(datadir)"\" \
+ -DLIBDIR=\""$(libdir)"\" \
+ -DSYSCONFDIR=\""$(sysconfdir)"\" \
+ -DPREFIX=\""$(prefix)"\" \
+ -I$(top_srcdir) \
+ $(GLIB_CFLAGS)
+
+plugin_LTLIBRARIES = libmbmon.la
+
+libmbmon_la_SOURCES = \
+ mbmon-plugin.h \
+ mbmon-plugin.c
+
+libmbmon_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) $(GLIB_LIBS)
+libmbmon_la_LIBADD = $(top_builddir)/lib/libmate-sensors-applet-plugin.la