blob: 8d32517d8fa0855a4e900e7944f002764da13757 (
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
39
40
41
42
43
44
|
include $(top_srcdir)/Makefile.gtester
libexec_PROGRAMS = dconf-service
dbusservice_DATA = ca.desrt.dconf.service
dconf_service_CFLAGS = $(gio_CFLAGS)
dconf_service_LDADD = \
../common/libdconf-common.a \
../gvdb/libgvdb.a \
../shm/libdconf-shm.a \
$(gio_LIBS)
dconf_service_SOURCES = \
$(BUILT_SOURCES) \
dconf-blame.c \
dconf-blame.h \
dconf-gvdb-utils.c \
dconf-gvdb-utils.h \
dconf-service.c \
dconf-service.h \
dconf-writer.h \
dconf-writer.c \
dconf-keyfile-writer.c \
dconf-shm-writer.c \
main.c
dconf-generated.c: dconf-generated.h
dconf-generated.h: ca.desrt.dconf.xml Makefile
gdbus-codegen --generate-c-code dconf-generated --c-namespace DConfDBus --interface-prefix=ca.desrt.dconf. $(srcdir)/ca.desrt.dconf.xml
DISTCLEANFILES = ca.desrt.dconf.service
BUILT_SOURCES = dconf-generated.c dconf-generated.h
CLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = ca.desrt.dconf.xml
ca.desrt.dconf.service: Makefile
$(AM_V_GEN) (echo '[D-BUS Service]'; \
echo 'Name=ca.desrt.dconf'; \
echo 'Exec=${libexecdir}/dconf-service') > $@.tmp && \
mv $@.tmp $@
|