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 \ |
Andrew Geissler | a007668 | 2020-02-05 13:14:53 -0600 | [diff] [blame] | 6 | op-stop-instructions@.service \ |
Dhruvaraj Subhashchandran | 3506c18 | 2020-02-18 05:28:39 -0600 | [diff] [blame] | 7 | op-cfam-reset.service \ |
| 8 | op-continue-mpreboot@.service \ |
| 9 | op-enter-mpreboot@.service |
Anthony Wilson | 171fbdf | 2018-11-01 13:38:50 -0500 | [diff] [blame] | 10 | |
Eddie James | ce042fe | 2020-01-28 10:25:13 -0600 | [diff] [blame] | 11 | if ENABLE_PHAL |
Ramesh Iyyar | b20593f | 2020-09-16 10:43:37 -0500 | [diff] [blame] | 12 | systemdsystemunit_DATA += set-spi-mux.service \ |
| 13 | phal-reinit-devtree.service |
Eddie James | ce042fe | 2020-01-28 10:25:13 -0600 | [diff] [blame] | 14 | endif |
| 15 | |
Patrick Venture | b964c92 | 2019-03-28 13:10:36 -0700 | [diff] [blame] | 16 | bin_PROGRAMS = \ |
Lakshminarayana R. Kammath | 16ab00c | 2019-06-03 04:33:33 -0500 | [diff] [blame] | 17 | openpower-proc-control \ |
| 18 | openpower-proc-nmi |
Matt Spinler | f716f32 | 2017-02-28 09:37:38 -0600 | [diff] [blame] | 19 | |
| 20 | openpower_proc_control_SOURCES = \ |
| 21 | proc_control.cpp \ |
Matt Spinler | 0c0eeff | 2017-02-28 10:06:56 -0600 | [diff] [blame] | 22 | cfam_access.cpp \ |
Matt Spinler | 4e97ebe | 2017-02-28 10:02:16 -0600 | [diff] [blame] | 23 | filedescriptor.cpp \ |
Matt Spinler | d9bdcf7 | 2017-03-09 15:06:23 -0600 | [diff] [blame] | 24 | registration.cpp \ |
Matt Spinler | 83e3732 | 2017-03-09 11:23:17 -0600 | [diff] [blame] | 25 | targeting.cpp \ |
Andrew Geissler | 2548c7a | 2017-05-18 15:35:40 -0500 | [diff] [blame] | 26 | openpower_procedures.cpp \ |
| 27 | ext_interface.cpp |
Matt Spinler | 12bdf05 | 2017-03-09 16:01:39 -0600 | [diff] [blame] | 28 | |
Lakshminarayana R. Kammath | 16ab00c | 2019-06-03 04:33:33 -0500 | [diff] [blame] | 29 | openpower_proc_nmi_SOURCES = \ |
| 30 | nmi_main.cpp \ |
| 31 | nmi_interface.cpp |
| 32 | |
Matt Spinler | 12bdf05 | 2017-03-09 16:01:39 -0600 | [diff] [blame] | 33 | CLEANFILES = openpower_procedures.cpp |
Matt Spinler | f716f32 | 2017-02-28 09:37:38 -0600 | [diff] [blame] | 34 | |
Andrew Geissler | 2548c7a | 2017-05-18 15:35:40 -0500 | [diff] [blame] | 35 | openpower_proc_control_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \ |
| 36 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 37 | $(SDBUSPLUS_LIBS) \ |
Dhruvaraj Subhashchandran | 08fc264 | 2020-02-17 01:47:05 -0600 | [diff] [blame] | 38 | -lgpiodcxx \ |
| 39 | -lpthread |
Andrew Geissler | 2548c7a | 2017-05-18 15:35:40 -0500 | [diff] [blame] | 40 | |
Dhruvaraj Subhashchandran | 7ce535c | 2017-05-15 05:06:36 -0500 | [diff] [blame] | 41 | openpower_proc_control_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \ |
Andrew Geissler | 2548c7a | 2017-05-18 15:35:40 -0500 | [diff] [blame] | 42 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 43 | $(SDBUSPLUS_CFLAGS) |
Matt Spinler | 597e05c | 2017-02-28 09:59:53 -0600 | [diff] [blame] | 44 | |
Lakshminarayana R. Kammath | 16ab00c | 2019-06-03 04:33:33 -0500 | [diff] [blame] | 45 | openpower_proc_nmi_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \ |
| 46 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 47 | $(SDBUSPLUS_LIBS) |
| 48 | |
| 49 | openpower_proc_nmi_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 50 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 51 | $(SDBUSPLUS_CFLAGS) |
Marri Devender Rao | 7847960 | 2020-01-06 03:45:11 -0600 | [diff] [blame] | 52 | if ENABLE_PHAL |
| 53 | noinst_LTLIBRARIES = libphalerror.la |
| 54 | libphalerror_la_SOURCES = phalerror/create_pel.cpp \ |
| 55 | phalerror/phal_error.cpp |
| 56 | |
| 57 | openpower_proc_control_LDADD = libphalerror.la |
| 58 | endif |
Lakshminarayana R. Kammath | 16ab00c | 2019-06-03 04:33:33 -0500 | [diff] [blame] | 59 | |
Matt Spinler | 597e05c | 2017-02-28 09:59:53 -0600 | [diff] [blame] | 60 | SUBDIRS = test |
Matt Spinler | 12bdf05 | 2017-03-09 16:01:39 -0600 | [diff] [blame] | 61 | |
| 62 | -include Makefile.generated |