blob: 90651d6dc5e0e4fa0cc3f6a9a41791a9492e16f1 [file] [log] [blame]
AM_DEFAULT_SOURCE_EXT = .cpp
sbin_PROGRAMS = checkstop_app
nobase_nodist_include_HEADERS = \
org/open_power/Host/error.hpp
BUILT_SOURCES = \
org/open_power/Host/error.cpp \
org/open_power/Host/error.hpp
CLEANFILES = ${BUILT_SOURCES}
checkstop_app_SOURCES = checkstop_app.cpp \
org/open_power/Host/error.cpp
checkstop_app_LDFLAGS = \
$(PHOSPHOR_LOGGING_LIBS) \
$(SDBUSPLUS_LIBS)
checkstop_app_CXXFLAGS = \
$(PHOSPHOR_LOGGING_CFLAGS) \
$(SDBUSPLUS_CFLAGS)
org/open_power/Host/error.hpp: ${top_srcdir}/org/open_power/Host.errors.yaml
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) error exception-header org.open_power.Host > $@
org/open_power/Host/error.cpp: ${top_srcdir}/org/open_power/Host.errors.yaml
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) error exception-cpp org.open_power.Host > $@