xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Logging/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1# Generated file; do not modify.
2subdir('Create')
3subdir('Entry')
4subdir('ErrorBlocksTransition')
5subdir('Event')
6subdir('IPMI')
7subdir('SEL')
8subdir('Settings')
9subdir('Syslog')
10
11sdbusplus_current_path = 'xyz/openbmc_project/Logging'
12
13generated_sources += custom_target(
14    'xyz/openbmc_project/Logging__cpp'.underscorify(),
15    input: [
16        '../../../../yaml/xyz/openbmc_project/Logging.events.yaml',
17    ],
18    output: [
19        'event.cpp',
20        'event.hpp',
21    ],
22    depend_files: sdbusplusplus_depfiles,
23    command: [
24        sdbuspp_gen_meson_prog, '--command', 'cpp',
25        '--output', meson.current_build_dir(),
26        '--tool', sdbusplusplus_prog,
27        '--directory', meson.current_source_dir() / '../../../../yaml',
28        'xyz/openbmc_project/Logging',
29    ],
30    install: should_generate_cpp,
31    install_dir: [
32        false,
33        get_option('includedir') / sdbusplus_current_path,
34    ],
35    build_by_default: should_generate_cpp,
36)
37
38generated_markdown += custom_target(
39    'xyz/openbmc_project/Logging/Create__markdown'.underscorify(),
40    input: [ '../../../../yaml/xyz/openbmc_project/Logging/Create.interface.yaml',  ],
41    output: [ 'Create.md' ],
42    depend_files: sdbusplusplus_depfiles,
43    command: [
44        sdbuspp_gen_meson_prog, '--command', 'markdown',
45        '--output', meson.current_build_dir(),
46        '--tool', sdbusplusplus_prog,
47        '--directory', meson.current_source_dir() / '../../../../yaml',
48        'xyz/openbmc_project/Logging/Create',
49    ],
50    install: should_generate_markdown,
51    install_dir: [inst_markdown_dir / sdbusplus_current_path],
52    build_by_default: should_generate_markdown,
53)
54
55generated_markdown += custom_target(
56    'xyz/openbmc_project/Logging/Entry__markdown'.underscorify(),
57    input: [ '../../../../yaml/xyz/openbmc_project/Logging/Entry.interface.yaml',  ],
58    output: [ 'Entry.md' ],
59    depend_files: sdbusplusplus_depfiles,
60    command: [
61        sdbuspp_gen_meson_prog, '--command', 'markdown',
62        '--output', meson.current_build_dir(),
63        '--tool', sdbusplusplus_prog,
64        '--directory', meson.current_source_dir() / '../../../../yaml',
65        'xyz/openbmc_project/Logging/Entry',
66    ],
67    install: should_generate_markdown,
68    install_dir: [inst_markdown_dir / sdbusplus_current_path],
69    build_by_default: should_generate_markdown,
70)
71
72generated_markdown += custom_target(
73    'xyz/openbmc_project/Logging/ErrorBlocksTransition__markdown'.underscorify(),
74    input: [ '../../../../yaml/xyz/openbmc_project/Logging/ErrorBlocksTransition.interface.yaml',  ],
75    output: [ 'ErrorBlocksTransition.md' ],
76    depend_files: sdbusplusplus_depfiles,
77    command: [
78        sdbuspp_gen_meson_prog, '--command', 'markdown',
79        '--output', meson.current_build_dir(),
80        '--tool', sdbusplusplus_prog,
81        '--directory', meson.current_source_dir() / '../../../../yaml',
82        'xyz/openbmc_project/Logging/ErrorBlocksTransition',
83    ],
84    install: should_generate_markdown,
85    install_dir: [inst_markdown_dir / sdbusplus_current_path],
86    build_by_default: should_generate_markdown,
87)
88
89generated_markdown += custom_target(
90    'xyz/openbmc_project/Logging/Event__markdown'.underscorify(),
91    input: [ '../../../../yaml/xyz/openbmc_project/Logging/Event.interface.yaml',  ],
92    output: [ 'Event.md' ],
93    depend_files: sdbusplusplus_depfiles,
94    command: [
95        sdbuspp_gen_meson_prog, '--command', 'markdown',
96        '--output', meson.current_build_dir(),
97        '--tool', sdbusplusplus_prog,
98        '--directory', meson.current_source_dir() / '../../../../yaml',
99        'xyz/openbmc_project/Logging/Event',
100    ],
101    install: should_generate_markdown,
102    install_dir: [inst_markdown_dir / sdbusplus_current_path],
103    build_by_default: should_generate_markdown,
104)
105
106generated_markdown += custom_target(
107    'xyz/openbmc_project/Logging/IPMI__markdown'.underscorify(),
108    input: [ '../../../../yaml/xyz/openbmc_project/Logging/IPMI.interface.yaml',  ],
109    output: [ 'IPMI.md' ],
110    depend_files: sdbusplusplus_depfiles,
111    command: [
112        sdbuspp_gen_meson_prog, '--command', 'markdown',
113        '--output', meson.current_build_dir(),
114        '--tool', sdbusplusplus_prog,
115        '--directory', meson.current_source_dir() / '../../../../yaml',
116        'xyz/openbmc_project/Logging/IPMI',
117    ],
118    install: should_generate_markdown,
119    install_dir: [inst_markdown_dir / sdbusplus_current_path],
120    build_by_default: should_generate_markdown,
121)
122
123generated_markdown += custom_target(
124    'xyz/openbmc_project/Logging/SEL__markdown'.underscorify(),
125    input: [ '../../../../yaml/xyz/openbmc_project/Logging/SEL.errors.yaml',  ],
126    output: [ 'SEL.md' ],
127    depend_files: sdbusplusplus_depfiles,
128    command: [
129        sdbuspp_gen_meson_prog, '--command', 'markdown',
130        '--output', meson.current_build_dir(),
131        '--tool', sdbusplusplus_prog,
132        '--directory', meson.current_source_dir() / '../../../../yaml',
133        'xyz/openbmc_project/Logging/SEL',
134    ],
135    install: should_generate_markdown,
136    install_dir: [inst_markdown_dir / sdbusplus_current_path],
137    build_by_default: should_generate_markdown,
138)
139
140generated_markdown += custom_target(
141    'xyz/openbmc_project/Logging/Settings__markdown'.underscorify(),
142    input: [ '../../../../yaml/xyz/openbmc_project/Logging/Settings.interface.yaml',  ],
143    output: [ 'Settings.md' ],
144    depend_files: sdbusplusplus_depfiles,
145    command: [
146        sdbuspp_gen_meson_prog, '--command', 'markdown',
147        '--output', meson.current_build_dir(),
148        '--tool', sdbusplusplus_prog,
149        '--directory', meson.current_source_dir() / '../../../../yaml',
150        'xyz/openbmc_project/Logging/Settings',
151    ],
152    install: should_generate_markdown,
153    install_dir: [inst_markdown_dir / sdbusplus_current_path],
154    build_by_default: should_generate_markdown,
155)
156
157