1539b608fSJim Wrightphosphor_power_sequencer_include_directories = include_directories(
2539b608fSJim Wright    '.',
3539b608fSJim Wright    '../..'
41553cd9aSJim Wright)
51553cd9aSJim Wright
66a957f6fSShawn McCarneyphosphor_power_sequencer_library = static_library(
76a957f6fSShawn McCarney    'phosphor-power-sequencer',
86a957f6fSShawn McCarney    'config_file_parser.cpp',
9*24956598SShawn McCarney    'rail.cpp',
10e4fef0fcSShawn McCarney    'services.cpp',
116a957f6fSShawn McCarney    implicit_include_directories: false,
126a957f6fSShawn McCarney    dependencies: [
136a957f6fSShawn McCarney        nlohmann_json_dep
146a957f6fSShawn McCarney    ],
156a957f6fSShawn McCarney    include_directories: [
166a957f6fSShawn McCarney        phosphor_power_sequencer_include_directories
176a957f6fSShawn McCarney    ]
186a957f6fSShawn McCarney)
196a957f6fSShawn McCarney
20539b608fSJim Wrightphosphor_power_sequencer = executable(
21539b608fSJim Wright    'phosphor-power-control',
22539b608fSJim Wright    'power_control_main.cpp',
23539b608fSJim Wright    'power_control.cpp',
241992083aSJim Wright    'power_interface.cpp',
25930458c2SJim Wright    'power_sequencer_monitor.cpp',
26c48551abSJim Wright    'ucd90x_monitor.cpp',
27c48551abSJim Wright    'ucd90160_monitor.cpp',
287945dd27SJim Wright    'ucd90320_monitor.cpp',
29539b608fSJim Wright    dependencies: [
307a5dd99bSJim Wright        libgpiodcxx,
31888bebdeSPatrick Williams        nlohmann_json_dep,
32539b608fSJim Wright        phosphor_logging,
33539b608fSJim Wright        sdbusplus,
34539b608fSJim Wright        sdeventplus,
35888bebdeSPatrick Williams        stdplus,
36539b608fSJim Wright    ],
372d99bf7dSJim Wright    link_with: [
382d99bf7dSJim Wright        libpower
392d99bf7dSJim Wright    ],
40539b608fSJim Wright    implicit_include_directories: false,
41539b608fSJim Wright    include_directories: phosphor_power_sequencer_include_directories,
42539b608fSJim Wright    install: true
43539b608fSJim Wright)
44