mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-03 02:41:08 +00:00
a5c9fc7855
- change of 'access' function for 'r_file_exists' for windows portability - several changes in the way ragg2.c is done, see PR #9658 pancake comments - change function for the remove of 'file'.text - open changed for r_file_dump - some elt of cEnv_t are now const - skip all the pointers verification in set_cEnv but do them in check_cEnv instead - add 2 r_str_sanitize for file and CC in parseCFile - rewrite the removal of .o, .tmp, .bin, .s files, with cleaner code - changed the long command with sed and grep to 2 C functions. - The function parseCompiled that basically does what the command was doing - And r_str_stripLines that is equivalent to "grep -v" (maybe we should put this one in str.c ?) - simplify a bit getCompiler function with a const char* array - add ternary operator for armOrMips condition - use r_file_path for finding path to compilers - new file created in libr/egg which contains all the C file parser - modifications of 2 files to match the change : - libr/egg/r_egg.h - libr/egg/Makefile - the function r_str_stripLine is simplier (the mallocs wasn't needed) - the function r_str_stripLine is moved to libr/util/str.c - libr/include/r_util/r_str.h is changed accordingly
25 lines
408 B
Makefile
25 lines
408 B
Makefile
include ../config.mk
|
|
|
|
NAME=r_egg
|
|
DEPS=r_asm r_syscall r_util r_parse r_reg
|
|
DEPS+=r_flag r_cons
|
|
|
|
OBJS=egg.o egg_lang.o
|
|
OBJS+=emit_x86.o
|
|
OBJS+=emit_arm.o
|
|
OBJS+=emit_x64.o
|
|
OBJS+=emit_trace.o
|
|
OBJS+=egg_Cfile.o
|
|
|
|
all: ${LIBSO} ${LIBAR}
|
|
|
|
P=p/
|
|
include ${STATIC_EGG_PLUGINS}
|
|
include $(STOP)/java/deps.mk
|
|
|
|
ifneq (${STATIC_OBJ},)
|
|
OBJS+=$(subst ..,${P}..,$(subst egg_,${P}egg_,$(STATIC_OBJ)))
|
|
endif
|
|
|
|
include ../rules.mk
|