blob: 4592bbd7c5b72d583bba9039b469e97f374892d5 [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 = \
Patrick Venturef0c71df2019-06-26 19:39:36 -07006 file_handler.cpp \
Jason Lingded66d02020-10-23 14:13:03 -07007 fs.cpp \
Patrick Venturecf066ac2019-08-06 09:03:47 -07008 general_systemd.cpp \
Patrick Ventured53d60a2020-04-07 09:01:34 -07009 skip_action.cpp
Patrick Venturef0c71df2019-06-26 19:39:36 -070010
Jason Lingded66d02020-10-23 14:13:03 -070011libbmc_common_la_CXXFLAGS = \
Patrick Venturef0c71df2019-06-26 19:39:36 -070012 -I$(top_srcdir) \
13 $(SDBUSPLUS_CFLAGS) \
14 $(PHOSPHOR_LOGGING_CFLAGS) \
15 $(CODE_COVERAGE_CXXFLAGS) \
16 -flto
Jason Lingded66d02020-10-23 14:13:03 -070017libbmc_common_la_LDFLAGS = \
Patrick Venturef0c71df2019-06-26 19:39:36 -070018 $(SDBUSPLUS_LIBS) \
19 $(PHOSPHOR_LOGGING_LIBS) \
20 $(CODE_COVERAGE_LIBS) \
21 -lstdc++fs