xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/meson.build (revision 0e14bf7dc6cb0dee8b2de6b29459e88b012e1829)
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('Valve')
21subdir('Watchdog')
22
23sdbusplus_current_path = 'xyz/openbmc_project/State'
24
25generated_markdown += custom_target(
26    'xyz/openbmc_project/State/BMC__markdown'.underscorify(),
27    input: [
28        '../../../../yaml/xyz/openbmc_project/State/BMC.errors.yaml',
29        '../../../../yaml/xyz/openbmc_project/State/BMC.events.yaml',
30        '../../../../yaml/xyz/openbmc_project/State/BMC.interface.yaml',
31    ],
32    output: ['BMC.md'],
33    depend_files: sdbusplusplus_depfiles,
34    command: [
35        sdbuspp_gen_meson_prog,
36        '--command',
37        'markdown',
38        '--output',
39        meson.current_build_dir(),
40        '--tool',
41        sdbusplusplus_prog,
42        '--directory',
43        meson.current_source_dir() / '../../../../yaml',
44        'xyz/openbmc_project/State/BMC',
45    ],
46    install: should_generate_markdown,
47    install_dir: [inst_markdown_dir / sdbusplus_current_path],
48    build_by_default: should_generate_markdown,
49)
50
51generated_registry += custom_target(
52    'xyz/openbmc_project/State/BMC__registry'.underscorify(),
53    input: ['../../../../yaml/xyz/openbmc_project/State/BMC.events.yaml'],
54    output: ['BMC.json'],
55    depend_files: sdbusplusplus_depfiles,
56    command: [
57        sdbuspp_gen_meson_prog,
58        '--command',
59        'registry',
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/BMC',
67    ],
68    install: should_generate_registry,
69    install_dir: [inst_registry_dir / sdbusplus_current_path],
70    build_by_default: should_generate_registry,
71)
72
73generated_markdown += custom_target(
74    'xyz/openbmc_project/State/BMCRedundancy__markdown'.underscorify(),
75    input: [
76        '../../../../yaml/xyz/openbmc_project/State/BMCRedundancy.interface.yaml',
77    ],
78    output: ['BMCRedundancy.md'],
79    depend_files: sdbusplusplus_depfiles,
80    command: [
81        sdbuspp_gen_meson_prog,
82        '--command',
83        'markdown',
84        '--output',
85        meson.current_build_dir(),
86        '--tool',
87        sdbusplusplus_prog,
88        '--directory',
89        meson.current_source_dir() / '../../../../yaml',
90        'xyz/openbmc_project/State/BMCRedundancy',
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/State/Cable__markdown'.underscorify(),
99    input: ['../../../../yaml/xyz/openbmc_project/State/Cable.events.yaml'],
100    output: ['Cable.md'],
101    depend_files: sdbusplusplus_depfiles,
102    command: [
103        sdbuspp_gen_meson_prog,
104        '--command',
105        'markdown',
106        '--output',
107        meson.current_build_dir(),
108        '--tool',
109        sdbusplusplus_prog,
110        '--directory',
111        meson.current_source_dir() / '../../../../yaml',
112        'xyz/openbmc_project/State/Cable',
113    ],
114    install: should_generate_markdown,
115    install_dir: [inst_markdown_dir / sdbusplus_current_path],
116    build_by_default: should_generate_markdown,
117)
118
119generated_registry += custom_target(
120    'xyz/openbmc_project/State/Cable__registry'.underscorify(),
121    input: ['../../../../yaml/xyz/openbmc_project/State/Cable.events.yaml'],
122    output: ['Cable.json'],
123    depend_files: sdbusplusplus_depfiles,
124    command: [
125        sdbuspp_gen_meson_prog,
126        '--command',
127        'registry',
128        '--output',
129        meson.current_build_dir(),
130        '--tool',
131        sdbusplusplus_prog,
132        '--directory',
133        meson.current_source_dir() / '../../../../yaml',
134        'xyz/openbmc_project/State/Cable',
135    ],
136    install: should_generate_registry,
137    install_dir: [inst_registry_dir / sdbusplus_current_path],
138    build_by_default: should_generate_registry,
139)
140
141generated_markdown += custom_target(
142    'xyz/openbmc_project/State/Chassis__markdown'.underscorify(),
143    input: [
144        '../../../../yaml/xyz/openbmc_project/State/Chassis.errors.yaml',
145        '../../../../yaml/xyz/openbmc_project/State/Chassis.interface.yaml',
146    ],
147    output: ['Chassis.md'],
148    depend_files: sdbusplusplus_depfiles,
149    command: [
150        sdbuspp_gen_meson_prog,
151        '--command',
152        'markdown',
153        '--output',
154        meson.current_build_dir(),
155        '--tool',
156        sdbusplusplus_prog,
157        '--directory',
158        meson.current_source_dir() / '../../../../yaml',
159        'xyz/openbmc_project/State/Chassis',
160    ],
161    install: should_generate_markdown,
162    install_dir: [inst_markdown_dir / sdbusplus_current_path],
163    build_by_default: should_generate_markdown,
164)
165
166generated_markdown += custom_target(
167    'xyz/openbmc_project/State/Drive__markdown'.underscorify(),
168    input: ['../../../../yaml/xyz/openbmc_project/State/Drive.interface.yaml'],
169    output: ['Drive.md'],
170    depend_files: sdbusplusplus_depfiles,
171    command: [
172        sdbuspp_gen_meson_prog,
173        '--command',
174        'markdown',
175        '--output',
176        meson.current_build_dir(),
177        '--tool',
178        sdbusplusplus_prog,
179        '--directory',
180        meson.current_source_dir() / '../../../../yaml',
181        'xyz/openbmc_project/State/Drive',
182    ],
183    install: should_generate_markdown,
184    install_dir: [inst_markdown_dir / sdbusplus_current_path],
185    build_by_default: should_generate_markdown,
186)
187
188generated_markdown += custom_target(
189    'xyz/openbmc_project/State/Host__markdown'.underscorify(),
190    input: [
191        '../../../../yaml/xyz/openbmc_project/State/Host.errors.yaml',
192        '../../../../yaml/xyz/openbmc_project/State/Host.interface.yaml',
193    ],
194    output: ['Host.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/Host',
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_markdown += custom_target(
214    'xyz/openbmc_project/State/LockOut__markdown'.underscorify(),
215    input: ['../../../../yaml/xyz/openbmc_project/State/LockOut.events.yaml'],
216    output: ['LockOut.md'],
217    depend_files: sdbusplusplus_depfiles,
218    command: [
219        sdbuspp_gen_meson_prog,
220        '--command',
221        'markdown',
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/LockOut',
229    ],
230    install: should_generate_markdown,
231    install_dir: [inst_markdown_dir / sdbusplus_current_path],
232    build_by_default: should_generate_markdown,
233)
234
235generated_registry += custom_target(
236    'xyz/openbmc_project/State/LockOut__registry'.underscorify(),
237    input: ['../../../../yaml/xyz/openbmc_project/State/LockOut.events.yaml'],
238    output: ['LockOut.json'],
239    depend_files: sdbusplusplus_depfiles,
240    command: [
241        sdbuspp_gen_meson_prog,
242        '--command',
243        'registry',
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/LockOut',
251    ],
252    install: should_generate_registry,
253    install_dir: [inst_registry_dir / sdbusplus_current_path],
254    build_by_default: should_generate_registry,
255)
256
257generated_markdown += custom_target(
258    'xyz/openbmc_project/State/Power__markdown'.underscorify(),
259    input: ['../../../../yaml/xyz/openbmc_project/State/Power.events.yaml'],
260    output: ['Power.md'],
261    depend_files: sdbusplusplus_depfiles,
262    command: [
263        sdbuspp_gen_meson_prog,
264        '--command',
265        'markdown',
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/Power',
273    ],
274    install: should_generate_markdown,
275    install_dir: [inst_markdown_dir / sdbusplus_current_path],
276    build_by_default: should_generate_markdown,
277)
278
279generated_registry += custom_target(
280    'xyz/openbmc_project/State/Power__registry'.underscorify(),
281    input: ['../../../../yaml/xyz/openbmc_project/State/Power.events.yaml'],
282    output: ['Power.json'],
283    depend_files: sdbusplusplus_depfiles,
284    command: [
285        sdbuspp_gen_meson_prog,
286        '--command',
287        'registry',
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/Power',
295    ],
296    install: should_generate_registry,
297    install_dir: [inst_registry_dir / sdbusplus_current_path],
298    build_by_default: should_generate_registry,
299)
300
301generated_markdown += custom_target(
302    'xyz/openbmc_project/State/PowerOnHours__markdown'.underscorify(),
303    input: [
304        '../../../../yaml/xyz/openbmc_project/State/PowerOnHours.interface.yaml',
305    ],
306    output: ['PowerOnHours.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/PowerOnHours',
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_markdown += custom_target(
326    'xyz/openbmc_project/State/SMC__markdown'.underscorify(),
327    input: ['../../../../yaml/xyz/openbmc_project/State/SMC.events.yaml'],
328    output: ['SMC.md'],
329    depend_files: sdbusplusplus_depfiles,
330    command: [
331        sdbuspp_gen_meson_prog,
332        '--command',
333        'markdown',
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/SMC',
341    ],
342    install: should_generate_markdown,
343    install_dir: [inst_markdown_dir / sdbusplus_current_path],
344    build_by_default: should_generate_markdown,
345)
346
347generated_registry += custom_target(
348    'xyz/openbmc_project/State/SMC__registry'.underscorify(),
349    input: ['../../../../yaml/xyz/openbmc_project/State/SMC.events.yaml'],
350    output: ['SMC.json'],
351    depend_files: sdbusplusplus_depfiles,
352    command: [
353        sdbuspp_gen_meson_prog,
354        '--command',
355        'registry',
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/SMC',
363    ],
364    install: should_generate_registry,
365    install_dir: [inst_registry_dir / sdbusplus_current_path],
366    build_by_default: should_generate_registry,
367)
368
369generated_markdown += custom_target(
370    'xyz/openbmc_project/State/ScheduledHostTransition__markdown'.underscorify(),
371    input: [
372        '../../../../yaml/xyz/openbmc_project/State/ScheduledHostTransition.interface.yaml',
373    ],
374    output: ['ScheduledHostTransition.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/ScheduledHostTransition',
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/SystemdTarget__markdown'.underscorify(),
395    input: [
396        '../../../../yaml/xyz/openbmc_project/State/SystemdTarget.errors.yaml',
397    ],
398    output: ['SystemdTarget.md'],
399    depend_files: sdbusplusplus_depfiles,
400    command: [
401        sdbuspp_gen_meson_prog,
402        '--command',
403        'markdown',
404        '--output',
405        meson.current_build_dir(),
406        '--tool',
407        sdbusplusplus_prog,
408        '--directory',
409        meson.current_source_dir() / '../../../../yaml',
410        'xyz/openbmc_project/State/SystemdTarget',
411    ],
412    install: should_generate_markdown,
413    install_dir: [inst_markdown_dir / sdbusplus_current_path],
414    build_by_default: should_generate_markdown,
415)
416
417generated_markdown += custom_target(
418    'xyz/openbmc_project/State/Thermal__markdown'.underscorify(),
419    input: ['../../../../yaml/xyz/openbmc_project/State/Thermal.events.yaml'],
420    output: ['Thermal.md'],
421    depend_files: sdbusplusplus_depfiles,
422    command: [
423        sdbuspp_gen_meson_prog,
424        '--command',
425        'markdown',
426        '--output',
427        meson.current_build_dir(),
428        '--tool',
429        sdbusplusplus_prog,
430        '--directory',
431        meson.current_source_dir() / '../../../../yaml',
432        'xyz/openbmc_project/State/Thermal',
433    ],
434    install: should_generate_markdown,
435    install_dir: [inst_markdown_dir / sdbusplus_current_path],
436    build_by_default: should_generate_markdown,
437)
438
439generated_registry += custom_target(
440    'xyz/openbmc_project/State/Thermal__registry'.underscorify(),
441    input: ['../../../../yaml/xyz/openbmc_project/State/Thermal.events.yaml'],
442    output: ['Thermal.json'],
443    depend_files: sdbusplusplus_depfiles,
444    command: [
445        sdbuspp_gen_meson_prog,
446        '--command',
447        'registry',
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/Thermal',
455    ],
456    install: should_generate_registry,
457    install_dir: [inst_registry_dir / sdbusplus_current_path],
458    build_by_default: should_generate_registry,
459)
460
461generated_markdown += custom_target(
462    'xyz/openbmc_project/State/Valve__markdown'.underscorify(),
463    input: ['../../../../yaml/xyz/openbmc_project/State/Valve.events.yaml'],
464    output: ['Valve.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/Valve',
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_registry += custom_target(
484    'xyz/openbmc_project/State/Valve__registry'.underscorify(),
485    input: ['../../../../yaml/xyz/openbmc_project/State/Valve.events.yaml'],
486    output: ['Valve.json'],
487    depend_files: sdbusplusplus_depfiles,
488    command: [
489        sdbuspp_gen_meson_prog,
490        '--command',
491        'registry',
492        '--output',
493        meson.current_build_dir(),
494        '--tool',
495        sdbusplusplus_prog,
496        '--directory',
497        meson.current_source_dir() / '../../../../yaml',
498        'xyz/openbmc_project/State/Valve',
499    ],
500    install: should_generate_registry,
501    install_dir: [inst_registry_dir / sdbusplus_current_path],
502    build_by_default: should_generate_registry,
503)
504
505generated_markdown += custom_target(
506    'xyz/openbmc_project/State/Watchdog__markdown'.underscorify(),
507    input: [
508        '../../../../yaml/xyz/openbmc_project/State/Watchdog.interface.yaml',
509    ],
510    output: ['Watchdog.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/Watchdog',
523    ],
524    install: should_generate_markdown,
525    install_dir: [inst_markdown_dir / sdbusplus_current_path],
526    build_by_default: should_generate_markdown,
527)
528
529