blob: d9760ca113a4eae84fde21b6389a9b71083dcf23 [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 Jeffery424475d2019-08-02 18:45:26 +09305 xyz.openbmc_project.Control.Host.NMI.service
Anthony Wilson171fbdf2018-11-01 13:38:50 -05006
Patrick Ventureb964c922019-03-28 13:10:36 -07007bin_PROGRAMS = \
Lakshminarayana R. Kammath16ab00c2019-06-03 04:33:33 -05008 openpower-proc-control \
9 openpower-proc-nmi
Matt Spinlerf716f322017-02-28 09:37:38 -060010
11openpower_proc_control_SOURCES = \
12 proc_control.cpp \
Matt Spinler0c0eeff2017-02-28 10:06:56 -060013 cfam_access.cpp \
Matt Spinler4e97ebe2017-02-28 10:02:16 -060014 filedescriptor.cpp \
Matt Spinlerd9bdcf72017-03-09 15:06:23 -060015 registration.cpp \
Matt Spinler83e37322017-03-09 11:23:17 -060016 targeting.cpp \
Andrew Geissler2548c7a2017-05-18 15:35:40 -050017 openpower_procedures.cpp \
18 ext_interface.cpp
Matt Spinler12bdf052017-03-09 16:01:39 -060019
Lakshminarayana R. Kammath16ab00c2019-06-03 04:33:33 -050020openpower_proc_nmi_SOURCES = \
21 nmi_main.cpp \
22 nmi_interface.cpp
23
Matt Spinler12bdf052017-03-09 16:01:39 -060024CLEANFILES = openpower_procedures.cpp
Matt Spinlerf716f322017-02-28 09:37:38 -060025
Andrew Geissler2548c7a2017-05-18 15:35:40 -050026openpower_proc_control_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \
27 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
Matt Spinleree401e92017-09-18 14:15:31 -050028 $(OPENPOWER_DBUS_INTERFACES_LIBS) \
Andrew Geissler2548c7a2017-05-18 15:35:40 -050029 $(SDBUSPLUS_LIBS) \
30 -lstdc++fs
31
Dhruvaraj Subhashchandran7ce535c2017-05-15 05:06:36 -050032openpower_proc_control_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \
Andrew Geissler2548c7a2017-05-18 15:35:40 -050033 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
Matt Spinleree401e92017-09-18 14:15:31 -050034 $(OPENPOWER_DBUS_INTERFACES_CFLAGS) \
Andrew Geissler2548c7a2017-05-18 15:35:40 -050035 $(SDBUSPLUS_CFLAGS)
Matt Spinler597e05c2017-02-28 09:59:53 -060036
Lakshminarayana R. Kammath16ab00c2019-06-03 04:33:33 -050037openpower_proc_nmi_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \
38 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
39 $(SDBUSPLUS_LIBS)
40
41openpower_proc_nmi_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \
42 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
43 $(SDBUSPLUS_CFLAGS)
44
Matt Spinler597e05c2017-02-28 09:59:53 -060045SUBDIRS = test
Matt Spinler12bdf052017-03-09 16:01:39 -060046
47-include Makefile.generated