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