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*b89395b1SShawn McCarney    'pmbus_driver_device.cpp',
1024956598SShawn McCarney    'rail.cpp',
11e4fef0fcSShawn McCarney    'services.cpp',
12472101c5SShawn McCarney    'standard_device.cpp',
136a957f6fSShawn McCarney    implicit_include_directories: false,
146a957f6fSShawn McCarney    dependencies: [
15df4e0e7eSKonstantin Aladyshev        nlohmann_json_dep,
16df4e0e7eSKonstantin Aladyshev        phosphor_logging
176a957f6fSShawn McCarney    ],
186a957f6fSShawn McCarney    include_directories: [
196a957f6fSShawn McCarney        phosphor_power_sequencer_include_directories
206a957f6fSShawn McCarney    ]
216a957f6fSShawn McCarney)
226a957f6fSShawn McCarney
23539b608fSJim Wrightphosphor_power_sequencer = executable(
24539b608fSJim Wright    'phosphor-power-control',
25539b608fSJim Wright    'power_control_main.cpp',
26539b608fSJim Wright    'power_control.cpp',
271992083aSJim Wright    'power_interface.cpp',
28930458c2SJim Wright    'power_sequencer_monitor.cpp',
29c48551abSJim Wright    'ucd90x_monitor.cpp',
30c48551abSJim Wright    'ucd90160_monitor.cpp',
317945dd27SJim Wright    'ucd90320_monitor.cpp',
32539b608fSJim Wright    dependencies: [
337a5dd99bSJim Wright        libgpiodcxx,
34888bebdeSPatrick Williams        nlohmann_json_dep,
35539b608fSJim Wright        phosphor_logging,
36539b608fSJim Wright        sdbusplus,
37539b608fSJim Wright        sdeventplus,
38888bebdeSPatrick Williams        stdplus,
39539b608fSJim Wright    ],
402d99bf7dSJim Wright    link_with: [
412d99bf7dSJim Wright        libpower
422d99bf7dSJim Wright    ],
43539b608fSJim Wright    implicit_include_directories: false,
44539b608fSJim Wright    include_directories: phosphor_power_sequencer_include_directories,
45539b608fSJim Wright    install: true
46539b608fSJim Wright)
47