xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Control/Power/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1# Generated file; do not modify.
2subdir('ACPIPowerState')
3subdir('Cap')
4subdir('CapLimits')
5subdir('IdlePowerSaver')
6subdir('Mode')
7subdir('RestorePolicy')
8subdir('Throttle')
9
10sdbusplus_current_path = 'xyz/openbmc_project/Control/Power'
11
12generated_markdown += custom_target(
13    'xyz/openbmc_project/Control/Power/ACPIPowerState__markdown'.underscorify(),
14    input: [ '../../../../../yaml/xyz/openbmc_project/Control/Power/ACPIPowerState.interface.yaml',  ],
15    output: [ 'ACPIPowerState.md' ],
16    depend_files: sdbusplusplus_depfiles,
17    command: [
18        sdbuspp_gen_meson_prog, '--command', 'markdown',
19        '--output', meson.current_build_dir(),
20        '--tool', sdbusplusplus_prog,
21        '--directory', meson.current_source_dir() / '../../../../../yaml',
22        'xyz/openbmc_project/Control/Power/ACPIPowerState',
23    ],
24    install: should_generate_markdown,
25    install_dir: [inst_markdown_dir / sdbusplus_current_path],
26    build_by_default: should_generate_markdown,
27)
28
29generated_markdown += custom_target(
30    'xyz/openbmc_project/Control/Power/Cap__markdown'.underscorify(),
31    input: [ '../../../../../yaml/xyz/openbmc_project/Control/Power/Cap.interface.yaml',  ],
32    output: [ 'Cap.md' ],
33    depend_files: sdbusplusplus_depfiles,
34    command: [
35        sdbuspp_gen_meson_prog, '--command', 'markdown',
36        '--output', meson.current_build_dir(),
37        '--tool', sdbusplusplus_prog,
38        '--directory', meson.current_source_dir() / '../../../../../yaml',
39        'xyz/openbmc_project/Control/Power/Cap',
40    ],
41    install: should_generate_markdown,
42    install_dir: [inst_markdown_dir / sdbusplus_current_path],
43    build_by_default: should_generate_markdown,
44)
45
46generated_markdown += custom_target(
47    'xyz/openbmc_project/Control/Power/CapLimits__markdown'.underscorify(),
48    input: [ '../../../../../yaml/xyz/openbmc_project/Control/Power/CapLimits.interface.yaml',  ],
49    output: [ 'CapLimits.md' ],
50    depend_files: sdbusplusplus_depfiles,
51    command: [
52        sdbuspp_gen_meson_prog, '--command', 'markdown',
53        '--output', meson.current_build_dir(),
54        '--tool', sdbusplusplus_prog,
55        '--directory', meson.current_source_dir() / '../../../../../yaml',
56        'xyz/openbmc_project/Control/Power/CapLimits',
57    ],
58    install: should_generate_markdown,
59    install_dir: [inst_markdown_dir / sdbusplus_current_path],
60    build_by_default: should_generate_markdown,
61)
62
63generated_markdown += custom_target(
64    'xyz/openbmc_project/Control/Power/IdlePowerSaver__markdown'.underscorify(),
65    input: [ '../../../../../yaml/xyz/openbmc_project/Control/Power/IdlePowerSaver.interface.yaml',  ],
66    output: [ 'IdlePowerSaver.md' ],
67    depend_files: sdbusplusplus_depfiles,
68    command: [
69        sdbuspp_gen_meson_prog, '--command', 'markdown',
70        '--output', meson.current_build_dir(),
71        '--tool', sdbusplusplus_prog,
72        '--directory', meson.current_source_dir() / '../../../../../yaml',
73        'xyz/openbmc_project/Control/Power/IdlePowerSaver',
74    ],
75    install: should_generate_markdown,
76    install_dir: [inst_markdown_dir / sdbusplus_current_path],
77    build_by_default: should_generate_markdown,
78)
79
80generated_markdown += custom_target(
81    'xyz/openbmc_project/Control/Power/Mode__markdown'.underscorify(),
82    input: [ '../../../../../yaml/xyz/openbmc_project/Control/Power/Mode.interface.yaml',  ],
83    output: [ 'Mode.md' ],
84    depend_files: sdbusplusplus_depfiles,
85    command: [
86        sdbuspp_gen_meson_prog, '--command', 'markdown',
87        '--output', meson.current_build_dir(),
88        '--tool', sdbusplusplus_prog,
89        '--directory', meson.current_source_dir() / '../../../../../yaml',
90        'xyz/openbmc_project/Control/Power/Mode',
91    ],
92    install: should_generate_markdown,
93    install_dir: [inst_markdown_dir / sdbusplus_current_path],
94    build_by_default: should_generate_markdown,
95)
96
97generated_markdown += custom_target(
98    'xyz/openbmc_project/Control/Power/RestorePolicy__markdown'.underscorify(),
99    input: [ '../../../../../yaml/xyz/openbmc_project/Control/Power/RestorePolicy.interface.yaml',  ],
100    output: [ 'RestorePolicy.md' ],
101    depend_files: sdbusplusplus_depfiles,
102    command: [
103        sdbuspp_gen_meson_prog, '--command', 'markdown',
104        '--output', meson.current_build_dir(),
105        '--tool', sdbusplusplus_prog,
106        '--directory', meson.current_source_dir() / '../../../../../yaml',
107        'xyz/openbmc_project/Control/Power/RestorePolicy',
108    ],
109    install: should_generate_markdown,
110    install_dir: [inst_markdown_dir / sdbusplus_current_path],
111    build_by_default: should_generate_markdown,
112)
113
114generated_markdown += custom_target(
115    'xyz/openbmc_project/Control/Power/Throttle__markdown'.underscorify(),
116    input: [ '../../../../../yaml/xyz/openbmc_project/Control/Power/Throttle.interface.yaml',  ],
117    output: [ 'Throttle.md' ],
118    depend_files: sdbusplusplus_depfiles,
119    command: [
120        sdbuspp_gen_meson_prog, '--command', 'markdown',
121        '--output', meson.current_build_dir(),
122        '--tool', sdbusplusplus_prog,
123        '--directory', meson.current_source_dir() / '../../../../../yaml',
124        'xyz/openbmc_project/Control/Power/Throttle',
125    ],
126    install: should_generate_markdown,
127    install_dir: [inst_markdown_dir / sdbusplus_current_path],
128    build_by_default: should_generate_markdown,
129)
130
131