radare2/libr/asm/p/mips_cs.mk
iamahuman 4462e73306 Move mipsasm from mips_gnu to mips_cs
Including mipsasm.o in mips_gnu prevents builds with plugin configurations
lacking libopcode (e.g. emscripten / static.nogpl) from working properly.
2018-12-15 18:32:24 +01:00

17 lines
362 B
Makefile

# capstone
OBJ_MIPSCS=asm_mips_cs.o
OBJ_MIPSCS+=../arch/mips/mipsasm.o
include ${CURDIR}capstone.mk
STATIC_OBJ+=${OBJ_MIPSCS}
TARGET_MIPSCS=asm_mips_cs.${EXT_SO}
ifeq ($(WITHPIC),1)
ALL_TARGETS+=${TARGET_MIPSCS}
${TARGET_MIPSCS}: ${OBJ_MIPSCS}
${CC} $(call libname,asm_mips_cs) ${LDFLAGS} ${CFLAGS} \
-o ${TARGET_MIPSCS} ${OBJ_MIPSCS} ${CS_LDFLAGS}
endif