xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/meson.build (revision 566005474550c2c8aef2d98a81793295d5fcf94d)
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('LockOut')
12subdir('OperatingSystem')
13subdir('Power')
14subdir('PowerOnHours')
15subdir('SMC')
16subdir('ScheduledHostTransition')
17subdir('Shutdown')
18subdir('SystemdTarget')
19subdir('Thermal')
20subdir('Watchdog')
21
22sdbusplus_current_path = 'xyz/openbmc_project/State'
23
24generated_markdown += custom_target(
25    'xyz/openbmc_project/State/BMC__markdown'.underscorify(),
26    input: [
27        '../../../../yaml/xyz/openbmc_project/State/BMC.errors.yaml',
28        '../../../../yaml/xyz/openbmc_project/State/BMC.interface.yaml',
29    ],
30    output: ['BMC.md'],
31    depend_files: sdbusplusplus_depfiles,
32    command: [
33        sdbuspp_gen_meson_prog,
34        '--command',
35        'markdown',
36        '--output',
37        meson.current_build_dir(),
38        '--tool',
39        sdbusplusplus_prog,
40        '--directory',
41        meson.current_source_dir() / '../../../../yaml',
42        'xyz/openbmc_project/State/BMC',
43    ],
44    install: should_generate_markdown,
45    install_dir: [inst_markdown_dir / sdbusplus_current_path],
46    build_by_default: should_generate_markdown,
47)
48
49generated_markdown += custom_target(
50    'xyz/openbmc_project/State/BMCRedundancy__markdown'.underscorify(),
51    input: [
52        '../../../../yaml/xyz/openbmc_project/State/BMCRedundancy.interface.yaml',
53    ],
54    output: ['BMCRedundancy.md'],
55    depend_files: sdbusplusplus_depfiles,
56    command: [
57        sdbuspp_gen_meson_prog,
58        '--command',
59        'markdown',
60        '--output',
61        meson.current_build_dir(),
62        '--tool',
63        sdbusplusplus_prog,
64        '--directory',
65        meson.current_source_dir() / '../../../../yaml',
66        'xyz/openbmc_project/State/BMCRedundancy',
67    ],
68    install: should_generate_markdown,
69    install_dir: [inst_markdown_dir / sdbusplus_current_path],
70    build_by_default: should_generate_markdown,
71)
72
73generated_markdown += custom_target(
74    'xyz/openbmc_project/State/Cable__markdown'.underscorify(),
75    input: ['../../../../yaml/xyz/openbmc_project/State/Cable.events.yaml'],
76    output: ['Cable.md'],
77    depend_files: sdbusplusplus_depfiles,
78    command: [
79        sdbuspp_gen_meson_prog,
80        '--command',
81        'markdown',
82        '--output',
83        meson.current_build_dir(),
84        '--tool',
85        sdbusplusplus_prog,
86        '--directory',
87        meson.current_source_dir() / '../../../../yaml',
88        'xyz/openbmc_project/State/Cable',
89    ],
90    install: should_generate_markdown,
91    install_dir: [inst_markdown_dir / sdbusplus_current_path],
92    build_by_default: should_generate_markdown,
93)
94
95generated_registry += custom_target(
96    'xyz/openbmc_project/State/Cable__registry'.underscorify(),
97    input: ['../../../../yaml/xyz/openbmc_project/State/Cable.events.yaml'],
98    output: ['Cable.json'],
99    depend_files: sdbusplusplus_depfiles,
100    command: [
101        sdbuspp_gen_meson_prog,
102        '--command',
103        'registry',
104        '--output',
105        meson.current_build_dir(),
106        '--tool',
107        sdbusplusplus_prog,
108        '--directory',
109        meson.current_source_dir() / '../../../../yaml',
110        'xyz/openbmc_project/State/Cable',
111    ],
112    install: should_generate_registry,
113    install_dir: [inst_registry_dir / sdbusplus_current_path],
114    build_by_default: should_generate_registry,
115)
116
117generated_markdown += custom_target(
118    'xyz/openbmc_project/State/Chassis__markdown'.underscorify(),
119    input: [
120        '../../../../yaml/xyz/openbmc_project/State/Chassis.errors.yaml',
121        '../../../../yaml/xyz/openbmc_project/State/Chassis.interface.yaml',
122    ],
123    output: ['Chassis.md'],
124    depend_files: sdbusplusplus_depfiles,
125    command: [
126        sdbuspp_gen_meson_prog,
127        '--command',
128        'markdown',
129        '--output',
130        meson.current_build_dir(),
131        '--tool',
132        sdbusplusplus_prog,
133        '--directory',
134        meson.current_source_dir() / '../../../../yaml',
135        'xyz/openbmc_project/State/Chassis',
136    ],
137    install: should_generate_markdown,
138    install_dir: [inst_markdown_dir / sdbusplus_current_path],
139    build_by_default: should_generate_markdown,
140)
141
142generated_markdown += custom_target(
143    'xyz/openbmc_project/State/Drive__markdown'.underscorify(),
144    input: ['../../../../yaml/xyz/openbmc_project/State/Drive.interface.yaml'],
145    output: ['Drive.md'],
146    depend_files: sdbusplusplus_depfiles,
147    command: [
148        sdbuspp_gen_meson_prog,
149        '--command',
150        'markdown',
151        '--output',
152        meson.current_build_dir(),
153        '--tool',
154        sdbusplusplus_prog,
155        '--directory',
156        meson.current_source_dir() / '../../../../yaml',
157        'xyz/openbmc_project/State/Drive',
158    ],
159    install: should_generate_markdown,
160    install_dir: [inst_markdown_dir / sdbusplus_current_path],
161    build_by_default: should_generate_markdown,
162)
163
164generated_markdown += custom_target(
165    'xyz/openbmc_project/State/Host__markdown'.underscorify(),
166    input: [
167        '../../../../yaml/xyz/openbmc_project/State/Host.errors.yaml',
168        '../../../../yaml/xyz/openbmc_project/State/Host.interface.yaml',
169    ],
170    output: ['Host.md'],
171    depend_files: sdbusplusplus_depfiles,
172    command: [
173        sdbuspp_gen_meson_prog,
174        '--command',
175        'markdown',
176        '--output',
177        meson.current_build_dir(),
178        '--tool',
179        sdbusplusplus_prog,
180        '--directory',
181        meson.current_source_dir() / '../../../../yaml',
182        'xyz/openbmc_project/State/Host',
183    ],
184    install: should_generate_markdown,
185    install_dir: [inst_markdown_dir / sdbusplus_current_path],
186    build_by_default: should_generate_markdown,
187)
188
189generated_markdown += custom_target(
190    'xyz/openbmc_project/State/LockOut__markdown'.underscorify(),
191    input: ['../../../../yaml/xyz/openbmc_project/State/LockOut.events.yaml'],
192    output: ['LockOut.md'],
193    depend_files: sdbusplusplus_depfiles,
194    command: [
195        sdbuspp_gen_meson_prog,
196        '--command',
197        'markdown',
198        '--output',
199        meson.current_build_dir(),
200        '--tool',
201        sdbusplusplus_prog,
202        '--directory',
203        meson.current_source_dir() / '../../../../yaml',
204        'xyz/openbmc_project/State/LockOut',
205    ],
206    install: should_generate_markdown,
207    install_dir: [inst_markdown_dir / sdbusplus_current_path],
208    build_by_default: should_generate_markdown,
209)
210
211generated_registry += custom_target(
212    'xyz/openbmc_project/State/LockOut__registry'.underscorify(),
213    input: ['../../../../yaml/xyz/openbmc_project/State/LockOut.events.yaml'],
214    output: ['LockOut.json'],
215    depend_files: sdbusplusplus_depfiles,
216    command: [
217        sdbuspp_gen_meson_prog,
218        '--command',
219        'registry',
220        '--output',
221        meson.current_build_dir(),
222        '--tool',
223        sdbusplusplus_prog,
224        '--directory',
225        meson.current_source_dir() / '../../../../yaml',
226        'xyz/openbmc_project/State/LockOut',
227    ],
228    install: should_generate_registry,
229    install_dir: [inst_registry_dir / sdbusplus_current_path],
230    build_by_default: should_generate_registry,
231)
232
233generated_markdown += custom_target(
234    'xyz/openbmc_project/State/Power__markdown'.underscorify(),
235    input: ['../../../../yaml/xyz/openbmc_project/State/Power.events.yaml'],
236    output: ['Power.md'],
237    depend_files: sdbusplusplus_depfiles,
238    command: [
239        sdbuspp_gen_meson_prog,
240        '--command',
241        'markdown',
242        '--output',
243        meson.current_build_dir(),
244        '--tool',
245        sdbusplusplus_prog,
246        '--directory',
247        meson.current_source_dir() / '../../../../yaml',
248        'xyz/openbmc_project/State/Power',
249    ],
250    install: should_generate_markdown,
251    install_dir: [inst_markdown_dir / sdbusplus_current_path],
252    build_by_default: should_generate_markdown,
253)
254
255generated_registry += custom_target(
256    'xyz/openbmc_project/State/Power__registry'.underscorify(),
257    input: ['../../../../yaml/xyz/openbmc_project/State/Power.events.yaml'],
258    output: ['Power.json'],
259    depend_files: sdbusplusplus_depfiles,
260    command: [
261        sdbuspp_gen_meson_prog,
262        '--command',
263        'registry',
264        '--output',
265        meson.current_build_dir(),
266        '--tool',
267        sdbusplusplus_prog,
268        '--directory',
269        meson.current_source_dir() / '../../../../yaml',
270        'xyz/openbmc_project/State/Power',
271    ],
272    install: should_generate_registry,
273    install_dir: [inst_registry_dir / sdbusplus_current_path],
274    build_by_default: should_generate_registry,
275)
276
277generated_markdown += custom_target(
278    'xyz/openbmc_project/State/PowerOnHours__markdown'.underscorify(),
279    input: [
280        '../../../../yaml/xyz/openbmc_project/State/PowerOnHours.interface.yaml',
281    ],
282    output: ['PowerOnHours.md'],
283    depend_files: sdbusplusplus_depfiles,
284    command: [
285        sdbuspp_gen_meson_prog,
286        '--command',
287        'markdown',
288        '--output',
289        meson.current_build_dir(),
290        '--tool',
291        sdbusplusplus_prog,
292        '--directory',
293        meson.current_source_dir() / '../../../../yaml',
294        'xyz/openbmc_project/State/PowerOnHours',
295    ],
296    install: should_generate_markdown,
297    install_dir: [inst_markdown_dir / sdbusplus_current_path],
298    build_by_default: should_generate_markdown,
299)
300
301generated_markdown += custom_target(
302    'xyz/openbmc_project/State/SMC__markdown'.underscorify(),
303    input: ['../../../../yaml/xyz/openbmc_project/State/SMC.events.yaml'],
304    output: ['SMC.md'],
305    depend_files: sdbusplusplus_depfiles,
306    command: [
307        sdbuspp_gen_meson_prog,
308        '--command',
309        'markdown',
310        '--output',
311        meson.current_build_dir(),
312        '--tool',
313        sdbusplusplus_prog,
314        '--directory',
315        meson.current_source_dir() / '../../../../yaml',
316        'xyz/openbmc_project/State/SMC',
317    ],
318    install: should_generate_markdown,
319    install_dir: [inst_markdown_dir / sdbusplus_current_path],
320    build_by_default: should_generate_markdown,
321)
322
323generated_registry += custom_target(
324    'xyz/openbmc_project/State/SMC__registry'.underscorify(),
325    input: ['../../../../yaml/xyz/openbmc_project/State/SMC.events.yaml'],
326    output: ['SMC.json'],
327    depend_files: sdbusplusplus_depfiles,
328    command: [
329        sdbuspp_gen_meson_prog,
330        '--command',
331        'registry',
332        '--output',
333        meson.current_build_dir(),
334        '--tool',
335        sdbusplusplus_prog,
336        '--directory',
337        meson.current_source_dir() / '../../../../yaml',
338        'xyz/openbmc_project/State/SMC',
339    ],
340    install: should_generate_registry,
341    install_dir: [inst_registry_dir / sdbusplus_current_path],
342    build_by_default: should_generate_registry,
343)
344
345generated_markdown += custom_target(
346    'xyz/openbmc_project/State/ScheduledHostTransition__markdown'.underscorify(),
347    input: [
348        '../../../../yaml/xyz/openbmc_project/State/ScheduledHostTransition.interface.yaml',
349    ],
350    output: ['ScheduledHostTransition.md'],
351    depend_files: sdbusplusplus_depfiles,
352    command: [
353        sdbuspp_gen_meson_prog,
354        '--command',
355        'markdown',
356        '--output',
357        meson.current_build_dir(),
358        '--tool',
359        sdbusplusplus_prog,
360        '--directory',
361        meson.current_source_dir() / '../../../../yaml',
362        'xyz/openbmc_project/State/ScheduledHostTransition',
363    ],
364    install: should_generate_markdown,
365    install_dir: [inst_markdown_dir / sdbusplus_current_path],
366    build_by_default: should_generate_markdown,
367)
368
369generated_markdown += custom_target(
370    'xyz/openbmc_project/State/SystemdTarget__markdown'.underscorify(),
371    input: [
372        '../../../../yaml/xyz/openbmc_project/State/SystemdTarget.errors.yaml',
373    ],
374    output: ['SystemdTarget.md'],
375    depend_files: sdbusplusplus_depfiles,
376    command: [
377        sdbuspp_gen_meson_prog,
378        '--command',
379        'markdown',
380        '--output',
381        meson.current_build_dir(),
382        '--tool',
383        sdbusplusplus_prog,
384        '--directory',
385        meson.current_source_dir() / '../../../../yaml',
386        'xyz/openbmc_project/State/SystemdTarget',
387    ],
388    install: should_generate_markdown,
389    install_dir: [inst_markdown_dir / sdbusplus_current_path],
390    build_by_default: should_generate_markdown,
391)
392
393generated_markdown += custom_target(
394    'xyz/openbmc_project/State/Thermal__markdown'.underscorify(),
395    input: ['../../../../yaml/xyz/openbmc_project/State/Thermal.events.yaml'],
396    output: ['Thermal.md'],
397    depend_files: sdbusplusplus_depfiles,
398    command: [
399        sdbuspp_gen_meson_prog,
400        '--command',
401        'markdown',
402        '--output',
403        meson.current_build_dir(),
404        '--tool',
405        sdbusplusplus_prog,
406        '--directory',
407        meson.current_source_dir() / '../../../../yaml',
408        'xyz/openbmc_project/State/Thermal',
409    ],
410    install: should_generate_markdown,
411    install_dir: [inst_markdown_dir / sdbusplus_current_path],
412    build_by_default: should_generate_markdown,
413)
414
415generated_registry += custom_target(
416    'xyz/openbmc_project/State/Thermal__registry'.underscorify(),
417    input: ['../../../../yaml/xyz/openbmc_project/State/Thermal.events.yaml'],
418    output: ['Thermal.json'],
419    depend_files: sdbusplusplus_depfiles,
420    command: [
421        sdbuspp_gen_meson_prog,
422        '--command',
423        'registry',
424        '--output',
425        meson.current_build_dir(),
426        '--tool',
427        sdbusplusplus_prog,
428        '--directory',
429        meson.current_source_dir() / '../../../../yaml',
430        'xyz/openbmc_project/State/Thermal',
431    ],
432    install: should_generate_registry,
433    install_dir: [inst_registry_dir / sdbusplus_current_path],
434    build_by_default: should_generate_registry,
435)
436
437generated_markdown += custom_target(
438    'xyz/openbmc_project/State/Watchdog__markdown'.underscorify(),
439    input: [
440        '../../../../yaml/xyz/openbmc_project/State/Watchdog.interface.yaml',
441    ],
442    output: ['Watchdog.md'],
443    depend_files: sdbusplusplus_depfiles,
444    command: [
445        sdbuspp_gen_meson_prog,
446        '--command',
447        'markdown',
448        '--output',
449        meson.current_build_dir(),
450        '--tool',
451        sdbusplusplus_prog,
452        '--directory',
453        meson.current_source_dir() / '../../../../yaml',
454        'xyz/openbmc_project/State/Watchdog',
455    ],
456    install: should_generate_markdown,
457    install_dir: [inst_markdown_dir / sdbusplus_current_path],
458    build_by_default: should_generate_markdown,
459)
460
461