mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 15:56:41 +00:00
9ab288d8e3
Issue #3014.
87 lines
1.8 KiB
Makefile
87 lines
1.8 KiB
Makefile
LIBSSH_PORT_DIR := $(call select_from_ports,libssh)
|
|
|
|
SRC_C = \
|
|
agent.c \
|
|
auth.c \
|
|
base64.c \
|
|
bignum.c \
|
|
bind.c \
|
|
buffer.c \
|
|
chachapoly.c \
|
|
callbacks.c \
|
|
channels.c \
|
|
client.c \
|
|
config.c \
|
|
connect.c \
|
|
connector.c \
|
|
curve25519.c \
|
|
dh.c \
|
|
ecdh.c \
|
|
ecdh_crypto.c \
|
|
error.c \
|
|
getpass.c \
|
|
gzip.c \
|
|
init.c \
|
|
kex.c \
|
|
known_hosts.c \
|
|
knownhosts.c \
|
|
legacy.c \
|
|
libcrypto.c \
|
|
libcrypto-compat.c \
|
|
log.c \
|
|
match.c \
|
|
messages.c \
|
|
misc.c \
|
|
options.c \
|
|
packet.c \
|
|
packet_cb.c \
|
|
packet_crypt.c \
|
|
pcap.c \
|
|
pki.c \
|
|
pki_container_openssh.c \
|
|
pki_crypto.c \
|
|
pki_ed25519.c \
|
|
poll.c \
|
|
scp.c \
|
|
server.c \
|
|
session.c \
|
|
sftp.c \
|
|
sftpserver.c \
|
|
socket.c \
|
|
string.c \
|
|
threads.c \
|
|
wrapper.c
|
|
|
|
# threads/
|
|
SRC_C_threads := noop.c libcrypto.c
|
|
|
|
# external/
|
|
SRC_C_external := \
|
|
bcrypt_pbkdf.c \
|
|
blowfish.c \
|
|
chacha.c \
|
|
curve25519_ref.c \
|
|
ed25519.c \
|
|
fe25519.c \
|
|
ge25519.c \
|
|
poly1305.c \
|
|
sc25519.c
|
|
|
|
SRC_C += $(addprefix threads/, $(SRC_C_threads))
|
|
SRC_C += $(addprefix external/, $(SRC_C_external))
|
|
|
|
INC_DIR += $(LIBSSH_PORT_DIR)/include
|
|
INC_DIR += $(REP_DIR)/src/lib/libssh
|
|
|
|
CC_OPT += -DHAVE_CONFIG_H
|
|
|
|
LIBS += libc zlib libcrypto
|
|
|
|
SHARED_LIB = yes
|
|
|
|
vpath %.c $(LIBSSH_PORT_DIR)/src/lib/libssh/src
|
|
vpath %.c $(LIBSSH_PORT_DIR)/src/lib/libssh/src/external
|
|
vpath %.c $(LIBSSH_PORT_DIR)/src/lib/libssh/src/threads
|
|
|
|
CC_CXX_WARN_STRICT =
|