summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r--tools/Makefile.am19
1 files changed, 16 insertions, 3 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 0f8143f..6dfe157 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -30,13 +30,12 @@ dkp-marshal.c: $(top_srcdir)/src/dkp-marshal.list
dkp-daemon-glue.h: $(top_srcdir)/src/org.freedesktop.DeviceKit.Power.xml Makefile.am
dbus-binding-tool --prefix=devkit_power_daemon --mode=glib-client --output=dkp-daemon-glue.h $(top_srcdir)/src/org.freedesktop.DeviceKit.Power.xml
-bin_PROGRAMS = devkit-power
+bin_PROGRAMS = devkit-power devkit-battery-power
devkit_power_SOURCES = \
- dkp-tool.c \
+ dkp-tool.c \
$(BUILT_SOURCES)
-
devkit_power_CPPFLAGS = \
-DG_LOG_DOMAIN=\"devkit-power\" \
$(DISABLE_DEPRECATED) \
@@ -47,6 +46,20 @@ devkit_power_LDADD = \
$(DEVKIT_POWER_LIBS) \
$(POLKIT_DBUS_LIBS)
+devkit_battery_power_SOURCES = \
+ dkp-battery-power.c \
+ $(BUILT_SOURCES)
+
+devkit_battery_power_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"devkit-power\" \
+ $(DISABLE_DEPRECATED) \
+ $(AM_CPPFLAGS)
+
+devkit_battery_power_LDADD = \
+ $(DBUS_GLIB_LIBS) \
+ $(DEVKIT_POWER_LIBS) \
+ $(POLKIT_DBUS_LIBS)
+
CLEANFILES = $(BUILT_SOURCES)
clean-local :