mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 05:40:10 +00:00
428d50708d
* Remove leftovers from migrating old plugins * Wire up esil callback for plugins * Add workaround for showing registers for AVR * Put 590 comment to cleanup esil from anal struct * Make asm depend on crypto also
28 lines
616 B
Makefile
28 lines
616 B
Makefile
include ../config.mk
|
|
include p/capstone.mk
|
|
|
|
NAME=r_arch
|
|
R2DEPS+=r_util r_reg r_esil r_crypto
|
|
|
|
CFLAGS+=-DR2_PLUGIN_INCORE
|
|
CFLAGS:=-I.. -I$(LTOP)/asm/arch/include -DR2_PLUGIN_INCORE -Iarch -I$(TOP)/shlr $(CFLAGS)
|
|
LDFLAGS+=$(CS_LDFLAGS)
|
|
|
|
.PHONY: pre
|
|
pre: p v35pre
|
|
$(MAKE) libr_arch.$(EXT_SO)
|
|
$(MAKE) libr_arch.$(EXT_AR)
|
|
|
|
v35pre:
|
|
$(MAKE) -C p/arm/v35
|
|
|
|
include $(STATIC_ARCH_PLUGINS)
|
|
include $(STOP)/java/deps.mk
|
|
|
|
STATIC_OBJS=$(subst ..,p/..,$(subst arch_,p/arch_,$(STATIC_OBJ)))
|
|
OBJS=arch.o arch_config.o arch_switch.o arch_op.o
|
|
OBJS+=arch_value.o arch_cond.o arch_session.o
|
|
OBJS+=${STATIC_OBJS}
|
|
|
|
include ../rules.mk
|