radare2/libr/debug/Makefile
2015-08-19 17:31:00 +02:00

33 lines
643 B
Makefile

include ../config.mk
NAME=r_debug
DEPS=r_reg r_anal r_bp r_util r_io r_parse r_cons r_db r_syscall r_hash
CFLAGS+=-DCORELIB
foo:
@${MAKE} libs
@${MAKE} plugins
include ../config.mk
include ${STATIC_DEBUG_PLUGINS}
STATIC_OBJS=$(subst ..,p/..,$(subst debug_,p/debug_,$(STATIC_OBJ)))
OBJS=signal.o map.o trace.o arg.o debug.o plugin.o snap.o
OBJS+=pid.o reg.o desc.o esil.o ${STATIC_OBJS}
ifeq (${OSTYPE},darwin)
OBJS+= p/${NATIVE_OBJS}
endif
ifeq ($(OSTYPE),$(filter $(OSTYPE),gnulinux android))
OBJS+= p/${NATIVE_OBJS}
endif
plugins:
cd p && ${MAKE} all
include ../rules.mk
libs: ${LIBSO} ${LIBAR}
.PHONY: foo plugins tests libs