radare2/libr/anal/Makefile

60 lines
1.3 KiB
Makefile
Raw Normal View History

2012-10-03 23:20:00 +00:00
include ../config.mk
2016-01-22 19:53:01 +00:00
EXTRA_TARGETS+=do
EXTRA_CLEAN=doclean
CFLAGS+=-I..
2012-08-14 11:14:54 +00:00
NAME=r_anal
DEPS=r_util r_reg r_syscall r_search r_cons r_flag r_hash r_crypto
CFLAGS+=-DCORELIB -Iarch -I$(TOP)/shlr
2016-09-12 18:52:12 +00:00
CFLAGS+=-I$(LTOP)/asm/arch/include
LDFLAGS+=${BN_LIBS}
CURDIR=p/
2014-06-24 10:48:29 +00:00
include p/capstone.mk
LDFLAGS+=$(CS_LDFLAGS)
2017-05-09 22:34:05 +00:00
include $(STOP)/java/deps.mk
LDFLAGS+=$(LINK)
2014-06-25 02:40:15 +00:00
.PHONY: all plugins libs ${EXTRA_CLEAN}
2012-10-03 23:20:00 +00:00
all: plugins
2013-08-26 00:43:15 +00:00
plugins: ${LIBSO} ${LIBAR}
2012-10-03 23:20:00 +00:00
@${MAKE} -C p all
include ${STATIC_ANAL_PLUGINS}
STATIC_OBJS=$(addprefix $(LTOP)/anal/p/,$(STATIC_OBJ))
2018-02-09 21:25:30 +00:00
OBJLIBS=meta.o reflines.o op.o fcn.o bb.o var.o
OBJLIBS+=cond.o value.o cc.o class.o diff.o
OBJLIBS+=hint.o anal.o data.o xrefs.o esil.o sign.o
OBJLIBS+=anal_ex.o switch.o state.o cycles.o
OBJLIBS+=esil_sources.o esil_interrupt.o
OBJLIBS+=esil_stats.o esil_trace.o flirt.o labels.o
OBJLIBS+=esil2reil.o pin.o session.o vtable.o rtti.o
OBJLIBS+=rtti_msvc.o rtti_itanium.o
2016-09-01 20:50:28 +00:00
ASMOBJS+=$(LTOP)/asm/arch/xtensa/gnu/xtensa-modules.o
ASMOBJS+=$(LTOP)/asm/arch/xtensa/gnu/xtensa-isa.o
ASMOBJS+=$(LTOP)/asm/arch/xtensa/gnu/elf32-xtensa.o
2016-09-01 20:50:28 +00:00
OBJS=${STATIC_OBJS} ${OBJLIBS} ${ASMOBJS}
test tests: tests-esil
tests-esil:
cd ../../radare2-regressions ; \
sh run_tests.sh t.esil
.PHONY: do doclean
do:
${MAKE} -C d
doclean:
${MAKE} -C d clean
include $(LTOP)/rules.mk