genode/repos/libports/lib/mk/libssh.mk
2014-05-27 11:14:42 +02:00

54 lines
1000 B
Makefile

LIBSSH_PORT_DIR := $(call select_from_ports,libssh)
SRC_C = \
agent.c \
auth.c \
base64.c \
buffer.c \
callbacks.c \
channels.c \
client.c \
config.c \
connect.c \
crc32.c \
crypt.c \
dh.c \
error.c \
getpass.c \
gcrypt_missing.c \
gzip.c \
init.c \
kex.c \
keyfiles.c \
keys.c \
known_hosts.c \
legacy.c \
libcrypto.c \
libgcrypt.c \
log.c \
match.c \
messages.c \
misc.c \
options.c \
packet.c \
pcap.c \
pki.c \
poll.c \
session.c \
scp.c \
socket.c \
string.c \
threads.c \
wrapper.c
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