summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-08-01 13:15:40 +0100
committerRichard Hughes <richard@hughsie.com>2008-08-01 13:15:40 +0100
commit27cde0b6e03adc2db73413e4b4df09e00e86c337 (patch)
tree655674b9e2f362f6b38fc0983a8891b101188a1c /tools/Makefile.am
parent81a4c5d82443b38f6618b2d5200005e0d9f93751 (diff)
downloadupower-27cde0b6e03adc2db73413e4b4df09e00e86c337.tar.gz
rework devkit-power tool, more work to come
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r--tools/Makefile.am19
1 files changed, 10 insertions, 9 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 237c46b..55ccb98 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -14,23 +14,24 @@ INCLUDES = \
$(POLKIT_DBUS_CFLAGS) \
$(GLIB_CFLAGS)
-BUILT_SOURCES = \
- devkit-power-daemon-glue.h \
- devkit-power-marshal.h devkit-power-marshal.c
+BUILT_SOURCES = \
+ dkp-daemon-glue.h \
+ dkp-marshal.h dkp-marshal.c
-devkit-power-marshal.h: $(top_srcdir)/src/devkit-power-marshal.list
+dkp-marshal.h: $(top_srcdir)/src/dkp-marshal.list
glib-genmarshal $< --prefix=devkit_power_marshal --header > $@
-devkit-power-marshal.c: $(top_srcdir)/src/devkit-power-marshal.list
- echo "#include \"devkit-power-marshal.h\"" > $@ && glib-genmarshal $< --prefix=devkit_power_marshal --body >> $@
+dkp-marshal.c: $(top_srcdir)/src/dkp-marshal.list
+ echo "#include \"dkp-marshal.h\"" > $@ && glib-genmarshal $< --prefix=devkit_power_marshal --body >> $@
-devkit-power-daemon-glue.h: $(top_srcdir)/src/org.freedesktop.DeviceKit.Power.xml Makefile.am
- dbus-binding-tool --prefix=devkit_power_daemon --mode=glib-client --output=devkit-power-daemon-glue.h $(top_srcdir)/src/org.freedesktop.DeviceKit.Power.xml
+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
devkit_power_SOURCES = \
- devkit-power.c \
+ dkp-tool.c \
+ ../src/dkp-debug.h ../src/dkp-debug.c \
$(BUILT_SOURCES)