bitcore-node-zcash/binding.gyp

46 lines
1.2 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-09-12 14:39:37 -07:00
'BITCOIN_DIR': '<!(test -n "$BITCOIN_DIR"'\
' && echo "$BITCOIN_DIR"'\
' || echo "${HOME}/bitcoin")',
'LIBBITCOIND': '<!(./platform/os.sh)',
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',
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': [
2014-08-20 15:32:15 -07:00
'-lboost_system',
'-lboost_filesystem',
'-lboost_program_options',
'-lboost_thread',
2014-08-29 14:12:19 -07:00
'-lboost_chrono',
'-lsecp256k1',
'<(LIBBITCOIND)',
2014-08-12 12:03:04 -07:00
]
}]
}