forked from libssh2/libssh2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move automake conditionals added by commit d512b25 out of Makefile.inc
Commit d512b25 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.
- Loading branch information
Peter Stuge
committed
Nov 13, 2013
1 parent
85a827d
commit f5c1a0d
Showing
9 changed files
with
27 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CRYPTO_CSOURCES = openssl.c | ||
CRYPTO_HHEADERS = openssl.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,6 @@ | ||
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 pem.c keepalive.c global.c | ||
if OPENSSL | ||
CSOURCES += openssl.c | ||
endif | ||
if LIBGCRYPT | ||
CSOURCES += libgcrypt.c | ||
endif | ||
version.c knownhost.c agent.c $(CRYPTO_CSOURCES) pem.c keepalive.c global.c | ||
|
||
HHEADERS = libssh2_priv.h transport.h channel.h comp.h mac.h misc.h \ | ||
packet.h userauth.h session.h sftp.h crypto.h | ||
if OPENSSL | ||
HHEADERS += openssl.h | ||
endif | ||
if LIBGCRYPT | ||
HHEADERS += libgcrypt.h | ||
endif | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CRYPTO_CSOURCES = libgcrypt.c | ||
CRYPTO_HHEADERS = libgcrypt.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters