Patrick Venture | f0c71df | 2019-06-26 19:39:36 -0700 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
Jason Ling | ded66d0 | 2020-10-23 14:13:03 -0700 | [diff] [blame] | 2 | noinst_LTLIBRARIES = libbmc_common.la |
Patrick Venture | f0c71df | 2019-06-26 19:39:36 -0700 | [diff] [blame] | 3 | |
Jason Ling | ded66d0 | 2020-10-23 14:13:03 -0700 | [diff] [blame] | 4 | # shared functionality between firmware and version blob handlers |
| 5 | libbmc_common_la_SOURCES = \ |
Patrick Venture | f0c71df | 2019-06-26 19:39:36 -0700 | [diff] [blame] | 6 | file_handler.cpp \ |
Jason Ling | ded66d0 | 2020-10-23 14:13:03 -0700 | [diff] [blame] | 7 | fs.cpp \ |
Patrick Venture | cf066ac | 2019-08-06 09:03:47 -0700 | [diff] [blame] | 8 | general_systemd.cpp \ |
Patrick Venture | d53d60a | 2020-04-07 09:01:34 -0700 | [diff] [blame] | 9 | skip_action.cpp |
Patrick Venture | f0c71df | 2019-06-26 19:39:36 -0700 | [diff] [blame] | 10 | |
Jason Ling | ded66d0 | 2020-10-23 14:13:03 -0700 | [diff] [blame] | 11 | libbmc_common_la_CXXFLAGS = \ |
Patrick Venture | f0c71df | 2019-06-26 19:39:36 -0700 | [diff] [blame] | 12 | -I$(top_srcdir) \ |
| 13 | $(SDBUSPLUS_CFLAGS) \ |
| 14 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 15 | $(CODE_COVERAGE_CXXFLAGS) \ |
| 16 | -flto |
Jason Ling | ded66d0 | 2020-10-23 14:13:03 -0700 | [diff] [blame] | 17 | libbmc_common_la_LDFLAGS = \ |
Patrick Venture | f0c71df | 2019-06-26 19:39:36 -0700 | [diff] [blame] | 18 | $(SDBUSPLUS_LIBS) \ |
| 19 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 20 | $(CODE_COVERAGE_LIBS) \ |
| 21 | -lstdc++fs |