blob: 3d369a030196eedf9fc7441787240b5133afc743 [file] [log] [blame]
Tomcbfd6ec2016-09-14 17:45:55 +05301liboemhandlerdir = ${libdir}/ipmid-providers
Matthew Barth70dbc582016-09-20 10:16:52 -05002liboemhandler_LTLIBRARIES = liboemhandler.la
Vishwanatha Subbanna07655062017-07-14 20:31:57 +05303
4liboemhandler_la_SOURCES = oemhandler.cpp \
Tom Joseph56c534b2017-10-17 12:38:42 +05305 host-interface.cpp \
Matt Spinler34aca012018-09-25 11:21:06 -05006 local_users.cpp \
Tom Joseph56c534b2017-10-17 12:38:42 +05307 org/open_power/OCC/Metrics/error.cpp
8
9BUILT_SOURCES = org/open_power/OCC/Metrics/error.hpp \
10 org/open_power/OCC/Metrics/error.cpp
Vishwanatha Subbanna07655062017-07-14 20:31:57 +053011
12liboemhandler_la_LDFLAGS = $(SYSTEMD_LIBS)\
13 $(SDBUSPLUS_LIBS) \
14 $(OPENPOWER_DBUS_INTERFACES_LIBS) \
15 $(PHOSPHOR_LOGGING_LIBS) \
16 -version-info 0:0:0 -shared
17
18liboemhandler_la_CXXFLAGS = $(SYSTEMD_CFLAGS) \
19 $(SDBUSPLUS_CFLAGS) \
20 $(OPENPOWER_DBUS_INTERFACES_CFLAGS) \
21 $(PHOSPHOR_LOGGING_CFLAGS) \
22 $(AM_CXXFLAGS)
Tom Joseph56c534b2017-10-17 12:38:42 +053023
24org/open_power/OCC/Metrics/error.hpp: ${top_srcdir}/org/open_power/OCC/Metrics.errors.yaml
25 @mkdir -p `dirname $@`
26 $(SDBUSPLUSPLUS) -r $(top_srcdir) error exception-header org.open_power.OCC.Metrics > $@
27
28org/open_power/OCC/Metrics/error.cpp: ${top_srcdir}/org/open_power/OCC/Metrics.errors.yaml
29 @mkdir -p `dirname $@`
30 $(SDBUSPLUSPLUS) -r $(top_srcdir) error exception-cpp org.open_power.OCC.Metrics > $@