xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/meson.build (revision 8a248c727a1ecadef4916e5acc5a3858d71c9f24)
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('OperatingSystem')
12subdir('PowerOnHours')
13subdir('ScheduledHostTransition')
14subdir('Shutdown')
15subdir('SystemdTarget')
16subdir('Watchdog')
17
18sdbusplus_current_path = 'xyz/openbmc_project/State'
19
20generated_markdown += custom_target(
21    'xyz/openbmc_project/State/BMC__markdown'.underscorify(),
22    input: [
23        '../../../../yaml/xyz/openbmc_project/State/BMC.errors.yaml',
24        '../../../../yaml/xyz/openbmc_project/State/BMC.interface.yaml',
25    ],
26    output: ['BMC.md'],
27    depend_files: sdbusplusplus_depfiles,
28    command: [
29        sdbuspp_gen_meson_prog,
30        '--command',
31        'markdown',
32        '--output',
33        meson.current_build_dir(),
34        '--tool',
35        sdbusplusplus_prog,
36        '--directory',
37        meson.current_source_dir() / '../../../../yaml',
38        'xyz/openbmc_project/State/BMC',
39    ],
40    install: should_generate_markdown,
41    install_dir: [inst_markdown_dir / sdbusplus_current_path],
42    build_by_default: should_generate_markdown,
43)
44
45generated_markdown += custom_target(
46    'xyz/openbmc_project/State/BMCRedundancy__markdown'.underscorify(),
47    input: [
48        '../../../../yaml/xyz/openbmc_project/State/BMCRedundancy.interface.yaml',
49    ],
50    output: ['BMCRedundancy.md'],
51    depend_files: sdbusplusplus_depfiles,
52    command: [
53        sdbuspp_gen_meson_prog,
54        '--command',
55        'markdown',
56        '--output',
57        meson.current_build_dir(),
58        '--tool',
59        sdbusplusplus_prog,
60        '--directory',
61        meson.current_source_dir() / '../../../../yaml',
62        'xyz/openbmc_project/State/BMCRedundancy',
63    ],
64    install: should_generate_markdown,
65    install_dir: [inst_markdown_dir / sdbusplus_current_path],
66    build_by_default: should_generate_markdown,
67)
68
69generated_markdown += custom_target(
70    'xyz/openbmc_project/State/Cable__markdown'.underscorify(),
71    input: ['../../../../yaml/xyz/openbmc_project/State/Cable.events.yaml'],
72    output: ['Cable.md'],
73    depend_files: sdbusplusplus_depfiles,
74    command: [
75        sdbuspp_gen_meson_prog,
76        '--command',
77        'markdown',
78        '--output',
79        meson.current_build_dir(),
80        '--tool',
81        sdbusplusplus_prog,
82        '--directory',
83        meson.current_source_dir() / '../../../../yaml',
84        'xyz/openbmc_project/State/Cable',
85    ],
86    install: should_generate_markdown,
87    install_dir: [inst_markdown_dir / sdbusplus_current_path],
88    build_by_default: should_generate_markdown,
89)
90
91generated_registry += custom_target(
92    'xyz/openbmc_project/State/Cable__registry'.underscorify(),
93    input: ['../../../../yaml/xyz/openbmc_project/State/Cable.events.yaml'],
94    output: ['Cable.json'],
95    depend_files: sdbusplusplus_depfiles,
96    command: [
97        sdbuspp_gen_meson_prog,
98        '--command',
99        'registry',
100        '--output',
101        meson.current_build_dir(),
102        '--tool',
103        sdbusplusplus_prog,
104        '--directory',
105        meson.current_source_dir() / '../../../../yaml',
106        'xyz/openbmc_project/State/Cable',
107    ],
108    install: should_generate_registry,
109    install_dir: [inst_registry_dir / sdbusplus_current_path],
110    build_by_default: should_generate_registry,
111)
112
113generated_markdown += custom_target(
114    'xyz/openbmc_project/State/Chassis__markdown'.underscorify(),
115    input: [
116        '../../../../yaml/xyz/openbmc_project/State/Chassis.errors.yaml',
117        '../../../../yaml/xyz/openbmc_project/State/Chassis.interface.yaml',
118    ],
119    output: ['Chassis.md'],
120    depend_files: sdbusplusplus_depfiles,
121    command: [
122        sdbuspp_gen_meson_prog,
123        '--command',
124        'markdown',
125        '--output',
126        meson.current_build_dir(),
127        '--tool',
128        sdbusplusplus_prog,
129        '--directory',
130        meson.current_source_dir() / '../../../../yaml',
131        'xyz/openbmc_project/State/Chassis',
132    ],
133    install: should_generate_markdown,
134    install_dir: [inst_markdown_dir / sdbusplus_current_path],
135    build_by_default: should_generate_markdown,
136)
137
138generated_markdown += custom_target(
139    'xyz/openbmc_project/State/Drive__markdown'.underscorify(),
140    input: ['../../../../yaml/xyz/openbmc_project/State/Drive.interface.yaml'],
141    output: ['Drive.md'],
142    depend_files: sdbusplusplus_depfiles,
143    command: [
144        sdbuspp_gen_meson_prog,
145        '--command',
146        'markdown',
147        '--output',
148        meson.current_build_dir(),
149        '--tool',
150        sdbusplusplus_prog,
151        '--directory',
152        meson.current_source_dir() / '../../../../yaml',
153        'xyz/openbmc_project/State/Drive',
154    ],
155    install: should_generate_markdown,
156    install_dir: [inst_markdown_dir / sdbusplus_current_path],
157    build_by_default: should_generate_markdown,
158)
159
160generated_markdown += custom_target(
161    'xyz/openbmc_project/State/Host__markdown'.underscorify(),
162    input: [
163        '../../../../yaml/xyz/openbmc_project/State/Host.errors.yaml',
164        '../../../../yaml/xyz/openbmc_project/State/Host.interface.yaml',
165    ],
166    output: ['Host.md'],
167    depend_files: sdbusplusplus_depfiles,
168    command: [
169        sdbuspp_gen_meson_prog,
170        '--command',
171        'markdown',
172        '--output',
173        meson.current_build_dir(),
174        '--tool',
175        sdbusplusplus_prog,
176        '--directory',
177        meson.current_source_dir() / '../../../../yaml',
178        'xyz/openbmc_project/State/Host',
179    ],
180    install: should_generate_markdown,
181    install_dir: [inst_markdown_dir / sdbusplus_current_path],
182    build_by_default: should_generate_markdown,
183)
184
185generated_markdown += custom_target(
186    'xyz/openbmc_project/State/PowerOnHours__markdown'.underscorify(),
187    input: [
188        '../../../../yaml/xyz/openbmc_project/State/PowerOnHours.interface.yaml',
189    ],
190    output: ['PowerOnHours.md'],
191    depend_files: sdbusplusplus_depfiles,
192    command: [
193        sdbuspp_gen_meson_prog,
194        '--command',
195        'markdown',
196        '--output',
197        meson.current_build_dir(),
198        '--tool',
199        sdbusplusplus_prog,
200        '--directory',
201        meson.current_source_dir() / '../../../../yaml',
202        'xyz/openbmc_project/State/PowerOnHours',
203    ],
204    install: should_generate_markdown,
205    install_dir: [inst_markdown_dir / sdbusplus_current_path],
206    build_by_default: should_generate_markdown,
207)
208
209generated_markdown += custom_target(
210    'xyz/openbmc_project/State/ScheduledHostTransition__markdown'.underscorify(),
211    input: [
212        '../../../../yaml/xyz/openbmc_project/State/ScheduledHostTransition.interface.yaml',
213    ],
214    output: ['ScheduledHostTransition.md'],
215    depend_files: sdbusplusplus_depfiles,
216    command: [
217        sdbuspp_gen_meson_prog,
218        '--command',
219        'markdown',
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/ScheduledHostTransition',
227    ],
228    install: should_generate_markdown,
229    install_dir: [inst_markdown_dir / sdbusplus_current_path],
230    build_by_default: should_generate_markdown,
231)
232
233generated_markdown += custom_target(
234    'xyz/openbmc_project/State/SystemdTarget__markdown'.underscorify(),
235    input: [
236        '../../../../yaml/xyz/openbmc_project/State/SystemdTarget.errors.yaml',
237    ],
238    output: ['SystemdTarget.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/SystemdTarget',
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_markdown += custom_target(
258    'xyz/openbmc_project/State/Watchdog__markdown'.underscorify(),
259    input: [
260        '../../../../yaml/xyz/openbmc_project/State/Watchdog.interface.yaml',
261    ],
262    output: ['Watchdog.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/Watchdog',
275    ],
276    install: should_generate_markdown,
277    install_dir: [inst_markdown_dir / sdbusplus_current_path],
278    build_by_default: should_generate_markdown,
279)
280
281