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 = \ |
Matt Spinler | b54357f | 2017-08-21 14:38:54 -0500 | [diff] [blame] | 6 | -lstdc++fs \ |
Matt Spinler | d82a5f4 | 2017-07-24 13:40:37 -0500 | [diff] [blame] | 7 | $(PHOSPHOR_LOGGING_LIBS) \ |
Matt Spinler | 84cd0a5 | 2017-08-04 08:53:30 -0500 | [diff] [blame] | 8 | $(SDBUSPLUS_LIBS) \ |
| 9 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) |
Matt Spinler | d82a5f4 | 2017-07-24 13:40:37 -0500 | [diff] [blame] | 10 | libpower_la_CXXFLAGS = \ |
| 11 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
Matt Spinler | 84cd0a5 | 2017-08-04 08:53:30 -0500 | [diff] [blame] | 12 | $(SDBUSPLUS_CFLAGS) \ |
| 13 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) |
Matt Spinler | d82a5f4 | 2017-07-24 13:40:37 -0500 | [diff] [blame] | 14 | |
Matt Spinler | 974c916 | 2017-08-04 08:36:37 -0500 | [diff] [blame] | 15 | libpower_la_SOURCES = \ |
Matt Spinler | 015e3ad | 2017-08-01 11:20:47 -0500 | [diff] [blame] | 16 | pmbus.cpp \ |
Matt Spinler | 974c916 | 2017-08-04 08:36:37 -0500 | [diff] [blame] | 17 | timer.cpp \ |
Matt Spinler | 84cd0a5 | 2017-08-04 08:53:30 -0500 | [diff] [blame] | 18 | utility.cpp \ |
| 19 | xyz/openbmc_project/Power/Fault/error.cpp |
| 20 | |
| 21 | nobase_nodist_include_HEADERS = \ |
| 22 | xyz/openbmc_project/Power/Fault/error.hpp |
| 23 | |
| 24 | BUILT_SOURCES = \ |
| 25 | xyz/openbmc_project/Power/Fault/error.cpp \ |
| 26 | xyz/openbmc_project/Power/Fault/error.hpp |
| 27 | |
| 28 | xyz/openbmc_project/Power/Fault/error.hpp: ${srcdir}/xyz/openbmc_project/Power/Fault.errors.yaml |
| 29 | @mkdir -p `dirname $@` |
| 30 | $(SDBUSPLUSPLUS) -r $(srcdir) error exception-header xyz.openbmc_project.Power.Fault > $@ |
| 31 | |
| 32 | xyz/openbmc_project/Power/Fault/error.cpp: ${srcdir}/xyz/openbmc_project/Power/Fault.errors.yaml |
| 33 | @mkdir -p `dirname $@` |
| 34 | $(SDBUSPLUSPLUS) -r $(srcdir) error exception-cpp xyz.openbmc_project.Power.Fault > $@ |
Matt Spinler | d82a5f4 | 2017-07-24 13:40:37 -0500 | [diff] [blame] | 35 | |
Brandon Wyman | 24e422f | 2017-07-25 19:40:14 -0500 | [diff] [blame] | 36 | SUBDIRS = . power-sequencer power-supply test |