blob: 7230193cd78ebaf94c92f3248871d91ba2a31255 [file] [log] [blame]
AM_DEFAULT_SOURCE_EXT = .cpp
pkgdatadir = $(datadir)/phosphor-ipmi-flash
dist_pkgdata_DATA =
noinst_LTLIBRARIES = libversionblob_common.la
libversionblob_common_la_SOURCES = \
version_handler.cpp \
version_handlers_builder.cpp
libversionblob_common_la_CXXFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/bmc \
$(SDBUSPLUS_CFLAGS) \
$(PHOSPHOR_LOGGING_CFLAGS) \
$(CODE_COVERAGE_CXXFLAGS) \
-flto
libversionblob_common_la_LDFLAGS = \
$(SDBUSPLUS_LIBS) \
$(PHOSPHOR_LOGGING_LIBS) \
$(CODE_COVERAGE_LIBS) \
-lstdc++fs
libversionblob_common_la_LIBADD = $(top_builddir)/libfirmware_common.la
libversionblob_common_la_LIBADD += $(top_builddir)/bmc/libbmc_common.la
libversionblobdir = ${libdir}/ipmid-providers
libversionblob_LTLIBRARIES = libversionblob.la
libversionblob_la_SOURCES = \
main.cpp
libversionblob_la_LIBADD = libversionblob_common.la
libversionblob_la_LDFLAGS = \
$(SDBUSPLUS_LIBS) \
$(PHOSPHOR_LOGGING_LIBS) \
$(CODE_COVERAGE_LIBS) \
-lstdc++fs \
-version-info 0:0:0 -shared
libversionblob_la_CXXFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/bmc \
$(SDBUSPLUS_CFLAGS) \
$(PHOSPHOR_LOGGING_CFLAGS) \
$(CODE_COVERAGE_CXXFLAGS) \
-flto
SUBDIRS = . test