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 \ |
Vishwanatha Subbanna | bcb7688 | 2017-01-25 16:29:43 +0530 | [diff] [blame] | 7 | timer.cpp \ |
Vishwanatha Subbanna | 506aa0f | 2017-01-24 14:58:25 +0530 | [diff] [blame] | 8 | mainapp.cpp \ |
| 9 | xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/server.cpp |
| 10 | |
| 11 | BUILT_SOURCES = xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/server.cpp \ |
| 12 | xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/server.hpp |
| 13 | |
| 14 | nodist_include_HEADERS = xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/server.hpp |
| 15 | CLEANFILES = xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/server.cpp \ |
| 16 | xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/server.hpp |
| 17 | |
Vishwanatha Subbanna | 917454b | 2017-02-24 00:16:05 +0530 | [diff] [blame] | 18 | phosphor_softpoweroff_LDFLAGS = $(SYSTEMD_LIBS) \ |
| 19 | $(SDBUSPLUS_LIBS) \ |
| 20 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 21 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) |
| 22 | phosphor_softpoweroff_CXXFLAGS = $(SYSTEMD_CFLAGS) \ |
| 23 | $(SDBUSPLUS_CFLAGS) \ |
| 24 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 25 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) |
Vishwanatha Subbanna | 506aa0f | 2017-01-24 14:58:25 +0530 | [diff] [blame] | 26 | |
| 27 | xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/server.cpp: ${top_srcdir}/xyz/openbmc_project/Ipmi/Internal/SoftPowerOff.interface.yaml |
| 28 | @mkdir -p `dirname $@` |
| 29 | $(SDBUSPLUSPLUS) -r $(top_srcdir) interface server-cpp xyz.openbmc_project.Ipmi.Internal.SoftPowerOff > $@ |
| 30 | |
| 31 | xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/server.hpp: ${top_srcdir}/xyz/openbmc_project/Ipmi/Internal/SoftPowerOff.interface.yaml |
| 32 | @mkdir -p `dirname $@` |
| 33 | $(SDBUSPLUSPLUS) -r $(top_srcdir) interface server-header xyz.openbmc_project.Ipmi.Internal.SoftPowerOff > $@ |
Vishwanatha Subbanna | 6dc9668 | 2017-02-06 21:47:18 +0530 | [diff] [blame] | 34 | |
| 35 | SUBDIRS = test |