blob: 2cf894193f6946109baf9e577f820ed8b3539378 [file] [log] [blame]
noinst_PROGRAMS = calculator-server list-users
calculator_server_generated_files = \
net/poettering/Calculator/server.hpp \
net/poettering/Calculator/server.cpp \
net/poettering/Calculator/error.hpp \
net/poettering/Calculator/error.cpp
calculator_markdown_generated_files = \
calculator.md
calculator_server_SOURCES = \
calculator-server.cpp $(calculator_server_generated_files)
calculator_server_CXXFLAGS = $(SYSTEMD_CFLAGS) -I$(top_srcdir)
calculator_server_LDADD = $(SYSTEMD_LIBS) ../libsdbusplus.la
list_users_SOURCES = list-users.cpp
list_users_CXXFLAGS = $(SYSTEMD_CFLAGS) -I$(top_srcdir)
list_users_LDADD = $(SYSTEMD_LIBS) ../libsdbusplus.la
BUILT_SOURCES = \
$(calculator_server_generated_files) \
$(calculator_markdown_generated_files)
CLEANFILES = \
$(calculator_server_generated_files) \
$(calculator_markdown_generated_files)
net/poettering/Calculator/server.hpp:
@mkdir -p $(@D)
@top_srcdir@/tools/sdbus++ \
-r $(srcdir) -t $(top_builddir)/tools/sdbusplus/templates \
interface server-header net.poettering.Calculator > $@
net/poettering/Calculator/server.cpp:
@mkdir -p $(@D)
@top_srcdir@/tools/sdbus++ \
-r $(srcdir) -t $(top_builddir)/tools/sdbusplus/templates \
interface server-cpp net.poettering.Calculator > $@
net/poettering/Calculator/error.hpp:
@mkdir -p $(@D)
@top_srcdir@/tools/sdbus++ \
-r $(srcdir) -t $(top_builddir)/tools/sdbusplus/templates \
error exception-header net.poettering.Calculator > $@
net/poettering/Calculator/error.cpp:
@mkdir -p $(@D)
@top_srcdir@/tools/sdbus++ \
-r $(srcdir) -t $(top_builddir)/tools/sdbusplus/templates \
error exception-cpp net.poettering.Calculator > $@
calculator.md:
@mkdir -p $(@D)
@top_srcdir@/tools/sdbus++ \
-r $(srcdir) -t $(top_builddir)/tools/sdbusplus/templates \
interface markdown net.poettering.Calculator > $@
@top_srcdir@/tools/sdbus++ \
-r $(srcdir) -t $(top_builddir)/tools/sdbusplus/templates \
error markdown net.poettering.Calculator >> $@