Matt Spinler | 99c2b40 | 2019-05-23 14:29:16 -0500 | [diff] [blame] | 1 | phosphor_log_manager_SOURCES += \ |
Matt Spinler | 7b5342c | 2019-11-06 14:48:43 -0600 | [diff] [blame] | 2 | extensions/openpower-pels/entry_points.cpp \ |
Matt Spinler | 386a61e | 2020-08-13 15:51:12 -0500 | [diff] [blame] | 3 | extensions/openpower-pels/extended_user_data.cpp \ |
Matt Spinler | f60ac27 | 2019-12-11 13:47:50 -0600 | [diff] [blame] | 4 | extensions/openpower-pels/host_notifier.cpp \ |
Matt Spinler | 7b5342c | 2019-11-06 14:48:43 -0600 | [diff] [blame] | 5 | extensions/openpower-pels/manager.cpp \ |
Matt Spinler | 5c350fd | 2019-12-12 13:53:53 -0600 | [diff] [blame] | 6 | extensions/openpower-pels/pldm_interface.cpp \ |
Matt Spinler | acb7c10 | 2020-01-10 13:49:22 -0600 | [diff] [blame] | 7 | extensions/openpower-pels/repository.cpp \ |
Harisuddin Mohamed Isa | c8d6cc6 | 2020-08-19 22:47:19 +0800 | [diff] [blame] | 8 | extensions/openpower-pels/src.cpp \ |
Matt Spinler | acb7c10 | 2020-01-10 13:49:22 -0600 | [diff] [blame] | 9 | extensions/openpower-pels/user_data.cpp |
Matt Spinler | 7b5342c | 2019-11-06 14:48:43 -0600 | [diff] [blame] | 10 | |
| 11 | phosphor_log_manager_LDADD = \ |
| 12 | libpel.la |
| 13 | |
Matt Spinler | 5c350fd | 2019-12-12 13:53:53 -0600 | [diff] [blame] | 14 | phosphor_log_manager_LDFLAGS += \ |
| 15 | $(LIBPLDM_LIBS) |
| 16 | |
| 17 | phosphor_log_manager_CFLAGS = \ |
| 18 | $(LIBPLDM_CFLAGS) |
| 19 | |
Matt Spinler | 7b5342c | 2019-11-06 14:48:43 -0600 | [diff] [blame] | 20 | noinst_LTLIBRARIES = libpel.la |
| 21 | |
| 22 | libpel_la_SOURCES = \ |
Matt Spinler | 6852d72 | 2019-09-30 15:35:53 -0500 | [diff] [blame] | 23 | extensions/openpower-pels/ascii_string.cpp \ |
Matt Spinler | df797f2 | 2019-07-09 15:39:51 -0500 | [diff] [blame] | 24 | extensions/openpower-pels/bcd_time.cpp \ |
Matt Spinler | 6c9662c | 2019-10-09 11:27:20 -0500 | [diff] [blame] | 25 | extensions/openpower-pels/callout.cpp \ |
Matt Spinler | 32f13c9 | 2019-10-09 12:48:25 -0500 | [diff] [blame] | 26 | extensions/openpower-pels/callouts.cpp \ |
Matt Spinler | c8705e2 | 2019-09-11 12:36:07 -0500 | [diff] [blame] | 27 | extensions/openpower-pels/data_interface.cpp \ |
Matt Spinler | 18c42b0 | 2020-06-02 15:59:50 -0500 | [diff] [blame] | 28 | extensions/openpower-pels/device_callouts.cpp \ |
Matt Spinler | c63e2e8 | 2019-12-02 15:50:12 -0600 | [diff] [blame] | 29 | extensions/openpower-pels/extended_user_header.cpp \ |
Matt Spinler | 09d6400 | 2019-09-11 14:29:46 -0500 | [diff] [blame] | 30 | extensions/openpower-pels/failing_mtms.cpp \ |
Matt Spinler | a906c94 | 2019-10-08 13:42:05 -0500 | [diff] [blame] | 31 | extensions/openpower-pels/fru_identity.cpp \ |
Matt Spinler | 14d671f | 2019-09-25 13:11:22 -0500 | [diff] [blame] | 32 | extensions/openpower-pels/generic.cpp \ |
Harisuddin Mohamed Isa | 600d15a | 2019-12-20 12:42:26 +0800 | [diff] [blame] | 33 | extensions/openpower-pels/json_utils.cpp \ |
Matt Spinler | df13bdb | 2019-07-10 16:54:13 -0500 | [diff] [blame] | 34 | extensions/openpower-pels/log_id.cpp \ |
Matt Spinler | 90b4a0a | 2019-10-09 10:08:43 -0500 | [diff] [blame] | 35 | extensions/openpower-pels/mru.cpp \ |
Matt Spinler | b666433 | 2019-09-10 15:24:10 -0500 | [diff] [blame] | 36 | extensions/openpower-pels/mtms.cpp \ |
Matt Spinler | df13bdb | 2019-07-10 16:54:13 -0500 | [diff] [blame] | 37 | extensions/openpower-pels/paths.cpp \ |
Matt Spinler | 5b3a11d | 2019-10-08 14:13:31 -0500 | [diff] [blame] | 38 | extensions/openpower-pels/pce_identity.cpp \ |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 39 | extensions/openpower-pels/pel.cpp \ |
Matt Spinler | f1e85e2 | 2019-11-01 11:31:31 -0500 | [diff] [blame] | 40 | extensions/openpower-pels/pel_rules.cpp \ |
Matt Spinler | 835a869 | 2019-08-27 13:56:05 -0500 | [diff] [blame] | 41 | extensions/openpower-pels/pel_values.cpp \ |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 42 | extensions/openpower-pels/private_header.cpp \ |
Matt Spinler | 367144c | 2019-09-19 15:33:52 -0500 | [diff] [blame] | 43 | extensions/openpower-pels/registry.cpp \ |
Matt Spinler | 131870c | 2019-09-25 13:29:04 -0500 | [diff] [blame] | 44 | extensions/openpower-pels/section_factory.cpp \ |
Matt Spinler | 1962e08 | 2020-08-05 13:44:53 -0500 | [diff] [blame] | 45 | extensions/openpower-pels/service_indicators.cpp \ |
Matt Spinler | 8c686cc | 2019-09-20 13:46:02 -0500 | [diff] [blame] | 46 | extensions/openpower-pels/severity.cpp \ |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 47 | extensions/openpower-pels/user_header.cpp |
Matt Spinler | 44792fd | 2019-09-26 15:58:58 -0500 | [diff] [blame] | 48 | |
Matt Spinler | 7b5342c | 2019-11-06 14:48:43 -0600 | [diff] [blame] | 49 | libpel_ldflags = \ |
| 50 | $(SYSTEMD_LIBS) \ |
| 51 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 52 | $(SDBUSPLUS_LIBS) \ |
| 53 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 54 | $(SDEVENTPLUS_LIBS) \ |
Matt Spinler | 22421b9 | 2020-07-17 09:41:08 -0500 | [diff] [blame] | 55 | $(FMT_LIBS) \ |
Matt Spinler | 7b5342c | 2019-11-06 14:48:43 -0600 | [diff] [blame] | 56 | -lstdc++fs |
| 57 | |
| 58 | libpel_la_LIBADD = $(libpel_ldflags) |
| 59 | |
| 60 | libpel_cxx_flags = \ |
| 61 | $(SYSTEMD_CFLAGS) \ |
| 62 | $(SDBUSPLUS_CFLAGS) \ |
| 63 | $(SDEVENTPLUS_CFLAGS) \ |
Andrew Geissler | 66c8c18 | 2020-05-19 12:46:23 -0500 | [diff] [blame] | 64 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 65 | -Wno-stringop-truncation |
Matt Spinler | 7b5342c | 2019-11-06 14:48:43 -0600 | [diff] [blame] | 66 | |
Andrew Geissler | 27408b3 | 2020-05-19 12:44:07 -0500 | [diff] [blame] | 67 | libpel_la_CXXFLAGS = $(libpel_cxx_flags) |
| 68 | |
Matt Spinler | 44792fd | 2019-09-26 15:58:58 -0500 | [diff] [blame] | 69 | registrydir = $(datadir)/phosphor-logging/pels/ |
| 70 | registry_DATA = extensions/openpower-pels/registry/message_registry.json |
Aatir | 186ce8c | 2019-10-20 15:13:39 -0500 | [diff] [blame] | 71 | |
| 72 | bin_PROGRAMS += peltool |
| 73 | |
Matt Spinler | acb7c10 | 2020-01-10 13:49:22 -0600 | [diff] [blame] | 74 | peltool_SOURCES = \ |
Matt Spinler | 386a61e | 2020-08-13 15:51:12 -0500 | [diff] [blame] | 75 | extensions/openpower-pels/extended_user_data.cpp \ |
Matt Spinler | acb7c10 | 2020-01-10 13:49:22 -0600 | [diff] [blame] | 76 | extensions/openpower-pels/tools/peltool.cpp \ |
Harisuddin Mohamed Isa | c8d6cc6 | 2020-08-19 22:47:19 +0800 | [diff] [blame] | 77 | extensions/openpower-pels/src.cpp \ |
Matt Spinler | acb7c10 | 2020-01-10 13:49:22 -0600 | [diff] [blame] | 78 | extensions/openpower-pels/user_data.cpp \ |
| 79 | extensions/openpower-pels/user_data_json.cpp |
Harisuddin Mohamed Isa | f67bafd | 2020-07-06 17:51:21 +0800 | [diff] [blame] | 80 | peltool_LDFLAGS = "-lpython$(PYTHON_VERSION)" |
Matt Spinler | 7b5342c | 2019-11-06 14:48:43 -0600 | [diff] [blame] | 81 | peltool_LDADD = libpel.la |
Matt Spinler | acb7c10 | 2020-01-10 13:49:22 -0600 | [diff] [blame] | 82 | peltool_CXXFLAGS = "-DPELTOOL" |