1539b608fSJim Wrightphosphor_power_sequencer_include_directories = include_directories(
2539b608fSJim Wright    '.',
3539b608fSJim Wright    '../..'
41553cd9aSJim Wright)
51553cd9aSJim Wright
6*6a957f6fSShawn McCarneyphosphor_power_sequencer_library = static_library(
7*6a957f6fSShawn McCarney    'phosphor-power-sequencer',
8*6a957f6fSShawn McCarney    'config_file_parser.cpp',
9*6a957f6fSShawn McCarney    implicit_include_directories: false,
10*6a957f6fSShawn McCarney    dependencies: [
11*6a957f6fSShawn McCarney        nlohmann_json_dep
12*6a957f6fSShawn McCarney    ],
13*6a957f6fSShawn McCarney    include_directories: [
14*6a957f6fSShawn McCarney        phosphor_power_sequencer_include_directories
15*6a957f6fSShawn McCarney    ]
16*6a957f6fSShawn McCarney)
17*6a957f6fSShawn McCarney
18539b608fSJim Wrightphosphor_power_sequencer = executable(
19539b608fSJim Wright    'phosphor-power-control',
20539b608fSJim Wright    'power_control_main.cpp',
21539b608fSJim Wright    'power_control.cpp',
221992083aSJim Wright    'power_interface.cpp',
23930458c2SJim Wright    'power_sequencer_monitor.cpp',
24c48551abSJim Wright    'ucd90x_monitor.cpp',
25c48551abSJim Wright    'ucd90160_monitor.cpp',
267945dd27SJim Wright    'ucd90320_monitor.cpp',
27539b608fSJim Wright    dependencies: [
287a5dd99bSJim Wright        libgpiodcxx,
29888bebdeSPatrick Williams        nlohmann_json_dep,
30539b608fSJim Wright        phosphor_logging,
31539b608fSJim Wright        sdbusplus,
32539b608fSJim Wright        sdeventplus,
33888bebdeSPatrick Williams        stdplus,
34539b608fSJim Wright    ],
352d99bf7dSJim Wright    link_with: [
362d99bf7dSJim Wright        libpower
372d99bf7dSJim Wright    ],
38539b608fSJim Wright    implicit_include_directories: false,
39539b608fSJim Wright    include_directories: phosphor_power_sequencer_include_directories,
40539b608fSJim Wright    install: true
41539b608fSJim Wright)
42