mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-01 10:38:51 +00:00
122 lines
2.2 KiB
Meson
122 lines
2.2 KiB
Meson
files=[
|
|
'bin.c',
|
|
'bin_write.c',
|
|
'dbginfo.c',
|
|
'demangle.c',
|
|
'dwarf.c',
|
|
'filter.c',
|
|
'p/bin_any.c',
|
|
'p/bin_art.c',
|
|
'p/bin_avr.c',
|
|
'p/bin_bf.c',
|
|
'p/bin_bflt.c',
|
|
'p/bin_bios.c',
|
|
'p/bin_bootimg.c',
|
|
'p/bin_cgc.c',
|
|
'p/bin_coff.c',
|
|
'p/bin_dbginfo_dex.c',
|
|
'p/bin_dbginfo_elf.c',
|
|
'p/bin_dbginfo_elf64.c',
|
|
'p/bin_dex.c',
|
|
'p/bin_dol.c',
|
|
'p/bin_dyldcache.c',
|
|
'p/bin_elf.c',
|
|
'p/bin_elf64.c',
|
|
'p/bin_fs.c',
|
|
#'p/bin_java.c',
|
|
'p/bin_mach0.c',
|
|
'p/bin_mach064.c',
|
|
'p/bin_mbn.c',
|
|
'p/bin_menuet.c',
|
|
'p/bin_mz.c',
|
|
'p/bin_nes.c',
|
|
'p/bin_nin3ds.c',
|
|
'p/bin_ninds.c',
|
|
'p/bin_ningb.c',
|
|
'p/bin_ningba.c',
|
|
'p/bin_nro.c',
|
|
'p/bin_omf.c',
|
|
'p/bin_p9.c',
|
|
'p/bin_pe.c',
|
|
'p/bin_pe64.c',
|
|
'p/bin_pebble.c',
|
|
'p/bin_psxexe.c',
|
|
'p/bin_sfc.c',
|
|
'p/bin_smd.c',
|
|
'p/bin_sms.c',
|
|
'p/bin_spc700.c',
|
|
'p/bin_te.c',
|
|
'p/bin_vsf.c',
|
|
'p/bin_wasm.c',
|
|
'p/bin_write_elf.c',
|
|
'p/bin_write_elf64.c',
|
|
'p/bin_write_mach0.c',
|
|
'p/bin_write_mach064.c',
|
|
'p/bin_write_pe.c',
|
|
'p/bin_write_pe64.c',
|
|
'p/bin_xbe.c',
|
|
'p/bin_xtr_dyldcache.c',
|
|
'p/bin_xtr_fatmach0.c',
|
|
'p/bin_zimg.c',
|
|
|
|
'format/bflt/bflt.c',
|
|
'format/coff/coff.c',
|
|
'format/dex/dex.c',
|
|
'format/elf/elf.c',
|
|
'format/elf/elf64.c',
|
|
'format/elf/elf64_write.c',
|
|
'format/elf/elf_write.c',
|
|
'format/mach0/dyldcache.c',
|
|
'format/mach0/fatmach0.c',
|
|
'format/mach0/mach0.c',
|
|
'format/mach0/mach064.c',
|
|
'format/mz/mz.c',
|
|
'format/objc/mach064_classes.c',
|
|
'format/objc/mach0_classes.c',
|
|
'format/omf/omf.c',
|
|
'format/p9/p9bin.c',
|
|
'format/pe/pe.c',
|
|
'format/pe/pe64.c',
|
|
'format/pe/pe64_write.c',
|
|
'format/pe/pe_write.c',
|
|
'format/te/te.c',
|
|
'format/wasm/wasm.c',
|
|
'format/zimg/zimg.c',
|
|
|
|
'mangling/cxx.c',
|
|
'mangling/cxx/cp-demangle.c',
|
|
'mangling/demangler.c',
|
|
'mangling/dlang.c',
|
|
'mangling/microsoft_demangle.c',
|
|
'mangling/msvc.c',
|
|
'mangling/objc.c',
|
|
'mangling/swift-sd.c',
|
|
'mangling/swift.c',
|
|
|
|
'pdb/dbi.c',
|
|
'pdb/fpo.c',
|
|
'pdb/gdata.c',
|
|
'pdb/omap.c',
|
|
'pdb/pdb.c',
|
|
'pdb/pdb_downloader.c',
|
|
'pdb/stream_file.c',
|
|
'pdb/stream_pe.c',
|
|
'pdb/tpi.c'
|
|
]
|
|
|
|
r_bin = shared_library('r_bin', files,
|
|
include_directories: include_directories([
|
|
'../include',
|
|
'mangling',
|
|
'format',
|
|
'.',
|
|
platform_librinc
|
|
]),
|
|
c_args : ['-DCORELIB=1', '-I' + meson.current_build_dir() + '/../..'],
|
|
link_with: [r_util, r_io, r_socket, r_magic],
|
|
objects: [
|
|
r_sdb.extract_all_objects()
|
|
],
|
|
install: true
|
|
)
|