2018-02-20 08:33:19 +00:00
|
|
|
files = [
|
|
|
|
'lang.c',
|
|
|
|
'p/c.c',
|
|
|
|
# 'p/cpipe.c',
|
|
|
|
'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'],
|
2017-05-02 03:05:36 +00:00
|
|
|
link_with: [r_util, r_cons],
|
2018-02-20 08:33:19 +00:00
|
|
|
install: true,
|
|
|
|
implicit_include_directories: false
|
2017-05-02 03:05:36 +00:00
|
|
|
)
|
2018-03-03 12:00:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
pkg = import('pkgconfig')
|
|
|
|
pkg.generate(libraries: [r_lang],
|
|
|
|
subdirs: 'libr',
|
|
|
|
version: r2version,
|
|
|
|
name: 'r_lang',
|
|
|
|
filebase: 'r_lang',
|
|
|
|
requires: [
|
|
|
|
'r_util', 'r_cons'
|
2018-03-03 21:08:37 +00:00
|
|
|
],
|
|
|
|
description: 'radare foundation libraries')
|