mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-31 10:22:37 +00:00
bc572ce3df
- no debugger support yet
28 lines
412 B
Makefile
28 lines
412 B
Makefile
include ../config.mk
|
|
|
|
NAME=r_socket
|
|
#DEPS=r_util
|
|
OBJ=socket.o proc.o http.o
|
|
ifeq (${HAVE_LIB_SSL},1)
|
|
CFLAGS+=${SSL_CFLAGS}
|
|
LDFLAGS+=${SSL_LDFLAGS}
|
|
endif
|
|
|
|
# OSX 10.7 (lion)
|
|
ifeq (${OSTYPE},darwin)
|
|
LDFLAGS+=-lcrypto
|
|
endif
|
|
# on solaris only
|
|
ifeq (${OSTYPE},solaris)
|
|
LDFLAGS+=-lsocket
|
|
endif
|
|
ifeq (${OSTYPE},qnx)
|
|
LDFLAGS+=-lsocket
|
|
endif
|
|
# windows
|
|
ifeq (${OSTYPE},windows)
|
|
LDFLAGS=-lwsock32
|
|
endif
|
|
|
|
include ../rules.mk
|