forked from openbmc/witherspoon-pfault-analysis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
40 lines (33 loc) · 1.21 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
AM_DEFAULT_SOURCE_EXT = .cpp
noinst_LTLIBRARIES = libpower.la
libpower_la_LDFLAGS = -static
libpower_la_LIBADD = \
-lstdc++fs \
$(PHOSPHOR_LOGGING_LIBS) \
$(SDBUSPLUS_LIBS) \
$(SDEVENTPLUS_LIBS) \
$(PHOSPHOR_DBUS_INTERFACES_LIBS) \
$(OPENPOWER_DBUS_INTERFACES_LIBS)
libpower_la_CXXFLAGS = \
$(PHOSPHOR_LOGGING_CFLAGS) \
$(SDBUSPLUS_CFLAGS) \
$(SDEVENTPLUS_CFLAGS) \
$(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
$(OPENPOWER_DBUS_INTERFACES_CFLAGS)
libpower_la_SOURCES = \
gpio.cpp \
pmbus.cpp \
utility.cpp \
org/open_power/Witherspoon/Fault/error.cpp
nobase_nodist_include_HEADERS = \
org/open_power/Witherspoon/Fault/error.hpp
BUILT_SOURCES = \
org/open_power/Witherspoon/Fault/error.cpp \
org/open_power/Witherspoon/Fault/error.hpp
org/open_power/Witherspoon/Fault/error.hpp: ${srcdir}/org/open_power/Witherspoon/Fault.errors.yaml
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) error exception-header org.open_power.Witherspoon.Fault > $@
org/open_power/Witherspoon/Fault/error.cpp: ${srcdir}/org/open_power/Witherspoon/Fault.errors.yaml
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) error exception-cpp org.open_power.Witherspoon.Fault > $@
SUBDIRS = . power-sequencer power-supply test power-supply/test