radare2/libr/asm/p/ppc_cs.mk
2018-01-11 14:07:30 +01:00

19 lines
435 B
Makefile

# capstone
OBJ_PPCCS=asm_ppc_cs.o ../arch/ppc/libvle/vle.o ../arch/ppc/libps/libps.o
include ${CURDIR}capstone.mk
STATIC_OBJ+=${OBJ_PPCCS}
SHARED_OBJ+=$(addprefix ../,${SHARED_PPCCS})
TARGET_PPCCS=asm_ppc_cs.${EXT_SO}
ifeq ($(WITHPIC),1)
ALL_TARGETS+=${TARGET_PPCCS}
${TARGET_PPCCS}: ${OBJ_PPCCS}
${CC} -o ${TARGET_PPCCS} ${OBJ_PPCCS} \
$(call libname,asm_ppc_cs) ${LDFLAGS} ${CFLAGS} \
${SHARED2_PPCCS} ${CS_LDFLAGS}
endif