mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-19 03:09:09 +00:00
6d05365f30
* Seems to work, but there are many things to improve and fix * Fixed some bugs (overflow, sandbox bypass, ..) * Exposes some memleaks and bad api usages. * Refactor all the things! \o/ * Fix z80, tms320 disasm and x86.as * Care about memleaks * Support meson * And fix more tests related to pda and pdj and m68k
37 lines
676 B
Makefile
37 lines
676 B
Makefile
include ../../global.mk
|
|
|
|
NAME=r_asm
|
|
DEPS=r_syscall r_lang r_util r_parse
|
|
DEPS+=r_flag r_cons r_reg
|
|
CFLAGS+=-DCORELIB -Iarch/include -Iarch -I../../shlr
|
|
CURDIR=p/
|
|
|
|
include $(TOP)/libr/config.mk
|
|
|
|
include p/capstone.mk
|
|
LDFLAGS+=${CS_LDFLAGS}
|
|
include $(STOP)/java/deps.mk
|
|
|
|
.PHONY: all plugins
|
|
|
|
EXTRA_CLEAN=doclean
|
|
|
|
all: plugins
|
|
|
|
doclean:
|
|
@cd d && ${MAKE} clean
|
|
@cd p && ${MAKE} clean
|
|
rm -f `find arch/| grep '\.o$$'`
|
|
|
|
plugins: ${LIBSO} ${LIBAR}
|
|
${MAKE} -C d all
|
|
${MAKE} -C p all
|
|
|
|
include ${STATIC_ASM_PLUGINS}
|
|
STATIC_OBJS=$(subst ..,p/..,$(subst asm_,p/asm_,$(STATIC_OBJ)))
|
|
OBJS=${STATIC_OBJS} asm.o code.o op.o
|
|
# hack to b
|
|
OBJS+=${SHARED2_OBJ}
|
|
|
|
include $(TOP)/libr/rules.mk
|