2018-02-20 08:33:19 +00:00
|
|
|
files = [
|
|
|
|
'lang.c',
|
|
|
|
'p/c.c',
|
2018-05-16 08:24:35 +00:00
|
|
|
#'p/cpipe.c',
|
2018-02-20 08:33:19 +00:00
|
|
|
'p/lib.c',
|
|
|
|
'p/pipe.c',
|
|
|
|
'p/rust.c',
|
|
|
|
'p/vala.c'
|
2017-05-02 03:05:36 +00:00
|
|
|
]
|
|
|
|
|
2017-06-28 20:54:40 +00:00
|
|
|
r_lang = library('r_lang', files,
|
2017-05-31 11:38:47 +00:00
|
|
|
include_directories: [platform_inc],
|
2018-02-20 08:33:19 +00:00
|
|
|
c_args: ['-DCORELIB=1'],
|
2018-05-16 08:24:35 +00:00
|
|
|
link_with: [
|
|
|
|
r_util,
|
|
|
|
r_cons
|
|
|
|
],
|
2018-02-20 08:33:19 +00:00
|
|
|
install: true,
|
2018-03-24 17:18:32 +00:00
|
|
|
implicit_include_directories: false,
|
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-03-23 06:47:46 +00:00
|
|
|
pkgconfig_mod.generate(
|
|
|
|
libraries: [r_lang],
|
|
|
|
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',
|
|
|
|
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'
|
|
|
|
)
|