xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1# Generated file; do not modify.
2subdir('BMC')
3subdir('BMCRedundancy')
4subdir('Boot')
5subdir('Cable')
6subdir('Chassis')
7subdir('Decorator')
8subdir('Drive')
9subdir('Host')
10subdir('Leak')
11subdir('OperatingSystem')
12subdir('PowerOnHours')
13subdir('ScheduledHostTransition')
14subdir('Shutdown')
15subdir('SystemdTarget')
16subdir('Watchdog')
17
18sdbusplus_current_path = 'xyz/openbmc_project/State'
19
20generated_markdown += custom_target(
21    'xyz/openbmc_project/State/BMC__markdown'.underscorify(),
22    input: [ '../../../../yaml/xyz/openbmc_project/State/BMC.errors.yaml', '../../../../yaml/xyz/openbmc_project/State/BMC.interface.yaml',  ],
23    output: [ 'BMC.md' ],
24    depend_files: sdbusplusplus_depfiles,
25    command: [
26        sdbuspp_gen_meson_prog, '--command', 'markdown',
27        '--output', meson.current_build_dir(),
28        '--tool', sdbusplusplus_prog,
29        '--directory', meson.current_source_dir() / '../../../../yaml',
30        'xyz/openbmc_project/State/BMC',
31    ],
32    install: should_generate_markdown,
33    install_dir: [inst_markdown_dir / sdbusplus_current_path],
34    build_by_default: should_generate_markdown,
35)
36
37generated_markdown += custom_target(
38    'xyz/openbmc_project/State/BMCRedundancy__markdown'.underscorify(),
39    input: [ '../../../../yaml/xyz/openbmc_project/State/BMCRedundancy.interface.yaml',  ],
40    output: [ 'BMCRedundancy.md' ],
41    depend_files: sdbusplusplus_depfiles,
42    command: [
43        sdbuspp_gen_meson_prog, '--command', 'markdown',
44        '--output', meson.current_build_dir(),
45        '--tool', sdbusplusplus_prog,
46        '--directory', meson.current_source_dir() / '../../../../yaml',
47        'xyz/openbmc_project/State/BMCRedundancy',
48    ],
49    install: should_generate_markdown,
50    install_dir: [inst_markdown_dir / sdbusplus_current_path],
51    build_by_default: should_generate_markdown,
52)
53
54generated_markdown += custom_target(
55    'xyz/openbmc_project/State/Cable__markdown'.underscorify(),
56    input: [ '../../../../yaml/xyz/openbmc_project/State/Cable.events.yaml',  ],
57    output: [ 'Cable.md' ],
58    depend_files: sdbusplusplus_depfiles,
59    command: [
60        sdbuspp_gen_meson_prog, '--command', 'markdown',
61        '--output', meson.current_build_dir(),
62        '--tool', sdbusplusplus_prog,
63        '--directory', meson.current_source_dir() / '../../../../yaml',
64        'xyz/openbmc_project/State/Cable',
65    ],
66    install: should_generate_markdown,
67    install_dir: [inst_markdown_dir / sdbusplus_current_path],
68    build_by_default: should_generate_markdown,
69)
70
71generated_registry += custom_target(
72    'xyz/openbmc_project/State/Cable__registry'.underscorify(),
73    input: [ '../../../../yaml/xyz/openbmc_project/State/Cable.events.yaml',  ],
74    output: [ 'Cable.json' ],
75    depend_files: sdbusplusplus_depfiles,
76    command: [
77        sdbuspp_gen_meson_prog, '--command', 'registry',
78        '--output', meson.current_build_dir(),
79        '--tool', sdbusplusplus_prog,
80        '--directory', meson.current_source_dir() / '../../../../yaml',
81        'xyz/openbmc_project/State/Cable',
82    ],
83    install: should_generate_registry,
84    install_dir: [inst_registry_dir / sdbusplus_current_path],
85    build_by_default: should_generate_registry,
86)
87
88generated_markdown += custom_target(
89    'xyz/openbmc_project/State/Chassis__markdown'.underscorify(),
90    input: [ '../../../../yaml/xyz/openbmc_project/State/Chassis.errors.yaml', '../../../../yaml/xyz/openbmc_project/State/Chassis.interface.yaml',  ],
91    output: [ 'Chassis.md' ],
92    depend_files: sdbusplusplus_depfiles,
93    command: [
94        sdbuspp_gen_meson_prog, '--command', 'markdown',
95        '--output', meson.current_build_dir(),
96        '--tool', sdbusplusplus_prog,
97        '--directory', meson.current_source_dir() / '../../../../yaml',
98        'xyz/openbmc_project/State/Chassis',
99    ],
100    install: should_generate_markdown,
101    install_dir: [inst_markdown_dir / sdbusplus_current_path],
102    build_by_default: should_generate_markdown,
103)
104
105generated_markdown += custom_target(
106    'xyz/openbmc_project/State/Drive__markdown'.underscorify(),
107    input: [ '../../../../yaml/xyz/openbmc_project/State/Drive.interface.yaml',  ],
108    output: [ 'Drive.md' ],
109    depend_files: sdbusplusplus_depfiles,
110    command: [
111        sdbuspp_gen_meson_prog, '--command', 'markdown',
112        '--output', meson.current_build_dir(),
113        '--tool', sdbusplusplus_prog,
114        '--directory', meson.current_source_dir() / '../../../../yaml',
115        'xyz/openbmc_project/State/Drive',
116    ],
117    install: should_generate_markdown,
118    install_dir: [inst_markdown_dir / sdbusplus_current_path],
119    build_by_default: should_generate_markdown,
120)
121
122generated_markdown += custom_target(
123    'xyz/openbmc_project/State/Host__markdown'.underscorify(),
124    input: [ '../../../../yaml/xyz/openbmc_project/State/Host.errors.yaml', '../../../../yaml/xyz/openbmc_project/State/Host.interface.yaml',  ],
125    output: [ 'Host.md' ],
126    depend_files: sdbusplusplus_depfiles,
127    command: [
128        sdbuspp_gen_meson_prog, '--command', 'markdown',
129        '--output', meson.current_build_dir(),
130        '--tool', sdbusplusplus_prog,
131        '--directory', meson.current_source_dir() / '../../../../yaml',
132        'xyz/openbmc_project/State/Host',
133    ],
134    install: should_generate_markdown,
135    install_dir: [inst_markdown_dir / sdbusplus_current_path],
136    build_by_default: should_generate_markdown,
137)
138
139generated_markdown += custom_target(
140    'xyz/openbmc_project/State/PowerOnHours__markdown'.underscorify(),
141    input: [ '../../../../yaml/xyz/openbmc_project/State/PowerOnHours.interface.yaml',  ],
142    output: [ 'PowerOnHours.md' ],
143    depend_files: sdbusplusplus_depfiles,
144    command: [
145        sdbuspp_gen_meson_prog, '--command', 'markdown',
146        '--output', meson.current_build_dir(),
147        '--tool', sdbusplusplus_prog,
148        '--directory', meson.current_source_dir() / '../../../../yaml',
149        'xyz/openbmc_project/State/PowerOnHours',
150    ],
151    install: should_generate_markdown,
152    install_dir: [inst_markdown_dir / sdbusplus_current_path],
153    build_by_default: should_generate_markdown,
154)
155
156generated_markdown += custom_target(
157    'xyz/openbmc_project/State/ScheduledHostTransition__markdown'.underscorify(),
158    input: [ '../../../../yaml/xyz/openbmc_project/State/ScheduledHostTransition.interface.yaml',  ],
159    output: [ 'ScheduledHostTransition.md' ],
160    depend_files: sdbusplusplus_depfiles,
161    command: [
162        sdbuspp_gen_meson_prog, '--command', 'markdown',
163        '--output', meson.current_build_dir(),
164        '--tool', sdbusplusplus_prog,
165        '--directory', meson.current_source_dir() / '../../../../yaml',
166        'xyz/openbmc_project/State/ScheduledHostTransition',
167    ],
168    install: should_generate_markdown,
169    install_dir: [inst_markdown_dir / sdbusplus_current_path],
170    build_by_default: should_generate_markdown,
171)
172
173generated_markdown += custom_target(
174    'xyz/openbmc_project/State/SystemdTarget__markdown'.underscorify(),
175    input: [ '../../../../yaml/xyz/openbmc_project/State/SystemdTarget.errors.yaml',  ],
176    output: [ 'SystemdTarget.md' ],
177    depend_files: sdbusplusplus_depfiles,
178    command: [
179        sdbuspp_gen_meson_prog, '--command', 'markdown',
180        '--output', meson.current_build_dir(),
181        '--tool', sdbusplusplus_prog,
182        '--directory', meson.current_source_dir() / '../../../../yaml',
183        'xyz/openbmc_project/State/SystemdTarget',
184    ],
185    install: should_generate_markdown,
186    install_dir: [inst_markdown_dir / sdbusplus_current_path],
187    build_by_default: should_generate_markdown,
188)
189
190generated_markdown += custom_target(
191    'xyz/openbmc_project/State/Watchdog__markdown'.underscorify(),
192    input: [ '../../../../yaml/xyz/openbmc_project/State/Watchdog.interface.yaml',  ],
193    output: [ 'Watchdog.md' ],
194    depend_files: sdbusplusplus_depfiles,
195    command: [
196        sdbuspp_gen_meson_prog, '--command', 'markdown',
197        '--output', meson.current_build_dir(),
198        '--tool', sdbusplusplus_prog,
199        '--directory', meson.current_source_dir() / '../../../../yaml',
200        'xyz/openbmc_project/State/Watchdog',
201    ],
202    install: should_generate_markdown,
203    install_dir: [inst_markdown_dir / sdbusplus_current_path],
204    build_by_default: should_generate_markdown,
205)
206
207