mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-15 01:10:01 +00:00
30 lines
642 B
Makefile
30 lines
642 B
Makefile
OBJ_QNX=io_qnx.o
|
|
|
|
STATIC_OBJ+=${OBJ_QNX}
|
|
TARGET_QNX=io_qnx.${EXT_SO}
|
|
ALL_TARGETS+=${TARGET_QNX}
|
|
|
|
LIB_PATH=$(SHLR)/qnx/
|
|
CFLAGS+=-I$(SHLR)/qnx/include/
|
|
LDFLAGS+=$(SHLR)/qnx/lib/libqnxr.a
|
|
|
|
include $(LIBR)/socket/deps.mk
|
|
|
|
ifeq (${WITHPIC},0)
|
|
LINKFLAGS=../../socket/libr_socket.a
|
|
LINKFLAGS+=../../util/libr_util.a
|
|
LINKFLAGS+=../../io/libr_io.a
|
|
else
|
|
LINKFLAGS=-L../../socket -lr_socket
|
|
LINKFLAGS+=-L../../util -lr_util
|
|
LINKFLAGS+=-L.. -lr_io
|
|
endif
|
|
ifeq (${HAVE_LIB_SSL},1)
|
|
CFLAGS+=${SSL_CFLAGS}
|
|
LINKFLAGS+=${SSL_LDFLAGS}
|
|
endif
|
|
|
|
${TARGET_QNX}: ${OBJ_QNX}
|
|
${CC} $(call libname,io_qnx) ${OBJ_QNX} ${CFLAGS} \
|
|
${LINKFLAGS} ${LDFLAGS_LIB} $(LDFLAGS)
|