2014-03-07 03:16:10 +01:00
|
|
|
# capstone
|
|
|
|
|
|
|
|
OBJ_ARMCS=asm_arm_cs.o
|
2015-03-08 17:59:43 +01:00
|
|
|
OBJ_ARMCS+=../arch/arm/armass.o
|
2016-03-17 17:26:08 +01:00
|
|
|
OBJ_ARMCS+=../arch/arm/armass64.o
|
2014-03-07 03:16:10 +01:00
|
|
|
|
2014-06-24 12:48:29 +02:00
|
|
|
include p/capstone.mk
|
|
|
|
|
|
|
|
#SHARED2_ARMCS=$(addprefix ../,${SHARED_ARMCS})
|
2014-03-07 03:16:10 +01:00
|
|
|
|
|
|
|
STATIC_OBJ+=${OBJ_ARMCS}
|
|
|
|
SHARED_OBJ+=${SHARED_ARMCS}
|
|
|
|
TARGET_ARMCS=asm_arm_cs.${EXT_SO}
|
|
|
|
|
2015-04-14 17:11:52 +02:00
|
|
|
ifeq ($(WITHPIC),1)
|
2014-03-07 03:16:10 +01:00
|
|
|
ALL_TARGETS+=${TARGET_ARMCS}
|
|
|
|
|
|
|
|
${TARGET_ARMCS}: ${OBJ_ARMCS}
|
2014-06-24 12:48:29 +02:00
|
|
|
${CC} $(call libname,asm_arm) ${LDFLAGS} ${CFLAGS} ${CS_CFLAGS} \
|
|
|
|
-o ${TARGET_ARMCS} ${OBJ_ARMCS} ${CS_LDFLAGS}
|
2015-04-14 17:11:52 +02:00
|
|
|
endif
|