aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: b2cf3df86ecbce8875560120e8a0165d2d706427 (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
CLEANFILES =
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}

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

powerlibdir = $(INDICATORDIR)
powerlib_LTLIBRARIES = libpower.la

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

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

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