Marri Devender Rao | 82056ee | 2017-04-27 00:54:50 -0500 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
Vishwanatha Subbanna | 0eff609 | 2017-06-12 21:03:36 +0530 | [diff] [blame^] | 2 | sbin_PROGRAMS = checkstop_app \ |
| 3 | watchdog_timeout |
Marri Devender Rao | 82056ee | 2017-04-27 00:54:50 -0500 | [diff] [blame] | 4 | |
Marri Devender Rao | ce640f6 | 2017-05-14 09:11:05 -0500 | [diff] [blame] | 5 | nobase_nodist_include_HEADERS = \ |
| 6 | org/open_power/Host/error.hpp |
| 7 | |
| 8 | BUILT_SOURCES = \ |
| 9 | org/open_power/Host/error.cpp \ |
| 10 | org/open_power/Host/error.hpp |
| 11 | |
| 12 | CLEANFILES = ${BUILT_SOURCES} |
| 13 | |
| 14 | checkstop_app_SOURCES = checkstop_app.cpp \ |
| 15 | org/open_power/Host/error.cpp |
| 16 | |
Vishwanatha Subbanna | 0eff609 | 2017-06-12 21:03:36 +0530 | [diff] [blame^] | 17 | watchdog_timeout_SOURCES = watchdog_timeout.cpp \ |
| 18 | org/open_power/Host/error.cpp |
Marri Devender Rao | ce640f6 | 2017-05-14 09:11:05 -0500 | [diff] [blame] | 19 | |
Vishwanatha Subbanna | 0eff609 | 2017-06-12 21:03:36 +0530 | [diff] [blame^] | 20 | generic_ldflags = \ |
| 21 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 22 | $(SDBUSPLUS_LIBS) |
| 23 | |
| 24 | generic_cxxflags = \ |
| 25 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 26 | $(SDBUSPLUS_CFLAGS) |
| 27 | |
| 28 | checkstop_app_LDFLAGS = ${generic_ldflags} |
| 29 | watchdog_timeout_LDFLAGS = ${generic_ldflags} |
| 30 | |
| 31 | checkstop_app_CXXFLAGS = ${generic_cxxflags} |
| 32 | watchdog_timeout_CXXFLAGS = ${generic_cxxflags} |
Marri Devender Rao | ce640f6 | 2017-05-14 09:11:05 -0500 | [diff] [blame] | 33 | |
| 34 | org/open_power/Host/error.hpp: ${top_srcdir}/org/open_power/Host.errors.yaml |
| 35 | @mkdir -p `dirname $@` |
| 36 | $(SDBUSPLUSPLUS) -r $(srcdir) error exception-header org.open_power.Host > $@ |
| 37 | |
| 38 | org/open_power/Host/error.cpp: ${top_srcdir}/org/open_power/Host.errors.yaml |
| 39 | @mkdir -p `dirname $@` |
| 40 | $(SDBUSPLUSPLUS) -r $(srcdir) error exception-cpp org.open_power.Host > $@ |
| 41 | |