mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-13 16:18:33 +00:00
72 lines
1.2 KiB
Meson
72 lines
1.2 KiB
Meson
files=[
|
|
'iobuf.c',
|
|
'cache.c',
|
|
'desc.c',
|
|
'fd.c',
|
|
'io.c',
|
|
'ioutils.c',
|
|
'map.c',
|
|
'plugin.c',
|
|
'section.c',
|
|
'undo.c',
|
|
'p_cache.c',
|
|
'p/io_rbuf.c',
|
|
'p/io_ar.c',
|
|
'p/io_bfdbg.c',
|
|
'p/io_bochs.c',
|
|
'p/io_debug.c',
|
|
'p/io_default.c',
|
|
'p/io_gdb.c',
|
|
'p/io_gzip.c',
|
|
'p/io_http.c',
|
|
'p/io_ihex.c',
|
|
'p/io_mach.c',
|
|
'p/io_malloc.c',
|
|
'p/io_mmap.c',
|
|
'p/io_null.c',
|
|
'p/io_procpid.c',
|
|
'p/io_ptrace.c',
|
|
'p/io_qnx.c',
|
|
'p/io_r2k.c',
|
|
'p/io_r2pipe.c',
|
|
'p/io_r2web.c',
|
|
'p/io_rap.c',
|
|
'p/io_self.c',
|
|
'p/io_shm.c',
|
|
'p/io_sparse.c',
|
|
'p/io_tcp.c',
|
|
'p/io_windbg.c',
|
|
'p/io_zip.c',
|
|
]
|
|
|
|
if host_os == 'linux'
|
|
files += [
|
|
'p/io_r2k_linux.c',
|
|
]
|
|
endif
|
|
|
|
if host_os == 'windows'
|
|
files += [
|
|
'p/io_r2k_windows.c',
|
|
'p/io_w32.c',
|
|
'p/io_w32dbg.c',
|
|
]
|
|
endif
|
|
|
|
r_io = library('r_io', files,
|
|
include_directories: [platform_inc, include_directories([
|
|
'../../shlr/bochs/include',
|
|
'../../shlr/gdb/include',
|
|
'../../shlr/qnx/include',
|
|
'../../shlr/windbg',
|
|
'../../shlr/ar',
|
|
'../../shlr/zip/include']
|
|
)],
|
|
link_with: [r_util, r_socket, libr2qnx, libr2bochs, libr2windbg, libr2gdb, libr2zip, libr2ar],
|
|
objects: [
|
|
libr2sdb.extract_all_objects(),
|
|
],
|
|
c_args : ['-DCORELIB=1', '-I' + meson.current_build_dir() + '/../..'],
|
|
install: true
|
|
)
|