mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-17 18:26:53 +00:00
54617455de
* It's implemented in IO, Socket and Core * Remove duplicated apis and defines, everything in in RSocket now * RIO now owns an RCoreBind instead of 3 fcn pointers + 1 void* * Use proper filenames in libr/socket following public api names * Use RSocket.block apis in the rap client + server apis
39 lines
761 B
Makefile
39 lines
761 B
Makefile
include ../config.mk
|
|
|
|
NAME=r_io
|
|
DEPS+=r_util
|
|
DEPS+=r_socket
|
|
DEPS+=r_cons
|
|
STATIC_OBJS=$(subst ..,p/..,$(subst io_,p/io_,$(STATIC_OBJ)))
|
|
OBJS=${STATIC_OBJS}
|
|
OBJS+=io.o io_plugin.o io_map.o io_desc.o io_cache.o p_cache.o undo.o ioutils.o io_fd.o
|
|
|
|
CFLAGS+=-Wall -DR2_PLUGIN_INCORE
|
|
|
|
include ../socket/deps.mk
|
|
include $(SHLR)/ar/deps.mk
|
|
include $(SHLR)/zip/deps.mk
|
|
include $(SHLR)/gdb/deps.mk
|
|
include $(SHLR)/qnx/deps.mk
|
|
|
|
ifeq ($(USE_PTRACE_WRAP),1)
|
|
include $(SHLR)/ptrace-wrap/deps.mk
|
|
OBJS+=$(PTRACEWRAP_OBJS)
|
|
endif
|
|
|
|
## only for shm_open
|
|
#ifeq (${OSTYPE},gnulinux)
|
|
# LDFLAGS+=-lrt
|
|
#endif
|
|
|
|
ifeq (${BUILD_OS},dragonfly)
|
|
LDFLAGS+=-lkvm
|
|
endif
|
|
|
|
.PHONY: pre
|
|
pre: libr_io.${EXT_SO} libr_io.${EXT_AR}
|
|
@${MAKE} -C p
|
|
|
|
include ${STATIC_IO_PLUGINS}
|
|
include $(LTOP)/rules.mk
|