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