xref: /openbmc/phosphor-dbus-interfaces/gen/com/meta/Hardware/meson.build (revision 234e1fecde1061b567b7ade52cf38b2136ada244)
1# Generated file; do not modify.
2subdir('BMC')
3subdir('Harma')
4subdir('Yosemite5')
5
6sdbusplus_current_path = 'com/meta/Hardware'
7
8generated_markdown += custom_target(
9    'com/meta/Hardware/BMC__markdown'.underscorify(),
10    input: ['../../../../yaml/com/meta/Hardware/BMC.interface.yaml'],
11    output: ['BMC.md'],
12    depend_files: sdbusplusplus_depfiles,
13    command: [
14        sdbuspp_gen_meson_prog,
15        '--command',
16        'markdown',
17        '--output',
18        meson.current_build_dir(),
19        '--tool',
20        sdbusplusplus_prog,
21        '--directory',
22        meson.current_source_dir() / '../../../../yaml',
23        'com/meta/Hardware/BMC',
24    ],
25    install: should_generate_markdown,
26    install_dir: [inst_markdown_dir / sdbusplus_current_path],
27    build_by_default: should_generate_markdown,
28)
29
30generated_markdown += custom_target(
31    'com/meta/Hardware/Harma__markdown'.underscorify(),
32    input: ['../../../../yaml/com/meta/Hardware/Harma.interface.yaml'],
33    output: ['Harma.md'],
34    depend_files: sdbusplusplus_depfiles,
35    command: [
36        sdbuspp_gen_meson_prog,
37        '--command',
38        'markdown',
39        '--output',
40        meson.current_build_dir(),
41        '--tool',
42        sdbusplusplus_prog,
43        '--directory',
44        meson.current_source_dir() / '../../../../yaml',
45        'com/meta/Hardware/Harma',
46    ],
47    install: should_generate_markdown,
48    install_dir: [inst_markdown_dir / sdbusplus_current_path],
49    build_by_default: should_generate_markdown,
50)
51
52generated_markdown += custom_target(
53    'com/meta/Hardware/Yosemite5__markdown'.underscorify(),
54    input: ['../../../../yaml/com/meta/Hardware/Yosemite5.interface.yaml'],
55    output: ['Yosemite5.md'],
56    depend_files: sdbusplusplus_depfiles,
57    command: [
58        sdbuspp_gen_meson_prog,
59        '--command',
60        'markdown',
61        '--output',
62        meson.current_build_dir(),
63        '--tool',
64        sdbusplusplus_prog,
65        '--directory',
66        meson.current_source_dir() / '../../../../yaml',
67        'com/meta/Hardware/Yosemite5',
68    ],
69    install: should_generate_markdown,
70    install_dir: [inst_markdown_dir / sdbusplus_current_path],
71    build_by_default: should_generate_markdown,
72)
73
74