Tom | cbfd6ec | 2016-09-14 17:45:55 +0530 | [diff] [blame] | 1 | liboemhandlerdir = ${libdir}/ipmid-providers |
Matthew Barth | 70dbc58 | 2016-09-20 10:16:52 -0500 | [diff] [blame] | 2 | liboemhandler_LTLIBRARIES = liboemhandler.la |
Vishwanatha Subbanna | 0765506 | 2017-07-14 20:31:57 +0530 | [diff] [blame] | 3 | |
| 4 | liboemhandler_la_SOURCES = oemhandler.cpp \ |
Tom Joseph | 56c534b | 2017-10-17 12:38:42 +0530 | [diff] [blame] | 5 | host-interface.cpp \ |
| 6 | org/open_power/OCC/Metrics/error.cpp |
| 7 | |
| 8 | BUILT_SOURCES = org/open_power/OCC/Metrics/error.hpp \ |
| 9 | org/open_power/OCC/Metrics/error.cpp |
Vishwanatha Subbanna | 0765506 | 2017-07-14 20:31:57 +0530 | [diff] [blame] | 10 | |
| 11 | liboemhandler_la_LDFLAGS = $(SYSTEMD_LIBS)\ |
| 12 | $(SDBUSPLUS_LIBS) \ |
| 13 | $(OPENPOWER_DBUS_INTERFACES_LIBS) \ |
| 14 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 15 | -version-info 0:0:0 -shared |
| 16 | |
| 17 | liboemhandler_la_CXXFLAGS = $(SYSTEMD_CFLAGS) \ |
| 18 | $(SDBUSPLUS_CFLAGS) \ |
| 19 | $(OPENPOWER_DBUS_INTERFACES_CFLAGS) \ |
| 20 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 21 | $(AM_CXXFLAGS) |
Tom Joseph | 56c534b | 2017-10-17 12:38:42 +0530 | [diff] [blame] | 22 | |
| 23 | org/open_power/OCC/Metrics/error.hpp: ${top_srcdir}/org/open_power/OCC/Metrics.errors.yaml |
| 24 | @mkdir -p `dirname $@` |
| 25 | $(SDBUSPLUSPLUS) -r $(top_srcdir) error exception-header org.open_power.OCC.Metrics > $@ |
| 26 | |
| 27 | org/open_power/OCC/Metrics/error.cpp: ${top_srcdir}/org/open_power/OCC/Metrics.errors.yaml |
| 28 | @mkdir -p `dirname $@` |
| 29 | $(SDBUSPLUSPLUS) -r $(top_srcdir) error exception-cpp org.open_power.OCC.Metrics > $@ |