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 = \ |
Jason Ling | c893f43 | 2020-10-24 19:31:44 -0700 | [diff] [blame] | 6 | buildjson.cpp \ |
Patrick Venture | f0c71df | 2019-06-26 19:39:36 -0700 | [diff] [blame] | 7 | file_handler.cpp \ |
Jason Ling | ded66d0 | 2020-10-23 14:13:03 -0700 | [diff] [blame] | 8 | fs.cpp \ |
Patrick Venture | cf066ac | 2019-08-06 09:03:47 -0700 | [diff] [blame] | 9 | general_systemd.cpp \ |
Patrick Venture | d53d60a | 2020-04-07 09:01:34 -0700 | [diff] [blame] | 10 | skip_action.cpp |
Patrick Venture | f0c71df | 2019-06-26 19:39:36 -0700 | [diff] [blame] | 11 | |
Jason Ling | ded66d0 | 2020-10-23 14:13:03 -0700 | [diff] [blame] | 12 | libbmc_common_la_CXXFLAGS = \ |
Patrick Venture | f0c71df | 2019-06-26 19:39:36 -0700 | [diff] [blame] | 13 | -I$(top_srcdir) \ |
| 14 | $(SDBUSPLUS_CFLAGS) \ |
William A. Kennington III | 6ee93c6 | 2020-12-22 13:01:15 -0800 | [diff] [blame] | 15 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 16 | $(CODE_COVERAGE_CXXFLAGS) \ |
| 17 | -flto |
Jason Ling | ded66d0 | 2020-10-23 14:13:03 -0700 | [diff] [blame] | 18 | libbmc_common_la_LDFLAGS = \ |
William A. Kennington III | 6ee93c6 | 2020-12-22 13:01:15 -0800 | [diff] [blame] | 19 | $(SDBUSPLUS_LIBS) \ |
| 20 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 21 | $(CODE_COVERAGE_LIBS) \ |
| 22 | -lstdc++fs |