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