summaryrefslogtreecommitdiff
path: root/plugins/i2c-proc/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/i2c-proc/Makefile.am')
-rw-r--r--plugins/i2c-proc/Makefile.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/i2c-proc/Makefile.am b/plugins/i2c-proc/Makefile.am
new file mode 100644
index 0000000..8f7808c
--- /dev/null
+++ b/plugins/i2c-proc/Makefile.am
@@ -0,0 +1,21 @@
+# I2C-PROC 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 = libi2c-proc.la
+
+libi2c_proc_la_SOURCES = \
+ i2c-proc-plugin.h \
+ i2c-proc-plugin.c
+
+libi2c_proc_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) $(GLIB_LIBS)
+libi2c_proc_la_LIBADD = $(top_builddir)/lib/libsensors-applet-plugin.la