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 \ |
Tom Joseph | b61b107 | 2019-01-28 12:32:52 +0530 | [diff] [blame] | 6 | org/open_power/OCC/Metrics/error.cpp \ |
| 7 | inventory-sensor.cpp |
Tom Joseph | 56c534b | 2017-10-17 12:38:42 +0530 | [diff] [blame] | 8 | |
| 9 | BUILT_SOURCES = org/open_power/OCC/Metrics/error.hpp \ |
Tom Joseph | b61b107 | 2019-01-28 12:32:52 +0530 | [diff] [blame] | 10 | org/open_power/OCC/Metrics/error.cpp \ |
| 11 | inventory-sensor.cpp |
| 12 | |
| 13 | CLEANFILES = $(BUILT_SOURCES) |
Vishwanatha Subbanna | 0765506 | 2017-07-14 20:31:57 +0530 | [diff] [blame] | 14 | |
| 15 | liboemhandler_la_LDFLAGS = $(SYSTEMD_LIBS)\ |
| 16 | $(SDBUSPLUS_LIBS) \ |
William A. Kennington III | 822eaf6 | 2019-02-12 15:20:06 -0800 | [diff] [blame] | 17 | $(LIBIPMID_LIBS) \ |
| 18 | $(LIBIPMID_HOST_LIBS) \ |
Vishwanatha Subbanna | 0765506 | 2017-07-14 20:31:57 +0530 | [diff] [blame] | 19 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 20 | -version-info 0:0:0 -shared |
| 21 | |
| 22 | liboemhandler_la_CXXFLAGS = $(SYSTEMD_CFLAGS) \ |
| 23 | $(SDBUSPLUS_CFLAGS) \ |
William A. Kennington III | 822eaf6 | 2019-02-12 15:20:06 -0800 | [diff] [blame] | 24 | $(LIBIPMID_CFLAGS) \ |
| 25 | $(LIBIPMID_HOST_CFLAGS) \ |
Vishwanatha Subbanna | 0765506 | 2017-07-14 20:31:57 +0530 | [diff] [blame] | 26 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 27 | $(AM_CXXFLAGS) |
Tom Joseph | 56c534b | 2017-10-17 12:38:42 +0530 | [diff] [blame] | 28 | |
| 29 | org/open_power/OCC/Metrics/error.hpp: ${top_srcdir}/org/open_power/OCC/Metrics.errors.yaml |
| 30 | @mkdir -p `dirname $@` |
| 31 | $(SDBUSPLUSPLUS) -r $(top_srcdir) error exception-header org.open_power.OCC.Metrics > $@ |
| 32 | |
| 33 | org/open_power/OCC/Metrics/error.cpp: ${top_srcdir}/org/open_power/OCC/Metrics.errors.yaml |
| 34 | @mkdir -p `dirname $@` |
| 35 | $(SDBUSPLUSPLUS) -r $(top_srcdir) error exception-cpp org.open_power.OCC.Metrics > $@ |
Tom Joseph | b61b107 | 2019-01-28 12:32:52 +0530 | [diff] [blame] | 36 | |
| 37 | inventory-sensor.cpp: |
| 38 | $(AM_V_GEN)@INVSENSORGEN@ -o $(top_builddir) generate-cpp |