aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 73c30a0956ef0f1b8fdc4fbacf1d13eb9a24006b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
CLEANFILES =
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}

###################
# Indicator Stuff
###################

powerlibdir = $(INDICATORDIR)
powerlib_LTLIBRARIES = libpower.la

libpower_la_SOURCES = \
        dbus-listener.c \
        device.c \
        indicator-power.c

CLEANFILES += .libs/*.gcda .libs/*.gcno *.gcda *.gcno

noinst_HEADERS = \
        dbus-listener.h \
        device.h \
        indicator-power.h

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