radare2/libr/asm/Makefile

37 lines
713 B
Makefile
Raw Normal View History

2012-08-14 13:14:54 +02:00
include ../../global.mk
NAME=r_asm
R2DEPS=r_syscall r_lang r_util r_parse
R2DEPS+=r_flag r_cons r_reg
2019-06-13 19:12:51 +02:00
CFLAGS+=-DR2_PLUGIN_INCORE -Iarch/include -Iarch -I../../shlr
CURDIR=p/
2012-08-14 13:14:54 +02:00
include $(TOP)/libr/config.mk
2014-06-24 12:48:29 +02:00
include p/capstone.mk
LDFLAGS+=${CS_LDFLAGS}
2017-05-10 00:34:05 +02:00
include $(STOP)/java/deps.mk
include $(STOP)/capstone.mk
2014-06-24 12:48:29 +02:00
2012-10-11 13:09:33 +02:00
.PHONY: all plugins
2014-03-08 01:18:45 +01:00
EXTRA_CLEAN=doclean
2012-10-11 13:09:33 +02:00
all: plugins
2014-03-08 01:18:45 +01:00
doclean:
$(MAKE) -C d clean
$(MAKE) -C p clean
2014-03-18 02:21:52 +01:00
rm -f `find arch/| grep '\.o$$'`
2014-03-08 01:18:45 +01:00
2012-10-11 13:09:33 +02:00
plugins: ${LIBSO} ${LIBAR}
$(MAKE) -C d all
$(MAKE) -C p all
2012-10-11 13:09:33 +02:00
include ${STATIC_ASM_PLUGINS}
STATIC_OBJS=$(subst ..,p/..,$(subst asm_,p/asm_,$(STATIC_OBJ)))
OBJS=${STATIC_OBJS} asm.o acode.o aop.o binutils_as.o
2012-11-27 19:03:09 +01:00
OBJS+=${SHARED2_OBJ}
2012-10-11 13:09:33 +02:00
2012-08-14 13:14:54 +02:00
include $(TOP)/libr/rules.mk