xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/meson.build (revision 4c5876f0f69c06b47c931e3224c1c34b126623b5)
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.events.yaml',
29        '../../../../yaml/xyz/openbmc_project/State/BMC.interface.yaml',
30    ],
31    output: ['BMC.md'],
32    depend_files: sdbusplusplus_depfiles,
33    command: [
34        sdbuspp_gen_meson_prog,
35        '--command',
36        'markdown',
37        '--output',
38        meson.current_build_dir(),
39        '--tool',
40        sdbusplusplus_prog,
41        '--directory',
42        meson.current_source_dir() / '../../../../yaml',
43        'xyz/openbmc_project/State/BMC',
44    ],
45    install: should_generate_markdown,
46    install_dir: [inst_markdown_dir / sdbusplus_current_path],
47    build_by_default: should_generate_markdown,
48)
49
50generated_registry += custom_target(
51    'xyz/openbmc_project/State/BMC__registry'.underscorify(),
52    input: ['../../../../yaml/xyz/openbmc_project/State/BMC.events.yaml'],
53    output: ['BMC.json'],
54    depend_files: sdbusplusplus_depfiles,
55    command: [
56        sdbuspp_gen_meson_prog,
57        '--command',
58        'registry',
59        '--output',
60        meson.current_build_dir(),
61        '--tool',
62        sdbusplusplus_prog,
63        '--directory',
64        meson.current_source_dir() / '../../../../yaml',
65        'xyz/openbmc_project/State/BMC',
66    ],
67    install: should_generate_registry,
68    install_dir: [inst_registry_dir / sdbusplus_current_path],
69    build_by_default: should_generate_registry,
70)
71
72generated_markdown += custom_target(
73    'xyz/openbmc_project/State/BMCRedundancy__markdown'.underscorify(),
74    input: [
75        '../../../../yaml/xyz/openbmc_project/State/BMCRedundancy.interface.yaml',
76    ],
77    output: ['BMCRedundancy.md'],
78    depend_files: sdbusplusplus_depfiles,
79    command: [
80        sdbuspp_gen_meson_prog,
81        '--command',
82        'markdown',
83        '--output',
84        meson.current_build_dir(),
85        '--tool',
86        sdbusplusplus_prog,
87        '--directory',
88        meson.current_source_dir() / '../../../../yaml',
89        'xyz/openbmc_project/State/BMCRedundancy',
90    ],
91    install: should_generate_markdown,
92    install_dir: [inst_markdown_dir / sdbusplus_current_path],
93    build_by_default: should_generate_markdown,
94)
95
96generated_markdown += custom_target(
97    'xyz/openbmc_project/State/Cable__markdown'.underscorify(),
98    input: ['../../../../yaml/xyz/openbmc_project/State/Cable.events.yaml'],
99    output: ['Cable.md'],
100    depend_files: sdbusplusplus_depfiles,
101    command: [
102        sdbuspp_gen_meson_prog,
103        '--command',
104        'markdown',
105        '--output',
106        meson.current_build_dir(),
107        '--tool',
108        sdbusplusplus_prog,
109        '--directory',
110        meson.current_source_dir() / '../../../../yaml',
111        'xyz/openbmc_project/State/Cable',
112    ],
113    install: should_generate_markdown,
114    install_dir: [inst_markdown_dir / sdbusplus_current_path],
115    build_by_default: should_generate_markdown,
116)
117
118generated_registry += custom_target(
119    'xyz/openbmc_project/State/Cable__registry'.underscorify(),
120    input: ['../../../../yaml/xyz/openbmc_project/State/Cable.events.yaml'],
121    output: ['Cable.json'],
122    depend_files: sdbusplusplus_depfiles,
123    command: [
124        sdbuspp_gen_meson_prog,
125        '--command',
126        'registry',
127        '--output',
128        meson.current_build_dir(),
129        '--tool',
130        sdbusplusplus_prog,
131        '--directory',
132        meson.current_source_dir() / '../../../../yaml',
133        'xyz/openbmc_project/State/Cable',
134    ],
135    install: should_generate_registry,
136    install_dir: [inst_registry_dir / sdbusplus_current_path],
137    build_by_default: should_generate_registry,
138)
139
140generated_markdown += custom_target(
141    'xyz/openbmc_project/State/Chassis__markdown'.underscorify(),
142    input: [
143        '../../../../yaml/xyz/openbmc_project/State/Chassis.errors.yaml',
144        '../../../../yaml/xyz/openbmc_project/State/Chassis.interface.yaml',
145    ],
146    output: ['Chassis.md'],
147    depend_files: sdbusplusplus_depfiles,
148    command: [
149        sdbuspp_gen_meson_prog,
150        '--command',
151        'markdown',
152        '--output',
153        meson.current_build_dir(),
154        '--tool',
155        sdbusplusplus_prog,
156        '--directory',
157        meson.current_source_dir() / '../../../../yaml',
158        'xyz/openbmc_project/State/Chassis',
159    ],
160    install: should_generate_markdown,
161    install_dir: [inst_markdown_dir / sdbusplus_current_path],
162    build_by_default: should_generate_markdown,
163)
164
165generated_markdown += custom_target(
166    'xyz/openbmc_project/State/Drive__markdown'.underscorify(),
167    input: ['../../../../yaml/xyz/openbmc_project/State/Drive.interface.yaml'],
168    output: ['Drive.md'],
169    depend_files: sdbusplusplus_depfiles,
170    command: [
171        sdbuspp_gen_meson_prog,
172        '--command',
173        'markdown',
174        '--output',
175        meson.current_build_dir(),
176        '--tool',
177        sdbusplusplus_prog,
178        '--directory',
179        meson.current_source_dir() / '../../../../yaml',
180        'xyz/openbmc_project/State/Drive',
181    ],
182    install: should_generate_markdown,
183    install_dir: [inst_markdown_dir / sdbusplus_current_path],
184    build_by_default: should_generate_markdown,
185)
186
187generated_markdown += custom_target(
188    'xyz/openbmc_project/State/Host__markdown'.underscorify(),
189    input: [
190        '../../../../yaml/xyz/openbmc_project/State/Host.errors.yaml',
191        '../../../../yaml/xyz/openbmc_project/State/Host.interface.yaml',
192    ],
193    output: ['Host.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/Host',
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_markdown += custom_target(
213    'xyz/openbmc_project/State/LockOut__markdown'.underscorify(),
214    input: ['../../../../yaml/xyz/openbmc_project/State/LockOut.events.yaml'],
215    output: ['LockOut.md'],
216    depend_files: sdbusplusplus_depfiles,
217    command: [
218        sdbuspp_gen_meson_prog,
219        '--command',
220        'markdown',
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/LockOut',
228    ],
229    install: should_generate_markdown,
230    install_dir: [inst_markdown_dir / sdbusplus_current_path],
231    build_by_default: should_generate_markdown,
232)
233
234generated_registry += custom_target(
235    'xyz/openbmc_project/State/LockOut__registry'.underscorify(),
236    input: ['../../../../yaml/xyz/openbmc_project/State/LockOut.events.yaml'],
237    output: ['LockOut.json'],
238    depend_files: sdbusplusplus_depfiles,
239    command: [
240        sdbuspp_gen_meson_prog,
241        '--command',
242        'registry',
243        '--output',
244        meson.current_build_dir(),
245        '--tool',
246        sdbusplusplus_prog,
247        '--directory',
248        meson.current_source_dir() / '../../../../yaml',
249        'xyz/openbmc_project/State/LockOut',
250    ],
251    install: should_generate_registry,
252    install_dir: [inst_registry_dir / sdbusplus_current_path],
253    build_by_default: should_generate_registry,
254)
255
256generated_markdown += custom_target(
257    'xyz/openbmc_project/State/Power__markdown'.underscorify(),
258    input: ['../../../../yaml/xyz/openbmc_project/State/Power.events.yaml'],
259    output: ['Power.md'],
260    depend_files: sdbusplusplus_depfiles,
261    command: [
262        sdbuspp_gen_meson_prog,
263        '--command',
264        'markdown',
265        '--output',
266        meson.current_build_dir(),
267        '--tool',
268        sdbusplusplus_prog,
269        '--directory',
270        meson.current_source_dir() / '../../../../yaml',
271        'xyz/openbmc_project/State/Power',
272    ],
273    install: should_generate_markdown,
274    install_dir: [inst_markdown_dir / sdbusplus_current_path],
275    build_by_default: should_generate_markdown,
276)
277
278generated_registry += custom_target(
279    'xyz/openbmc_project/State/Power__registry'.underscorify(),
280    input: ['../../../../yaml/xyz/openbmc_project/State/Power.events.yaml'],
281    output: ['Power.json'],
282    depend_files: sdbusplusplus_depfiles,
283    command: [
284        sdbuspp_gen_meson_prog,
285        '--command',
286        'registry',
287        '--output',
288        meson.current_build_dir(),
289        '--tool',
290        sdbusplusplus_prog,
291        '--directory',
292        meson.current_source_dir() / '../../../../yaml',
293        'xyz/openbmc_project/State/Power',
294    ],
295    install: should_generate_registry,
296    install_dir: [inst_registry_dir / sdbusplus_current_path],
297    build_by_default: should_generate_registry,
298)
299
300generated_markdown += custom_target(
301    'xyz/openbmc_project/State/PowerOnHours__markdown'.underscorify(),
302    input: [
303        '../../../../yaml/xyz/openbmc_project/State/PowerOnHours.interface.yaml',
304    ],
305    output: ['PowerOnHours.md'],
306    depend_files: sdbusplusplus_depfiles,
307    command: [
308        sdbuspp_gen_meson_prog,
309        '--command',
310        'markdown',
311        '--output',
312        meson.current_build_dir(),
313        '--tool',
314        sdbusplusplus_prog,
315        '--directory',
316        meson.current_source_dir() / '../../../../yaml',
317        'xyz/openbmc_project/State/PowerOnHours',
318    ],
319    install: should_generate_markdown,
320    install_dir: [inst_markdown_dir / sdbusplus_current_path],
321    build_by_default: should_generate_markdown,
322)
323
324generated_markdown += custom_target(
325    'xyz/openbmc_project/State/SMC__markdown'.underscorify(),
326    input: ['../../../../yaml/xyz/openbmc_project/State/SMC.events.yaml'],
327    output: ['SMC.md'],
328    depend_files: sdbusplusplus_depfiles,
329    command: [
330        sdbuspp_gen_meson_prog,
331        '--command',
332        'markdown',
333        '--output',
334        meson.current_build_dir(),
335        '--tool',
336        sdbusplusplus_prog,
337        '--directory',
338        meson.current_source_dir() / '../../../../yaml',
339        'xyz/openbmc_project/State/SMC',
340    ],
341    install: should_generate_markdown,
342    install_dir: [inst_markdown_dir / sdbusplus_current_path],
343    build_by_default: should_generate_markdown,
344)
345
346generated_registry += custom_target(
347    'xyz/openbmc_project/State/SMC__registry'.underscorify(),
348    input: ['../../../../yaml/xyz/openbmc_project/State/SMC.events.yaml'],
349    output: ['SMC.json'],
350    depend_files: sdbusplusplus_depfiles,
351    command: [
352        sdbuspp_gen_meson_prog,
353        '--command',
354        'registry',
355        '--output',
356        meson.current_build_dir(),
357        '--tool',
358        sdbusplusplus_prog,
359        '--directory',
360        meson.current_source_dir() / '../../../../yaml',
361        'xyz/openbmc_project/State/SMC',
362    ],
363    install: should_generate_registry,
364    install_dir: [inst_registry_dir / sdbusplus_current_path],
365    build_by_default: should_generate_registry,
366)
367
368generated_markdown += custom_target(
369    'xyz/openbmc_project/State/ScheduledHostTransition__markdown'.underscorify(),
370    input: [
371        '../../../../yaml/xyz/openbmc_project/State/ScheduledHostTransition.interface.yaml',
372    ],
373    output: ['ScheduledHostTransition.md'],
374    depend_files: sdbusplusplus_depfiles,
375    command: [
376        sdbuspp_gen_meson_prog,
377        '--command',
378        'markdown',
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/ScheduledHostTransition',
386    ],
387    install: should_generate_markdown,
388    install_dir: [inst_markdown_dir / sdbusplus_current_path],
389    build_by_default: should_generate_markdown,
390)
391
392generated_markdown += custom_target(
393    'xyz/openbmc_project/State/SystemdTarget__markdown'.underscorify(),
394    input: [
395        '../../../../yaml/xyz/openbmc_project/State/SystemdTarget.errors.yaml',
396    ],
397    output: ['SystemdTarget.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/SystemdTarget',
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/Thermal__markdown'.underscorify(),
418    input: ['../../../../yaml/xyz/openbmc_project/State/Thermal.events.yaml'],
419    output: ['Thermal.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/Thermal',
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/Thermal__registry'.underscorify(),
440    input: ['../../../../yaml/xyz/openbmc_project/State/Thermal.events.yaml'],
441    output: ['Thermal.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/Thermal',
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/Watchdog__markdown'.underscorify(),
462    input: [
463        '../../../../yaml/xyz/openbmc_project/State/Watchdog.interface.yaml',
464    ],
465    output: ['Watchdog.md'],
466    depend_files: sdbusplusplus_depfiles,
467    command: [
468        sdbuspp_gen_meson_prog,
469        '--command',
470        'markdown',
471        '--output',
472        meson.current_build_dir(),
473        '--tool',
474        sdbusplusplus_prog,
475        '--directory',
476        meson.current_source_dir() / '../../../../yaml',
477        'xyz/openbmc_project/State/Watchdog',
478    ],
479    install: should_generate_markdown,
480    install_dir: [inst_markdown_dir / sdbusplus_current_path],
481    build_by_default: should_generate_markdown,
482)
483
484