mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-13 16:18:33 +00:00
9efe88a9ce
* Fix some segfaults and issues in r_magic * Use the libr/socket/http library * Added r_io_http plugin * Magic search is extremely slow
21 lines
526 B
Makefile
21 lines
526 B
Makefile
OBJ_HTTP=io_http.o
|
|
|
|
STATIC_OBJ+=${OBJ_HTTP}
|
|
TARGET_HTTP=io_http.${EXT_SO}
|
|
ALL_TARGETS+=${TARGET_HTTP}
|
|
|
|
ifeq (${WITHPIC},0)
|
|
LINKFLAGS+=../../util/libr_util.a
|
|
LINKFLAGS+=../../lib/libr_lib.a
|
|
LINKFLAGS+=../../io/libr_io.a
|
|
LINKFLAGS+=../../io/libr_socket.a
|
|
else
|
|
LINKFLAGS+=-L../../lib -lr_lib
|
|
LINKFLAGS+=-L../../util -lr_util
|
|
LINKFLAGS+=-L../../socket -lr_socket
|
|
LINKFLAGS+=-L.. -L../../lib -lr_lib -lr_io
|
|
endif
|
|
|
|
${TARGET_HTTP}: ${OBJ_HTTP}
|
|
${CC_LIB} $(call libname,io_http) ${CFLAGS} -o ${TARGET_HTTP} ${OBJ_HTTP} ${LINKFLAGS}
|