mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-11 06:55:01 +00:00
0f271a8bac
- r_asm now depends on r_db (uses r_pair aka sdb) - r_asm_describe() - install opcode descriptions - Use ?d to get description of opcode (uses asm.arch) * Add 'fl' command to get length of flag * Fix some warnings in anal.sparc plugin * Add new assembler directives - .int8 (alias of .byte) - .int16 (alias of .short) - .int32 and .int64 * Fix memory leak in r_core_disasm() * Add accessors for RAnalFcn.{refs,xrefs,vars,bbs} - Updated bindings
26 lines
512 B
Makefile
26 lines
512 B
Makefile
NAME=r_asm
|
|
DEPS=r_lib r_util r_parse r_db
|
|
CFLAGS+=-DCORELIB -Iarch/include -Iarch
|
|
|
|
include ../config.mk
|
|
|
|
foo: pre ${LIBSO} ${LIBAR} plugins
|
|
|
|
include ${STATIC_ASM_PLUGINS}
|
|
STATIC_OBJS=$(subst ..,p/..,$(subst asm_,p/asm_,$(STATIC_OBJ)))
|
|
OBJ=${STATIC_OBJS} asm.o code.o
|
|
|
|
pre:
|
|
@if [ ! -e libr_asm.${EXT_SO} ]; then if [ ! -e libr_asm.${EXT_AR} ]; then rm -f ${STATIC_OBJS} ; fi ; fi
|
|
|
|
re:
|
|
rm -f asm.o libr_asm.so
|
|
${MAKE}
|
|
sudo ${MAKE} install
|
|
|
|
plugins:
|
|
@cd d && ${MAKE}
|
|
@cd p && ${MAKE} all
|
|
|
|
include ../rules.mk
|