radare2/libr/io/Makefile
pancake bb904490dc * r2 -D now accepts a dbg.backend (dh) argument
- Fix segfault when accessing null r.file->fd->data
* Initial first working steps of the brainfuck debugger
* Add missing io.w32 plugin (untested)
  - Plugins that doesn't work on current platform are not listed
2011-10-08 12:10:30 +02:00

46 lines
821 B
Makefile

include ../config.mk
NAME=r_io
DEPS=r_lib r_util r_socket r_cons
CFLAGS+=-Wall -DCORELIB
# on solaris only
ifeq (${OSTYPE},solaris)
LDFLAGS+=-lsocket
endif
# windows
ifeq (${OSTYPE},windows)
LDFLAGS+=-lws2_32
endif
# copypasted from socket/Makefile
# on solaris only
ifeq (${OSTYPE},solaris)
LDFLAGS+=-lsocket
endif
# windows
ifeq (${OSTYPE},windows)
LDFLAGS=-lwsock32
endif
STATIC_OBJS=
include ../config.mk
foo: pre libr_io.${EXT_SO} libr_io.${EXT_AR} tests plugins
include ${STATIC_IO_PLUGINS}
STATIC_OBJS=$(subst ..,p/..,$(subst io_,p/io_,$(STATIC_OBJ)))
OBJ=${STATIC_OBJS} io.o plugin.o map.o section.o desc.o cache.o undo.o
pre:
@echo STATICOBJS: ${STATIC_OBJS}
#if [ ! -e libr_io.${EXT_SO} ]; then rm -f ${STATIC_OBJS} ; fi
tests:
cd t && ${MAKE} all
plugins:
cd p && ${MAKE} all
include ../rules.mk