mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-30 16:40:57 +00:00
c8ae21f68f
* Lowers the amount of objects from 2400 to 1500
47 lines
1.0 KiB
Meson
47 lines
1.0 KiB
Meson
r_reg_sources = [
|
|
'arena.c',
|
|
'rcond.c',
|
|
'double.c',
|
|
'profile.c',
|
|
'reg.c',
|
|
'rvalue.c',
|
|
]
|
|
|
|
r_reg = library('r_reg', r_reg_sources,
|
|
include_directories: [platform_inc],
|
|
c_args: library_cflags,
|
|
dependencies: [r_util_dep],
|
|
install: true,
|
|
implicit_include_directories: false,
|
|
install_rpath: rpath_lib,
|
|
soversion: r2_libversion
|
|
)
|
|
|
|
r_reg_dep = declare_dependency(link_with: r_reg,
|
|
include_directories: [platform_inc])
|
|
|
|
if get_option('blob')
|
|
r_reg_static = static_library('r_reg_static', r_reg_sources,
|
|
include_directories: [platform_inc],
|
|
c_args: library_cflags,
|
|
dependencies: [r_util_static_dep],
|
|
install: true,
|
|
implicit_include_directories: false,
|
|
)
|
|
|
|
r_reg_static_dep = declare_dependency(link_with: r_reg_static,
|
|
include_directories: [platform_inc])
|
|
endif
|
|
|
|
pkgconfig_mod.generate(r_reg,
|
|
subdirs: 'libr',
|
|
version: r2_version,
|
|
name: 'r_reg',
|
|
filebase: 'r_reg',
|
|
libraries: pkgcfg_sanitize_libs,
|
|
requires: [
|
|
'r_util'
|
|
],
|
|
description: 'radare foundation libraries'
|
|
)
|