xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Sensor/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1# Generated file; do not modify.
2subdir('Accuracy')
3subdir('Device')
4subdir('Threshold')
5subdir('Value')
6subdir('ValueMutability')
7
8sdbusplus_current_path = 'xyz/openbmc_project/Sensor'
9
10generated_markdown += custom_target(
11    'xyz/openbmc_project/Sensor/Accuracy__markdown'.underscorify(),
12    input: [ '../../../../yaml/xyz/openbmc_project/Sensor/Accuracy.interface.yaml',  ],
13    output: [ 'Accuracy.md' ],
14    depend_files: sdbusplusplus_depfiles,
15    command: [
16        sdbuspp_gen_meson_prog, '--command', 'markdown',
17        '--output', meson.current_build_dir(),
18        '--tool', sdbusplusplus_prog,
19        '--directory', meson.current_source_dir() / '../../../../yaml',
20        'xyz/openbmc_project/Sensor/Accuracy',
21    ],
22    install: should_generate_markdown,
23    install_dir: [inst_markdown_dir / sdbusplus_current_path],
24    build_by_default: should_generate_markdown,
25)
26
27generated_markdown += custom_target(
28    'xyz/openbmc_project/Sensor/Device__markdown'.underscorify(),
29    input: [ '../../../../yaml/xyz/openbmc_project/Sensor/Device.errors.yaml',  ],
30    output: [ 'Device.md' ],
31    depend_files: sdbusplusplus_depfiles,
32    command: [
33        sdbuspp_gen_meson_prog, '--command', 'markdown',
34        '--output', meson.current_build_dir(),
35        '--tool', sdbusplusplus_prog,
36        '--directory', meson.current_source_dir() / '../../../../yaml',
37        'xyz/openbmc_project/Sensor/Device',
38    ],
39    install: should_generate_markdown,
40    install_dir: [inst_markdown_dir / sdbusplus_current_path],
41    build_by_default: should_generate_markdown,
42)
43
44generated_markdown += custom_target(
45    'xyz/openbmc_project/Sensor/Threshold__markdown'.underscorify(),
46    input: [ '../../../../yaml/xyz/openbmc_project/Sensor/Threshold.errors.yaml', '../../../../yaml/xyz/openbmc_project/Sensor/Threshold.events.yaml',  ],
47    output: [ 'Threshold.md' ],
48    depend_files: sdbusplusplus_depfiles,
49    command: [
50        sdbuspp_gen_meson_prog, '--command', 'markdown',
51        '--output', meson.current_build_dir(),
52        '--tool', sdbusplusplus_prog,
53        '--directory', meson.current_source_dir() / '../../../../yaml',
54        'xyz/openbmc_project/Sensor/Threshold',
55    ],
56    install: should_generate_markdown,
57    install_dir: [inst_markdown_dir / sdbusplus_current_path],
58    build_by_default: should_generate_markdown,
59)
60
61generated_registry += custom_target(
62    'xyz/openbmc_project/Sensor/Threshold__registry'.underscorify(),
63    input: [ '../../../../yaml/xyz/openbmc_project/Sensor/Threshold.events.yaml',  ],
64    output: [ 'Threshold.json' ],
65    depend_files: sdbusplusplus_depfiles,
66    command: [
67        sdbuspp_gen_meson_prog, '--command', 'registry',
68        '--output', meson.current_build_dir(),
69        '--tool', sdbusplusplus_prog,
70        '--directory', meson.current_source_dir() / '../../../../yaml',
71        'xyz/openbmc_project/Sensor/Threshold',
72    ],
73    install: should_generate_registry,
74    install_dir: [inst_registry_dir / sdbusplus_current_path],
75    build_by_default: should_generate_registry,
76)
77
78generated_markdown += custom_target(
79    'xyz/openbmc_project/Sensor/Value__markdown'.underscorify(),
80    input: [ '../../../../yaml/xyz/openbmc_project/Sensor/Value.interface.yaml',  ],
81    output: [ 'Value.md' ],
82    depend_files: sdbusplusplus_depfiles,
83    command: [
84        sdbuspp_gen_meson_prog, '--command', 'markdown',
85        '--output', meson.current_build_dir(),
86        '--tool', sdbusplusplus_prog,
87        '--directory', meson.current_source_dir() / '../../../../yaml',
88        'xyz/openbmc_project/Sensor/Value',
89    ],
90    install: should_generate_markdown,
91    install_dir: [inst_markdown_dir / sdbusplus_current_path],
92    build_by_default: should_generate_markdown,
93)
94
95generated_markdown += custom_target(
96    'xyz/openbmc_project/Sensor/ValueMutability__markdown'.underscorify(),
97    input: [ '../../../../yaml/xyz/openbmc_project/Sensor/ValueMutability.interface.yaml',  ],
98    output: [ 'ValueMutability.md' ],
99    depend_files: sdbusplusplus_depfiles,
100    command: [
101        sdbuspp_gen_meson_prog, '--command', 'markdown',
102        '--output', meson.current_build_dir(),
103        '--tool', sdbusplusplus_prog,
104        '--directory', meson.current_source_dir() / '../../../../yaml',
105        'xyz/openbmc_project/Sensor/ValueMutability',
106    ],
107    install: should_generate_markdown,
108    install_dir: [inst_markdown_dir / sdbusplus_current_path],
109    build_by_default: should_generate_markdown,
110)
111
112