mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-28 07:30:33 +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
47 lines
856 B
Meson
47 lines
856 B
Meson
files = [
|
|
'egg.c',
|
|
'egg_Cfile.c',
|
|
'egg_lang.c',
|
|
'emit_arm.c',
|
|
'emit_trace.c',
|
|
'emit_x64.c',
|
|
'emit_x86.c',
|
|
#'p/egg_bind.c',
|
|
#'p/egg_cb.c',
|
|
'p/egg_exec.c',
|
|
#'p/egg_reverse.c',
|
|
#'p/egg_shya.c',
|
|
'p/egg_xor.c'
|
|
]
|
|
|
|
r_egg = library('r_egg', files,
|
|
include_directories: [platform_inc],
|
|
c_args: ['-DCORELIB=1'],
|
|
dependencies: [
|
|
r_util_dep,
|
|
r_asm_dep,
|
|
r_syscall_dep,
|
|
sdb_dep
|
|
],
|
|
install: true,
|
|
implicit_include_directories: false,
|
|
soversion: r2_libversion
|
|
)
|
|
|
|
r_egg_dep = declare_dependency(link_with: r_egg,
|
|
include_directories: [platform_inc])
|
|
|
|
pkgconfig_mod.generate(
|
|
libraries: [r_egg],
|
|
subdirs: 'libr',
|
|
version: r2_version,
|
|
name: 'r_egg',
|
|
filebase: 'r_egg',
|
|
requires: [
|
|
'r_util',
|
|
'r_asm',
|
|
'r_syscall'
|
|
],
|
|
description: 'radare foundation libraries'
|
|
)
|