blob: 829bd27583d1d2797ea8233c7e2a994cad954b0c [file] [log] [blame]
# Build these headers, don't install them
noinst_HEADERS = \
defines.hpp \
store.hpp \
parser.hpp \
types.hpp \
write.hpp \
impl.hpp \
args.hpp \
types.hpp \
utils.hpp
# Be sure to build these before compiling
BUILT_SOURCES = \
writefru.hpp \
extra-properties-gen.hpp
CLEANFILES = \
writefru.hpp \
extra-properties-gen.hpp
FRU_GEN_SCRIPT ?= \
${abs_srcdir}/writefru.py
FRU_GEN_SCRIPT_FILES ?= \
${abs_srcdir}/writefru.yaml \
${abs_srcdir}/writefru.mako.hpp
PROP_GEN_SCRIPT ?= \
${abs_srcdir}/extra-properties.py
PROP_GEN_SCRIPT_FILES ?= \
${abs_srcdir}/extra-properties-example.yaml \
${abs_srcdir}/extra-properties.mako.hpp
EXTRA_DIST = \
$(FRU_GEN_SCRIPT) \
$(FRU_GEN_SCRIPT_FILES) \
$(PROP_GEN_SCRIPT) \
$(PROP_GEN_SCRIPT_FILES)
writefru.hpp: ${FRU_GEN_SCRIPT} ${FRU_GEN_SCRIPT_FILES}
$(AM_V_GEN)@FRUGEN@
extra-properties-gen.hpp: ${PROP_GEN_SCRIPT} ${PROP_GEN_SCRIPT_FILES}
$(AM_V_GEN)@PROPGEN@
sbin_PROGRAMS = openpower-read-vpd
openpower_read_vpd_SOURCES = \
app.cpp \
args.cpp \
impl.cpp \
parser.cpp \
write.cpp \
utils.cpp
openpower_read_vpd_LDFLAGS = $(SDBUSPLUS_LIBS) $(PHOSPHOR_LOGGING_LIBS)
openpower_read_vpd_CXXFLAGS = $(SDBUSPLUS_CFLAGS) $(PHOSPHOR_LOGGING_CFLAGS)
SUBDIRS = test