Matt Spinler | f716f32 | 2017-02-28 09:37:38 -0600 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
| 2 | |
Anthony Wilson | 171fbdf | 2018-11-01 13:38:50 -0500 | [diff] [blame] | 3 | systemdsystemunit_DATA = \ |
Lakshminarayana R. Kammath | 16ab00c | 2019-06-03 04:33:33 -0500 | [diff] [blame] | 4 | pcie-poweroff@.service \ |
Andrew Geissler | 6a133ab | 2020-01-31 14:13:06 -0600 | [diff] [blame] | 5 | xyz.openbmc_project.Control.Host.NMI.service \ |
| 6 | op-stop-instructions@.service |
Anthony Wilson | 171fbdf | 2018-11-01 13:38:50 -0500 | [diff] [blame] | 7 | |
Eddie James | ce042fe | 2020-01-28 10:25:13 -0600 | [diff] [blame] | 8 | if ENABLE_PHAL |
| 9 | systemdsystemunit_DATA += set-spi-mux.service |
| 10 | endif |
| 11 | |
Patrick Venture | b964c92 | 2019-03-28 13:10:36 -0700 | [diff] [blame] | 12 | bin_PROGRAMS = \ |
Lakshminarayana R. Kammath | 16ab00c | 2019-06-03 04:33:33 -0500 | [diff] [blame] | 13 | openpower-proc-control \ |
| 14 | openpower-proc-nmi |
Matt Spinler | f716f32 | 2017-02-28 09:37:38 -0600 | [diff] [blame] | 15 | |
| 16 | openpower_proc_control_SOURCES = \ |
| 17 | proc_control.cpp \ |
Matt Spinler | 0c0eeff | 2017-02-28 10:06:56 -0600 | [diff] [blame] | 18 | cfam_access.cpp \ |
Matt Spinler | 4e97ebe | 2017-02-28 10:02:16 -0600 | [diff] [blame] | 19 | filedescriptor.cpp \ |
Matt Spinler | d9bdcf7 | 2017-03-09 15:06:23 -0600 | [diff] [blame] | 20 | registration.cpp \ |
Matt Spinler | 83e3732 | 2017-03-09 11:23:17 -0600 | [diff] [blame] | 21 | targeting.cpp \ |
Andrew Geissler | 2548c7a | 2017-05-18 15:35:40 -0500 | [diff] [blame] | 22 | openpower_procedures.cpp \ |
| 23 | ext_interface.cpp |
Matt Spinler | 12bdf05 | 2017-03-09 16:01:39 -0600 | [diff] [blame] | 24 | |
Lakshminarayana R. Kammath | 16ab00c | 2019-06-03 04:33:33 -0500 | [diff] [blame] | 25 | openpower_proc_nmi_SOURCES = \ |
| 26 | nmi_main.cpp \ |
| 27 | nmi_interface.cpp |
| 28 | |
Matt Spinler | 12bdf05 | 2017-03-09 16:01:39 -0600 | [diff] [blame] | 29 | CLEANFILES = openpower_procedures.cpp |
Matt Spinler | f716f32 | 2017-02-28 09:37:38 -0600 | [diff] [blame] | 30 | |
Andrew Geissler | 2548c7a | 2017-05-18 15:35:40 -0500 | [diff] [blame] | 31 | openpower_proc_control_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \ |
| 32 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 33 | $(SDBUSPLUS_LIBS) \ |
Andrew Geissler | 5dc5c39 | 2020-02-05 12:48:01 -0600 | [diff] [blame^] | 34 | -lstdc++fs \ |
| 35 | -lgpiodcxx |
Andrew Geissler | 2548c7a | 2017-05-18 15:35:40 -0500 | [diff] [blame] | 36 | |
Dhruvaraj Subhashchandran | 7ce535c | 2017-05-15 05:06:36 -0500 | [diff] [blame] | 37 | openpower_proc_control_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \ |
Andrew Geissler | 2548c7a | 2017-05-18 15:35:40 -0500 | [diff] [blame] | 38 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 39 | $(SDBUSPLUS_CFLAGS) |
Matt Spinler | 597e05c | 2017-02-28 09:59:53 -0600 | [diff] [blame] | 40 | |
Lakshminarayana R. Kammath | 16ab00c | 2019-06-03 04:33:33 -0500 | [diff] [blame] | 41 | openpower_proc_nmi_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \ |
| 42 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 43 | $(SDBUSPLUS_LIBS) |
| 44 | |
| 45 | openpower_proc_nmi_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 46 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 47 | $(SDBUSPLUS_CFLAGS) |
| 48 | |
Matt Spinler | 597e05c | 2017-02-28 09:59:53 -0600 | [diff] [blame] | 49 | SUBDIRS = test |
Matt Spinler | 12bdf05 | 2017-03-09 16:01:39 -0600 | [diff] [blame] | 50 | |
| 51 | -include Makefile.generated |