xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/Leak/meson.build (revision 0e78828ce927548b4dd679e06fdaf2f294983289)
1# Generated file; do not modify.
2subdir('Detector')
3subdir('DetectorGroup')
4
5sdbusplus_current_path = 'xyz/openbmc_project/State/Leak'
6
7generated_markdown += custom_target(
8    'xyz/openbmc_project/State/Leak/Detector__markdown'.underscorify(),
9    input: [
10        '../../../../../yaml/xyz/openbmc_project/State/Leak/Detector.events.yaml',
11        '../../../../../yaml/xyz/openbmc_project/State/Leak/Detector.interface.yaml',
12    ],
13    output: ['Detector.md'],
14    depend_files: sdbusplusplus_depfiles,
15    command: [
16        sdbuspp_gen_meson_prog,
17        '--command',
18        'markdown',
19        '--output',
20        meson.current_build_dir(),
21        '--tool',
22        sdbusplusplus_prog,
23        '--directory',
24        meson.current_source_dir() / '../../../../../yaml',
25        'xyz/openbmc_project/State/Leak/Detector',
26    ],
27    install: should_generate_markdown,
28    install_dir: [inst_markdown_dir / sdbusplus_current_path],
29    build_by_default: should_generate_markdown,
30)
31
32generated_registry += custom_target(
33    'xyz/openbmc_project/State/Leak/Detector__registry'.underscorify(),
34    input: [
35        '../../../../../yaml/xyz/openbmc_project/State/Leak/Detector.events.yaml',
36    ],
37    output: ['Detector.json'],
38    depend_files: sdbusplusplus_depfiles,
39    command: [
40        sdbuspp_gen_meson_prog,
41        '--command',
42        'registry',
43        '--output',
44        meson.current_build_dir(),
45        '--tool',
46        sdbusplusplus_prog,
47        '--directory',
48        meson.current_source_dir() / '../../../../../yaml',
49        'xyz/openbmc_project/State/Leak/Detector',
50    ],
51    install: should_generate_registry,
52    install_dir: [inst_registry_dir / sdbusplus_current_path],
53    build_by_default: should_generate_registry,
54)
55
56generated_markdown += custom_target(
57    'xyz/openbmc_project/State/Leak/DetectorGroup__markdown'.underscorify(),
58    input: [
59        '../../../../../yaml/xyz/openbmc_project/State/Leak/DetectorGroup.events.yaml',
60        '../../../../../yaml/xyz/openbmc_project/State/Leak/DetectorGroup.interface.yaml',
61    ],
62    output: ['DetectorGroup.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/State/Leak/DetectorGroup',
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_registry += custom_target(
82    'xyz/openbmc_project/State/Leak/DetectorGroup__registry'.underscorify(),
83    input: [
84        '../../../../../yaml/xyz/openbmc_project/State/Leak/DetectorGroup.events.yaml',
85    ],
86    output: ['DetectorGroup.json'],
87    depend_files: sdbusplusplus_depfiles,
88    command: [
89        sdbuspp_gen_meson_prog,
90        '--command',
91        'registry',
92        '--output',
93        meson.current_build_dir(),
94        '--tool',
95        sdbusplusplus_prog,
96        '--directory',
97        meson.current_source_dir() / '../../../../../yaml',
98        'xyz/openbmc_project/State/Leak/DetectorGroup',
99    ],
100    install: should_generate_registry,
101    install_dir: [inst_registry_dir / sdbusplus_current_path],
102    build_by_default: should_generate_registry,
103)
104
105