summaryrefslogtreecommitdiff
path: root/plugins/nvidia/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/nvidia/Makefile.am')
-rw-r--r--plugins/nvidia/Makefile.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/nvidia/Makefile.am b/plugins/nvidia/Makefile.am
new file mode 100644
index 0000000..88c85b7
--- /dev/null
+++ b/plugins/nvidia/Makefile.am
@@ -0,0 +1,21 @@
+# NVIDIA 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) $(NVIDIA_CFLAGS)
+
+plugin_LTLIBRARIES = libnvidia.la
+
+libnvidia_la_SOURCES = \
+ nvidia-plugin.h \
+ nvidia-plugin.c
+
+libnvidia_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) $(GLIB_LIBS) $(NVIDIA_LIBS)
+libnvidia_la_LIBADD = $(top_builddir)/lib/libsensors-applet-plugin.la