diff options
author | 2012-01-28 22:55:07 -0500 | |
---|---|---|
committer | 2012-01-28 22:55:07 -0500 | |
commit | 42aed9373bcc42fc7d9766e35e5158685a57ebdf (patch) | |
tree | 832ddad4b687ed66be939a4e744def868c523082 /Makefile.am | |
download | openrc-settingsd-42aed9373bcc42fc7d9766e35e5158685a57ebdf.tar.gz openrc-settingsd-42aed9373bcc42fc7d9766e35e5158685a57ebdf.tar.bz2 openrc-settingsd-42aed9373bcc42fc7d9766e35e5158685a57ebdf.zip |
Initial commit
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..58a1dea --- /dev/null +++ b/Makefile.am @@ -0,0 +1,45 @@ +ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} + +EXTRA_DIST = \ + data/hostnamed.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/hostnamed-generated.c \ + src/hostnamed-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/hostnamed.xml + ( $(GDBUS_CODEGEN) \ + --interface-prefix org.freedesktop. \ + --c-namespace OpenrcSettingsdHostnamed \ + --generate-c-code hostnamed-generated \ + $(srcdir)/data/hostnamed.xml; \ + mv hostnamed-generated.{c,h} $(top_srcdir)/src/ ) + +BUILT_SOURCES = $(hostnamed_built_sources) +CLEANFILES = $(hostnamed_built_sources) |