Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

secp256k1.target.mk 5.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. # This file is generated by gyp; do not edit.
  2. TOOLSET := target
  3. TARGET := secp256k1
  4. DEFS_Debug := \
  5. '-DNODE_GYP_MODULE_NAME=secp256k1' \
  6. '-DUSING_UV_SHARED=1' \
  7. '-DUSING_V8_SHARED=1' \
  8. '-DV8_DEPRECATION_WARNINGS=1' \
  9. '-DV8_DEPRECATION_WARNINGS' \
  10. '-DV8_IMMINENT_DEPRECATION_WARNINGS' \
  11. '-D_GLIBCXX_USE_CXX11_ABI=1' \
  12. '-D_LARGEFILE_SOURCE' \
  13. '-D_FILE_OFFSET_BITS=64' \
  14. '-D__STDC_FORMAT_MACROS' \
  15. '-DOPENSSL_NO_PINSHARED' \
  16. '-DOPENSSL_THREADS' \
  17. '-DECMULT_GEN_PREC_BITS=4' \
  18. '-DECMULT_WINDOW_SIZE=15' \
  19. '-DUSE_NUM_NONE=1' \
  20. '-DUSE_FIELD_INV_BUILTIN=1' \
  21. '-DUSE_SCALAR_INV_BUILTIN=1' \
  22. '-DHAVE___INT128=1' \
  23. '-DUSE_ASM_X86_64=1' \
  24. '-DUSE_FIELD_5X52=1' \
  25. '-DUSE_FIELD_5X52_INT128=1' \
  26. '-DUSE_SCALAR_4X64=1' \
  27. '-DBUILDING_NODE_EXTENSION' \
  28. '-DDEBUG' \
  29. '-D_DEBUG' \
  30. '-DV8_ENABLE_CHECKS'
  31. # Flags passed to all source files.
  32. CFLAGS_Debug := \
  33. -fPIC \
  34. -pthread \
  35. -Wall \
  36. -Wextra \
  37. -Wno-unused-parameter \
  38. -m64 \
  39. -Wall \
  40. -Wno-maybe-uninitialized \
  41. -Wno-uninitialized \
  42. -Wno-unused-function \
  43. -Wextra \
  44. -g \
  45. -O0
  46. # Flags passed to only C files.
  47. CFLAGS_C_Debug :=
  48. # Flags passed to only C++ files.
  49. CFLAGS_CC_Debug := \
  50. -std=c++11 \
  51. -fno-rtti \
  52. -fno-exceptions \
  53. -std=gnu++17
  54. INCS_Debug := \
  55. -I/home/caligvla/.cache/node-gyp/17.0.1/include/node \
  56. -I/home/caligvla/.cache/node-gyp/17.0.1/src \
  57. -I/home/caligvla/.cache/node-gyp/17.0.1/deps/openssl/config \
  58. -I/home/caligvla/.cache/node-gyp/17.0.1/deps/openssl/openssl/include \
  59. -I/home/caligvla/.cache/node-gyp/17.0.1/deps/uv/include \
  60. -I/home/caligvla/.cache/node-gyp/17.0.1/deps/zlib \
  61. -I/home/caligvla/.cache/node-gyp/17.0.1/deps/v8/include \
  62. -I/usr/local/include \
  63. -I$(srcdir)/native/secp256k1 \
  64. -I$(srcdir)/native/secp256k1/contrib \
  65. -I$(srcdir)/native/secp256k1/include \
  66. -I$(srcdir)/native/secp256k1/src \
  67. -I$(srcdir)/../nan
  68. DEFS_Release := \
  69. '-DNODE_GYP_MODULE_NAME=secp256k1' \
  70. '-DUSING_UV_SHARED=1' \
  71. '-DUSING_V8_SHARED=1' \
  72. '-DV8_DEPRECATION_WARNINGS=1' \
  73. '-DV8_DEPRECATION_WARNINGS' \
  74. '-DV8_IMMINENT_DEPRECATION_WARNINGS' \
  75. '-D_GLIBCXX_USE_CXX11_ABI=1' \
  76. '-D_LARGEFILE_SOURCE' \
  77. '-D_FILE_OFFSET_BITS=64' \
  78. '-D__STDC_FORMAT_MACROS' \
  79. '-DOPENSSL_NO_PINSHARED' \
  80. '-DOPENSSL_THREADS' \
  81. '-DECMULT_GEN_PREC_BITS=4' \
  82. '-DECMULT_WINDOW_SIZE=15' \
  83. '-DUSE_NUM_NONE=1' \
  84. '-DUSE_FIELD_INV_BUILTIN=1' \
  85. '-DUSE_SCALAR_INV_BUILTIN=1' \
  86. '-DHAVE___INT128=1' \
  87. '-DUSE_ASM_X86_64=1' \
  88. '-DUSE_FIELD_5X52=1' \
  89. '-DUSE_FIELD_5X52_INT128=1' \
  90. '-DUSE_SCALAR_4X64=1' \
  91. '-DBUILDING_NODE_EXTENSION'
  92. # Flags passed to all source files.
  93. CFLAGS_Release := \
  94. -fPIC \
  95. -pthread \
  96. -Wall \
  97. -Wextra \
  98. -Wno-unused-parameter \
  99. -m64 \
  100. -Wall \
  101. -Wno-maybe-uninitialized \
  102. -Wno-uninitialized \
  103. -Wno-unused-function \
  104. -Wextra \
  105. -O3 \
  106. -fno-omit-frame-pointer
  107. # Flags passed to only C files.
  108. CFLAGS_C_Release :=
  109. # Flags passed to only C++ files.
  110. CFLAGS_CC_Release := \
  111. -std=c++11 \
  112. -fno-rtti \
  113. -fno-exceptions \
  114. -std=gnu++17
  115. INCS_Release := \
  116. -I/home/caligvla/.cache/node-gyp/17.0.1/include/node \
  117. -I/home/caligvla/.cache/node-gyp/17.0.1/src \
  118. -I/home/caligvla/.cache/node-gyp/17.0.1/deps/openssl/config \
  119. -I/home/caligvla/.cache/node-gyp/17.0.1/deps/openssl/openssl/include \
  120. -I/home/caligvla/.cache/node-gyp/17.0.1/deps/uv/include \
  121. -I/home/caligvla/.cache/node-gyp/17.0.1/deps/zlib \
  122. -I/home/caligvla/.cache/node-gyp/17.0.1/deps/v8/include \
  123. -I/usr/local/include \
  124. -I$(srcdir)/native/secp256k1 \
  125. -I$(srcdir)/native/secp256k1/contrib \
  126. -I$(srcdir)/native/secp256k1/include \
  127. -I$(srcdir)/native/secp256k1/src \
  128. -I$(srcdir)/../nan
  129. OBJS := \
  130. $(obj).target/$(TARGET)/native/addon.o \
  131. $(obj).target/$(TARGET)/native/secp256k1/src/secp256k1.o
  132. # Add to the list of files we specially track dependencies for.
  133. all_deps += $(OBJS)
  134. # CFLAGS et al overrides must be target-local.
  135. # See "Target-specific Variable Values" in the GNU Make manual.
  136. $(OBJS): TOOLSET := $(TOOLSET)
  137. $(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
  138. $(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
  139. # Suffix rules, putting all outputs into $(obj).
  140. $(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD
  141. @$(call do_cmd,cxx,1)
  142. $(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
  143. @$(call do_cmd,cc,1)
  144. # Try building from generated source, too.
  145. $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD
  146. @$(call do_cmd,cxx,1)
  147. $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
  148. @$(call do_cmd,cc,1)
  149. $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cpp FORCE_DO_CMD
  150. @$(call do_cmd,cxx,1)
  151. $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.c FORCE_DO_CMD
  152. @$(call do_cmd,cc,1)
  153. # End of this set of suffix rules
  154. ### Rules for final target.
  155. LDFLAGS_Debug := \
  156. -pthread \
  157. -rdynamic \
  158. -m64
  159. LDFLAGS_Release := \
  160. -pthread \
  161. -rdynamic \
  162. -m64
  163. LIBS :=
  164. $(obj).target/secp256k1.node: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
  165. $(obj).target/secp256k1.node: LIBS := $(LIBS)
  166. $(obj).target/secp256k1.node: TOOLSET := $(TOOLSET)
  167. $(obj).target/secp256k1.node: $(OBJS) FORCE_DO_CMD
  168. $(call do_cmd,solink_module)
  169. all_deps += $(obj).target/secp256k1.node
  170. # Add target alias
  171. .PHONY: secp256k1
  172. secp256k1: $(builddir)/secp256k1.node
  173. # Copy this to the executable output path.
  174. $(builddir)/secp256k1.node: TOOLSET := $(TOOLSET)
  175. $(builddir)/secp256k1.node: $(obj).target/secp256k1.node FORCE_DO_CMD
  176. $(call do_cmd,copy)
  177. all_deps += $(builddir)/secp256k1.node
  178. # Short alias for building this executable.
  179. .PHONY: secp256k1.node
  180. secp256k1.node: $(obj).target/secp256k1.node $(builddir)/secp256k1.node
  181. # Add executable to "all" target.
  182. .PHONY: all
  183. all: $(builddir)/secp256k1.node