Deepak Kodihalli | 4779531 | 2017-03-17 07:12:08 -0500 | [diff] [blame] | 1 | # Build these headers, don't install them |
| 2 | noinst_HEADERS = \ |
Deepak Kodihalli | 6b492fb | 2017-03-18 01:09:28 -0500 | [diff] [blame] | 3 | occ_finder.hpp \ |
| 4 | occ_pass_through.hpp |
Deepak Kodihalli | 4779531 | 2017-03-17 07:12:08 -0500 | [diff] [blame] | 5 | |
Deepak Kodihalli | 92a6341 | 2017-03-17 05:01:00 -0500 | [diff] [blame] | 6 | sbin_PROGRAMS = openpower-occ-control |
| 7 | openpower_occ_control_SOURCES = \ |
Deepak Kodihalli | 4779531 | 2017-03-17 07:12:08 -0500 | [diff] [blame] | 8 | occ_finder.cpp \ |
Deepak Kodihalli | 6b492fb | 2017-03-18 01:09:28 -0500 | [diff] [blame] | 9 | occ_pass_through.cpp \ |
Vishwanatha Subbanna | 9bb065b | 2017-04-18 14:25:26 +0530 | [diff] [blame] | 10 | app.cpp \ |
| 11 | org/open_power/OCC/PassThrough/error.cpp |
| 12 | |
| 13 | BUILT_SOURCES = org/open_power/OCC/PassThrough/error.hpp \ |
| 14 | org/open_power/OCC/PassThrough/error.cpp |
| 15 | |
| 16 | CLEANFILES = ${BUILT_SOURCES} |
Deepak Kodihalli | 92a6341 | 2017-03-17 05:01:00 -0500 | [diff] [blame] | 17 | |
| 18 | openpower_occ_control_LDFLAGS = \ |
| 19 | $(SDBUSPLUS_LIBS) \ |
| 20 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 21 | $(OPENPOWER_DBUS_INTERFACES_LIBS) |
Vishwanatha Subbanna | 9bb065b | 2017-04-18 14:25:26 +0530 | [diff] [blame] | 22 | |
Deepak Kodihalli | 92a6341 | 2017-03-17 05:01:00 -0500 | [diff] [blame] | 23 | openpower_occ_control_CXXFLAGS = |
| 24 | $(SDBUSPLUS_CFLAGS) \ |
| 25 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 26 | $(OPENPOWER_DBUS_INTERFACES_CFLAGS) |
Vishwanatha Subbanna | 9bb065b | 2017-04-18 14:25:26 +0530 | [diff] [blame] | 27 | |
| 28 | org/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 | |
| 32 | org/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 > $@ |