mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-28 00:16:55 +00:00
63 lines
1.0 KiB
Meson
63 lines
1.0 KiB
Meson
files=[
|
|
'buffer.c',
|
|
'cache.c',
|
|
'desc.c',
|
|
'io.c',
|
|
'map.c',
|
|
'plugin.c',
|
|
'section.c',
|
|
'undo.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 = shared_library('r_io', files,
|
|
include_directories: [platform_inc, include_directories([
|
|
'../../shlr/bochs/include',
|
|
'../../shlr/gdb/include',
|
|
'../../shlr/qnx/include',
|
|
'../../shlr/wind',
|
|
'../../shlr/zip/include']
|
|
)],
|
|
link_with: [r_util, r_socket, libr2qnx, libr2bochs, libr2wind, libr2gdb, libr2zip],
|
|
c_args : ['-DCORELIB=1', '-I' + meson.current_build_dir() + '/../..'],
|
|
install: true
|
|
)
|