radare2/libr/egg/meson.build
lzutao 9cc6d2d291 meson: Do not use glob with meson ##build
* meson: Explicit is better than implicit
* meson: Fix deprecated warnings in Meson 0.49.0
* meson: Do not need separate array for installed files

libr/socket/meson.build:30: DEPRECATION: Library r_socket was passed to
the "libraries" keyword argument of a previous call to generate() method
instead of first positional argument. Adding r_socket to "Requires" field,
but this is a deprecated behaviour that will change in a future version
of Meson. Please report the issue if this warning cannot be avoided in
your case.
2018-12-27 14:17:54 +01:00

46 lines
839 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: library_cflags,
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(r_egg,
subdirs: 'libr',
version: r2_version,
name: 'r_egg',
filebase: 'r_egg',
requires: [
'r_util',
'r_asm',
'r_syscall'
],
description: 'radare foundation libraries'
)