xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1d9632146SPatrick Williams# Generated file; do not modify.
2d9632146SPatrick Williamssubdir('BMC')
3*7f154004SPatrick Williamssubdir('BMCRedundancy')
4*7f154004SPatrick Williamssubdir('Boot')
5*7f154004SPatrick Williamssubdir('Cable')
6*7f154004SPatrick Williamssubdir('Chassis')
7*7f154004SPatrick Williamssubdir('Decorator')
8*7f154004SPatrick Williamssubdir('Drive')
9*7f154004SPatrick Williamssubdir('Host')
10*7f154004SPatrick Williamssubdir('Leak')
11*7f154004SPatrick Williamssubdir('OperatingSystem')
12*7f154004SPatrick Williamssubdir('PowerOnHours')
13*7f154004SPatrick Williamssubdir('ScheduledHostTransition')
14*7f154004SPatrick Williamssubdir('Shutdown')
15*7f154004SPatrick Williamssubdir('SystemdTarget')
16*7f154004SPatrick Williamssubdir('Watchdog')
17*7f154004SPatrick Williams
18*7f154004SPatrick Williamssdbusplus_current_path = 'xyz/openbmc_project/State'
19*7f154004SPatrick Williams
20*7f154004SPatrick Williamsgenerated_markdown += custom_target(
21d9632146SPatrick Williams    'xyz/openbmc_project/State/BMC__markdown'.underscorify(),
2243006dd7SPatrick Williams    input: [ '../../../../yaml/xyz/openbmc_project/State/BMC.errors.yaml', '../../../../yaml/xyz/openbmc_project/State/BMC.interface.yaml',  ],
23d9632146SPatrick Williams    output: [ 'BMC.md' ],
2411335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
25d9632146SPatrick Williams    command: [
26d9632146SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'markdown',
27d9632146SPatrick Williams        '--output', meson.current_build_dir(),
28d9632146SPatrick Williams        '--tool', sdbusplusplus_prog,
29b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../yaml',
30d9632146SPatrick Williams        'xyz/openbmc_project/State/BMC',
31d9632146SPatrick Williams    ],
32*7f154004SPatrick Williams    install: should_generate_markdown,
33*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
34*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
35d9632146SPatrick Williams)
36d9632146SPatrick Williams
37*7f154004SPatrick Williamsgenerated_markdown += custom_target(
38f9959724SChen Yugang    'xyz/openbmc_project/State/BMCRedundancy__markdown'.underscorify(),
39b1b4d261SWilliam A. Kennington III    input: [ '../../../../yaml/xyz/openbmc_project/State/BMCRedundancy.interface.yaml',  ],
40f9959724SChen Yugang    output: [ 'BMCRedundancy.md' ],
4111335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
42f9959724SChen Yugang    command: [
43f9959724SChen Yugang        sdbuspp_gen_meson_prog, '--command', 'markdown',
44f9959724SChen Yugang        '--output', meson.current_build_dir(),
45f9959724SChen Yugang        '--tool', sdbusplusplus_prog,
46b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../yaml',
47f9959724SChen Yugang        'xyz/openbmc_project/State/BMCRedundancy',
48f9959724SChen Yugang    ],
49*7f154004SPatrick Williams    install: should_generate_markdown,
50*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
51*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
52f9959724SChen Yugang)
53f9959724SChen Yugang
54*7f154004SPatrick Williamsgenerated_markdown += custom_target(
55199c6c3dSJagpal Singh Gill    'xyz/openbmc_project/State/Cable__markdown'.underscorify(),
56199c6c3dSJagpal Singh Gill    input: [ '../../../../yaml/xyz/openbmc_project/State/Cable.events.yaml',  ],
57199c6c3dSJagpal Singh Gill    output: [ 'Cable.md' ],
58199c6c3dSJagpal Singh Gill    depend_files: sdbusplusplus_depfiles,
59199c6c3dSJagpal Singh Gill    command: [
60199c6c3dSJagpal Singh Gill        sdbuspp_gen_meson_prog, '--command', 'markdown',
61199c6c3dSJagpal Singh Gill        '--output', meson.current_build_dir(),
62199c6c3dSJagpal Singh Gill        '--tool', sdbusplusplus_prog,
63199c6c3dSJagpal Singh Gill        '--directory', meson.current_source_dir() / '../../../../yaml',
64199c6c3dSJagpal Singh Gill        'xyz/openbmc_project/State/Cable',
65199c6c3dSJagpal Singh Gill    ],
66*7f154004SPatrick Williams    install: should_generate_markdown,
67*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
68*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
69199c6c3dSJagpal Singh Gill)
70199c6c3dSJagpal Singh Gill
71*7f154004SPatrick Williamsgenerated_registry += custom_target(
72*7f154004SPatrick Williams    'xyz/openbmc_project/State/Cable__registry'.underscorify(),
73*7f154004SPatrick Williams    input: [ '../../../../yaml/xyz/openbmc_project/State/Cable.events.yaml',  ],
74*7f154004SPatrick Williams    output: [ 'Cable.json' ],
75*7f154004SPatrick Williams    depend_files: sdbusplusplus_depfiles,
76*7f154004SPatrick Williams    command: [
77*7f154004SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'registry',
78*7f154004SPatrick Williams        '--output', meson.current_build_dir(),
79*7f154004SPatrick Williams        '--tool', sdbusplusplus_prog,
80*7f154004SPatrick Williams        '--directory', meson.current_source_dir() / '../../../../yaml',
81*7f154004SPatrick Williams        'xyz/openbmc_project/State/Cable',
82*7f154004SPatrick Williams    ],
83*7f154004SPatrick Williams    install: should_generate_registry,
84*7f154004SPatrick Williams    install_dir: [inst_registry_dir / sdbusplus_current_path],
85*7f154004SPatrick Williams    build_by_default: should_generate_registry,
86*7f154004SPatrick Williams)
87*7f154004SPatrick Williams
88*7f154004SPatrick Williamsgenerated_markdown += custom_target(
89d9632146SPatrick Williams    'xyz/openbmc_project/State/Chassis__markdown'.underscorify(),
9043006dd7SPatrick Williams    input: [ '../../../../yaml/xyz/openbmc_project/State/Chassis.errors.yaml', '../../../../yaml/xyz/openbmc_project/State/Chassis.interface.yaml',  ],
91d9632146SPatrick Williams    output: [ 'Chassis.md' ],
9211335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
93d9632146SPatrick Williams    command: [
94d9632146SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'markdown',
95d9632146SPatrick Williams        '--output', meson.current_build_dir(),
96d9632146SPatrick Williams        '--tool', sdbusplusplus_prog,
97b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../yaml',
98d9632146SPatrick Williams        'xyz/openbmc_project/State/Chassis',
99d9632146SPatrick Williams    ],
100*7f154004SPatrick Williams    install: should_generate_markdown,
101*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
102*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
103d9632146SPatrick Williams)
104d9632146SPatrick Williams
105*7f154004SPatrick Williamsgenerated_markdown += custom_target(
106d9632146SPatrick Williams    'xyz/openbmc_project/State/Drive__markdown'.underscorify(),
107b1b4d261SWilliam A. Kennington III    input: [ '../../../../yaml/xyz/openbmc_project/State/Drive.interface.yaml',  ],
108d9632146SPatrick Williams    output: [ 'Drive.md' ],
10911335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
110d9632146SPatrick Williams    command: [
111d9632146SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'markdown',
112d9632146SPatrick Williams        '--output', meson.current_build_dir(),
113d9632146SPatrick Williams        '--tool', sdbusplusplus_prog,
114b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../yaml',
115d9632146SPatrick Williams        'xyz/openbmc_project/State/Drive',
116d9632146SPatrick Williams    ],
117*7f154004SPatrick Williams    install: should_generate_markdown,
118*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
119*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
120d9632146SPatrick Williams)
121d9632146SPatrick Williams
122*7f154004SPatrick Williamsgenerated_markdown += custom_target(
123d9632146SPatrick Williams    'xyz/openbmc_project/State/Host__markdown'.underscorify(),
12443006dd7SPatrick Williams    input: [ '../../../../yaml/xyz/openbmc_project/State/Host.errors.yaml', '../../../../yaml/xyz/openbmc_project/State/Host.interface.yaml',  ],
125d9632146SPatrick Williams    output: [ 'Host.md' ],
12611335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
127d9632146SPatrick Williams    command: [
128d9632146SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'markdown',
129d9632146SPatrick Williams        '--output', meson.current_build_dir(),
130d9632146SPatrick Williams        '--tool', sdbusplusplus_prog,
131b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../yaml',
132d9632146SPatrick Williams        'xyz/openbmc_project/State/Host',
133d9632146SPatrick Williams    ],
134*7f154004SPatrick Williams    install: should_generate_markdown,
135*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
136*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
137d9632146SPatrick Williams)
138d9632146SPatrick Williams
139*7f154004SPatrick Williamsgenerated_markdown += custom_target(
140d9632146SPatrick Williams    'xyz/openbmc_project/State/PowerOnHours__markdown'.underscorify(),
141b1b4d261SWilliam A. Kennington III    input: [ '../../../../yaml/xyz/openbmc_project/State/PowerOnHours.interface.yaml',  ],
142d9632146SPatrick Williams    output: [ 'PowerOnHours.md' ],
14311335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
144d9632146SPatrick Williams    command: [
145d9632146SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'markdown',
146d9632146SPatrick Williams        '--output', meson.current_build_dir(),
147d9632146SPatrick Williams        '--tool', sdbusplusplus_prog,
148b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../yaml',
149d9632146SPatrick Williams        'xyz/openbmc_project/State/PowerOnHours',
150d9632146SPatrick Williams    ],
151*7f154004SPatrick Williams    install: should_generate_markdown,
152*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
153*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
154d9632146SPatrick Williams)
155d9632146SPatrick Williams
156*7f154004SPatrick Williamsgenerated_markdown += custom_target(
157d9632146SPatrick Williams    'xyz/openbmc_project/State/ScheduledHostTransition__markdown'.underscorify(),
158b1b4d261SWilliam A. Kennington III    input: [ '../../../../yaml/xyz/openbmc_project/State/ScheduledHostTransition.interface.yaml',  ],
159d9632146SPatrick Williams    output: [ 'ScheduledHostTransition.md' ],
16011335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
161d9632146SPatrick Williams    command: [
162d9632146SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'markdown',
163d9632146SPatrick Williams        '--output', meson.current_build_dir(),
164d9632146SPatrick Williams        '--tool', sdbusplusplus_prog,
165b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../yaml',
166d9632146SPatrick Williams        'xyz/openbmc_project/State/ScheduledHostTransition',
167d9632146SPatrick Williams    ],
168*7f154004SPatrick Williams    install: should_generate_markdown,
169*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
170*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
171d9632146SPatrick Williams)
172d9632146SPatrick Williams
173*7f154004SPatrick Williamsgenerated_markdown += custom_target(
174d9632146SPatrick Williams    'xyz/openbmc_project/State/SystemdTarget__markdown'.underscorify(),
175b1b4d261SWilliam A. Kennington III    input: [ '../../../../yaml/xyz/openbmc_project/State/SystemdTarget.errors.yaml',  ],
176d9632146SPatrick Williams    output: [ 'SystemdTarget.md' ],
17711335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
178d9632146SPatrick Williams    command: [
179d9632146SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'markdown',
180d9632146SPatrick Williams        '--output', meson.current_build_dir(),
181d9632146SPatrick Williams        '--tool', sdbusplusplus_prog,
182b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../yaml',
183d9632146SPatrick Williams        'xyz/openbmc_project/State/SystemdTarget',
184d9632146SPatrick Williams    ],
185*7f154004SPatrick Williams    install: should_generate_markdown,
186*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
187*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
188d9632146SPatrick Williams)
189d9632146SPatrick Williams
190*7f154004SPatrick Williamsgenerated_markdown += custom_target(
191d9632146SPatrick Williams    'xyz/openbmc_project/State/Watchdog__markdown'.underscorify(),
192b1b4d261SWilliam A. Kennington III    input: [ '../../../../yaml/xyz/openbmc_project/State/Watchdog.interface.yaml',  ],
193d9632146SPatrick Williams    output: [ 'Watchdog.md' ],
19411335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
195d9632146SPatrick Williams    command: [
196d9632146SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'markdown',
197d9632146SPatrick Williams        '--output', meson.current_build_dir(),
198d9632146SPatrick Williams        '--tool', sdbusplusplus_prog,
199b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../yaml',
200d9632146SPatrick Williams        'xyz/openbmc_project/State/Watchdog',
201d9632146SPatrick Williams    ],
202*7f154004SPatrick Williams    install: should_generate_markdown,
203*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
204*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
205d9632146SPatrick Williams)
206d9632146SPatrick Williams
207