123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- # This file is generated by gyp; do not edit.
-
- TOOLSET := target
- TARGET := secp256k1
- DEFS_Debug := \
- '-DNODE_GYP_MODULE_NAME=secp256k1' \
- '-DUSING_UV_SHARED=1' \
- '-DUSING_V8_SHARED=1' \
- '-DV8_DEPRECATION_WARNINGS=1' \
- '-DV8_DEPRECATION_WARNINGS' \
- '-DV8_IMMINENT_DEPRECATION_WARNINGS' \
- '-D_GLIBCXX_USE_CXX11_ABI=1' \
- '-D_LARGEFILE_SOURCE' \
- '-D_FILE_OFFSET_BITS=64' \
- '-D__STDC_FORMAT_MACROS' \
- '-DOPENSSL_NO_PINSHARED' \
- '-DOPENSSL_THREADS' \
- '-DECMULT_GEN_PREC_BITS=4' \
- '-DECMULT_WINDOW_SIZE=15' \
- '-DUSE_NUM_NONE=1' \
- '-DUSE_FIELD_INV_BUILTIN=1' \
- '-DUSE_SCALAR_INV_BUILTIN=1' \
- '-DHAVE___INT128=1' \
- '-DUSE_ASM_X86_64=1' \
- '-DUSE_FIELD_5X52=1' \
- '-DUSE_FIELD_5X52_INT128=1' \
- '-DUSE_SCALAR_4X64=1' \
- '-DBUILDING_NODE_EXTENSION' \
- '-DDEBUG' \
- '-D_DEBUG' \
- '-DV8_ENABLE_CHECKS'
-
- # Flags passed to all source files.
- CFLAGS_Debug := \
- -fPIC \
- -pthread \
- -Wall \
- -Wextra \
- -Wno-unused-parameter \
- -m64 \
- -Wall \
- -Wno-maybe-uninitialized \
- -Wno-uninitialized \
- -Wno-unused-function \
- -Wextra \
- -g \
- -O0
-
- # Flags passed to only C files.
- CFLAGS_C_Debug :=
-
- # Flags passed to only C++ files.
- CFLAGS_CC_Debug := \
- -std=c++11 \
- -fno-rtti \
- -fno-exceptions \
- -std=gnu++17
-
- INCS_Debug := \
- -I/home/caligvla/.cache/node-gyp/17.0.1/include/node \
- -I/home/caligvla/.cache/node-gyp/17.0.1/src \
- -I/home/caligvla/.cache/node-gyp/17.0.1/deps/openssl/config \
- -I/home/caligvla/.cache/node-gyp/17.0.1/deps/openssl/openssl/include \
- -I/home/caligvla/.cache/node-gyp/17.0.1/deps/uv/include \
- -I/home/caligvla/.cache/node-gyp/17.0.1/deps/zlib \
- -I/home/caligvla/.cache/node-gyp/17.0.1/deps/v8/include \
- -I/usr/local/include \
- -I$(srcdir)/native/secp256k1 \
- -I$(srcdir)/native/secp256k1/contrib \
- -I$(srcdir)/native/secp256k1/include \
- -I$(srcdir)/native/secp256k1/src \
- -I$(srcdir)/../nan
-
- DEFS_Release := \
- '-DNODE_GYP_MODULE_NAME=secp256k1' \
- '-DUSING_UV_SHARED=1' \
- '-DUSING_V8_SHARED=1' \
- '-DV8_DEPRECATION_WARNINGS=1' \
- '-DV8_DEPRECATION_WARNINGS' \
- '-DV8_IMMINENT_DEPRECATION_WARNINGS' \
- '-D_GLIBCXX_USE_CXX11_ABI=1' \
- '-D_LARGEFILE_SOURCE' \
- '-D_FILE_OFFSET_BITS=64' \
- '-D__STDC_FORMAT_MACROS' \
- '-DOPENSSL_NO_PINSHARED' \
- '-DOPENSSL_THREADS' \
- '-DECMULT_GEN_PREC_BITS=4' \
- '-DECMULT_WINDOW_SIZE=15' \
- '-DUSE_NUM_NONE=1' \
- '-DUSE_FIELD_INV_BUILTIN=1' \
- '-DUSE_SCALAR_INV_BUILTIN=1' \
- '-DHAVE___INT128=1' \
- '-DUSE_ASM_X86_64=1' \
- '-DUSE_FIELD_5X52=1' \
- '-DUSE_FIELD_5X52_INT128=1' \
- '-DUSE_SCALAR_4X64=1' \
- '-DBUILDING_NODE_EXTENSION'
-
- # Flags passed to all source files.
- CFLAGS_Release := \
- -fPIC \
- -pthread \
- -Wall \
- -Wextra \
- -Wno-unused-parameter \
- -m64 \
- -Wall \
- -Wno-maybe-uninitialized \
- -Wno-uninitialized \
- -Wno-unused-function \
- -Wextra \
- -O3 \
- -fno-omit-frame-pointer
-
- # Flags passed to only C files.
- CFLAGS_C_Release :=
-
- # Flags passed to only C++ files.
- CFLAGS_CC_Release := \
- -std=c++11 \
- -fno-rtti \
- -fno-exceptions \
- -std=gnu++17
-
- INCS_Release := \
- -I/home/caligvla/.cache/node-gyp/17.0.1/include/node \
- -I/home/caligvla/.cache/node-gyp/17.0.1/src \
- -I/home/caligvla/.cache/node-gyp/17.0.1/deps/openssl/config \
- -I/home/caligvla/.cache/node-gyp/17.0.1/deps/openssl/openssl/include \
- -I/home/caligvla/.cache/node-gyp/17.0.1/deps/uv/include \
- -I/home/caligvla/.cache/node-gyp/17.0.1/deps/zlib \
- -I/home/caligvla/.cache/node-gyp/17.0.1/deps/v8/include \
- -I/usr/local/include \
- -I$(srcdir)/native/secp256k1 \
- -I$(srcdir)/native/secp256k1/contrib \
- -I$(srcdir)/native/secp256k1/include \
- -I$(srcdir)/native/secp256k1/src \
- -I$(srcdir)/../nan
-
- OBJS := \
- $(obj).target/$(TARGET)/native/addon.o \
- $(obj).target/$(TARGET)/native/secp256k1/src/secp256k1.o
-
- # Add to the list of files we specially track dependencies for.
- all_deps += $(OBJS)
-
- # CFLAGS et al overrides must be target-local.
- # See "Target-specific Variable Values" in the GNU Make manual.
- $(OBJS): TOOLSET := $(TOOLSET)
- $(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
- $(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
-
- # Suffix rules, putting all outputs into $(obj).
-
- $(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD
- @$(call do_cmd,cxx,1)
-
- $(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
- @$(call do_cmd,cc,1)
-
- # Try building from generated source, too.
-
- $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD
- @$(call do_cmd,cxx,1)
-
- $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
- @$(call do_cmd,cc,1)
-
- $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cpp FORCE_DO_CMD
- @$(call do_cmd,cxx,1)
-
- $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.c FORCE_DO_CMD
- @$(call do_cmd,cc,1)
-
- # End of this set of suffix rules
- ### Rules for final target.
- LDFLAGS_Debug := \
- -pthread \
- -rdynamic \
- -m64
-
- LDFLAGS_Release := \
- -pthread \
- -rdynamic \
- -m64
-
- LIBS :=
-
- $(obj).target/secp256k1.node: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
- $(obj).target/secp256k1.node: LIBS := $(LIBS)
- $(obj).target/secp256k1.node: TOOLSET := $(TOOLSET)
- $(obj).target/secp256k1.node: $(OBJS) FORCE_DO_CMD
- $(call do_cmd,solink_module)
-
- all_deps += $(obj).target/secp256k1.node
- # Add target alias
- .PHONY: secp256k1
- secp256k1: $(builddir)/secp256k1.node
-
- # Copy this to the executable output path.
- $(builddir)/secp256k1.node: TOOLSET := $(TOOLSET)
- $(builddir)/secp256k1.node: $(obj).target/secp256k1.node FORCE_DO_CMD
- $(call do_cmd,copy)
-
- all_deps += $(builddir)/secp256k1.node
- # Short alias for building this executable.
- .PHONY: secp256k1.node
- secp256k1.node: $(obj).target/secp256k1.node $(builddir)/secp256k1.node
-
- # Add executable to "all" target.
- .PHONY: all
- all: $(builddir)/secp256k1.node
|