mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-15 01:10:01 +00:00
35 lines
828 B
Makefile
35 lines
828 B
Makefile
include ../config.mk
|
|
|
|
NAME=r_anal
|
|
DEPS=r_util r_db r_reg r_syscall r_diff
|
|
# r_core (commented as it would be recursive)
|
|
CFLAGS*=HAVE_CPARSE=$(HAVE_CPARSE)
|
|
CFLAGS+=-DCORELIB -Iarch -I$(TOP)/shlr
|
|
|
|
LDFLAGS+=${BN_LIBS}
|
|
|
|
include p/capstone.mk
|
|
LDFLAGS+=$(CS_LDFLAGS)
|
|
LDFLAGS+=$(SHLR)/java/libr_java.a
|
|
|
|
|
|
.PHONY: all plugins libs ${EXTRA_CLEAN}
|
|
|
|
all: plugins
|
|
|
|
plugins: ${LIBSO} ${LIBAR}
|
|
@${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 kvesil.o cycles.o rpnesil.o
|
|
OBJLIBS+=esil_stats.o flirt.o labels.o
|
|
|
|
OBJS=${STATIC_OBJS} ${OBJLIBS} ${CPARSE_OBJS}
|
|
|
|
include $(LTOP)/rules.mk
|