xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Sensor/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1d9632146SPatrick Williams# Generated file; do not modify.
20020fa3dSBrandon Wymansubdir('Accuracy')
3*7f154004SPatrick Williamssubdir('Device')
4*7f154004SPatrick Williamssubdir('Threshold')
5*7f154004SPatrick Williamssubdir('Value')
6*7f154004SPatrick Williamssubdir('ValueMutability')
7*7f154004SPatrick Williams
8*7f154004SPatrick Williamssdbusplus_current_path = 'xyz/openbmc_project/Sensor'
9*7f154004SPatrick Williams
10*7f154004SPatrick Williamsgenerated_markdown += custom_target(
110020fa3dSBrandon Wyman    'xyz/openbmc_project/Sensor/Accuracy__markdown'.underscorify(),
120020fa3dSBrandon Wyman    input: [ '../../../../yaml/xyz/openbmc_project/Sensor/Accuracy.interface.yaml',  ],
130020fa3dSBrandon Wyman    output: [ 'Accuracy.md' ],
1411335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
150020fa3dSBrandon Wyman    command: [
160020fa3dSBrandon Wyman        sdbuspp_gen_meson_prog, '--command', 'markdown',
170020fa3dSBrandon Wyman        '--output', meson.current_build_dir(),
180020fa3dSBrandon Wyman        '--tool', sdbusplusplus_prog,
190020fa3dSBrandon Wyman        '--directory', meson.current_source_dir() / '../../../../yaml',
200020fa3dSBrandon Wyman        'xyz/openbmc_project/Sensor/Accuracy',
210020fa3dSBrandon Wyman    ],
22*7f154004SPatrick Williams    install: should_generate_markdown,
23*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
24*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
250020fa3dSBrandon Wyman)
260020fa3dSBrandon Wyman
27*7f154004SPatrick Williamsgenerated_markdown += custom_target(
28d9632146SPatrick Williams    'xyz/openbmc_project/Sensor/Device__markdown'.underscorify(),
29b1b4d261SWilliam A. Kennington III    input: [ '../../../../yaml/xyz/openbmc_project/Sensor/Device.errors.yaml',  ],
30d9632146SPatrick Williams    output: [ 'Device.md' ],
3111335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
32d9632146SPatrick Williams    command: [
33d9632146SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'markdown',
34d9632146SPatrick Williams        '--output', meson.current_build_dir(),
35d9632146SPatrick Williams        '--tool', sdbusplusplus_prog,
36b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../yaml',
37d9632146SPatrick Williams        'xyz/openbmc_project/Sensor/Device',
38d9632146SPatrick Williams    ],
39*7f154004SPatrick Williams    install: should_generate_markdown,
40*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
41*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
42d9632146SPatrick Williams)
43d9632146SPatrick Williams
44*7f154004SPatrick Williamsgenerated_markdown += custom_target(
45d9632146SPatrick Williams    'xyz/openbmc_project/Sensor/Threshold__markdown'.underscorify(),
46b314bcc8SAmithash Prasasd    input: [ '../../../../yaml/xyz/openbmc_project/Sensor/Threshold.errors.yaml', '../../../../yaml/xyz/openbmc_project/Sensor/Threshold.events.yaml',  ],
47d9632146SPatrick Williams    output: [ 'Threshold.md' ],
4811335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
49d9632146SPatrick Williams    command: [
50d9632146SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'markdown',
51d9632146SPatrick Williams        '--output', meson.current_build_dir(),
52d9632146SPatrick Williams        '--tool', sdbusplusplus_prog,
53b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../yaml',
54d9632146SPatrick Williams        'xyz/openbmc_project/Sensor/Threshold',
55d9632146SPatrick Williams    ],
56*7f154004SPatrick Williams    install: should_generate_markdown,
57*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
58*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
59d9632146SPatrick Williams)
60d9632146SPatrick Williams
61*7f154004SPatrick Williamsgenerated_registry += custom_target(
62*7f154004SPatrick Williams    'xyz/openbmc_project/Sensor/Threshold__registry'.underscorify(),
63*7f154004SPatrick Williams    input: [ '../../../../yaml/xyz/openbmc_project/Sensor/Threshold.events.yaml',  ],
64*7f154004SPatrick Williams    output: [ 'Threshold.json' ],
65*7f154004SPatrick Williams    depend_files: sdbusplusplus_depfiles,
66*7f154004SPatrick Williams    command: [
67*7f154004SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'registry',
68*7f154004SPatrick Williams        '--output', meson.current_build_dir(),
69*7f154004SPatrick Williams        '--tool', sdbusplusplus_prog,
70*7f154004SPatrick Williams        '--directory', meson.current_source_dir() / '../../../../yaml',
71*7f154004SPatrick Williams        'xyz/openbmc_project/Sensor/Threshold',
72*7f154004SPatrick Williams    ],
73*7f154004SPatrick Williams    install: should_generate_registry,
74*7f154004SPatrick Williams    install_dir: [inst_registry_dir / sdbusplus_current_path],
75*7f154004SPatrick Williams    build_by_default: should_generate_registry,
76*7f154004SPatrick Williams)
77*7f154004SPatrick Williams
78*7f154004SPatrick Williamsgenerated_markdown += custom_target(
79d9632146SPatrick Williams    'xyz/openbmc_project/Sensor/Value__markdown'.underscorify(),
80b1b4d261SWilliam A. Kennington III    input: [ '../../../../yaml/xyz/openbmc_project/Sensor/Value.interface.yaml',  ],
81d9632146SPatrick Williams    output: [ 'Value.md' ],
8211335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
83d9632146SPatrick Williams    command: [
84d9632146SPatrick Williams        sdbuspp_gen_meson_prog, '--command', 'markdown',
85d9632146SPatrick Williams        '--output', meson.current_build_dir(),
86d9632146SPatrick Williams        '--tool', sdbusplusplus_prog,
87b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../yaml',
88d9632146SPatrick Williams        'xyz/openbmc_project/Sensor/Value',
89d9632146SPatrick Williams    ],
90*7f154004SPatrick Williams    install: should_generate_markdown,
91*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
92*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
93d9632146SPatrick Williams)
94d9632146SPatrick Williams
95*7f154004SPatrick Williamsgenerated_markdown += custom_target(
96e253e0ecSJosh Lehan    'xyz/openbmc_project/Sensor/ValueMutability__markdown'.underscorify(),
97e253e0ecSJosh Lehan    input: [ '../../../../yaml/xyz/openbmc_project/Sensor/ValueMutability.interface.yaml',  ],
98e253e0ecSJosh Lehan    output: [ 'ValueMutability.md' ],
9911335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
100e253e0ecSJosh Lehan    command: [
101e253e0ecSJosh Lehan        sdbuspp_gen_meson_prog, '--command', 'markdown',
102e253e0ecSJosh Lehan        '--output', meson.current_build_dir(),
103e253e0ecSJosh Lehan        '--tool', sdbusplusplus_prog,
104e253e0ecSJosh Lehan        '--directory', meson.current_source_dir() / '../../../../yaml',
105e253e0ecSJosh Lehan        'xyz/openbmc_project/Sensor/ValueMutability',
106e253e0ecSJosh Lehan    ],
107*7f154004SPatrick Williams    install: should_generate_markdown,
108*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
109*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
110e253e0ecSJosh Lehan)
111e253e0ecSJosh Lehan
112