bitcore-node-zcash/binding.gyp

48 lines
1.3 KiB
Plaintext
Raw Normal View History

2014-08-12 12:03:04 -07:00
{
'targets': [{
'target_name': 'bitcoindjs',
2014-09-12 14:39:37 -07:00
'variables': {
'BOOST_INCLUDE': '<!(test -n "$BOOST_INCLUDE"'\
' && echo "$BOOST_INCLUDE"'\
' || test -e /usr/include/boost && echo /usr/include/boost' \
' || echo ./include)',
'LEVELDB_INCLUDE': '<!(test -n "$LEVELDB_INCLUDE"'\
' && echo "$LEVELDB_INCLUDE"'\
' || test "$BITCOIN_DIR" && echo "${BITCOIN_DIR}/src/leveldb/include"' \
' || echo ./include)',
2014-12-07 02:02:51 -08:00
'BITCOIN_DIR': '<!(./platform/os.sh btcdir)',
'LIBBITCOIND': '<!(./platform/os.sh lib)',
2014-09-12 14:39:37 -07:00
},
2014-10-29 15:07:25 -07:00
'defines': [
'ENABLE_WALLET=1',
],
2014-08-12 12:03:04 -07:00
'include_dirs' : [
'<(BOOST_INCLUDE)',
'<(LEVELDB_INCLUDE)',
2014-09-12 14:39:37 -07:00
'<(BITCOIN_DIR)/src',
2015-06-04 11:54:57 -07:00
'./libbitcoind/src/leveldb/helpers/memenv',
'/usr/local/Cellar/openssl/1.0.2a-1/include',
2014-09-12 14:29:59 -07:00
'<!(node -e "require(\'nan\')")',
2014-08-12 12:03:04 -07:00
],
'sources': [
2014-08-20 15:33:03 -07:00
'./src/bitcoindjs.cc',
],
'cflags_cc': [
'-fexceptions',
2014-08-20 15:33:03 -07:00
'-frtti',
'-fpermissive',
2014-08-12 12:03:04 -07:00
],
'libraries': [
2015-06-04 11:54:57 -07:00
'-L/usr/local/Cellar/openssl/1.0.2a-1/lib',
'-lssl',
'-lcrypto',
2014-08-20 15:32:15 -07:00
'-lboost_system',
'-lboost_filesystem',
'-lboost_program_options',
2015-06-04 11:54:57 -07:00
'-lboost_thread-mt',
2014-08-29 14:12:19 -07:00
'-lboost_chrono',
'<(LIBBITCOIND)',
2014-08-12 12:03:04 -07:00
]
}]
}