2022-08-29 15:49:01 +08:00
|
|
|
lzma = static_library('lzma',
|
|
|
|
sources: [
|
|
|
|
'LZMA/LzmaDecompress.c',
|
|
|
|
'LZMA/SDK/C/Bra86.c',
|
|
|
|
'LZMA/SDK/C/LzmaDec.c',
|
|
|
|
'Tiano/EfiTianoDecompress.c',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
bstrlib = static_library('bstrlib',
|
|
|
|
sources: [
|
|
|
|
'bstrlib/bstrlib.c',
|
|
|
|
'bstrlib/bstrwrap.cpp',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
uefitoolcommon = static_library('uefitoolcommon',
|
|
|
|
sources: [
|
|
|
|
'guiddatabase.cpp',
|
|
|
|
'types.cpp',
|
|
|
|
'descriptor.cpp',
|
2023-06-20 03:57:14 +08:00
|
|
|
'filesystem.cpp',
|
2022-08-29 15:49:01 +08:00
|
|
|
'ffs.cpp',
|
|
|
|
'nvram.cpp',
|
|
|
|
'nvramparser.cpp',
|
|
|
|
'meparser.cpp',
|
2022-08-29 14:23:38 +08:00
|
|
|
'fitparser.cpp',
|
2022-08-29 15:49:01 +08:00
|
|
|
'ffsparser.cpp',
|
|
|
|
'ffsreport.cpp',
|
|
|
|
'peimage.cpp',
|
|
|
|
'treeitem.cpp',
|
|
|
|
'treemodel.cpp',
|
|
|
|
'utility.cpp',
|
|
|
|
'ustring.cpp',
|
2023-02-20 04:38:35 +08:00
|
|
|
'generated/ami_nvar.cpp',
|
2022-08-29 14:23:38 +08:00
|
|
|
'generated/intel_acbp_v1.cpp',
|
|
|
|
'generated/intel_acbp_v2.cpp',
|
|
|
|
'generated/intel_keym_v1.cpp',
|
|
|
|
'generated/intel_keym_v2.cpp',
|
|
|
|
'generated/intel_acm.cpp',
|
|
|
|
'kaitai/kaitaistream.cpp',
|
|
|
|
'digest/sha1.c',
|
|
|
|
'digest/sha256.c',
|
|
|
|
'digest/sha512.c',
|
|
|
|
'digest/sm3.c',
|
2022-08-29 15:49:01 +08:00
|
|
|
],
|
2022-09-09 20:53:51 +08:00
|
|
|
cpp_args: [
|
2022-08-29 15:49:01 +08:00
|
|
|
'-DU_ENABLE_NVRAM_PARSING_SUPPORT',
|
|
|
|
'-DU_ENABLE_ME_PARSING_SUPPORT',
|
|
|
|
'-DU_ENABLE_FIT_PARSING_SUPPORT',
|
|
|
|
'-DU_ENABLE_GUID_DATABASE_SUPPORT',
|
|
|
|
],
|
|
|
|
)
|