radare2/libr/lang/meson.build

41 lines
871 B
Meson
Raw Normal View History

r_lang_sources = [
2018-02-20 08:33:19 +00:00
'lang.c',
# included in lang.c
#'p/c.c',
2018-05-16 08:24:35 +00:00
#'p/cpipe.c',
#'p/lib.c',
#'p/pipe.c',
#'p/rust.c',
#'p/vala.c'
#'p/zig.c',
#'p/spp.c',
]
spp_inc = [platform_inc, include_directories('../../shlr/spp')]
r_lang = library('r_lang', r_lang_sources,
include_directories: [platform_inc, spp_inc],
c_args: library_cflags,
dependencies: [r_util_dep, r_cons_dep],
2018-02-20 08:33:19 +00:00
install: true,
implicit_include_directories: false,
install_rpath: rpath_lib,
soversion: r2_libversion
)
r_lang_dep = declare_dependency(link_with: r_lang,
include_directories: [platform_inc])
pkgconfig_mod.generate(r_lang,
2018-03-23 06:47:46 +00:00
subdirs: 'libr',
version: r2_version,
2018-03-23 06:47:46 +00:00
name: 'r_lang',
filebase: 'r_lang',
libraries: pkgcfg_sanitize_libs,
2018-03-23 06:47:46 +00:00
requires: [
2018-05-16 08:24:35 +00:00
'r_util',
'r_cons'
2018-03-23 06:47:46 +00:00
],
description: 'radare foundation libraries'
)