genode/repos/libports/lib/mk/libssh.mk

87 lines
1.8 KiB
Makefile
Raw Normal View History

LIBSSH_PORT_DIR := $(call select_from_ports,libssh)
2012-12-03 21:47:03 +00:00
SRC_C = \
agent.c \
auth.c \
base64.c \
bignum.c \
bind.c \
2012-12-03 21:47:03 +00:00
buffer.c \
chachapoly.c \
2012-12-03 21:47:03 +00:00
callbacks.c \
channels.c \
client.c \
config.c \
connect.c \
connector.c \
curve25519.c \
2012-12-03 21:47:03 +00:00
dh.c \
ecdh.c \
ecdh_crypto.c \
2012-12-03 21:47:03 +00:00
error.c \
getpass.c \
gzip.c \
init.c \
kex.c \
known_hosts.c \
knownhosts.c \
2012-12-03 21:47:03 +00:00
legacy.c \
libcrypto.c \
libcrypto-compat.c \
2012-12-03 21:47:03 +00:00
log.c \
match.c \
messages.c \
misc.c \
options.c \
packet.c \
packet_cb.c \
packet_crypt.c \
2012-12-03 21:47:03 +00:00
pcap.c \
pki.c \
pki_container_openssh.c \
pki_crypto.c \
pki_ed25519.c \
2012-12-03 21:47:03 +00:00
poll.c \
scp.c \
server.c \
session.c \
sftp.c \
sftpserver.c \
2012-12-03 21:47:03 +00:00
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
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
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 =