| AM_DEFAULT_SOURCE_EXT = .cpp |
| |
| # Build these headers, don't install them |
| noinst_HEADERS = \ |
| bmc_version.hpp \ |
| download_manager.hpp \ |
| watch.hpp \ |
| version.hpp \ |
| image_manager.hpp \ |
| item_updater.hpp |
| |
| sbin_PROGRAMS = \ |
| phosphor-version-software-manager \ |
| phosphor-download-manager \ |
| phosphor-image-updater |
| |
| phosphor_version_software_manager_SOURCES = \ |
| bmc_version.cpp \ |
| image_manager_main.cpp \ |
| watch.cpp \ |
| version.cpp \ |
| image_manager.cpp |
| |
| nobase_nodist_include_HEADERS = \ |
| xyz/openbmc_project/Software/Version/error.hpp |
| |
| BUILT_SOURCES = \ |
| xyz/openbmc_project/Software/Version/error.cpp \ |
| xyz/openbmc_project/Software/Version/error.hpp |
| |
| CLEANFILES = ${BUILT_SOURCES} |
| |
| phosphor_download_manager_SOURCES = \ |
| download_manager.cpp \ |
| download_manager_main.cpp |
| |
| phosphor_image_updater_SOURCES = \ |
| item_updater.cpp \ |
| item_updater_main.cpp |
| |
| generic_cxxflags = \ |
| $(SYSTEMD_CFLAGS) \ |
| $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| $(SDBUSPLUS_CFLAGS) \ |
| $(PHOSPHOR_LOGGING_CFLAGS) |
| generic_ldflags = \ |
| $(SYSTEMD_LIBS) \ |
| $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| $(SDBUSPLUS_LIBS) \ |
| $(PHOSPHOR_LOGGING_LIBS) \ |
| -lstdc++fs |
| |
| xyz/openbmc_project/Software/Version/error.hpp: ${top_srcdir}/xyz/openbmc_project/Software/Version.errors.yaml |
| @mkdir -p `dirname $@` |
| $(SDBUSPLUSPLUS) -r $(srcdir) error exception-header xyz.openbmc_project.Software.Version > $@ |
| |
| xyz/openbmc_project/Software/Version/error.cpp: ${top_srcdir}/xyz/openbmc_project/Software/Version.errors.yaml |
| @mkdir -p `dirname $@` |
| $(SDBUSPLUSPLUS) -r $(srcdir) error exception-cpp xyz.openbmc_project.Software.Version > $@ |
| |
| phosphor_version_software_manager_CXXFLAGS = $(generic_cxxflags) |
| phosphor_version_software_manager_LDFLAGS = $(generic_ldflags) |
| phosphor_download_manager_CXXFLAGS = $(generic_cxxflags) |
| phosphor_download_manager_LDFLAGS = $(generic_ldflags) |
| phosphor_image_updater_CXXFLAGS = $(generic_cxxflags) |
| phosphor_image_updater_LDFLAGS = $(generic_ldflags) |
| |
| SUBDIRS = test |