summaryrefslogtreecommitdiff
path: root/sensors-applet/lib/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'sensors-applet/lib/Makefile.am')
-rw-r--r--sensors-applet/lib/Makefile.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/sensors-applet/lib/Makefile.am b/sensors-applet/lib/Makefile.am
new file mode 100644
index 00000000..0afd8eba
--- /dev/null
+++ b/sensors-applet/lib/Makefile.am
@@ -0,0 +1,21 @@
+## Process this file with automake to produce Makefile.in
+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) \
+ $(WARN_CFLAGS)
+
+LIBS = $(GLIB_LIBS)
+
+# also build the libsensorsplugin library
+lib_LTLIBRARIES = libmate-sensors-applet-plugin.la
+
+libmate_sensors_applet_plugin_la_SOURCES = sensors-applet-plugin.c
+libmate_sensors_applet_plugin_la_LDFLAGS = -export-dynamic
+
+-include $(top_srcdir)/git.mk