blob: 77fd6298918af515d25438e947c35a6a205828c3 [file] [log] [blame]
Pavithra Barithayaa7989cd2023-10-30 08:52:28 -05001libpldm_sources = files(
Andrew Jeffery9c766792022-08-10 23:12:49 +09302 'base.c',
3 'bios.c',
4 'platform.c',
5 'bios_table.c',
6 'firmware_update.c',
7 'fru.c',
8 'pdr.c',
Andrew Jefferycc45aed2023-09-10 23:03:29 +09309 'responder.c',
Andrew Jeffery9c766792022-08-10 23:12:49 +093010 'utils.c'
11 )
12
Andrew Jeffery55e5e0a2023-06-05 12:33:16 +093013subdir('requester')
14subdir('transport')
15
Andrew Jeffery8de8e1e2023-06-09 14:37:18 +093016if get_option('oem-ibm').allowed()
Andrew Jeffery9c766792022-08-10 23:12:49 +093017 subdir('oem/ibm')
18endif
Pavithra Barithayaa7989cd2023-10-30 08:52:28 -050019
20libpldm = library(
21 'pldm',
22 libpldm_sources,
23 implicit_include_directories: false,
24 include_directories: [
25 libpldm_include_dir,
26 include_directories('.')
27 ],
28 version: meson.project_version(),
29 gnu_symbol_visibility: 'hidden',
30 install: true
31 )
32
33libpldm_dep = declare_dependency(
34 include_directories: libpldm_include_dir,
35 link_with: libpldm)
36
37import('pkgconfig').generate(
38 name: 'libpldm',
39 description: 'PLDM protocol encode/decode C lib',
40 version: meson.project_version(),
41 libraries: libpldm)