1f80482a5SZane Shelley# Source files. 2f80482a5SZane Shelleyutil_src = files( 35191bae9SZane Shelley 'data_file.cpp', 4324234b4SBen Tyner 'dbus.cpp', 5faf33367SBen Tyner 'ffdc.cpp', 6f80482a5SZane Shelley 'ffdc_file.cpp', 7f80482a5SZane Shelley 'pdbg.cpp', 8e90b85dcSZane Shelley 'pdbg-no-sim.cpp', 9*bb90afc7SBen Tyner 'pldm.cpp', 10f80482a5SZane Shelley 'temporary_file.cpp', 11f80482a5SZane Shelley) 12f80482a5SZane Shelley 13f80482a5SZane Shelley# Library dependencies. 14f80482a5SZane Shelleyutil_deps = [ 15f80482a5SZane Shelley libhei_dep, 16f80482a5SZane Shelley libpdbg_dep, 17*bb90afc7SBen Tyner libpldm_dep, 1830984d15SZane Shelley phosphor_logging_dep, 19f80482a5SZane Shelley] 20f80482a5SZane Shelley 213a85108fSZane Shelleyif get_option('phal').enabled() 223a85108fSZane Shelley util_deps += dependency('libdt-api') 233a85108fSZane Shelleyendif 243a85108fSZane Shelley 25f80482a5SZane Shelley# Create static library. 26f80482a5SZane Shelleyutil_lib = static_library( 27f80482a5SZane Shelley 'util_lib', 28f80482a5SZane Shelley util_src, 29f80482a5SZane Shelley include_directories : incdir, 30f80482a5SZane Shelley dependencies : util_deps, 319cdfa247SZane Shelley cpp_args : [ package_args ], 32c252894dSZane Shelley install : false, 33f80482a5SZane Shelley) 34f80482a5SZane Shelley 35626270afSCaleb Palmer# Install the util data files 36626270afSCaleb Palmersubdir('data') 37