| AM_DEFAULT_SOURCE_EXT = .cpp |
| |
| systemdsystemunit_DATA = \ |
| pcie-poweroff@.service \ |
| xyz.openbmc_project.Control.Host.NMI.service \ |
| op-stop-instructions@.service \ |
| op-cfam-reset.service \ |
| op-continue-mpreboot@.service \ |
| op-enter-mpreboot@.service |
| |
| if ENABLE_PHAL |
| systemdsystemunit_DATA += set-spi-mux.service \ |
| phal-reinit-devtree.service \ |
| proc-pre-poweroff@.service |
| endif |
| |
| bin_PROGRAMS = \ |
| openpower-proc-control \ |
| openpower-proc-nmi |
| |
| openpower_proc_control_SOURCES = \ |
| proc_control.cpp \ |
| cfam_access.cpp \ |
| filedescriptor.cpp \ |
| registration.cpp \ |
| targeting.cpp \ |
| openpower_procedures.cpp \ |
| ext_interface.cpp |
| |
| openpower_proc_nmi_SOURCES = \ |
| nmi_main.cpp \ |
| nmi_interface.cpp |
| |
| CLEANFILES = openpower_procedures.cpp |
| |
| openpower_proc_control_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \ |
| $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| $(SDBUSPLUS_LIBS) \ |
| -lgpiodcxx \ |
| -lpthread |
| |
| openpower_proc_control_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \ |
| $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| $(SDBUSPLUS_CFLAGS) |
| |
| openpower_proc_nmi_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \ |
| $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| $(SDBUSPLUS_LIBS) |
| |
| openpower_proc_nmi_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \ |
| $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| $(SDBUSPLUS_CFLAGS) |
| if ENABLE_PHAL |
| noinst_LTLIBRARIES = libphalerror.la |
| libphalerror_la_SOURCES = phalerror/create_pel.cpp \ |
| phalerror/phal_error.cpp |
| |
| openpower_proc_control_LDADD = libphalerror.la |
| endif |
| |
| SUBDIRS = test |
| |
| -include Makefile.generated |