mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 23:20:40 +00:00
28 lines
612 B
Makefile
28 lines
612 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)/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
|