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