Vishwanatha Subbanna | 506aa0f | 2017-01-24 14:58:25 +0530 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
| 2 | AM_CPPFLAGS = -I$(top_srcdir) |
| 3 | sbin_PROGRAMS = phosphor-softpoweroff |
| 4 | |
| 5 | phosphor_softpoweroff_SOURCES = \ |
| 6 | softoff.cpp \ |
| 7 | mainapp.cpp \ |
| 8 | xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/server.cpp |
| 9 | |
| 10 | BUILT_SOURCES = xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/server.cpp \ |
| 11 | xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/server.hpp |
| 12 | |
| 13 | nodist_include_HEADERS = xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/server.hpp |
| 14 | CLEANFILES = xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/server.cpp \ |
| 15 | xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/server.hpp |
| 16 | |
| 17 | phosphor_softpoweroff_LDFLAGS = $(SYSTEMD_LIBS) $(SDBUSPLUS_LIBS) |
| 18 | phosphor_softpoweroff_CXXFLAGS = $(SYSTEMD_CFLAGS) $(SDBUSPLUS_CFLAGS) |
| 19 | |
| 20 | xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/server.cpp: ${top_srcdir}/xyz/openbmc_project/Ipmi/Internal/SoftPowerOff.interface.yaml |
| 21 | @mkdir -p `dirname $@` |
| 22 | $(SDBUSPLUSPLUS) -r $(top_srcdir) interface server-cpp xyz.openbmc_project.Ipmi.Internal.SoftPowerOff > $@ |
| 23 | |
| 24 | xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/server.hpp: ${top_srcdir}/xyz/openbmc_project/Ipmi/Internal/SoftPowerOff.interface.yaml |
| 25 | @mkdir -p `dirname $@` |
| 26 | $(SDBUSPLUSPLUS) -r $(top_srcdir) interface server-header xyz.openbmc_project.Ipmi.Internal.SoftPowerOff > $@ |