Jason Ling | 85e54f1 | 2020-11-05 18:47:21 -0800 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
| 2 | |
| 3 | pkgdatadir = $(datadir)/phosphor-ipmi-flash |
| 4 | dist_pkgdata_DATA = |
| 5 | |
| 6 | noinst_LTLIBRARIES = libversionblob_common.la |
| 7 | libversionblob_common_la_SOURCES = \ |
Jason Ling | c78bfc8 | 2020-11-05 18:58:16 -0800 | [diff] [blame] | 8 | version_handler.cpp \ |
Jason Ling | 85e54f1 | 2020-11-05 18:47:21 -0800 | [diff] [blame] | 9 | version_handlers_builder.cpp |
| 10 | |
| 11 | libversionblob_common_la_CXXFLAGS = \ |
| 12 | -I$(top_srcdir) \ |
| 13 | -I$(top_srcdir)/bmc \ |
William A. Kennington III | 6ee93c6 | 2020-12-22 13:01:15 -0800 | [diff] [blame] | 14 | $(CODE_COVERAGE_CXXFLAGS) \ |
| 15 | -flto |
Jason Ling | 85e54f1 | 2020-11-05 18:47:21 -0800 | [diff] [blame] | 16 | libversionblob_common_la_LDFLAGS = \ |
William A. Kennington III | 6ee93c6 | 2020-12-22 13:01:15 -0800 | [diff] [blame] | 17 | $(CODE_COVERAGE_LIBS) \ |
| 18 | -lstdc++fs |
Jason Ling | 85e54f1 | 2020-11-05 18:47:21 -0800 | [diff] [blame] | 19 | libversionblob_common_la_LIBADD = $(top_builddir)/libfirmware_common.la |
| 20 | libversionblob_common_la_LIBADD += $(top_builddir)/bmc/libbmc_common.la |
Jason Ling | c78bfc8 | 2020-11-05 18:58:16 -0800 | [diff] [blame] | 21 | |
| 22 | libversionblobdir = ${libdir}/ipmid-providers |
| 23 | libversionblob_LTLIBRARIES = libversionblob.la |
| 24 | libversionblob_la_SOURCES = \ |
| 25 | main.cpp |
| 26 | libversionblob_la_LIBADD = libversionblob_common.la |
| 27 | libversionblob_la_LDFLAGS = \ |
Jason Ling | c78bfc8 | 2020-11-05 18:58:16 -0800 | [diff] [blame] | 28 | $(CODE_COVERAGE_LIBS) \ |
| 29 | -lstdc++fs \ |
| 30 | -version-info 0:0:0 -shared |
| 31 | libversionblob_la_CXXFLAGS = \ |
| 32 | -I$(top_srcdir) \ |
| 33 | -I$(top_srcdir)/bmc \ |
Jason Ling | c78bfc8 | 2020-11-05 18:58:16 -0800 | [diff] [blame] | 34 | $(CODE_COVERAGE_CXXFLAGS) \ |
| 35 | -flto |
William A. Kennington III | abf1735 | 2020-12-22 21:07:11 -0800 | [diff] [blame] | 36 | |
Jason Ling | 85e54f1 | 2020-11-05 18:47:21 -0800 | [diff] [blame] | 37 | SUBDIRS = . test |