xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/meson.build (revision 34fde7c0b23a322dd723d4f4998b48f43f349feb)
1# Generated file; do not modify.
2subdir('BMC')
3subdir('BMCRedundancy')
4subdir('Boot')
5subdir('Cable')
6subdir('Chassis')
7subdir('Decorator')
8subdir('Drive')
9subdir('Fan')
10subdir('Filter')
11subdir('Host')
12subdir('Leak')
13subdir('LockOut')
14subdir('OperatingSystem')
15subdir('Power')
16subdir('PowerOnHours')
17subdir('Pump')
18subdir('SMC')
19subdir('ScheduledHostTransition')
20subdir('Shutdown')
21subdir('SystemdTarget')
22subdir('Thermal')
23subdir('Valve')
24subdir('Watchdog')
25
26sdbusplus_current_path = 'xyz/openbmc_project/State'
27
28generated_markdown += custom_target(
29    'xyz/openbmc_project/State/BMC__markdown'.underscorify(),
30    input: [
31        '../../../../yaml/xyz/openbmc_project/State/BMC.errors.yaml',
32        '../../../../yaml/xyz/openbmc_project/State/BMC.events.yaml',
33        '../../../../yaml/xyz/openbmc_project/State/BMC.interface.yaml',
34    ],
35    output: ['BMC.md'],
36    depend_files: sdbusplusplus_depfiles,
37    command: [
38        sdbuspp_gen_meson_prog,
39        '--command',
40        'markdown',
41        '--output',
42        meson.current_build_dir(),
43        '--tool',
44        sdbusplusplus_prog,
45        '--directory',
46        meson.current_source_dir() / '../../../../yaml',
47        'xyz/openbmc_project/State/BMC',
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_registry += custom_target(
55    'xyz/openbmc_project/State/BMC__registry'.underscorify(),
56    input: ['../../../../yaml/xyz/openbmc_project/State/BMC.events.yaml'],
57    output: ['BMC.json'],
58    depend_files: sdbusplusplus_depfiles,
59    command: [
60        sdbuspp_gen_meson_prog,
61        '--command',
62        'registry',
63        '--output',
64        meson.current_build_dir(),
65        '--tool',
66        sdbusplusplus_prog,
67        '--directory',
68        meson.current_source_dir() / '../../../../yaml',
69        'xyz/openbmc_project/State/BMC',
70    ],
71    install: should_generate_registry,
72    install_dir: [inst_registry_dir / sdbusplus_current_path],
73    build_by_default: should_generate_registry,
74)
75
76generated_markdown += custom_target(
77    'xyz/openbmc_project/State/BMCRedundancy__markdown'.underscorify(),
78    input: [
79        '../../../../yaml/xyz/openbmc_project/State/BMCRedundancy.interface.yaml',
80    ],
81    output: ['BMCRedundancy.md'],
82    depend_files: sdbusplusplus_depfiles,
83    command: [
84        sdbuspp_gen_meson_prog,
85        '--command',
86        'markdown',
87        '--output',
88        meson.current_build_dir(),
89        '--tool',
90        sdbusplusplus_prog,
91        '--directory',
92        meson.current_source_dir() / '../../../../yaml',
93        'xyz/openbmc_project/State/BMCRedundancy',
94    ],
95    install: should_generate_markdown,
96    install_dir: [inst_markdown_dir / sdbusplus_current_path],
97    build_by_default: should_generate_markdown,
98)
99
100generated_markdown += custom_target(
101    'xyz/openbmc_project/State/Cable__markdown'.underscorify(),
102    input: ['../../../../yaml/xyz/openbmc_project/State/Cable.events.yaml'],
103    output: ['Cable.md'],
104    depend_files: sdbusplusplus_depfiles,
105    command: [
106        sdbuspp_gen_meson_prog,
107        '--command',
108        'markdown',
109        '--output',
110        meson.current_build_dir(),
111        '--tool',
112        sdbusplusplus_prog,
113        '--directory',
114        meson.current_source_dir() / '../../../../yaml',
115        'xyz/openbmc_project/State/Cable',
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_registry += custom_target(
123    'xyz/openbmc_project/State/Cable__registry'.underscorify(),
124    input: ['../../../../yaml/xyz/openbmc_project/State/Cable.events.yaml'],
125    output: ['Cable.json'],
126    depend_files: sdbusplusplus_depfiles,
127    command: [
128        sdbuspp_gen_meson_prog,
129        '--command',
130        'registry',
131        '--output',
132        meson.current_build_dir(),
133        '--tool',
134        sdbusplusplus_prog,
135        '--directory',
136        meson.current_source_dir() / '../../../../yaml',
137        'xyz/openbmc_project/State/Cable',
138    ],
139    install: should_generate_registry,
140    install_dir: [inst_registry_dir / sdbusplus_current_path],
141    build_by_default: should_generate_registry,
142)
143
144generated_markdown += custom_target(
145    'xyz/openbmc_project/State/Chassis__markdown'.underscorify(),
146    input: [
147        '../../../../yaml/xyz/openbmc_project/State/Chassis.errors.yaml',
148        '../../../../yaml/xyz/openbmc_project/State/Chassis.interface.yaml',
149    ],
150    output: ['Chassis.md'],
151    depend_files: sdbusplusplus_depfiles,
152    command: [
153        sdbuspp_gen_meson_prog,
154        '--command',
155        'markdown',
156        '--output',
157        meson.current_build_dir(),
158        '--tool',
159        sdbusplusplus_prog,
160        '--directory',
161        meson.current_source_dir() / '../../../../yaml',
162        'xyz/openbmc_project/State/Chassis',
163    ],
164    install: should_generate_markdown,
165    install_dir: [inst_markdown_dir / sdbusplus_current_path],
166    build_by_default: should_generate_markdown,
167)
168
169generated_markdown += custom_target(
170    'xyz/openbmc_project/State/Drive__markdown'.underscorify(),
171    input: ['../../../../yaml/xyz/openbmc_project/State/Drive.interface.yaml'],
172    output: ['Drive.md'],
173    depend_files: sdbusplusplus_depfiles,
174    command: [
175        sdbuspp_gen_meson_prog,
176        '--command',
177        'markdown',
178        '--output',
179        meson.current_build_dir(),
180        '--tool',
181        sdbusplusplus_prog,
182        '--directory',
183        meson.current_source_dir() / '../../../../yaml',
184        'xyz/openbmc_project/State/Drive',
185    ],
186    install: should_generate_markdown,
187    install_dir: [inst_markdown_dir / sdbusplus_current_path],
188    build_by_default: should_generate_markdown,
189)
190
191generated_markdown += custom_target(
192    'xyz/openbmc_project/State/Fan__markdown'.underscorify(),
193    input: ['../../../../yaml/xyz/openbmc_project/State/Fan.events.yaml'],
194    output: ['Fan.md'],
195    depend_files: sdbusplusplus_depfiles,
196    command: [
197        sdbuspp_gen_meson_prog,
198        '--command',
199        'markdown',
200        '--output',
201        meson.current_build_dir(),
202        '--tool',
203        sdbusplusplus_prog,
204        '--directory',
205        meson.current_source_dir() / '../../../../yaml',
206        'xyz/openbmc_project/State/Fan',
207    ],
208    install: should_generate_markdown,
209    install_dir: [inst_markdown_dir / sdbusplus_current_path],
210    build_by_default: should_generate_markdown,
211)
212
213generated_registry += custom_target(
214    'xyz/openbmc_project/State/Fan__registry'.underscorify(),
215    input: ['../../../../yaml/xyz/openbmc_project/State/Fan.events.yaml'],
216    output: ['Fan.json'],
217    depend_files: sdbusplusplus_depfiles,
218    command: [
219        sdbuspp_gen_meson_prog,
220        '--command',
221        'registry',
222        '--output',
223        meson.current_build_dir(),
224        '--tool',
225        sdbusplusplus_prog,
226        '--directory',
227        meson.current_source_dir() / '../../../../yaml',
228        'xyz/openbmc_project/State/Fan',
229    ],
230    install: should_generate_registry,
231    install_dir: [inst_registry_dir / sdbusplus_current_path],
232    build_by_default: should_generate_registry,
233)
234
235generated_markdown += custom_target(
236    'xyz/openbmc_project/State/Filter__markdown'.underscorify(),
237    input: ['../../../../yaml/xyz/openbmc_project/State/Filter.events.yaml'],
238    output: ['Filter.md'],
239    depend_files: sdbusplusplus_depfiles,
240    command: [
241        sdbuspp_gen_meson_prog,
242        '--command',
243        'markdown',
244        '--output',
245        meson.current_build_dir(),
246        '--tool',
247        sdbusplusplus_prog,
248        '--directory',
249        meson.current_source_dir() / '../../../../yaml',
250        'xyz/openbmc_project/State/Filter',
251    ],
252    install: should_generate_markdown,
253    install_dir: [inst_markdown_dir / sdbusplus_current_path],
254    build_by_default: should_generate_markdown,
255)
256
257generated_registry += custom_target(
258    'xyz/openbmc_project/State/Filter__registry'.underscorify(),
259    input: ['../../../../yaml/xyz/openbmc_project/State/Filter.events.yaml'],
260    output: ['Filter.json'],
261    depend_files: sdbusplusplus_depfiles,
262    command: [
263        sdbuspp_gen_meson_prog,
264        '--command',
265        'registry',
266        '--output',
267        meson.current_build_dir(),
268        '--tool',
269        sdbusplusplus_prog,
270        '--directory',
271        meson.current_source_dir() / '../../../../yaml',
272        'xyz/openbmc_project/State/Filter',
273    ],
274    install: should_generate_registry,
275    install_dir: [inst_registry_dir / sdbusplus_current_path],
276    build_by_default: should_generate_registry,
277)
278
279generated_markdown += custom_target(
280    'xyz/openbmc_project/State/Host__markdown'.underscorify(),
281    input: [
282        '../../../../yaml/xyz/openbmc_project/State/Host.errors.yaml',
283        '../../../../yaml/xyz/openbmc_project/State/Host.interface.yaml',
284    ],
285    output: ['Host.md'],
286    depend_files: sdbusplusplus_depfiles,
287    command: [
288        sdbuspp_gen_meson_prog,
289        '--command',
290        'markdown',
291        '--output',
292        meson.current_build_dir(),
293        '--tool',
294        sdbusplusplus_prog,
295        '--directory',
296        meson.current_source_dir() / '../../../../yaml',
297        'xyz/openbmc_project/State/Host',
298    ],
299    install: should_generate_markdown,
300    install_dir: [inst_markdown_dir / sdbusplus_current_path],
301    build_by_default: should_generate_markdown,
302)
303
304generated_markdown += custom_target(
305    'xyz/openbmc_project/State/LockOut__markdown'.underscorify(),
306    input: ['../../../../yaml/xyz/openbmc_project/State/LockOut.events.yaml'],
307    output: ['LockOut.md'],
308    depend_files: sdbusplusplus_depfiles,
309    command: [
310        sdbuspp_gen_meson_prog,
311        '--command',
312        'markdown',
313        '--output',
314        meson.current_build_dir(),
315        '--tool',
316        sdbusplusplus_prog,
317        '--directory',
318        meson.current_source_dir() / '../../../../yaml',
319        'xyz/openbmc_project/State/LockOut',
320    ],
321    install: should_generate_markdown,
322    install_dir: [inst_markdown_dir / sdbusplus_current_path],
323    build_by_default: should_generate_markdown,
324)
325
326generated_registry += custom_target(
327    'xyz/openbmc_project/State/LockOut__registry'.underscorify(),
328    input: ['../../../../yaml/xyz/openbmc_project/State/LockOut.events.yaml'],
329    output: ['LockOut.json'],
330    depend_files: sdbusplusplus_depfiles,
331    command: [
332        sdbuspp_gen_meson_prog,
333        '--command',
334        'registry',
335        '--output',
336        meson.current_build_dir(),
337        '--tool',
338        sdbusplusplus_prog,
339        '--directory',
340        meson.current_source_dir() / '../../../../yaml',
341        'xyz/openbmc_project/State/LockOut',
342    ],
343    install: should_generate_registry,
344    install_dir: [inst_registry_dir / sdbusplus_current_path],
345    build_by_default: should_generate_registry,
346)
347
348generated_markdown += custom_target(
349    'xyz/openbmc_project/State/Power__markdown'.underscorify(),
350    input: ['../../../../yaml/xyz/openbmc_project/State/Power.events.yaml'],
351    output: ['Power.md'],
352    depend_files: sdbusplusplus_depfiles,
353    command: [
354        sdbuspp_gen_meson_prog,
355        '--command',
356        'markdown',
357        '--output',
358        meson.current_build_dir(),
359        '--tool',
360        sdbusplusplus_prog,
361        '--directory',
362        meson.current_source_dir() / '../../../../yaml',
363        'xyz/openbmc_project/State/Power',
364    ],
365    install: should_generate_markdown,
366    install_dir: [inst_markdown_dir / sdbusplus_current_path],
367    build_by_default: should_generate_markdown,
368)
369
370generated_registry += custom_target(
371    'xyz/openbmc_project/State/Power__registry'.underscorify(),
372    input: ['../../../../yaml/xyz/openbmc_project/State/Power.events.yaml'],
373    output: ['Power.json'],
374    depend_files: sdbusplusplus_depfiles,
375    command: [
376        sdbuspp_gen_meson_prog,
377        '--command',
378        'registry',
379        '--output',
380        meson.current_build_dir(),
381        '--tool',
382        sdbusplusplus_prog,
383        '--directory',
384        meson.current_source_dir() / '../../../../yaml',
385        'xyz/openbmc_project/State/Power',
386    ],
387    install: should_generate_registry,
388    install_dir: [inst_registry_dir / sdbusplus_current_path],
389    build_by_default: should_generate_registry,
390)
391
392generated_markdown += custom_target(
393    'xyz/openbmc_project/State/PowerOnHours__markdown'.underscorify(),
394    input: [
395        '../../../../yaml/xyz/openbmc_project/State/PowerOnHours.interface.yaml',
396    ],
397    output: ['PowerOnHours.md'],
398    depend_files: sdbusplusplus_depfiles,
399    command: [
400        sdbuspp_gen_meson_prog,
401        '--command',
402        'markdown',
403        '--output',
404        meson.current_build_dir(),
405        '--tool',
406        sdbusplusplus_prog,
407        '--directory',
408        meson.current_source_dir() / '../../../../yaml',
409        'xyz/openbmc_project/State/PowerOnHours',
410    ],
411    install: should_generate_markdown,
412    install_dir: [inst_markdown_dir / sdbusplus_current_path],
413    build_by_default: should_generate_markdown,
414)
415
416generated_markdown += custom_target(
417    'xyz/openbmc_project/State/Pump__markdown'.underscorify(),
418    input: ['../../../../yaml/xyz/openbmc_project/State/Pump.events.yaml'],
419    output: ['Pump.md'],
420    depend_files: sdbusplusplus_depfiles,
421    command: [
422        sdbuspp_gen_meson_prog,
423        '--command',
424        'markdown',
425        '--output',
426        meson.current_build_dir(),
427        '--tool',
428        sdbusplusplus_prog,
429        '--directory',
430        meson.current_source_dir() / '../../../../yaml',
431        'xyz/openbmc_project/State/Pump',
432    ],
433    install: should_generate_markdown,
434    install_dir: [inst_markdown_dir / sdbusplus_current_path],
435    build_by_default: should_generate_markdown,
436)
437
438generated_registry += custom_target(
439    'xyz/openbmc_project/State/Pump__registry'.underscorify(),
440    input: ['../../../../yaml/xyz/openbmc_project/State/Pump.events.yaml'],
441    output: ['Pump.json'],
442    depend_files: sdbusplusplus_depfiles,
443    command: [
444        sdbuspp_gen_meson_prog,
445        '--command',
446        'registry',
447        '--output',
448        meson.current_build_dir(),
449        '--tool',
450        sdbusplusplus_prog,
451        '--directory',
452        meson.current_source_dir() / '../../../../yaml',
453        'xyz/openbmc_project/State/Pump',
454    ],
455    install: should_generate_registry,
456    install_dir: [inst_registry_dir / sdbusplus_current_path],
457    build_by_default: should_generate_registry,
458)
459
460generated_markdown += custom_target(
461    'xyz/openbmc_project/State/SMC__markdown'.underscorify(),
462    input: ['../../../../yaml/xyz/openbmc_project/State/SMC.events.yaml'],
463    output: ['SMC.md'],
464    depend_files: sdbusplusplus_depfiles,
465    command: [
466        sdbuspp_gen_meson_prog,
467        '--command',
468        'markdown',
469        '--output',
470        meson.current_build_dir(),
471        '--tool',
472        sdbusplusplus_prog,
473        '--directory',
474        meson.current_source_dir() / '../../../../yaml',
475        'xyz/openbmc_project/State/SMC',
476    ],
477    install: should_generate_markdown,
478    install_dir: [inst_markdown_dir / sdbusplus_current_path],
479    build_by_default: should_generate_markdown,
480)
481
482generated_registry += custom_target(
483    'xyz/openbmc_project/State/SMC__registry'.underscorify(),
484    input: ['../../../../yaml/xyz/openbmc_project/State/SMC.events.yaml'],
485    output: ['SMC.json'],
486    depend_files: sdbusplusplus_depfiles,
487    command: [
488        sdbuspp_gen_meson_prog,
489        '--command',
490        'registry',
491        '--output',
492        meson.current_build_dir(),
493        '--tool',
494        sdbusplusplus_prog,
495        '--directory',
496        meson.current_source_dir() / '../../../../yaml',
497        'xyz/openbmc_project/State/SMC',
498    ],
499    install: should_generate_registry,
500    install_dir: [inst_registry_dir / sdbusplus_current_path],
501    build_by_default: should_generate_registry,
502)
503
504generated_markdown += custom_target(
505    'xyz/openbmc_project/State/ScheduledHostTransition__markdown'.underscorify(),
506    input: [
507        '../../../../yaml/xyz/openbmc_project/State/ScheduledHostTransition.interface.yaml',
508    ],
509    output: ['ScheduledHostTransition.md'],
510    depend_files: sdbusplusplus_depfiles,
511    command: [
512        sdbuspp_gen_meson_prog,
513        '--command',
514        'markdown',
515        '--output',
516        meson.current_build_dir(),
517        '--tool',
518        sdbusplusplus_prog,
519        '--directory',
520        meson.current_source_dir() / '../../../../yaml',
521        'xyz/openbmc_project/State/ScheduledHostTransition',
522    ],
523    install: should_generate_markdown,
524    install_dir: [inst_markdown_dir / sdbusplus_current_path],
525    build_by_default: should_generate_markdown,
526)
527
528generated_markdown += custom_target(
529    'xyz/openbmc_project/State/SystemdTarget__markdown'.underscorify(),
530    input: [
531        '../../../../yaml/xyz/openbmc_project/State/SystemdTarget.errors.yaml',
532    ],
533    output: ['SystemdTarget.md'],
534    depend_files: sdbusplusplus_depfiles,
535    command: [
536        sdbuspp_gen_meson_prog,
537        '--command',
538        'markdown',
539        '--output',
540        meson.current_build_dir(),
541        '--tool',
542        sdbusplusplus_prog,
543        '--directory',
544        meson.current_source_dir() / '../../../../yaml',
545        'xyz/openbmc_project/State/SystemdTarget',
546    ],
547    install: should_generate_markdown,
548    install_dir: [inst_markdown_dir / sdbusplus_current_path],
549    build_by_default: should_generate_markdown,
550)
551
552generated_markdown += custom_target(
553    'xyz/openbmc_project/State/Thermal__markdown'.underscorify(),
554    input: ['../../../../yaml/xyz/openbmc_project/State/Thermal.events.yaml'],
555    output: ['Thermal.md'],
556    depend_files: sdbusplusplus_depfiles,
557    command: [
558        sdbuspp_gen_meson_prog,
559        '--command',
560        'markdown',
561        '--output',
562        meson.current_build_dir(),
563        '--tool',
564        sdbusplusplus_prog,
565        '--directory',
566        meson.current_source_dir() / '../../../../yaml',
567        'xyz/openbmc_project/State/Thermal',
568    ],
569    install: should_generate_markdown,
570    install_dir: [inst_markdown_dir / sdbusplus_current_path],
571    build_by_default: should_generate_markdown,
572)
573
574generated_registry += custom_target(
575    'xyz/openbmc_project/State/Thermal__registry'.underscorify(),
576    input: ['../../../../yaml/xyz/openbmc_project/State/Thermal.events.yaml'],
577    output: ['Thermal.json'],
578    depend_files: sdbusplusplus_depfiles,
579    command: [
580        sdbuspp_gen_meson_prog,
581        '--command',
582        'registry',
583        '--output',
584        meson.current_build_dir(),
585        '--tool',
586        sdbusplusplus_prog,
587        '--directory',
588        meson.current_source_dir() / '../../../../yaml',
589        'xyz/openbmc_project/State/Thermal',
590    ],
591    install: should_generate_registry,
592    install_dir: [inst_registry_dir / sdbusplus_current_path],
593    build_by_default: should_generate_registry,
594)
595
596generated_markdown += custom_target(
597    'xyz/openbmc_project/State/Valve__markdown'.underscorify(),
598    input: ['../../../../yaml/xyz/openbmc_project/State/Valve.events.yaml'],
599    output: ['Valve.md'],
600    depend_files: sdbusplusplus_depfiles,
601    command: [
602        sdbuspp_gen_meson_prog,
603        '--command',
604        'markdown',
605        '--output',
606        meson.current_build_dir(),
607        '--tool',
608        sdbusplusplus_prog,
609        '--directory',
610        meson.current_source_dir() / '../../../../yaml',
611        'xyz/openbmc_project/State/Valve',
612    ],
613    install: should_generate_markdown,
614    install_dir: [inst_markdown_dir / sdbusplus_current_path],
615    build_by_default: should_generate_markdown,
616)
617
618generated_registry += custom_target(
619    'xyz/openbmc_project/State/Valve__registry'.underscorify(),
620    input: ['../../../../yaml/xyz/openbmc_project/State/Valve.events.yaml'],
621    output: ['Valve.json'],
622    depend_files: sdbusplusplus_depfiles,
623    command: [
624        sdbuspp_gen_meson_prog,
625        '--command',
626        'registry',
627        '--output',
628        meson.current_build_dir(),
629        '--tool',
630        sdbusplusplus_prog,
631        '--directory',
632        meson.current_source_dir() / '../../../../yaml',
633        'xyz/openbmc_project/State/Valve',
634    ],
635    install: should_generate_registry,
636    install_dir: [inst_registry_dir / sdbusplus_current_path],
637    build_by_default: should_generate_registry,
638)
639
640generated_markdown += custom_target(
641    'xyz/openbmc_project/State/Watchdog__markdown'.underscorify(),
642    input: [
643        '../../../../yaml/xyz/openbmc_project/State/Watchdog.interface.yaml',
644    ],
645    output: ['Watchdog.md'],
646    depend_files: sdbusplusplus_depfiles,
647    command: [
648        sdbuspp_gen_meson_prog,
649        '--command',
650        'markdown',
651        '--output',
652        meson.current_build_dir(),
653        '--tool',
654        sdbusplusplus_prog,
655        '--directory',
656        meson.current_source_dir() / '../../../../yaml',
657        'xyz/openbmc_project/State/Watchdog',
658    ],
659    install: should_generate_markdown,
660    install_dir: [inst_markdown_dir / sdbusplus_current_path],
661    build_by_default: should_generate_markdown,
662)
663
664