blob: 35b1b291f4d623eaa398d53cc59f7e85599f02e3 [file] [log] [blame]
Matt Spinler99c2b402019-05-23 14:29:16 -05001phosphor_log_manager_SOURCES += \
Matt Spinler7b5342c2019-11-06 14:48:43 -06002 extensions/openpower-pels/entry_points.cpp \
3 extensions/openpower-pels/manager.cpp \
4 extensions/openpower-pels/repository.cpp
5
6phosphor_log_manager_LDADD = \
7 libpel.la
8
9noinst_LTLIBRARIES = libpel.la
10
11libpel_la_SOURCES = \
Matt Spinler6852d722019-09-30 15:35:53 -050012 extensions/openpower-pels/ascii_string.cpp \
Matt Spinlerdf797f22019-07-09 15:39:51 -050013 extensions/openpower-pels/bcd_time.cpp \
Matt Spinler6c9662c2019-10-09 11:27:20 -050014 extensions/openpower-pels/callout.cpp \
Matt Spinler32f13c92019-10-09 12:48:25 -050015 extensions/openpower-pels/callouts.cpp \
Matt Spinlerc8705e22019-09-11 12:36:07 -050016 extensions/openpower-pels/data_interface.cpp \
Matt Spinler09d64002019-09-11 14:29:46 -050017 extensions/openpower-pels/failing_mtms.cpp \
Matt Spinlera906c942019-10-08 13:42:05 -050018 extensions/openpower-pels/fru_identity.cpp \
Matt Spinler14d671f2019-09-25 13:11:22 -050019 extensions/openpower-pels/generic.cpp \
Matt Spinler7b5342c2019-11-06 14:48:43 -060020 extensions/openpower-pels/hexdump.cpp \
Matt Spinlerdf13bdb2019-07-10 16:54:13 -050021 extensions/openpower-pels/log_id.cpp \
Matt Spinler90b4a0a2019-10-09 10:08:43 -050022 extensions/openpower-pels/mru.cpp \
Matt Spinlerb6664332019-09-10 15:24:10 -050023 extensions/openpower-pels/mtms.cpp \
Matt Spinlerdf13bdb2019-07-10 16:54:13 -050024 extensions/openpower-pels/paths.cpp \
Matt Spinler5b3a11d2019-10-08 14:13:31 -050025 extensions/openpower-pels/pce_identity.cpp \
Matt Spinlercb6b0592019-07-16 15:58:51 -050026 extensions/openpower-pels/pel.cpp \
Matt Spinlerf1e85e22019-11-01 11:31:31 -050027 extensions/openpower-pels/pel_rules.cpp \
Matt Spinler835a8692019-08-27 13:56:05 -050028 extensions/openpower-pels/pel_values.cpp \
Matt Spinler03c1d912019-07-10 14:12:15 -050029 extensions/openpower-pels/private_header.cpp \
Matt Spinler367144c2019-09-19 15:33:52 -050030 extensions/openpower-pels/registry.cpp \
Matt Spinlerf9bae182019-10-09 13:37:38 -050031 extensions/openpower-pels/src.cpp \
Matt Spinler131870c2019-09-25 13:29:04 -050032 extensions/openpower-pels/section_factory.cpp \
Matt Spinler8c686cc2019-09-20 13:46:02 -050033 extensions/openpower-pels/severity.cpp \
Aatir Manzur51c92632019-09-06 13:30:48 -050034 extensions/openpower-pels/user_data.cpp \
Matt Spinler03c1d912019-07-10 14:12:15 -050035 extensions/openpower-pels/user_header.cpp
Matt Spinler44792fd2019-09-26 15:58:58 -050036
Matt Spinler7b5342c2019-11-06 14:48:43 -060037libpel_ldflags = \
38 $(SYSTEMD_LIBS) \
39 $(PHOSPHOR_LOGGING_LIBS) \
40 $(SDBUSPLUS_LIBS) \
41 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
42 $(SDEVENTPLUS_LIBS) \
43 -lstdc++fs
44
45libpel_la_LIBADD = $(libpel_ldflags)
46
47libpel_cxx_flags = \
48 $(SYSTEMD_CFLAGS) \
49 $(SDBUSPLUS_CFLAGS) \
50 $(SDEVENTPLUS_CFLAGS) \
51 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
52
Matt Spinler44792fd2019-09-26 15:58:58 -050053registrydir = $(datadir)/phosphor-logging/pels/
54registry_DATA = extensions/openpower-pels/registry/message_registry.json
Aatir186ce8c2019-10-20 15:13:39 -050055
56bin_PROGRAMS += peltool
57
58peltool_SOURCES = extensions/openpower-pels/tools/peltool.cpp
Matt Spinler7b5342c2019-11-06 14:48:43 -060059peltool_LDADD = libpel.la