2012-10-04 01:20:00 +02:00
|
|
|
include ../config.mk
|
|
|
|
|
2011-07-27 01:16:18 +02:00
|
|
|
NAME=r_egg
|
2016-06-17 12:14:39 +02:00
|
|
|
DEPS=r_asm r_syscall r_util r_parse r_reg r_anal
|
2016-10-27 01:02:26 +02:00
|
|
|
DEPS+=r_flag r_cons
|
2016-06-06 17:30:07 +02:00
|
|
|
LINK+=$(SHLR)/java/libr_java.a
|
2011-11-13 04:08:08 +01:00
|
|
|
|
2017-02-02 12:31:47 +01:00
|
|
|
OBJS=egg.o egg_lang.o
|
2012-10-03 14:31:35 +02:00
|
|
|
OBJS+=emit_x86.o
|
|
|
|
OBJS+=emit_arm.o
|
|
|
|
OBJS+=emit_x64.o
|
|
|
|
OBJS+=emit_trace.o
|
2011-11-13 04:47:56 +01:00
|
|
|
|
2012-10-04 01:20:00 +02:00
|
|
|
all: ${LIBSO} ${LIBAR}
|
2012-06-13 01:42:47 +02:00
|
|
|
|
|
|
|
P=p/
|
2011-11-13 04:08:08 +01:00
|
|
|
include ${STATIC_EGG_PLUGINS}
|
2017-02-02 12:31:47 +01:00
|
|
|
|
|
|
|
ifneq (${STATIC_OBJ},)
|
2012-10-04 01:20:00 +02:00
|
|
|
OBJS+=$(subst ..,${P}..,$(subst egg_,${P}egg_,$(STATIC_OBJ)))
|
2017-02-02 12:31:47 +01:00
|
|
|
endif
|
2011-11-12 06:16:00 +01:00
|
|
|
|
2011-07-27 01:16:18 +02:00
|
|
|
include ../rules.mk
|