Deepak Kodihalli | 4779531 | 2017-03-17 07:12:08 -0500 | [diff] [blame] | 1 | # Build these headers, don't install them |
| 2 | noinst_HEADERS = \ |
Vishwanatha Subbanna | 307d80b | 2017-06-28 15:56:09 +0530 | [diff] [blame] | 3 | occ_pass_through.hpp \ |
| 4 | occ_status.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 | 6b492fb | 2017-03-18 01:09:28 -0500 | [diff] [blame] | 8 | occ_pass_through.cpp \ |
Vishwanatha Subbanna | 307d80b | 2017-06-28 15:56:09 +0530 | [diff] [blame] | 9 | occ_status.cpp \ |
Vishwanatha Subbanna | 32e84e9 | 2017-06-28 19:17:28 +0530 | [diff] [blame] | 10 | occ_device.cpp \ |
Vishwanatha Subbanna | 9bb065b | 2017-04-18 14:25:26 +0530 | [diff] [blame] | 11 | app.cpp \ |
| 12 | org/open_power/OCC/PassThrough/error.cpp |
| 13 | |
| 14 | BUILT_SOURCES = org/open_power/OCC/PassThrough/error.hpp \ |
| 15 | org/open_power/OCC/PassThrough/error.cpp |
| 16 | |
| 17 | CLEANFILES = ${BUILT_SOURCES} |
Deepak Kodihalli | 92a6341 | 2017-03-17 05:01:00 -0500 | [diff] [blame] | 18 | |
| 19 | openpower_occ_control_LDFLAGS = \ |
| 20 | $(SDBUSPLUS_LIBS) \ |
| 21 | $(PHOSPHOR_LOGGING_LIBS) \ |
Deepak Kodihalli | fd358d1 | 2017-05-08 07:11:22 -0500 | [diff] [blame] | 22 | $(OPENPOWER_DBUS_INTERFACES_LIBS) \ |
| 23 | -lstdc++fs |
Vishwanatha Subbanna | 9bb065b | 2017-04-18 14:25:26 +0530 | [diff] [blame] | 24 | |
Deepak Kodihalli | 92a6341 | 2017-03-17 05:01:00 -0500 | [diff] [blame] | 25 | openpower_occ_control_CXXFLAGS = |
| 26 | $(SDBUSPLUS_CFLAGS) \ |
| 27 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 28 | $(OPENPOWER_DBUS_INTERFACES_CFLAGS) |
Vishwanatha Subbanna | 9bb065b | 2017-04-18 14:25:26 +0530 | [diff] [blame] | 29 | |
| 30 | org/open_power/OCC/PassThrough/error.hpp: ${top_srcdir}/org/open_power/OCC/PassThrough.errors.yaml |
| 31 | @mkdir -p `dirname $@` |
| 32 | $(SDBUSPLUSPLUS) -r $(top_srcdir) error exception-header org.open_power.OCC.PassThrough > $@ |
| 33 | |
| 34 | org/open_power/OCC/PassThrough/error.cpp: ${top_srcdir}/org/open_power/OCC/PassThrough.errors.yaml |
| 35 | @mkdir -p `dirname $@` |
| 36 | $(SDBUSPLUSPLUS) -r $(top_srcdir) error exception-cpp org.open_power.OCC.PassThrough > $@ |