aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2012-07-11 21:39:51 +0200
committerSebastien Bacher <seb128@ubuntu.com>2012-07-11 21:39:51 +0200
commit4af0bd2bf3acca2dc08656ba0e7105a28e2d0d1b (patch)
tree403adab544ae9d295497f0c9d5eee5eb2d37c3a3 /Makefile.am
parent109d4fe4271cef7438273eb5a24b719a73e9a4fb (diff)
parent7bc1a483d52707854f6f813fbbbed4709fe38f34 (diff)
downloadayatana-indicator-power-4af0bd2bf3acca2dc08656ba0e7105a28e2d0d1b.tar.gz
ayatana-indicator-power-4af0bd2bf3acca2dc08656ba0e7105a28e2d0d1b.tar.bz2
ayatana-indicator-power-4af0bd2bf3acca2dc08656ba0e7105a28e2d0d1b.zip
Import upstream version 12.10.0
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am31
1 files changed, 6 insertions, 25 deletions
diff --git a/Makefile.am b/Makefile.am
index 25cbee5..00e108d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,30 +1,11 @@
-ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+SUBDIRS = po data src
-SUBDIRS = \
- po \
- data
+if BUILD_TESTS
+SUBDIRS += tests
+# build src first
+tests: src
+endif
-###################
-# Indicator Stuff
-###################
-
-powerlibdir = $(INDICATORDIR)
-powerlib_LTLIBRARIES = libpower.la
-libpower_la_SOURCES = \
- src/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
############################################################