summaryrefslogtreecommitdiff
path: root/plugins/pmu-sys/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pmu-sys/Makefile.am')
-rw-r--r--plugins/pmu-sys/Makefile.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/pmu-sys/Makefile.am b/plugins/pmu-sys/Makefile.am
new file mode 100644
index 0000000..4a70a1d
--- /dev/null
+++ b/plugins/pmu-sys/Makefile.am
@@ -0,0 +1,21 @@
+# PMU-SYS plugin
+plugindir = $(libdir)/sensors-applet/plugins
+
+INCLUDES = -DGNOMELOCALEDIR=\""$(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 = libpmu-sys.la
+
+libpmu_sys_la_SOURCES = \
+ pmu-sys-plugin.h \
+ pmu-sys-plugin.c
+
+libpmu_sys_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) $(GLIB_LIBS)
+libpmu_sys_la_LIBADD = $(top_builddir)/lib/libsensors-applet-plugin.la