Patrick Williams | e36cf85 | 2017-07-03 14:50:21 -0500 | [diff] [blame] | 1 | noinst_PROGRAMS = calculator-server list-users |
Patrick Williams | 4edb785 | 2017-07-03 11:50:11 -0500 | [diff] [blame] | 2 | |
| 3 | calculator_server_generated_files = \ |
| 4 | net/poettering/Calculator/server.hpp \ |
| 5 | net/poettering/Calculator/server.cpp \ |
| 6 | net/poettering/Calculator/error.hpp \ |
| 7 | net/poettering/Calculator/error.cpp |
| 8 | |
| 9 | calculator_markdown_generated_files = \ |
| 10 | calculator.md |
| 11 | |
| 12 | calculator_server_SOURCES = \ |
| 13 | calculator-server.cpp $(calculator_server_generated_files) |
Patrick Williams | 817248c | 2017-07-18 21:51:12 -0500 | [diff] [blame] | 14 | calculator_server_CXXFLAGS = $(SYSTEMD_CFLAGS) -I$(top_srcdir) |
Patrick Williams | 4edb785 | 2017-07-03 11:50:11 -0500 | [diff] [blame] | 15 | calculator_server_LDADD = $(SYSTEMD_LIBS) ../libsdbusplus.la |
| 16 | |
Patrick Williams | e36cf85 | 2017-07-03 14:50:21 -0500 | [diff] [blame] | 17 | list_users_SOURCES = list-users.cpp |
Patrick Williams | 817248c | 2017-07-18 21:51:12 -0500 | [diff] [blame] | 18 | list_users_CXXFLAGS = $(SYSTEMD_CFLAGS) -I$(top_srcdir) |
Patrick Williams | e36cf85 | 2017-07-03 14:50:21 -0500 | [diff] [blame] | 19 | list_users_LDADD = $(SYSTEMD_LIBS) ../libsdbusplus.la |
| 20 | |
Patrick Williams | 4edb785 | 2017-07-03 11:50:11 -0500 | [diff] [blame] | 21 | BUILT_SOURCES = \ |
| 22 | $(calculator_server_generated_files) \ |
| 23 | $(calculator_markdown_generated_files) |
| 24 | CLEANFILES = \ |
| 25 | $(calculator_server_generated_files) \ |
| 26 | $(calculator_markdown_generated_files) |
| 27 | |
| 28 | net/poettering/Calculator/server.hpp: |
Patrick Williams | 817248c | 2017-07-18 21:51:12 -0500 | [diff] [blame] | 29 | @mkdir -p $(@D) |
Patrick Williams | 7bfb70a | 2017-07-03 13:56:51 -0500 | [diff] [blame] | 30 | @top_srcdir@/tools/sdbus++ \ |
Patrick Williams | 817248c | 2017-07-18 21:51:12 -0500 | [diff] [blame] | 31 | -r $(srcdir) -t $(top_builddir)/tools/sdbusplus/templates \ |
Patrick Williams | 4edb785 | 2017-07-03 11:50:11 -0500 | [diff] [blame] | 32 | interface server-header net.poettering.Calculator > $@ |
| 33 | |
| 34 | net/poettering/Calculator/server.cpp: |
Patrick Williams | 817248c | 2017-07-18 21:51:12 -0500 | [diff] [blame] | 35 | @mkdir -p $(@D) |
Patrick Williams | 7bfb70a | 2017-07-03 13:56:51 -0500 | [diff] [blame] | 36 | @top_srcdir@/tools/sdbus++ \ |
Patrick Williams | 817248c | 2017-07-18 21:51:12 -0500 | [diff] [blame] | 37 | -r $(srcdir) -t $(top_builddir)/tools/sdbusplus/templates \ |
Patrick Williams | 4edb785 | 2017-07-03 11:50:11 -0500 | [diff] [blame] | 38 | interface server-cpp net.poettering.Calculator > $@ |
| 39 | |
| 40 | net/poettering/Calculator/error.hpp: |
Patrick Williams | 817248c | 2017-07-18 21:51:12 -0500 | [diff] [blame] | 41 | @mkdir -p $(@D) |
Patrick Williams | 7bfb70a | 2017-07-03 13:56:51 -0500 | [diff] [blame] | 42 | @top_srcdir@/tools/sdbus++ \ |
Patrick Williams | 817248c | 2017-07-18 21:51:12 -0500 | [diff] [blame] | 43 | -r $(srcdir) -t $(top_builddir)/tools/sdbusplus/templates \ |
Patrick Williams | 4edb785 | 2017-07-03 11:50:11 -0500 | [diff] [blame] | 44 | error exception-header net.poettering.Calculator > $@ |
| 45 | |
| 46 | net/poettering/Calculator/error.cpp: |
Patrick Williams | 817248c | 2017-07-18 21:51:12 -0500 | [diff] [blame] | 47 | @mkdir -p $(@D) |
Patrick Williams | 7bfb70a | 2017-07-03 13:56:51 -0500 | [diff] [blame] | 48 | @top_srcdir@/tools/sdbus++ \ |
Patrick Williams | 817248c | 2017-07-18 21:51:12 -0500 | [diff] [blame] | 49 | -r $(srcdir) -t $(top_builddir)/tools/sdbusplus/templates \ |
Patrick Williams | 4edb785 | 2017-07-03 11:50:11 -0500 | [diff] [blame] | 50 | error exception-cpp net.poettering.Calculator > $@ |
| 51 | |
| 52 | calculator.md: |
Patrick Williams | 817248c | 2017-07-18 21:51:12 -0500 | [diff] [blame] | 53 | @mkdir -p $(@D) |
Patrick Williams | 7bfb70a | 2017-07-03 13:56:51 -0500 | [diff] [blame] | 54 | @top_srcdir@/tools/sdbus++ \ |
Patrick Williams | 817248c | 2017-07-18 21:51:12 -0500 | [diff] [blame] | 55 | -r $(srcdir) -t $(top_builddir)/tools/sdbusplus/templates \ |
Patrick Williams | 4edb785 | 2017-07-03 11:50:11 -0500 | [diff] [blame] | 56 | interface markdown net.poettering.Calculator > $@ |
Patrick Williams | 7bfb70a | 2017-07-03 13:56:51 -0500 | [diff] [blame] | 57 | @top_srcdir@/tools/sdbus++ \ |
Patrick Williams | 817248c | 2017-07-18 21:51:12 -0500 | [diff] [blame] | 58 | -r $(srcdir) -t $(top_builddir)/tools/sdbusplus/templates \ |
Patrick Williams | 4edb785 | 2017-07-03 11:50:11 -0500 | [diff] [blame] | 59 | error markdown net.poettering.Calculator >> $@ |