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