mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-26 15:54:59 +00:00
0ba897f5c9
* Add network support for WinDbg/KD (KDNET) ##debug * Add iob_net io_backend plugin for shlr/winkd * Add Windows 10 (May 2019 Update) build 18362 profile * Add r_hash_do_hmac_sha256 function to r_hash * Change r_socket_connect to bind source port for UDP connection
41 lines
799 B
Makefile
41 lines
799 B
Makefile
include ../config.mk
|
|
|
|
NAME=r_io
|
|
R2DEPS+=r_util
|
|
R2DEPS+=r_socket
|
|
R2DEPS+=r_hash
|
|
R2DEPS+=r_cons
|
|
R2DEPS+=r_crypto
|
|
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
|