Merge remote-tracking branch 'origin/v0.8'
[platform/upstream/nodejs.git] / deps / npm / node_modules / node-gyp / addon.gypi
1 {
2   'target_defaults': {
3     'type': 'loadable_module',
4     'product_extension': 'node',
5     'product_prefix': '',
6     'include_dirs': [
7       '<(node_root_dir)/src',
8       '<(node_root_dir)/deps/uv/include',
9       '<(node_root_dir)/deps/v8/include'
10     ],
11
12     'conditions': [
13       [ 'OS=="mac"', {
14         'libraries': [ '-undefined dynamic_lookup' ],
15       }],
16       [ 'OS=="win"', {
17         'libraries': [ '-l<(node_root_dir)/$(Configuration)/node.lib' ],
18       }],
19       [ 'OS=="freebsd" or OS=="openbsd" or OS=="solaris" or (OS=="linux" and target_arch!="ia32")', {
20         'cflags': [ '-fPIC' ],
21       }]
22     ]
23   }
24 }