2009-02-15 23:57:03 +00:00
|
|
|
NAME=r_anal
|
2010-06-16 07:42:46 +00:00
|
|
|
DEPS=r_util r_lib r_reg
|
2010-02-28 19:07:36 +00:00
|
|
|
CFLAGS+=-DCORELIB -Iarch
|
|
|
|
|
|
|
|
include ../config.mk
|
|
|
|
|
2010-05-24 09:15:32 +00:00
|
|
|
LDFLAGS+=${BN_LIBS}
|
|
|
|
|
2010-02-28 19:07:36 +00:00
|
|
|
foo: pre libr_anal.${EXT_SO} libr_anal.${EXT_AR} plugins
|
|
|
|
|
|
|
|
include ${STATIC_ANAL_PLUGINS}
|
2010-05-23 12:31:18 +00:00
|
|
|
STATIC_OBJS=$(subst ../ar,p/../ar,$(subst anal_,p/anal_,$(STATIC_OBJ)))
|
2011-01-26 20:54:39 +00:00
|
|
|
OBJLIBS=meta.o reflines.o ref.o aop.o fcn.o bb.o var.o anal.o cond.o value.o cc.o diff.o type.o
|
2010-06-17 15:55:39 +00:00
|
|
|
OBJ=${STATIC_OBJS} ${OBJLIBS}
|
2010-02-28 19:07:36 +00:00
|
|
|
|
|
|
|
pre:
|
|
|
|
if [ ! -e libr_anal.${EXT_SO} ]; then rm -f ${STATIC_OBJS} ; fi
|
|
|
|
|
|
|
|
plugins:
|
|
|
|
cd p && ${MAKE} all
|
2009-02-15 23:57:03 +00:00
|
|
|
|
|
|
|
include ../rules.mk
|