2009-02-05 21:08:46 +00:00
|
|
|
NAME=r_core
|
2010-04-08 10:29:47 +00:00
|
|
|
|
2010-03-04 00:46:25 +00:00
|
|
|
DEPS=r_config r_cons r_line r_io r_cmd r_util r_print r_flags r_asm r_lib
|
2011-10-04 08:10:00 +00:00
|
|
|
DEPS+=r_debug r_hash r_bin r_lang r_io r_anal r_parse r_print r_bp r_egg
|
2011-11-14 09:10:55 +00:00
|
|
|
DEPS+=r_reg r_search r_syscall r_sign r_diff r_socket r_fs r_magic r_db
|
2009-02-05 21:08:46 +00:00
|
|
|
|
2011-10-10 23:21:38 +00:00
|
|
|
OBJ=core.o cmd.o file.o config.o visual.o io.o yank.o libs.o hack.o
|
2011-11-12 03:20:22 +00:00
|
|
|
OBJ+=anal.o project.o gdiff.o asm.o rtr.o vmenus.o disasm.o patch.o bin.o
|
2009-04-01 00:28:13 +00:00
|
|
|
|
2011-07-19 10:27:01 +00:00
|
|
|
CFLAGS+=-DLIBDIR=\"${LIBDIR}\"
|
2009-04-01 22:44:43 +00:00
|
|
|
CFLAGS+=-DPREFIX=\"${PREFIX}\"
|
2010-01-21 20:22:30 +00:00
|
|
|
LDFLAGS+=${DL_LIBS}
|
2009-02-05 21:08:46 +00:00
|
|
|
|
2011-05-18 14:42:12 +00:00
|
|
|
ifeq ($(shell uname),OpenBSD)
|
|
|
|
LDFLAGS+=-lpthread
|
|
|
|
endif
|
|
|
|
|
2009-02-05 21:08:46 +00:00
|
|
|
include ../rules.mk
|
2012-02-27 01:40:27 +00:00
|
|
|
|
|
|
|
cmd.o: cmd_hash.c cmd_debug.c cmd_zign.c cmd_section.c cmd_project.c \
|
|
|
|
cmd_open.c cmd_meta.c cmd_macro.c cmd_magic.c cmd_mount.c \
|
|
|
|
cmd_seek.c cmd_print.c cmd_help.c cmd_anal.c cmd_search.c \
|
2012-02-27 02:07:32 +00:00
|
|
|
cmd_cmp.c cmd_write.c cmd_egg.c cmd_info.c
|