2011-12-21 07:03:32 +01:00
|
|
|
{
|
|
|
|
'target_defaults': {
|
|
|
|
'type': 'loadable_module',
|
|
|
|
'product_extension': 'node',
|
2012-01-05 13:01:29 +01:00
|
|
|
'product_prefix': '',
|
2012-01-16 23:06:55 +01:00
|
|
|
'include_dirs': [
|
2012-03-05 21:21:16 +01:00
|
|
|
'<(node_root_dir)/src',
|
|
|
|
'<(node_root_dir)/deps/uv/include',
|
|
|
|
'<(node_root_dir)/deps/v8/include'
|
2012-01-16 23:06:55 +01:00
|
|
|
],
|
2011-12-21 07:03:32 +01:00
|
|
|
|
|
|
|
'conditions': [
|
|
|
|
[ 'OS=="mac"', {
|
2012-01-16 23:06:55 +01:00
|
|
|
'libraries': [ '-undefined dynamic_lookup' ],
|
2012-01-07 00:48:23 +01:00
|
|
|
}],
|
|
|
|
[ 'OS=="win"', {
|
|
|
|
'libraries': [ '-l<(node_root_dir)/$(Configuration)/node.lib' ],
|
2012-02-09 04:47:31 +01:00
|
|
|
}],
|
|
|
|
[ 'OS=="freebsd" or OS=="openbsd" or OS=="solaris" or (OS=="linux" and target_arch!="ia32")', {
|
|
|
|
'cflags': [ '-fPIC' ],
|
2011-12-21 07:03:32 +01:00
|
|
|
}]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|