aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-05-23 10:42:13 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-05-23 10:42:13 -0500
commit122e56d9e1b4b8d2f2b7bf3dd9daf5577d6b2699 (patch)
treed9aad591676bc976d98566ae28437490fdab9455 /src/Makefile.am
parent8e7ee28533094e6f3e5d9968e3841e5af38bf1ba (diff)
downloadayatana-indicator-power-122e56d9e1b4b8d2f2b7bf3dd9daf5577d6b2699.tar.gz
ayatana-indicator-power-122e56d9e1b4b8d2f2b7bf3dd9daf5577d6b2699.tar.bz2
ayatana-indicator-power-122e56d9e1b4b8d2f2b7bf3dd9daf5577d6b2699.zip
move libpower's automake rules into src/
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..e0211a0
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,28 @@
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+
+###################
+# Indicator Stuff
+###################
+
+powerlibdir = $(INDICATORDIR)
+powerlib_LTLIBRARIES = libpower.la
+
+libpower_la_SOURCES = \
+ indicator-power.c
+
+libpower_la_CFLAGS = \
+ $(UPOWER_CFLAGS) \
+ $(INDICATOR_CFLAGS) \
+ $(COVERAGE_CFLAGS) \
+ -Wall -Werror \
+ -DG_LOG_DOMAIN=\"Indicator-Power\"
+
+libpower_la_LIBADD = \
+ $(UPOWER_LIBS) \
+ $(INDICATOR_LIBS)
+
+libpower_la_LDFLAGS = \
+ $(COVERAGE_LDFLAGS) \
+ -module \
+ -avoid-version
+