forked from rvagg/archived-node-libssh
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbinding.gyp
More file actions
50 lines (50 loc) · 1.44 KB
/
binding.gyp
File metadata and controls
50 lines (50 loc) · 1.44 KB
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
{
'targets': [{
'target_name': 'ssh'
, 'conditions': [
['node_shared_openssl=="false"', {
'include_dirs': [
'<(node_root_dir)/deps/openssl/openssl/include'
]
, 'conditions' : [
['target_arch=="ia32"', {
'include_dirs': [ '<(node_root_dir)/deps/openssl/config/piii' ]
}],
['target_arch=="x64"', {
'include_dirs': [ '<(node_root_dir)/deps/openssl/config/k8' ]
}],
['target_arch=="arm"', {
'include_dirs': [ '<(node_root_dir)/deps/openssl/config/arm' ]
}]
]
}]
, ['OS == "linux"', {
'libraries': [
'-lcrypto'
]
}]
, ['OS == "solaris"', {
}]
, ['OS == "mac"', {
'libraries': [
'-lssl'
, '-lcrypto'
]
}]
]
, 'include_dirs' : [
'<!(node -e "require(\'nan\')")'
]
, 'dependencies': [
'<(module_root_dir)/deps/libssh.gyp:libssh'
]
, 'sources': [
'src/nssh.cc'
, 'src/server.cc'
, 'src/session.cc'
, 'src/channel.cc'
, 'src/message.cc'
, 'src/sftp_message.cc'
]
}]
}