2019-01-10 13:15:50 +00:00
|
|
|
r_lang_sources = [
|
2018-02-20 08:33:19 +00:00
|
|
|
'lang.c',
|
2018-08-05 15:32:05 +00:00
|
|
|
# included in lang.c
|
|
|
|
#'p/c.c',
|
2018-05-16 08:24:35 +00:00
|
|
|
#'p/cpipe.c',
|
2018-08-05 15:32:05 +00:00
|
|
|
#'p/lib.c',
|
|
|
|
#'p/pipe.c',
|
|
|
|
#'p/rust.c',
|
|
|
|
#'p/vala.c'
|
|
|
|
#'p/zig.c',
|
2020-07-01 12:14:18 +00:00
|
|
|
#'p/spp.c',
|
2017-05-02 03:05:36 +00:00
|
|
|
]
|
|
|
|
|
2020-07-01 12:14:18 +00:00
|
|
|
spp_inc = [platform_inc, include_directories('../../shlr/spp')]
|
|
|
|
|
2019-01-10 13:15:50 +00:00
|
|
|
r_lang = library('r_lang', r_lang_sources,
|
2020-07-01 12:14:18 +00:00
|
|
|
include_directories: [platform_inc, spp_inc],
|
2018-09-03 08:07:28 +00:00
|
|
|
c_args: library_cflags,
|
2020-07-21 08:28:43 +00:00
|
|
|
dependencies: [r_util_dep, r_cons_dep],
|
2018-02-20 08:33:19 +00:00
|
|
|
install: true,
|
2018-03-24 17:18:32 +00:00
|
|
|
implicit_include_directories: false,
|
2020-09-15 07:16:14 +00:00
|
|
|
install_rpath: rpath_lib,
|
2018-04-28 08:02:55 +00:00
|
|
|
soversion: r2_libversion
|
2017-05-02 03:05:36 +00:00
|
|
|
)
|
2018-03-03 12:00:18 +00:00
|
|
|
|
2018-07-09 14:58:38 +00:00
|
|
|
r_lang_dep = declare_dependency(link_with: r_lang,
|
|
|
|
include_directories: [platform_inc])
|
|
|
|
|
2018-12-27 13:17:54 +00:00
|
|
|
pkgconfig_mod.generate(r_lang,
|
2018-03-23 06:47:46 +00:00
|
|
|
subdirs: 'libr',
|
2018-04-28 08:02:55 +00:00
|
|
|
version: r2_version,
|
2018-03-23 06:47:46 +00:00
|
|
|
name: 'r_lang',
|
|
|
|
filebase: 'r_lang',
|
2020-07-16 12:47:30 +00:00
|
|
|
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'
|
|
|
|
)
|