a zip code crypto-currency system good for red ONLY

addon.gypi 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. {
  2. 'variables' : {
  3. 'node_engine_include_dir%': 'deps/v8/include',
  4. },
  5. 'target_defaults': {
  6. 'type': 'loadable_module',
  7. 'win_delay_load_hook': 'true',
  8. 'product_prefix': '',
  9. 'conditions': [
  10. [ 'node_engine=="chakracore"', {
  11. 'variables': {
  12. 'node_engine_include_dir%': 'deps/chakrashim/include'
  13. },
  14. }]
  15. ],
  16. 'include_dirs': [
  17. '<(node_root_dir)/include/node',
  18. '<(node_root_dir)/src',
  19. '<(node_root_dir)/deps/openssl/config',
  20. '<(node_root_dir)/deps/openssl/openssl/include',
  21. '<(node_root_dir)/deps/uv/include',
  22. '<(node_root_dir)/deps/zlib',
  23. '<(node_root_dir)/<(node_engine_include_dir)'
  24. ],
  25. 'defines!': [
  26. 'BUILDING_UV_SHARED=1', # Inherited from common.gypi.
  27. 'BUILDING_V8_SHARED=1', # Inherited from common.gypi.
  28. ],
  29. 'defines': [
  30. 'NODE_GYP_MODULE_NAME=>(_target_name)',
  31. 'USING_UV_SHARED=1',
  32. 'USING_V8_SHARED=1',
  33. # Warn when using deprecated V8 APIs.
  34. 'V8_DEPRECATION_WARNINGS=1'
  35. ],
  36. 'target_conditions': [
  37. ['_type=="loadable_module"', {
  38. 'product_extension': 'node',
  39. 'defines': [
  40. 'BUILDING_NODE_EXTENSION'
  41. ],
  42. 'xcode_settings': {
  43. 'OTHER_LDFLAGS': [
  44. '-undefined dynamic_lookup'
  45. ],
  46. },
  47. }],
  48. ['_type=="static_library"', {
  49. # set to `1` to *disable* the -T thin archive 'ld' flag.
  50. # older linkers don't support this flag.
  51. 'standalone_static_library': '<(standalone_static_library)'
  52. }],
  53. ['_win_delay_load_hook=="true"', {
  54. # If the addon specifies `'win_delay_load_hook': 'true'` in its
  55. # binding.gyp, link a delay-load hook into the DLL. This hook ensures
  56. # that the addon will work regardless of whether the node/iojs binary
  57. # is named node.exe, iojs.exe, or something else.
  58. 'conditions': [
  59. [ 'OS=="win"', {
  60. 'sources': [
  61. '<(node_gyp_dir)/src/win_delay_load_hook.cc',
  62. ],
  63. 'msvs_settings': {
  64. 'VCLinkerTool': {
  65. 'DelayLoadDLLs': [ 'iojs.exe', 'node.exe' ],
  66. # Don't print a linker warning when no imports from either .exe
  67. # are used.
  68. 'AdditionalOptions': [ '/ignore:4199' ],
  69. },
  70. },
  71. }],
  72. ],
  73. }],
  74. ],
  75. 'conditions': [
  76. [ 'OS=="mac"', {
  77. 'defines': [
  78. '_DARWIN_USE_64_BIT_INODE=1'
  79. ],
  80. 'xcode_settings': {
  81. 'DYLIB_INSTALL_NAME_BASE': '@rpath'
  82. },
  83. }],
  84. [ 'OS=="aix"', {
  85. 'ldflags': [
  86. '-Wl,-bimport:<(node_exp_file)'
  87. ],
  88. }],
  89. [ 'OS=="zos"', {
  90. 'cflags': [
  91. '-q64',
  92. '-Wc,DLL',
  93. '-qlonglong'
  94. ],
  95. 'ldflags': [
  96. '-q64',
  97. '<(node_exp_file)'
  98. ],
  99. }],
  100. [ 'OS=="win"', {
  101. 'conditions': [
  102. ['node_engine=="chakracore"', {
  103. 'library_dirs': [ '<(node_root_dir)/$(ConfigurationName)' ],
  104. 'libraries': [ '<@(node_engine_libs)' ],
  105. }],
  106. ],
  107. 'libraries': [
  108. '-lkernel32.lib',
  109. '-luser32.lib',
  110. '-lgdi32.lib',
  111. '-lwinspool.lib',
  112. '-lcomdlg32.lib',
  113. '-ladvapi32.lib',
  114. '-lshell32.lib',
  115. '-lole32.lib',
  116. '-loleaut32.lib',
  117. '-luuid.lib',
  118. '-lodbc32.lib',
  119. '-lDelayImp.lib',
  120. '-l"<(node_lib_file)"'
  121. ],
  122. 'msvs_disabled_warnings': [
  123. # warning C4251: 'node::ObjectWrap::handle_' : class 'v8::Persistent<T>'
  124. # needs to have dll-interface to be used by
  125. # clients of class 'node::ObjectWrap'
  126. 4251
  127. ],
  128. }, {
  129. # OS!="win"
  130. 'defines': [
  131. '_LARGEFILE_SOURCE',
  132. '_FILE_OFFSET_BITS=64'
  133. ],
  134. }],
  135. [ 'OS in "freebsd openbsd netbsd solaris" or \
  136. (OS=="linux" and target_arch!="ia32")', {
  137. 'cflags': [ '-fPIC' ],
  138. }]
  139. ]
  140. }
  141. }