blob: 6c434f6069eb852678c8a3de495887b2c65e2e8a [file] [log] [blame]
Matt Spinlerf716f322017-02-28 09:37:38 -06001AM_DEFAULT_SOURCE_EXT = .cpp
2
Anthony Wilson171fbdf2018-11-01 13:38:50 -05003systemdsystemunit_DATA = \
Lakshminarayana R. Kammath16ab00c2019-06-03 04:33:33 -05004 pcie-poweroff@.service \
Andrew Geissler6a133ab2020-01-31 14:13:06 -06005 xyz.openbmc_project.Control.Host.NMI.service \
6 op-stop-instructions@.service
Anthony Wilson171fbdf2018-11-01 13:38:50 -05007
Eddie Jamesce042fe2020-01-28 10:25:13 -06008if ENABLE_PHAL
9 systemdsystemunit_DATA += set-spi-mux.service
10endif
11
Patrick Ventureb964c922019-03-28 13:10:36 -070012bin_PROGRAMS = \
Lakshminarayana R. Kammath16ab00c2019-06-03 04:33:33 -050013 openpower-proc-control \
14 openpower-proc-nmi
Matt Spinlerf716f322017-02-28 09:37:38 -060015
16openpower_proc_control_SOURCES = \
17 proc_control.cpp \
Matt Spinler0c0eeff2017-02-28 10:06:56 -060018 cfam_access.cpp \
Matt Spinler4e97ebe2017-02-28 10:02:16 -060019 filedescriptor.cpp \
Matt Spinlerd9bdcf72017-03-09 15:06:23 -060020 registration.cpp \
Matt Spinler83e37322017-03-09 11:23:17 -060021 targeting.cpp \
Andrew Geissler2548c7a2017-05-18 15:35:40 -050022 openpower_procedures.cpp \
23 ext_interface.cpp
Matt Spinler12bdf052017-03-09 16:01:39 -060024
Lakshminarayana R. Kammath16ab00c2019-06-03 04:33:33 -050025openpower_proc_nmi_SOURCES = \
26 nmi_main.cpp \
27 nmi_interface.cpp
28
Matt Spinler12bdf052017-03-09 16:01:39 -060029CLEANFILES = openpower_procedures.cpp
Matt Spinlerf716f322017-02-28 09:37:38 -060030
Andrew Geissler2548c7a2017-05-18 15:35:40 -050031openpower_proc_control_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \
32 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
33 $(SDBUSPLUS_LIBS) \
Andrew Geissler5dc5c392020-02-05 12:48:01 -060034 -lstdc++fs \
35 -lgpiodcxx
Andrew Geissler2548c7a2017-05-18 15:35:40 -050036
Dhruvaraj Subhashchandran7ce535c2017-05-15 05:06:36 -050037openpower_proc_control_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \
Andrew Geissler2548c7a2017-05-18 15:35:40 -050038 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
39 $(SDBUSPLUS_CFLAGS)
Matt Spinler597e05c2017-02-28 09:59:53 -060040
Lakshminarayana R. Kammath16ab00c2019-06-03 04:33:33 -050041openpower_proc_nmi_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \
42 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
43 $(SDBUSPLUS_LIBS)
44
45openpower_proc_nmi_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \
46 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
47 $(SDBUSPLUS_CFLAGS)
48
Matt Spinler597e05c2017-02-28 09:59:53 -060049SUBDIRS = test
Matt Spinler12bdf052017-03-09 16:01:39 -060050
51-include Makefile.generated