blob: 9398e90f8f03a2130016280bd99af0c84ef0ecf9 [file] [log] [blame]
Patrick Venturef0c71df2019-06-26 19:39:36 -07001AM_DEFAULT_SOURCE_EXT = .cpp
Jason Lingded66d02020-10-23 14:13:03 -07002noinst_LTLIBRARIES = libbmc_common.la
Patrick Venturef0c71df2019-06-26 19:39:36 -07003
Jason Lingded66d02020-10-23 14:13:03 -07004# shared functionality between firmware and version blob handlers
5libbmc_common_la_SOURCES = \
Jason Lingc893f432020-10-24 19:31:44 -07006 buildjson.cpp \
Patrick Venturef0c71df2019-06-26 19:39:36 -07007 file_handler.cpp \
Jason Lingded66d02020-10-23 14:13:03 -07008 fs.cpp \
Patrick Venturecf066ac2019-08-06 09:03:47 -07009 general_systemd.cpp \
Patrick Ventured53d60a2020-04-07 09:01:34 -070010 skip_action.cpp
Patrick Venturef0c71df2019-06-26 19:39:36 -070011
Jason Lingded66d02020-10-23 14:13:03 -070012libbmc_common_la_CXXFLAGS = \
Patrick Venturef0c71df2019-06-26 19:39:36 -070013 -I$(top_srcdir) \
14 $(SDBUSPLUS_CFLAGS) \
William A. Kennington III6ee93c62020-12-22 13:01:15 -080015 $(PHOSPHOR_LOGGING_CFLAGS) \
16 $(CODE_COVERAGE_CXXFLAGS) \
17 -flto
Jason Lingded66d02020-10-23 14:13:03 -070018libbmc_common_la_LDFLAGS = \
William A. Kennington III6ee93c62020-12-22 13:01:15 -080019 $(SDBUSPLUS_LIBS) \
20 $(PHOSPHOR_LOGGING_LIBS) \
21 $(CODE_COVERAGE_LIBS) \
22 -lstdc++fs