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