Dhruvaraj Subhashchandran | 59b86cd | 2017-04-13 00:19:44 -0500 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
| 2 | AM_CPPFLAGS = -I$(top_srcdir) |
| 3 | |
| 4 | noinst_HEADERS = fru-fault-monitor.hpp |
| 5 | |
| 6 | sbin_PROGRAMS = phosphor-fru-fault-monitor |
| 7 | |
| 8 | phosphor_fru_fault_monitor_SOURCES = \ |
| 9 | fru-fault-monitor.cpp \ |
Dhruvaraj Subhashchandran | 3c6f29a | 2017-04-20 09:47:28 -0500 | [diff] [blame] | 10 | monitor-main.cpp \ |
| 11 | xyz/openbmc_project/Led/Mapper/error.cpp \ |
| 12 | xyz/openbmc_project/Led/Fru/Monitor/error.cpp |
| 13 | |
| 14 | BUILT_SOURCES = xyz/openbmc_project/Led/Mapper/error.hpp \ |
| 15 | xyz/openbmc_project/Led/Mapper/error.cpp \ |
| 16 | xyz/openbmc_project/Led/Fru/Monitor/error.hpp \ |
| 17 | xyz/openbmc_project/Led/Fru/Monitor/error.cpp |
| 18 | |
| 19 | CLEANFILES = ${BUILT_SOURCES} |
Dhruvaraj Subhashchandran | 59b86cd | 2017-04-13 00:19:44 -0500 | [diff] [blame] | 20 | |
| 21 | phosphor_fru_fault_monitor_LDFLAGS = $(SDBUSPLUS_LIBS) \ |
| 22 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 23 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) |
| 24 | phosphor_fru_fault_monitor_CFLAGS = $(SDBUSPLUS_CFLAGS) \ |
| 25 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 26 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) |
Dhruvaraj Subhashchandran | 3c6f29a | 2017-04-20 09:47:28 -0500 | [diff] [blame] | 27 | |
| 28 | xyz/openbmc_project/Led/Mapper/error.hpp: ${top_srcdir}/xyz/openbmc_project/Led/Mapper.errors.yaml |
| 29 | @mkdir -p `dirname $@` |
| 30 | $(SDBUSPLUSPLUS) -r $(top_srcdir) error exception-header xyz.openbmc_project.Led.Mapper > $@ |
| 31 | |
| 32 | xyz/openbmc_project/Led/Mapper/error.cpp: ${top_srcdir}/xyz/openbmc_project/Led/Mapper.errors.yaml |
| 33 | @mkdir -p `dirname $@` |
| 34 | $(SDBUSPLUSPLUS) -r $(top_srcdir) error exception-cpp xyz.openbmc_project.Led.Mapper > $@ |
| 35 | |
| 36 | xyz/openbmc_project/Led/Fru/Monitor/error.hpp: ${top_srcdir}/xyz/openbmc_project/Led/Fru/Monitor.errors.yaml |
| 37 | @mkdir -p `dirname $@` |
| 38 | $(SDBUSPLUSPLUS) -r $(top_srcdir) error exception-header xyz.openbmc_project.Led.Fru.Monitor > $@ |
| 39 | |
| 40 | xyz/openbmc_project/Led/Fru/Monitor/error.cpp: ${top_srcdir}/xyz/openbmc_project/Led/Fru/Monitor.errors.yaml |
| 41 | @mkdir -p `dirname $@` |
| 42 | $(SDBUSPLUSPLUS) -r $(top_srcdir) error exception-cpp xyz.openbmc_project.Led.Fru.Monitor > $@ |