2014-05-07 21:52:52 +00:00
|
|
|
LIBSSH_PORT_DIR := $(call select_from_ports,libssh)
|
2012-12-03 21:47:03 +00:00
|
|
|
|
|
|
|
SRC_C = \
|
|
|
|
agent.c \
|
|
|
|
auth.c \
|
|
|
|
base64.c \
|
2015-12-04 20:45:35 +00:00
|
|
|
bignum.c \
|
|
|
|
bind.c \
|
2012-12-03 21:47:03 +00:00
|
|
|
buffer.c \
|
|
|
|
callbacks.c \
|
|
|
|
channels.c \
|
|
|
|
client.c \
|
|
|
|
config.c \
|
|
|
|
connect.c \
|
2015-12-04 20:45:35 +00:00
|
|
|
curve25519.c \
|
2012-12-03 21:47:03 +00:00
|
|
|
dh.c \
|
2015-12-04 20:45:35 +00:00
|
|
|
ecdh.c \
|
2012-12-03 21:47:03 +00:00
|
|
|
error.c \
|
|
|
|
getpass.c \
|
|
|
|
gzip.c \
|
|
|
|
init.c \
|
|
|
|
kex.c \
|
|
|
|
known_hosts.c \
|
|
|
|
legacy.c \
|
|
|
|
libcrypto.c \
|
|
|
|
log.c \
|
|
|
|
match.c \
|
|
|
|
messages.c \
|
|
|
|
misc.c \
|
|
|
|
options.c \
|
|
|
|
packet.c \
|
2015-12-04 20:45:35 +00:00
|
|
|
packet_cb.c \
|
|
|
|
packet_crypt.c \
|
2012-12-03 21:47:03 +00:00
|
|
|
pcap.c \
|
|
|
|
pki.c \
|
2015-12-04 20:45:35 +00:00
|
|
|
pki_container_openssh.c \
|
|
|
|
pki_crypto.c \
|
|
|
|
pki_ed25519.c \
|
2012-12-03 21:47:03 +00:00
|
|
|
poll.c \
|
|
|
|
scp.c \
|
2015-12-04 20:45:35 +00:00
|
|
|
server.c \
|
|
|
|
session.c \
|
|
|
|
sftp.c \
|
|
|
|
sftpserver.c \
|
2012-12-03 21:47:03 +00:00
|
|
|
socket.c \
|
|
|
|
string.c \
|
|
|
|
threads.c \
|
|
|
|
wrapper.c
|
|
|
|
|
2015-12-04 20:45:35 +00:00
|
|
|
# external/
|
|
|
|
SRC_C += \
|
|
|
|
bcrypt_pbkdf.c \
|
|
|
|
blowfish.c \
|
|
|
|
curve25519_ref.c \
|
|
|
|
ed25519.c \
|
|
|
|
fe25519.c \
|
|
|
|
ge25519.c \
|
|
|
|
sc25519.c
|
|
|
|
|
2014-05-07 21:52:52 +00:00
|
|
|
INC_DIR += $(LIBSSH_PORT_DIR)/include
|
2012-12-03 21:47:03 +00:00
|
|
|
INC_DIR += $(REP_DIR)/src/lib/libssh
|
|
|
|
|
|
|
|
CC_OPT += -DHAVE_CONFIG_H
|
|
|
|
|
|
|
|
LIBS += libc zlib libcrypto
|
|
|
|
|
|
|
|
SHARED_LIB = yes
|
|
|
|
|
2014-05-07 21:52:52 +00:00
|
|
|
vpath %.c $(LIBSSH_PORT_DIR)/src/lib/libssh/src
|
2015-12-04 20:45:35 +00:00
|
|
|
vpath %.c $(LIBSSH_PORT_DIR)/src/lib/libssh/src/external
|
2018-01-03 17:40:54 +00:00
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT =
|