f5c1a0d98b
Commit d512b25f69a1b6778881f6b4b5ff9cfc6023be42 added automake conditionals to Makefile.inc but since Makefile.inc is included from Makefile for all other build systems that does not work. This commit instead adds Makefile.OpenSSL.inc and Makefile.libgcrypt.inc and moves the automake conditional to its proper place, src/Makefile.am. The automake conditional includes the correct Makefile.$name.inc per the crypto library selection/detection done by configure. All non-autotools build system files in libssh2 are hardcoded to use OpenSSL and do not get a conditional but at least there is some reuse because they can all include the new Makefile.OpenSSL.inc.
7 строки
351 B
Makefile
7 строки
351 B
Makefile
CSOURCES = channel.c comp.c crypt.c hostkey.c kex.c mac.c misc.c \
|
|
packet.c publickey.c scp.c session.c sftp.c userauth.c transport.c \
|
|
version.c knownhost.c agent.c $(CRYPTO_CSOURCES) pem.c keepalive.c global.c
|
|
|
|
HHEADERS = libssh2_priv.h $(CRYPTO_HHEADERS) transport.h channel.h comp.h \
|
|
mac.h misc.h packet.h userauth.h session.h sftp.h crypto.h
|