radare2/libr/parse/meson.build
Riccardo Schirone 7572f315ea
meson improvements (#10617)
* meson.build: fix meson build when not on git
* meson.build: make capstone a dependency
* meson.build: make r_magic library optional
* meson.build: capstone include is already in the dependency
* meson.build: use dependencies instead of manual linking + includes
* meson.build: add travis
* flag/meson.build: include sdb dependency
* travis-script: print messages based on install system
* io/meson.build: add sdb as dependency
* syscall/meson.build: missing sdb dependency
* {parse,config}/meson.build: add sdb dependency
* travis.yml: pass INSTALL_SYSTEM var to docker
* {bin/shlr}/meson.build: add sdb_dep to r2java and bin
* install meson and ninja-build in r2-travis docker
* travis.yml: allow meson build to fail for now
* anal/meson.build: add sdb and java dependencies
* egg/meson.build: add sdb dependency
* travis.yml: meson build env should be also in the includes list
* core/meson.build: add java dep
* meson.build: use dependencies also to create main r2 dependency
* rasm2/meson.build: replace link_with with dependencies
* rasm2/meson.build: add sdb as dependency
* meson.builds: convert link_with to dependencies and fix tabs
* travis-script: change meson install prefix and set PKG_CONFIG_PATH
* travis-script: add lib64 to LD_LIBRARY_PATH
2018-07-09 16:58:38 +02:00

53 lines
1.1 KiB
Meson

files = [
'code.c',
'parse.c',
'p/parse_6502_pseudo.c',
'p/parse_arm_pseudo.c',
'p/parse_att2intel.c',
'p/parse_avr_pseudo.c',
'p/parse_dalvik_pseudo.c',
'p/parse_m68k_pseudo.c',
'p/parse_mips_pseudo.c',
'p/parse_mreplace.c',
'p/parse_ppc_pseudo.c',
'p/parse_sh_pseudo.c',
'p/parse_x86_pseudo.c',
'p/parse_z80_pseudo.c',
'p/parse_mreplace/mreplace.c',
'p/parse_mreplace/mmemory.c'
]
r_parse = library('r_parse', files,
include_directories: platform_inc,
c_args: ['-DCORELIB=1'],
dependencies: [
r_util_dep,
r_flag_dep,
r_syscall_dep,
r_reg_dep,
sdb_dep,
tcc_dep
],
install: true,
implicit_include_directories: false,
soversion: r2_libversion
)
r_parse_dep = declare_dependency(link_with: r_parse,
include_directories: platform_inc)
pkgconfig_mod.generate(
libraries: [r_parse],
subdirs: 'libr',
version: r2_version,
name: 'r_parse',
filebase: 'r_parse',
requires: [
'r_util',
'r_flag',
'r_syscall',
'r_reg'
],
description: 'radare foundation libraries'
)