1623f5a8cSShawn McCarneyphosphor_regulators_include_directories = include_directories( 2623f5a8cSShawn McCarney '.', 3bbc7c583SMatthew Barth '../..', 4*516e22feSPatrick Williams 'actions', 5623f5a8cSShawn McCarney) 6494ef03aSShawn McCarney 74c94bc7cSShawn McCarneyphosphor_regulators_library_source_files = [ 8db0b833cSShawn McCarney 'chassis.cpp', 90e8c68abSShawn McCarney 'config_file_parser.cpp', 103976500fSShawn McCarney 'configuration.cpp', 11837ece7cSShawn McCarney 'dbus_sensor.cpp', 1203a25f1bSShawn McCarney 'dbus_sensors.cpp', 13db0b833cSShawn McCarney 'device.cpp', 141df5954cSShawn McCarney 'error_logging.cpp', 15aaa4fddbSShawn McCarney 'error_logging_utils.cpp', 1655f496c5SShawn McCarney 'exception_utils.cpp', 17f3633f63SShawn McCarney 'ffdc_file.cpp', 186d597737SShawn McCarney 'id_map.cpp', 19ca08a790SBob King 'journal.cpp', 209284c307SShawn McCarney 'phase_fault_detection.cpp', 216663abf3SShawn McCarney 'pmbus_utils.cpp', 22462e5926SBob King 'presence_detection.cpp', 23d58858caSShawn McCarney 'presence_service.cpp', 24779b9565SShawn McCarney 'rail.cpp', 25833b8e07SBob King 'sensor_monitoring.cpp', 26db0b833cSShawn McCarney 'system.cpp', 274e0402cbSShawn McCarney 'vpd.cpp', 2849e90d3aSBob King 'actions/compare_presence_action.cpp', 2945907cc7SShawn McCarney 'actions/compare_vpd_action.cpp', 30b38da99fSShawn McCarney 'actions/if_action.cpp', 313b242b72SShawn McCarney 'actions/i2c_capture_bytes_action.cpp', 328215be3fSShawn McCarney 'actions/i2c_compare_bit_action.cpp', 335ad53945SShawn McCarney 'actions/i2c_compare_byte_action.cpp', 34f1c9061cSShawn McCarney 'actions/i2c_compare_bytes_action.cpp', 3588d5b698SShawn McCarney 'actions/i2c_write_bit_action.cpp', 3683169bfeSShawn McCarney 'actions/i2c_write_byte_action.cpp', 37a8119f26SShawn McCarney 'actions/i2c_write_bytes_action.cpp', 38717d2da2SBob King 'actions/pmbus_read_sensor_action.cpp', 39*516e22feSPatrick Williams 'actions/pmbus_write_vout_command_action.cpp', 40494ef03aSShawn McCarney] 41494ef03aSShawn McCarney 42494ef03aSShawn McCarneyphosphor_regulators_library = static_library( 43494ef03aSShawn McCarney 'phosphor-regulators', 444c94bc7cSShawn McCarney phosphor_regulators_library_source_files, 45494ef03aSShawn McCarney implicit_include_directories: false, 46888bebdeSPatrick Williams dependencies: [ 47888bebdeSPatrick Williams nlohmann_json_dep, 48888bebdeSPatrick Williams phosphor_dbus_interfaces, 49888bebdeSPatrick Williams phosphor_logging, 50888bebdeSPatrick Williams sdbusplus, 51888bebdeSPatrick Williams ], 52*516e22feSPatrick Williams include_directories: [phosphor_regulators_include_directories, libi2c_inc], 53494ef03aSShawn McCarney) 544c94bc7cSShawn McCarney 554c94bc7cSShawn McCarneyphosphor_regulators = executable( 564c94bc7cSShawn McCarney 'phosphor-regulators', 5729e9e385SMatthew Barth 'interfaces/manager_interface.cpp', 584c94bc7cSShawn McCarney 'main.cpp', 5929e9e385SMatthew Barth 'manager.cpp', 604c94bc7cSShawn McCarney dependencies: [ 617c5d7b27SShawn McCarney libi2c_dep, 62888bebdeSPatrick Williams nlohmann_json_dep, 637c5d7b27SShawn McCarney phosphor_logging, 644c94bc7cSShawn McCarney sdbusplus, 657cbc5536SMatthew Barth sdeventplus, 66888bebdeSPatrick Williams stdplus, 674c94bc7cSShawn McCarney ], 68*516e22feSPatrick Williams link_with: [phosphor_regulators_library, libpower], 694c94bc7cSShawn McCarney implicit_include_directories: false, 704c94bc7cSShawn McCarney include_directories: phosphor_regulators_include_directories, 71*516e22feSPatrick Williams install: true, 724c94bc7cSShawn McCarney) 7332707088SMatthew Barth 7432707088SMatthew Barthregsctl = executable( 7532707088SMatthew Barth 'regsctl', 7632707088SMatthew Barth 'regsctl/main.cpp', 77*516e22feSPatrick Williams dependencies: [cli11_dep, sdbusplus], 78*516e22feSPatrick Williams install: true, 7932707088SMatthew Barth) 80