mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-18 10:46:38 +00:00
7572f315ea
* meson.build: fix meson build when not on git * meson.build: make capstone a dependency * meson.build: make r_magic library optional * meson.build: capstone include is already in the dependency * meson.build: use dependencies instead of manual linking + includes * meson.build: add travis * flag/meson.build: include sdb dependency * travis-script: print messages based on install system * io/meson.build: add sdb as dependency * syscall/meson.build: missing sdb dependency * {parse,config}/meson.build: add sdb dependency * travis.yml: pass INSTALL_SYSTEM var to docker * {bin/shlr}/meson.build: add sdb_dep to r2java and bin * install meson and ninja-build in r2-travis docker * travis.yml: allow meson build to fail for now * anal/meson.build: add sdb and java dependencies * egg/meson.build: add sdb dependency * travis.yml: meson build env should be also in the includes list * core/meson.build: add java dep * meson.build: use dependencies also to create main r2 dependency * rasm2/meson.build: replace link_with with dependencies * rasm2/meson.build: add sdb as dependency * meson.builds: convert link_with to dependencies and fix tabs * travis-script: change meson install prefix and set PKG_CONFIG_PATH * travis-script: add lib64 to LD_LIBRARY_PATH
119 lines
2.1 KiB
Meson
119 lines
2.1 KiB
Meson
files = [
|
|
'arg.c',
|
|
'ddesc.c',
|
|
'debug.c',
|
|
'dreg.c',
|
|
'esil.c',
|
|
'map.c',
|
|
'pid.c',
|
|
'plugin.c',
|
|
'session.c',
|
|
'signal.c',
|
|
'snap.c',
|
|
'trace.c',
|
|
'p/bfvm.c',
|
|
'p/debug_bf.c',
|
|
'p/debug_bochs.c',
|
|
'p/debug_esil.c',
|
|
'p/debug_gdb.c',
|
|
'p/debug_io.c',
|
|
'p/debug_native.c',
|
|
'p/debug_null.c',
|
|
'p/debug_qnx.c',
|
|
'p/debug_rap.c',
|
|
'p/debug_windbg.c',
|
|
#'p/native/arm.c',
|
|
#'p/native/bt/fuzzy-all.c',
|
|
#'p/native/bt/generic-x64.c',
|
|
#'p/native/bt/generic-x86.c',
|
|
#'p/native/bt.c',
|
|
#'p/native/darwin.c',
|
|
#'p/native/drx.c',
|
|
#'p/native/maps/darwin.c',
|
|
]
|
|
|
|
if host_machine.system() == 'linux'
|
|
files += [
|
|
'p/native/linux/linux_debug.c',
|
|
'p/native/linux/linux_coredump.c'
|
|
]
|
|
endif
|
|
|
|
if host_machine.system() != 'windows'
|
|
files += [
|
|
'p/native/procfs.c'
|
|
]
|
|
endif
|
|
|
|
if host_machine.system() == 'darwin'
|
|
files += [
|
|
'p/native/xnu/xnu_debug.c',
|
|
#'p/native/xnu/trap_arm.c',
|
|
#'p/native/xnu/trap_x86.c',
|
|
#'p/native/xnu/xnu_excthreads.c',
|
|
#'p/native/xnu/xnu_threads.c',
|
|
]
|
|
endif
|
|
|
|
r_debug_inc = [
|
|
platform_inc,
|
|
include_directories(
|
|
'../bin/format/elf'
|
|
)
|
|
]
|
|
|
|
r_debug = library('r_debug', files,
|
|
include_directories: r_debug_inc,
|
|
c_args: ['-DCORELIB=1'],
|
|
dependencies: [
|
|
r_util_dep,
|
|
r_hash_dep,
|
|
r_reg_dep,
|
|
r_syscall_dep,
|
|
r_anal_dep,
|
|
r_flag_dep,
|
|
r_io_dep,
|
|
r_bp_dep,
|
|
r_search_dep,
|
|
r_cons_dep,
|
|
r_lang_dep,
|
|
r_egg_dep,
|
|
r_socket_dep,
|
|
windbg_dep,
|
|
qnx_dep,
|
|
gdb_dep,
|
|
bochs_dep,
|
|
sdb_dep
|
|
],
|
|
install: true,
|
|
implicit_include_directories: false,
|
|
soversion: r2_libversion
|
|
)
|
|
|
|
r_debug_dep = declare_dependency(link_with: r_debug,
|
|
include_directories: r_debug_inc)
|
|
|
|
pkgconfig_mod.generate(
|
|
libraries: [r_debug],
|
|
subdirs: 'libr',
|
|
version: r2_version,
|
|
name: 'r_debug',
|
|
filebase: 'r_debug',
|
|
requires: [
|
|
'r_util',
|
|
'r_hash',
|
|
'r_reg',
|
|
'r_syscall',
|
|
'r_anal',
|
|
'r_flag',
|
|
'r_io',
|
|
'r_bp',
|
|
'r_search',
|
|
'r_cons',
|
|
'r_lang',
|
|
'r_egg',
|
|
'r_socket'
|
|
],
|
|
description: 'radare foundation libraries'
|
|
)
|