Matt Spinler | d82a5f4 | 2017-07-24 13:40:37 -0500 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
| 2 | |
| 3 | noinst_LTLIBRARIES = libpower.la |
| 4 | libpower_la_LDFLAGS = -static |
| 5 | libpower_la_LIBADD = \ |
| 6 | $(PHOSPHOR_LOGGING_LIBS) \ |
Matt Spinler | 84cd0a5 | 2017-08-04 08:53:30 -0500 | [diff] [blame] | 7 | $(SDBUSPLUS_LIBS) \ |
| 8 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) |
Matt Spinler | d82a5f4 | 2017-07-24 13:40:37 -0500 | [diff] [blame] | 9 | libpower_la_CXXFLAGS = \ |
| 10 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
Matt Spinler | 84cd0a5 | 2017-08-04 08:53:30 -0500 | [diff] [blame] | 11 | $(SDBUSPLUS_CFLAGS) \ |
| 12 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) |
Matt Spinler | d82a5f4 | 2017-07-24 13:40:37 -0500 | [diff] [blame] | 13 | |
Matt Spinler | 974c916 | 2017-08-04 08:36:37 -0500 | [diff] [blame] | 14 | libpower_la_SOURCES = \ |
Matt Spinler | 015e3ad | 2017-08-01 11:20:47 -0500 | [diff] [blame] | 15 | pmbus.cpp \ |
Matt Spinler | 974c916 | 2017-08-04 08:36:37 -0500 | [diff] [blame] | 16 | timer.cpp \ |
Matt Spinler | 84cd0a5 | 2017-08-04 08:53:30 -0500 | [diff] [blame] | 17 | utility.cpp \ |
| 18 | xyz/openbmc_project/Power/Fault/error.cpp |
| 19 | |
| 20 | nobase_nodist_include_HEADERS = \ |
| 21 | xyz/openbmc_project/Power/Fault/error.hpp |
| 22 | |
| 23 | BUILT_SOURCES = \ |
| 24 | xyz/openbmc_project/Power/Fault/error.cpp \ |
| 25 | xyz/openbmc_project/Power/Fault/error.hpp |
| 26 | |
| 27 | xyz/openbmc_project/Power/Fault/error.hpp: ${srcdir}/xyz/openbmc_project/Power/Fault.errors.yaml |
| 28 | @mkdir -p `dirname $@` |
| 29 | $(SDBUSPLUSPLUS) -r $(srcdir) error exception-header xyz.openbmc_project.Power.Fault > $@ |
| 30 | |
| 31 | xyz/openbmc_project/Power/Fault/error.cpp: ${srcdir}/xyz/openbmc_project/Power/Fault.errors.yaml |
| 32 | @mkdir -p `dirname $@` |
| 33 | $(SDBUSPLUSPLUS) -r $(srcdir) error exception-cpp xyz.openbmc_project.Power.Fault > $@ |
Matt Spinler | d82a5f4 | 2017-07-24 13:40:37 -0500 | [diff] [blame] | 34 | |
Matt Spinler | afb3913 | 2017-08-14 13:53:07 -0500 | [diff] [blame] | 35 | SUBDIRS = . power-sequencer |