blob: 90651d6dc5e0e4fa0cc3f6a9a41791a9492e16f1 [file] [log] [blame]
Marri Devender Rao82056ee2017-04-27 00:54:50 -05001AM_DEFAULT_SOURCE_EXT = .cpp
2sbin_PROGRAMS = checkstop_app
3
Marri Devender Raoce640f62017-05-14 09:11:05 -05004nobase_nodist_include_HEADERS = \
5 org/open_power/Host/error.hpp
6
7BUILT_SOURCES = \
8 org/open_power/Host/error.cpp \
9 org/open_power/Host/error.hpp
10
11CLEANFILES = ${BUILT_SOURCES}
12
13checkstop_app_SOURCES = checkstop_app.cpp \
14 org/open_power/Host/error.cpp
15
16checkstop_app_LDFLAGS = \
17 $(PHOSPHOR_LOGGING_LIBS) \
18 $(SDBUSPLUS_LIBS)
19
20checkstop_app_CXXFLAGS = \
21 $(PHOSPHOR_LOGGING_CFLAGS) \
22 $(SDBUSPLUS_CFLAGS)
23
24org/open_power/Host/error.hpp: ${top_srcdir}/org/open_power/Host.errors.yaml
25 @mkdir -p `dirname $@`
26 $(SDBUSPLUSPLUS) -r $(srcdir) error exception-header org.open_power.Host > $@
27
28org/open_power/Host/error.cpp: ${top_srcdir}/org/open_power/Host.errors.yaml
29 @mkdir -p `dirname $@`
30 $(SDBUSPLUSPLUS) -r $(srcdir) error exception-cpp org.open_power.Host > $@
31