radare2/libr/arch/Makefile
2023-06-16 16:58:24 +02:00

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