radare2/libr/anal/Makefile

52 lines
960 B
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
2012-08-14 11:14:54 +00:00
NAME=r_anal
2015-06-01 23:21:56 +00:00
DEPS=r_util r_db r_reg r_syscall
CFLAGS+=-DCORELIB -Iarch -I$(TOP)/shlr
LDFLAGS+=${BN_LIBS}
CURDIR=p/
2014-06-24 10:48:29 +00:00
include p/capstone.mk
LDFLAGS+=$(CS_LDFLAGS)
2014-06-25 02:40:15 +00:00
LDFLAGS+=$(SHLR)/java/libr_java.a
.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))
OBJLIBS=meta.o reflines.o ref.o op.o fcn.o bb.o var.o
OBJLIBS+=cond.o value.o cc.o diff.o types.o fcnstore.o
OBJLIBS+=hint.o vm.o anal.o data.o xrefs.o esil.o sign.o
OBJLIBS+=anal_ex.o switch.o state.o cycles.o
OBJLIBS+=esil_stats.o esil_trace.o flirt.o labels.o
OBJLIBS+=esil2reil.o pin.o
OBJS=${STATIC_OBJS} ${OBJLIBS}
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