forked from JCMais/curl-for-windows
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlibssh2.gyp
66 lines (66 loc) · 1.68 KB
/
libssh2.gyp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# 2013 (C) Peter Rekdal Sunde
{
'includes': [
'common.gypi',
],
'targets': [
{
'target_name': 'libssh2',
'type': '<(library)',
'defines': [
'NETSNMP_ENABLE_IPV6', 'LIBSSH2_OPENSSL'
],
'include_dirs': [
'libssh2/include',
],
'sources': [
'libssh2/src/agent.c',
'libssh2/src/agent_win.c',
'libssh2/src/bcrypt_pbkdf.c',
'libssh2/src/blf.h',
'libssh2/src/blowfish.c',
'libssh2/src/channel.c',
'libssh2/src/comp.c',
'libssh2/src/crypt.c',
'libssh2/src/global.c',
'libssh2/src/hostkey.c',
'libssh2/src/keepalive.c',
'libssh2/src/kex.c',
'libssh2/src/knownhost.c',
'libssh2/src/libgcrypt.c',
'libssh2/src/mac.c',
'libssh2/src/misc.c',
'libssh2/src/openssl.c',
'libssh2/src/packet.c',
'libssh2/src/pem.c',
'libssh2/src/publickey.c',
'libssh2/src/scp.c',
'libssh2/src/session.c',
'libssh2/src/sftp.c',
'libssh2/src/transport.c',
'libssh2/src/userauth.c',
'libssh2/src/version.c',
'libssh2/src/mbedtls.c',
'libssh2/src/os400qc3.c'
#'libssh2/src/wincng.c'
],
'dependencies': [
'openssl/openssl.gyp:openssl'
],
'direct_dependent_settings': {
'include_dirs': [
'libssh2/include'
]
},
'conditions': [
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
'cflags': ['--std=c89'],
'defines': ['_GNU_SOURCE']
}],
['OS=="win"', {
'defines': ['LIBSSH2_WIN32']
}]
],
},
]
}