use dbus interface and define throw clauses for all dbus methods
[dbus-hlid.git] / Makefile.am
bloba75b8f4fed5048f4329f89acb484dc5ed9902e81
1 NULL = 
3 AUTOMAKE_OPTIONS = subdir-objects
5 SUBDIRS = \
6         data \
7         $(NULL)
9 INCLUDES = \
10         $(DEPS_CFLAGS) \
11         -include $(CONFIG_HEADER) \
12         $(NULL)
14 BUILT_SOURCES = src/.vala.stamp
16 sbin_PROGRAMS = dbus-hlid
18 dbus_hlid_VALASOURCES = \
19         src/obj.vala \
20         src/main.vala \
21         src/consts.vala \
22         $(NULL)
24 dbus_hlid_SOURCES = \
25         $(dbus_hlid_VALASOURCES:.vala=.c) \
26         $(NULL)
28 src/.vala.stamp: $(dbus_hlid_VALASOURCES)
29         $(VALAC) -c --pkg dbus-glib-1 --save-temps --basedir $(top_srcdir) $^
30         touch $@
32 dbus_hlid_LDADD = \
33         $(DEPS_LIBS) \
34         $(NULL)
36 EXTRA_DIST = \
37         $(dbus_hlid_VALASOURCES) \
38         src/.vala.stamp \
39         $(NULL)
41 DISTCLEANFILES = \
42         po/.intltool-merge-cache \
43         $(NULL)
45 MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub \
46                        configure depcomp install-sh ltmain.sh     \
47                        Makefile.in missing config.h.in            \
48                        mkinstalldirs src/*.h src/*.c *~