-
Notifications
You must be signed in to change notification settings - Fork 58
/
libssh2.gyp
58 lines (58 loc) · 1.4 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
# 2013 (C) Peter Rekdal Sunde
{
'includes': [
'common.gypi',
],
'targets': [
{
'target_name': 'libssh2',
'type': '<(library)',
'defines': [
'NETSNMP_ENABLE_IPV6'
],
'include_dirs': [
'libssh2/src',
'libssh2/win32',
'libssh2/include',
],
'sources': [
'libssh2/src/agent.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',
],
'dependencies': [
'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']
}],
],
},
]
}