radare2/libr/core/meson.build
2017-11-24 10:14:00 +08:00

78 lines
1.4 KiB
Meson

files=[
'anal_tp.c',
#'anal_vt.c',
'asm.c',
'p/core_anal.c',
'blaze.c',
'canal.c',
'cbin.c',
'cconfig.c',
'cio.c',
'cmd.c',
#'cmd_anal.c',
'cmd_api.c',
#'cmd_cmp.c',
#'cmd_debug.c',
#'cmd_egg.c',
#'cmd_eval.c',
#'cmd_flag.c',
#'cmd_hash.c',
#'cmd_help.c',
#'cmd_info.c',
#'cmd_log.c',
'cmd_macro.c',
'cmd_magic.c',
#'cmd_meta.c',
#'cmd_mount.c',
#'cmd_open.c',
#'cmd_print.c',
#'cmd_project.c',
#'cmd_quit.c',
#'cmd_search.c',
#'cmd_search_rop.c',
#'cmd_section.c',
#'cmd_seek.c',
#'cmd_type.c',
#'cmd_write.c',
#'cmd_zign.c',
'core.c',
'disasm.c',
'file.c',
'fortune.c',
'gdiff.c',
'graph.c',
'hack.c',
'libs.c',
#'linux_heap_glibc.c',
'log.c',
'panels.c',
'patch.c',
'plugin.c',
'project.c',
'pseudo.c',
'rtr.c',
'task.c',
'vasm.c',
'visual.c',
'vmarks.c',
'vmenus.c',
'yank.c'
]
includes = ['../../shlr']
if host_machine.system() != 'windows'
includes += ['../../shlr/heap/include']
endif
r_core = library('r_core', files,
include_directories: [platform_inc, include_directories(includes)],
c_args: ['-DCORELIB=1', '-I' + meson.current_build_dir() + '/../..'],
link_with: [r_util, r_reg, r_syscall, r_search, r_cons, r_anal, r_socket, r_io, r_fs, r_lang, r_hash, r_flag, r_parse, r_egg, r_debug, r_magic, r_crypto, r_config, r_bin, r_asm, r_bp],
objects: [
libr2sdb.extract_all_objects(),
libr2spp.extract_all_objects(),
libr2gdb.extract_all_objects(),
],
install: true
)