xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Logging/meson.build (revision 0e78828ce927548b4dd679e06fdaf2f294983289)
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: ['../../../../yaml/xyz/openbmc_project/Logging.events.yaml'],
16    output: ['event.cpp', 'event.hpp'],
17    depend_files: sdbusplusplus_depfiles,
18    command: [
19        sdbuspp_gen_meson_prog,
20        '--command',
21        'cpp',
22        '--output',
23        meson.current_build_dir(),
24        '--tool',
25        sdbusplusplus_prog,
26        '--directory',
27        meson.current_source_dir() / '../../../../yaml',
28        'xyz/openbmc_project/Logging',
29    ],
30    install: should_generate_cpp,
31    install_dir: [false, get_option('includedir') / sdbusplus_current_path],
32    build_by_default: should_generate_cpp,
33)
34
35generated_markdown += custom_target(
36    'xyz/openbmc_project/Logging/Create__markdown'.underscorify(),
37    input: [
38        '../../../../yaml/xyz/openbmc_project/Logging/Create.interface.yaml',
39    ],
40    output: ['Create.md'],
41    depend_files: sdbusplusplus_depfiles,
42    command: [
43        sdbuspp_gen_meson_prog,
44        '--command',
45        'markdown',
46        '--output',
47        meson.current_build_dir(),
48        '--tool',
49        sdbusplusplus_prog,
50        '--directory',
51        meson.current_source_dir() / '../../../../yaml',
52        'xyz/openbmc_project/Logging/Create',
53    ],
54    install: should_generate_markdown,
55    install_dir: [inst_markdown_dir / sdbusplus_current_path],
56    build_by_default: should_generate_markdown,
57)
58
59generated_markdown += custom_target(
60    'xyz/openbmc_project/Logging/Entry__markdown'.underscorify(),
61    input: ['../../../../yaml/xyz/openbmc_project/Logging/Entry.interface.yaml'],
62    output: ['Entry.md'],
63    depend_files: sdbusplusplus_depfiles,
64    command: [
65        sdbuspp_gen_meson_prog,
66        '--command',
67        'markdown',
68        '--output',
69        meson.current_build_dir(),
70        '--tool',
71        sdbusplusplus_prog,
72        '--directory',
73        meson.current_source_dir() / '../../../../yaml',
74        'xyz/openbmc_project/Logging/Entry',
75    ],
76    install: should_generate_markdown,
77    install_dir: [inst_markdown_dir / sdbusplus_current_path],
78    build_by_default: should_generate_markdown,
79)
80
81generated_markdown += custom_target(
82    'xyz/openbmc_project/Logging/ErrorBlocksTransition__markdown'.underscorify(),
83    input: [
84        '../../../../yaml/xyz/openbmc_project/Logging/ErrorBlocksTransition.interface.yaml',
85    ],
86    output: ['ErrorBlocksTransition.md'],
87    depend_files: sdbusplusplus_depfiles,
88    command: [
89        sdbuspp_gen_meson_prog,
90        '--command',
91        'markdown',
92        '--output',
93        meson.current_build_dir(),
94        '--tool',
95        sdbusplusplus_prog,
96        '--directory',
97        meson.current_source_dir() / '../../../../yaml',
98        'xyz/openbmc_project/Logging/ErrorBlocksTransition',
99    ],
100    install: should_generate_markdown,
101    install_dir: [inst_markdown_dir / sdbusplus_current_path],
102    build_by_default: should_generate_markdown,
103)
104
105generated_markdown += custom_target(
106    'xyz/openbmc_project/Logging/Event__markdown'.underscorify(),
107    input: ['../../../../yaml/xyz/openbmc_project/Logging/Event.interface.yaml'],
108    output: ['Event.md'],
109    depend_files: sdbusplusplus_depfiles,
110    command: [
111        sdbuspp_gen_meson_prog,
112        '--command',
113        'markdown',
114        '--output',
115        meson.current_build_dir(),
116        '--tool',
117        sdbusplusplus_prog,
118        '--directory',
119        meson.current_source_dir() / '../../../../yaml',
120        'xyz/openbmc_project/Logging/Event',
121    ],
122    install: should_generate_markdown,
123    install_dir: [inst_markdown_dir / sdbusplus_current_path],
124    build_by_default: should_generate_markdown,
125)
126
127generated_markdown += custom_target(
128    'xyz/openbmc_project/Logging/IPMI__markdown'.underscorify(),
129    input: ['../../../../yaml/xyz/openbmc_project/Logging/IPMI.interface.yaml'],
130    output: ['IPMI.md'],
131    depend_files: sdbusplusplus_depfiles,
132    command: [
133        sdbuspp_gen_meson_prog,
134        '--command',
135        'markdown',
136        '--output',
137        meson.current_build_dir(),
138        '--tool',
139        sdbusplusplus_prog,
140        '--directory',
141        meson.current_source_dir() / '../../../../yaml',
142        'xyz/openbmc_project/Logging/IPMI',
143    ],
144    install: should_generate_markdown,
145    install_dir: [inst_markdown_dir / sdbusplus_current_path],
146    build_by_default: should_generate_markdown,
147)
148
149generated_markdown += custom_target(
150    'xyz/openbmc_project/Logging/SEL__markdown'.underscorify(),
151    input: ['../../../../yaml/xyz/openbmc_project/Logging/SEL.errors.yaml'],
152    output: ['SEL.md'],
153    depend_files: sdbusplusplus_depfiles,
154    command: [
155        sdbuspp_gen_meson_prog,
156        '--command',
157        'markdown',
158        '--output',
159        meson.current_build_dir(),
160        '--tool',
161        sdbusplusplus_prog,
162        '--directory',
163        meson.current_source_dir() / '../../../../yaml',
164        'xyz/openbmc_project/Logging/SEL',
165    ],
166    install: should_generate_markdown,
167    install_dir: [inst_markdown_dir / sdbusplus_current_path],
168    build_by_default: should_generate_markdown,
169)
170
171generated_markdown += custom_target(
172    'xyz/openbmc_project/Logging/Settings__markdown'.underscorify(),
173    input: [
174        '../../../../yaml/xyz/openbmc_project/Logging/Settings.interface.yaml',
175    ],
176    output: ['Settings.md'],
177    depend_files: sdbusplusplus_depfiles,
178    command: [
179        sdbuspp_gen_meson_prog,
180        '--command',
181        'markdown',
182        '--output',
183        meson.current_build_dir(),
184        '--tool',
185        sdbusplusplus_prog,
186        '--directory',
187        meson.current_source_dir() / '../../../../yaml',
188        'xyz/openbmc_project/Logging/Settings',
189    ],
190    install: should_generate_markdown,
191    install_dir: [inst_markdown_dir / sdbusplus_current_path],
192    build_by_default: should_generate_markdown,
193)
194
195