xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/PLDM/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1d9632146SPatrick Williams# Generated file; do not modify.
2d9632146SPatrick Williamssubdir('Event')
3*7f154004SPatrick Williamssubdir('PDR')
4*7f154004SPatrick Williamssubdir('Provider')
5*7f154004SPatrick Williamssubdir('Requester')
6*7f154004SPatrick Williams
7*7f154004SPatrick Williamssdbusplus_current_path = 'xyz/openbmc_project/PLDM'
8*7f154004SPatrick Williams
9*7f154004SPatrick Williamsgenerated_markdown += custom_target(
10d9632146SPatrick Williams    'xyz/openbmc_project/PLDM/Event__markdown'.underscorify(),
11b1b4d261SWilliam A. Kennington III    input: [ '../../../../yaml/xyz/openbmc_project/PLDM/Event.interface.yaml',  ],
12d9632146SPatrick Williams    output: [ 'Event.md' ],
1311335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
14d9632146SPatrick Williams    command: [
15d9632146SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'markdown',
16d9632146SPatrick Williams        '--output', meson.current_build_dir(),
17d9632146SPatrick Williams        '--tool', sdbusplusplus_prog,
18b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../yaml',
19d9632146SPatrick Williams        'xyz/openbmc_project/PLDM/Event',
20d9632146SPatrick Williams    ],
21*7f154004SPatrick Williams    install: should_generate_markdown,
22*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
23*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
24d9632146SPatrick Williams)
25d9632146SPatrick Williams
26*7f154004SPatrick Williamsgenerated_markdown += custom_target(
27d9632146SPatrick Williams    'xyz/openbmc_project/PLDM/PDR__markdown'.underscorify(),
28b1b4d261SWilliam A. Kennington III    input: [ '../../../../yaml/xyz/openbmc_project/PLDM/PDR.interface.yaml',  ],
29d9632146SPatrick Williams    output: [ 'PDR.md' ],
3011335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
31d9632146SPatrick Williams    command: [
32d9632146SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'markdown',
33d9632146SPatrick Williams        '--output', meson.current_build_dir(),
34d9632146SPatrick Williams        '--tool', sdbusplusplus_prog,
35b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../yaml',
36d9632146SPatrick Williams        'xyz/openbmc_project/PLDM/PDR',
37d9632146SPatrick Williams    ],
38*7f154004SPatrick Williams    install: should_generate_markdown,
39*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
40*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
41d9632146SPatrick Williams)
42d9632146SPatrick Williams
43*7f154004SPatrick Williamsgenerated_markdown += custom_target(
44d9632146SPatrick Williams    'xyz/openbmc_project/PLDM/Requester__markdown'.underscorify(),
45b1b4d261SWilliam A. Kennington III    input: [ '../../../../yaml/xyz/openbmc_project/PLDM/Requester.interface.yaml',  ],
46d9632146SPatrick Williams    output: [ 'Requester.md' ],
4711335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
48d9632146SPatrick Williams    command: [
49d9632146SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'markdown',
50d9632146SPatrick Williams        '--output', meson.current_build_dir(),
51d9632146SPatrick Williams        '--tool', sdbusplusplus_prog,
52b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../yaml',
53d9632146SPatrick Williams        'xyz/openbmc_project/PLDM/Requester',
54d9632146SPatrick Williams    ],
55*7f154004SPatrick Williams    install: should_generate_markdown,
56*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
57*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
58d9632146SPatrick Williams)
59d9632146SPatrick Williams
60