mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-02 11:16:15 +00:00

* 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
92 lines
1.5 KiB
Meson
92 lines
1.5 KiB
Meson
files = [
|
|
'iobuf.c',
|
|
'cache.c',
|
|
'desc.c',
|
|
'fd.c',
|
|
'io.c',
|
|
'ioutils.c',
|
|
'map.c',
|
|
'plugin.c',
|
|
'section.c',
|
|
'undo.c',
|
|
'p_cache.c',
|
|
'p/io_ar.c',
|
|
'p/io_bfdbg.c',
|
|
'p/io_bochs.c',
|
|
'p/io_debug.c',
|
|
'p/io_default.c',
|
|
'p/io_gdb.c',
|
|
'p/io_gprobe.c',
|
|
'p/io_gzip.c',
|
|
'p/io_http.c',
|
|
'p/io_ihex.c',
|
|
'p/io_mach.c',
|
|
'p/io_malloc.c',
|
|
'p/io_mmap.c',
|
|
'p/io_null.c',
|
|
'p/io_procpid.c',
|
|
'p/io_ptrace.c',
|
|
'p/io_qnx.c',
|
|
'p/io_r2k.c',
|
|
'p/io_r2pipe.c',
|
|
'p/io_r2web.c',
|
|
'p/io_rap.c',
|
|
'p/io_rbuf.c',
|
|
'p/io_self.c',
|
|
'p/io_shm.c',
|
|
'p/io_sparse.c',
|
|
'p/io_tcp.c',
|
|
'p/io_windbg.c',
|
|
'p/io_winedbg.c',
|
|
'p/io_zip.c',
|
|
]
|
|
|
|
if host_machine.system() == 'linux'
|
|
files += [
|
|
'p/io_r2k_linux.c',
|
|
]
|
|
endif
|
|
|
|
if host_machine.system() == 'windows'
|
|
files += [
|
|
'p/io_r2k_windows.c',
|
|
'p/io_w32.c',
|
|
'p/io_w32dbg.c',
|
|
]
|
|
endif
|
|
|
|
r_io = library('r_io', files,
|
|
include_directories: platform_inc,
|
|
dependencies: [
|
|
r_util_dep,
|
|
r_socket_dep,
|
|
sdb_dep,
|
|
bochs_dep,
|
|
gdb_dep,
|
|
windbg_dep,
|
|
qnx_dep,
|
|
zip_dep,
|
|
ar_dep
|
|
],
|
|
c_args: ['-DCORELIB=1'],
|
|
install: true,
|
|
implicit_include_directories: false,
|
|
soversion: r2_libversion
|
|
)
|
|
|
|
r_io_dep = declare_dependency(link_with: r_io,
|
|
include_directories: platform_inc)
|
|
|
|
pkgconfig_mod.generate(
|
|
libraries: [r_io],
|
|
subdirs: 'libr',
|
|
version: r2_version,
|
|
name: 'r_io',
|
|
filebase: 'r_io',
|
|
requires: [
|
|
'r_util',
|
|
'r_socket'
|
|
],
|
|
description: 'radare foundation libraries'
|
|
)
|