xref: /openbmc/phosphor-led-manager/fault-monitor/meson.build (revision 95b0db91fdcaa5b86024edaf3454f83171b787bc)
14b062010SGeorge Liufault_monitor_sources = [
24b062010SGeorge Liu    'monitor-main.cpp',
34b062010SGeorge Liu]
44b062010SGeorge Liu
5*95b0db91SPatrick Williamsif get_option('monitor-operational-status').allowed()
6d76c0748SGeorge Liu    fault_monitor_sources += [
7d76c0748SGeorge Liu        '../utils.cpp',
8d76c0748SGeorge Liu        'operational-status-monitor.cpp',
9d76c0748SGeorge Liu        ]
10d76c0748SGeorge Liuelse
11d76c0748SGeorge Liu    fault_monitor_sources += [
12d76c0748SGeorge Liu        'fru-fault-monitor.cpp',
13d76c0748SGeorge Liu        ]
14d76c0748SGeorge Liuendif
15d76c0748SGeorge Liu
164b062010SGeorge Liuexecutable(
174b062010SGeorge Liu    'phosphor-fru-fault-monitor',
184b062010SGeorge Liu    fault_monitor_sources,
199bd334ffSPatrick Williams    include_directories: ['.', '../'],
204b062010SGeorge Liu    dependencies: deps,
214b062010SGeorge Liu    install: true,
224b062010SGeorge Liu    install_dir: get_option('bindir')
234b062010SGeorge Liu)
24