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