xref: /openbmc/phosphor-dbus-interfaces/gen/org/open_power/Logging/PEL/meson.build (revision 4c5876f0f69c06b47c931e3224c1c34b126623b5)
1# Generated file; do not modify.
2subdir('Entry')
3
4sdbusplus_current_path = 'org/open_power/Logging/PEL'
5
6generated_sources += custom_target(
7    'org/open_power/Logging/PEL__cpp'.underscorify(),
8    input: ['../../../../../yaml/org/open_power/Logging/PEL.interface.yaml'],
9    output: [
10        'common.hpp',
11        'server.hpp',
12        'server.cpp',
13        'aserver.hpp',
14        'client.hpp',
15    ],
16    depend_files: sdbusplusplus_depfiles,
17    command: [
18        sdbuspp_gen_meson_prog,
19        '--command',
20        'cpp',
21        '--output',
22        meson.current_build_dir(),
23        '--tool',
24        sdbusplusplus_prog,
25        '--directory',
26        meson.current_source_dir() / '../../../../../yaml',
27        'org/open_power/Logging/PEL',
28    ],
29    install: should_generate_cpp,
30    install_dir: [
31        get_option('includedir') / sdbusplus_current_path,
32        get_option('includedir') / sdbusplus_current_path,
33        false,
34        get_option('includedir') / sdbusplus_current_path,
35        get_option('includedir') / sdbusplus_current_path,
36    ],
37    build_by_default: should_generate_cpp,
38)
39
40generated_markdown += custom_target(
41    'org/open_power/Logging/PEL/Entry__markdown'.underscorify(),
42    input: [
43        '../../../../../yaml/org/open_power/Logging/PEL/Entry.interface.yaml',
44    ],
45    output: ['Entry.md'],
46    depend_files: sdbusplusplus_depfiles,
47    command: [
48        sdbuspp_gen_meson_prog,
49        '--command',
50        'markdown',
51        '--output',
52        meson.current_build_dir(),
53        '--tool',
54        sdbusplusplus_prog,
55        '--directory',
56        meson.current_source_dir() / '../../../../../yaml',
57        'org/open_power/Logging/PEL/Entry',
58    ],
59    install: should_generate_markdown,
60    install_dir: [inst_markdown_dir / sdbusplus_current_path],
61    build_by_default: should_generate_markdown,
62)
63
64