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) \ |
Matt Spinler | 7d24ee8 | 2018-01-18 13:56:12 -0600 | [diff] [blame^] | 9 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 10 | $(OPENPOWER_DBUS_INTERFACES_LIBS) |
Matt Spinler | d82a5f4 | 2017-07-24 13:40:37 -0500 | [diff] [blame] | 11 | libpower_la_CXXFLAGS = \ |
| 12 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
Matt Spinler | 84cd0a5 | 2017-08-04 08:53:30 -0500 | [diff] [blame] | 13 | $(SDBUSPLUS_CFLAGS) \ |
Matt Spinler | 7d24ee8 | 2018-01-18 13:56:12 -0600 | [diff] [blame^] | 14 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 15 | $(OPENPOWER_DBUS_INTERFACES_CFLAGS) |
Matt Spinler | d82a5f4 | 2017-07-24 13:40:37 -0500 | [diff] [blame] | 16 | |
Matt Spinler | 974c916 | 2017-08-04 08:36:37 -0500 | [diff] [blame] | 17 | libpower_la_SOURCES = \ |
Matt Spinler | da2e0fe | 2018-01-18 11:10:53 -0600 | [diff] [blame] | 18 | gpio.cpp \ |
Matt Spinler | 015e3ad | 2017-08-01 11:20:47 -0500 | [diff] [blame] | 19 | pmbus.cpp \ |
Matt Spinler | 974c916 | 2017-08-04 08:36:37 -0500 | [diff] [blame] | 20 | timer.cpp \ |
Matt Spinler | 84cd0a5 | 2017-08-04 08:53:30 -0500 | [diff] [blame] | 21 | utility.cpp \ |
Brandon Wyman | e0eb45c | 2017-10-06 12:58:42 -0500 | [diff] [blame] | 22 | org/open_power/Witherspoon/Fault/error.cpp |
Matt Spinler | 84cd0a5 | 2017-08-04 08:53:30 -0500 | [diff] [blame] | 23 | |
| 24 | nobase_nodist_include_HEADERS = \ |
Brandon Wyman | e0eb45c | 2017-10-06 12:58:42 -0500 | [diff] [blame] | 25 | org/open_power/Witherspoon/Fault/error.hpp |
Matt Spinler | 84cd0a5 | 2017-08-04 08:53:30 -0500 | [diff] [blame] | 26 | |
| 27 | BUILT_SOURCES = \ |
Brandon Wyman | e0eb45c | 2017-10-06 12:58:42 -0500 | [diff] [blame] | 28 | org/open_power/Witherspoon/Fault/error.cpp \ |
| 29 | org/open_power/Witherspoon/Fault/error.hpp |
Matt Spinler | 84cd0a5 | 2017-08-04 08:53:30 -0500 | [diff] [blame] | 30 | |
Brandon Wyman | e0eb45c | 2017-10-06 12:58:42 -0500 | [diff] [blame] | 31 | org/open_power/Witherspoon/Fault/error.hpp: ${srcdir}/org/open_power/Witherspoon/Fault.errors.yaml |
Matt Spinler | 84cd0a5 | 2017-08-04 08:53:30 -0500 | [diff] [blame] | 32 | @mkdir -p `dirname $@` |
Brandon Wyman | e0eb45c | 2017-10-06 12:58:42 -0500 | [diff] [blame] | 33 | $(SDBUSPLUSPLUS) -r $(srcdir) error exception-header org.open_power.Witherspoon.Fault > $@ |
Matt Spinler | 84cd0a5 | 2017-08-04 08:53:30 -0500 | [diff] [blame] | 34 | |
Brandon Wyman | e0eb45c | 2017-10-06 12:58:42 -0500 | [diff] [blame] | 35 | org/open_power/Witherspoon/Fault/error.cpp: ${srcdir}/org/open_power/Witherspoon/Fault.errors.yaml |
Matt Spinler | 84cd0a5 | 2017-08-04 08:53:30 -0500 | [diff] [blame] | 36 | @mkdir -p `dirname $@` |
Brandon Wyman | e0eb45c | 2017-10-06 12:58:42 -0500 | [diff] [blame] | 37 | $(SDBUSPLUSPLUS) -r $(srcdir) error exception-cpp org.open_power.Witherspoon.Fault > $@ |
Matt Spinler | d82a5f4 | 2017-07-24 13:40:37 -0500 | [diff] [blame] | 38 | |
Matt Spinler | c180a18 | 2018-01-18 14:27:13 -0600 | [diff] [blame] | 39 | SUBDIRS = . power-sequencer power-supply test power-supply/test |