summaryrefslogtreecommitdiff
path: root/sensors-applet/plugins/libsensors/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'sensors-applet/plugins/libsensors/Makefile.am')
-rw-r--r--sensors-applet/plugins/libsensors/Makefile.am25
1 files changed, 25 insertions, 0 deletions
diff --git a/sensors-applet/plugins/libsensors/Makefile.am b/sensors-applet/plugins/libsensors/Makefile.am
new file mode 100644
index 00000000..99dc1472
--- /dev/null
+++ b/sensors-applet/plugins/libsensors/Makefile.am
@@ -0,0 +1,25 @@
+plugindir = $(libdir)/mate-sensors-applet/plugins
+
+# libsensors plugin
+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)/sensors-applet \
+ $(GLIB_CFLAGS) \
+ $(LIBSENSORS_CFLAGS) \
+ $(WARN_CFLAGS)
+
+plugin_LTLIBRARIES = liblibsensors.la
+
+liblibsensors_la_SOURCES = \
+ libsensors-plugin.h \
+ libsensors-plugin.c
+
+liblibsensors_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) $(GLIB_LIBS) $(LIBSENSORS_LIBS)
+liblibsensors_la_LIBADD = $(top_builddir)/sensors-applet/lib/libmate-sensors-applet-plugin.la
+
+-include $(top_srcdir)/git.mk