summaryrefslogtreecommitdiff
path: root/plugins/nvidia/Makefile.am
blob: f87cbabea579bc81b1ce3a5348b01b5c96e3220a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# NVIDIA 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) $(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/libmate-sensors-applet-plugin.la