summaryrefslogtreecommitdiff
path: root/sensors-applet/Makefile.am
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2011-11-21 23:44:15 +0100
committerStefano Karapetsas <[email protected]>2011-11-21 23:44:15 +0100
commit69ecddf1317e71f35b1c1de00392dc76f8f1701c (patch)
treeaba29401d8d4b88f14d67aac2b0e60980a78fa2e /sensors-applet/Makefile.am
downloadmate-sensors-applet-69ecddf1317e71f35b1c1de00392dc76f8f1701c.tar.bz2
mate-sensors-applet-69ecddf1317e71f35b1c1de00392dc76f8f1701c.tar.xz
Initial release bases on sensors-applet
Diffstat (limited to 'sensors-applet/Makefile.am')
-rw-r--r--sensors-applet/Makefile.am50
1 files changed, 50 insertions, 0 deletions
diff --git a/sensors-applet/Makefile.am b/sensors-applet/Makefile.am
new file mode 100644
index 0000000..a87feb0
--- /dev/null
+++ b/sensors-applet/Makefile.am
@@ -0,0 +1,50 @@
+## Process this file with automake to produce Makefile.in
+INCLUDES = -DGNOMELOCALEDIR=\""$(datadir)/locale/"\" \
+ -DG_LOG_DOMAIN=\""Sensors Applet"\" \
+ -DPIXMAPS_DIR=\""$(datadir)/pixmaps/$(PACKAGE)/"\" \
+ -DDATADIR=\""$(datadir)"\" \
+ -DLIBDIR=\""$(libdir)"\" \
+ -DSENSORS_APPLET_PLUGIN_DIR=\""$(libdir)/$(PACKAGE)/plugins/"\" \
+ -DSYSCONFDIR=\""$(sysconfdir)"\" \
+ -DPREFIX=\""$(prefix)"\" \
+ -I$(top_srcdir) \
+ $(GLIB_CFLAGS) $(GTK_CFLAGS) $(GNOME_CFLAGS) $(CAIRO_CFLAGS) $(LIBNOTIFY_CFLAGS)
+
+
+LIBS = $(GLIB_LIBS) $(GTK_LIBS) $(GNOME_LIBS) $(CAIRO_LIBS) $(LIBNOTIFY_LIBS)
+
+if LIBNOTIFY
+libnotify_SRC = active-sensor-libnotify.c \
+ active-sensor-libnotify.h
+else
+libnotify_SRC =
+endif
+
+libexec_PROGRAMS = sensors-applet
+sensors_applet_SOURCES = main.c \
+ about-dialog.c \
+ about-dialog.h \
+ active-sensor.c \
+ active-sensor.h \
+ prefs-dialog.c \
+ prefs-dialog.h \
+ sensor-config-dialog.c \
+ sensor-config-dialog.h \
+ sensors-applet.c \
+ sensors-applet.h \
+ sensors-applet-sensor.h \
+ sensors-applet-plugins.c \
+ sensors-applet-plugins.h \
+ sensors-applet-gconf.c \
+ sensors-applet-gconf.h \
+ $(libnotify_SRC)
+
+# install headers for plugins to use
+INST_H_FILES = sensors-applet-plugin.h sensors-applet-sensor.h
+
+headerdir = $(prefix)/include/sensors-applet
+
+header_DATA = $(INST_H_FILES)
+
+# since it is separate
+EXTRA_DIST = sensors-applet-plugin.h \ No newline at end of file