blob: f2a770a8bab79dc165ed49a7b24bc89f1abfb8ff (
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
45
|
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
EXTRA_DIST = \
data/hostname1.xml \
$(NULL)
AM_CPPFLAGS = \
-include $(top_builddir)/config.h \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
-DLIBEXECDIR=\""$(libexecdir)"\" \
$(OPENRC_SETTINGSD_CFLAGS) \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
$(NULL)
LDADD = $(OPENRC_SETTINGSD_LIBS)
libexec_PROGRAMS = openrc-settingsd
hostnamed_built_sources = \
src/hostname1-generated.c \
src/hostname1-generated.h \
$(NULL)
openrc_settingsd_SOURCES = \
$(hostnamed_built_sources) \
src/hostnamed.c \
src/hostnamed.h \
src/bus-utils.c \
src/bus-utils.h \
src/shell-utils.c \
src/shell-utils.h \
src/main.c \
$(NULL)
$(hostnamed_built_sources) : data/hostname1.xml
( $(GDBUS_CODEGEN) \
--interface-prefix org.freedesktop. \
--c-namespace OpenrcSettingsdHostnamed \
--generate-c-code hostname1-generated \
$(srcdir)/data/hostname1.xml; \
mv hostname1-generated.{c,h} $(top_srcdir)/src/ )
BUILT_SOURCES = $(hostnamed_built_sources)
CLEANFILES = $(hostnamed_built_sources)
|