blob: 50d23da7d4dec46954770ecaefb18e4e9e747709 [file] [log] [blame]
Deepak Kodihalli47795312017-03-17 07:12:08 -05001# Build these headers, don't install them
2noinst_HEADERS = \
Deepak Kodihalli6b492fb2017-03-18 01:09:28 -05003 occ_finder.hpp \
4 occ_pass_through.hpp
Deepak Kodihalli47795312017-03-17 07:12:08 -05005
Deepak Kodihalli92a63412017-03-17 05:01:00 -05006sbin_PROGRAMS = openpower-occ-control
7openpower_occ_control_SOURCES = \
Deepak Kodihalli47795312017-03-17 07:12:08 -05008 occ_finder.cpp \
Deepak Kodihalli6b492fb2017-03-18 01:09:28 -05009 occ_pass_through.cpp \
Vishwanatha Subbanna9bb065b2017-04-18 14:25:26 +053010 app.cpp \
11 org/open_power/OCC/PassThrough/error.cpp
12
13BUILT_SOURCES = org/open_power/OCC/PassThrough/error.hpp \
14 org/open_power/OCC/PassThrough/error.cpp
15
16CLEANFILES = ${BUILT_SOURCES}
Deepak Kodihalli92a63412017-03-17 05:01:00 -050017
18openpower_occ_control_LDFLAGS = \
19 $(SDBUSPLUS_LIBS) \
20 $(PHOSPHOR_LOGGING_LIBS) \
21 $(OPENPOWER_DBUS_INTERFACES_LIBS)
Vishwanatha Subbanna9bb065b2017-04-18 14:25:26 +053022
Deepak Kodihalli92a63412017-03-17 05:01:00 -050023openpower_occ_control_CXXFLAGS =
24 $(SDBUSPLUS_CFLAGS) \
25 $(PHOSPHOR_LOGGING_CFLAGS) \
26 $(OPENPOWER_DBUS_INTERFACES_CFLAGS)
Vishwanatha Subbanna9bb065b2017-04-18 14:25:26 +053027
28org/open_power/OCC/PassThrough/error.hpp: ${top_srcdir}/org/open_power/OCC/PassThrough.errors.yaml
29 @mkdir -p `dirname $@`
30 $(SDBUSPLUSPLUS) -r $(top_srcdir) error exception-header org.open_power.OCC.PassThrough > $@
31
32org/open_power/OCC/PassThrough/error.cpp: ${top_srcdir}/org/open_power/OCC/PassThrough.errors.yaml
33 @mkdir -p `dirname $@`
34 $(SDBUSPLUSPLUS) -r $(top_srcdir) error exception-cpp org.open_power.OCC.PassThrough > $@