blob: dee798e02d7b8cd80a13136bf0a4b8b629b9ffac [file] [log] [blame]
Matt Spinler99c2b402019-05-23 14:29:16 -05001phosphor_log_manager_SOURCES += \
Matt Spinler6852d722019-09-30 15:35:53 -05002 extensions/openpower-pels/ascii_string.cpp \
Matt Spinlerdf797f22019-07-09 15:39:51 -05003 extensions/openpower-pels/bcd_time.cpp \
Matt Spinler6c9662c2019-10-09 11:27:20 -05004 extensions/openpower-pels/callout.cpp \
Matt Spinler32f13c92019-10-09 12:48:25 -05005 extensions/openpower-pels/callouts.cpp \
Matt Spinlerc8705e22019-09-11 12:36:07 -05006 extensions/openpower-pels/data_interface.cpp \
Matt Spinler4e8078c2019-07-09 13:22:32 -05007 extensions/openpower-pels/entry_points.cpp \
Matt Spinler09d64002019-09-11 14:29:46 -05008 extensions/openpower-pels/failing_mtms.cpp \
Matt Spinlera906c942019-10-08 13:42:05 -05009 extensions/openpower-pels/fru_identity.cpp \
Matt Spinler14d671f2019-09-25 13:11:22 -050010 extensions/openpower-pels/generic.cpp \
Aatir186ce8c2019-10-20 15:13:39 -050011 extensions/openpower-pels/hexdump.cpp \
Matt Spinlerdf13bdb2019-07-10 16:54:13 -050012 extensions/openpower-pels/log_id.cpp \
Matt Spinlerd3335df2019-07-10 11:04:21 -050013 extensions/openpower-pels/manager.cpp \
Matt Spinler90b4a0a2019-10-09 10:08:43 -050014 extensions/openpower-pels/mru.cpp \
Matt Spinlerb6664332019-09-10 15:24:10 -050015 extensions/openpower-pels/mtms.cpp \
Matt Spinlerdf13bdb2019-07-10 16:54:13 -050016 extensions/openpower-pels/paths.cpp \
Matt Spinler5b3a11d2019-10-08 14:13:31 -050017 extensions/openpower-pels/pce_identity.cpp \
Matt Spinlercb6b0592019-07-16 15:58:51 -050018 extensions/openpower-pels/pel.cpp \
Matt Spinlerf1e85e22019-11-01 11:31:31 -050019 extensions/openpower-pels/pel_rules.cpp \
Matt Spinler835a8692019-08-27 13:56:05 -050020 extensions/openpower-pels/pel_values.cpp \
Matt Spinler03c1d912019-07-10 14:12:15 -050021 extensions/openpower-pels/private_header.cpp \
Matt Spinler367144c2019-09-19 15:33:52 -050022 extensions/openpower-pels/registry.cpp \
Matt Spinler89fa0822019-07-17 13:54:30 -050023 extensions/openpower-pels/repository.cpp \
Matt Spinlerf9bae182019-10-09 13:37:38 -050024 extensions/openpower-pels/src.cpp \
Matt Spinler131870c2019-09-25 13:29:04 -050025 extensions/openpower-pels/section_factory.cpp \
Matt Spinler8c686cc2019-09-20 13:46:02 -050026 extensions/openpower-pels/severity.cpp \
Aatir Manzur51c92632019-09-06 13:30:48 -050027 extensions/openpower-pels/user_data.cpp \
Matt Spinler03c1d912019-07-10 14:12:15 -050028 extensions/openpower-pels/user_header.cpp
Matt Spinler44792fd2019-09-26 15:58:58 -050029
30registrydir = $(datadir)/phosphor-logging/pels/
31registry_DATA = extensions/openpower-pels/registry/message_registry.json
Aatir186ce8c2019-10-20 15:13:39 -050032
33bin_PROGRAMS += peltool
34
35peltool_SOURCES = extensions/openpower-pels/tools/peltool.cpp
36
37peltool_LDADD = \
38 extensions/openpower-pels/ascii_string.o \
39 extensions/openpower-pels/bcd_time.o \
40 extensions/openpower-pels/callout.o \
41 extensions/openpower-pels/callouts.o \
42 extensions/openpower-pels/failing_mtms.o \
43 extensions/openpower-pels/fru_identity.o \
44 extensions/openpower-pels/generic.o \
45 extensions/openpower-pels/hexdump.o \
46 extensions/openpower-pels/log_id.o \
47 extensions/openpower-pels/mru.o \
48 extensions/openpower-pels/mtms.o \
49 extensions/openpower-pels/paths.o \
50 extensions/openpower-pels/pce_identity.o \
51 extensions/openpower-pels/pel.o \
Matt Spinlerf1e85e22019-11-01 11:31:31 -050052 extensions/openpower-pels/pel_rules.o \
Aatir186ce8c2019-10-20 15:13:39 -050053 extensions/openpower-pels/pel_values.o \
54 extensions/openpower-pels/private_header.o \
55 extensions/openpower-pels/registry.o \
56 extensions/openpower-pels/repository.o \
57 extensions/openpower-pels/src.o \
58 extensions/openpower-pels/section_factory.o \
59 extensions/openpower-pels/severity.o \
60 extensions/openpower-pels/user_data.o \
61 extensions/openpower-pels/user_header.o
62
63
64peltool_LDFLAGS = \
65 $(SYSTEMD_LIBS) \
66 $(PHOSPHOR_LOGGING_LIBS) \
67 $(SDBUSPLUS_LIBS) \
68 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
69 $(SDEVENTPLUS_LIBS) \
70 -lstdc++fs
71
72peltool_CXXFLAGS = \
73 $(SYSTEMD_CFLAGS) \
74 $(SDBUSPLUS_CFLAGS) \
75 $(SDEVENTPLUS_CFLAGS) \
76 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)