validation.target.mk 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. # This file is generated by gyp; do not edit.
  2. TOOLSET := target
  3. TARGET := validation
  4. DEFS_Debug := \
  5. '-DNODE_GYP_MODULE_NAME=validation' \
  6. '-DUSING_UV_SHARED=1' \
  7. '-DUSING_V8_SHARED=1' \
  8. '-DV8_DEPRECATION_WARNINGS=1' \
  9. '-D_LARGEFILE_SOURCE' \
  10. '-D_FILE_OFFSET_BITS=64' \
  11. '-DBUILDING_NODE_EXTENSION' \
  12. '-DDEBUG' \
  13. '-D_DEBUG'
  14. # Flags passed to all source files.
  15. CFLAGS_Debug := \
  16. -fPIC \
  17. -pthread \
  18. -Wall \
  19. -Wextra \
  20. -Wno-unused-parameter \
  21. -m64 \
  22. -O2 \
  23. -g \
  24. -O0
  25. # Flags passed to only C files.
  26. CFLAGS_C_Debug :=
  27. # Flags passed to only C++ files.
  28. CFLAGS_CC_Debug := \
  29. -fno-rtti \
  30. -fno-exceptions \
  31. -std=gnu++0x
  32. INCS_Debug := \
  33. -I/root/.node-gyp/7.0.0/include/node \
  34. -I/root/.node-gyp/7.0.0/src \
  35. -I/root/.node-gyp/7.0.0/deps/uv/include \
  36. -I/root/.node-gyp/7.0.0/deps/v8/include \
  37. -I$(srcdir)/node_modules/nan
  38. DEFS_Release := \
  39. '-DNODE_GYP_MODULE_NAME=validation' \
  40. '-DUSING_UV_SHARED=1' \
  41. '-DUSING_V8_SHARED=1' \
  42. '-DV8_DEPRECATION_WARNINGS=1' \
  43. '-D_LARGEFILE_SOURCE' \
  44. '-D_FILE_OFFSET_BITS=64' \
  45. '-DBUILDING_NODE_EXTENSION'
  46. # Flags passed to all source files.
  47. CFLAGS_Release := \
  48. -fPIC \
  49. -pthread \
  50. -Wall \
  51. -Wextra \
  52. -Wno-unused-parameter \
  53. -m64 \
  54. -O2 \
  55. -fno-omit-frame-pointer
  56. # Flags passed to only C files.
  57. CFLAGS_C_Release :=
  58. # Flags passed to only C++ files.
  59. CFLAGS_CC_Release := \
  60. -fno-rtti \
  61. -fno-exceptions \
  62. -std=gnu++0x
  63. INCS_Release := \
  64. -I/root/.node-gyp/7.0.0/include/node \
  65. -I/root/.node-gyp/7.0.0/src \
  66. -I/root/.node-gyp/7.0.0/deps/uv/include \
  67. -I/root/.node-gyp/7.0.0/deps/v8/include \
  68. -I$(srcdir)/node_modules/nan
  69. OBJS := \
  70. $(obj).target/$(TARGET)/src/validation.o
  71. # Add to the list of files we specially track dependencies for.
  72. all_deps += $(OBJS)
  73. # CFLAGS et al overrides must be target-local.
  74. # See "Target-specific Variable Values" in the GNU Make manual.
  75. $(OBJS): TOOLSET := $(TOOLSET)
  76. $(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
  77. $(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
  78. # Suffix rules, putting all outputs into $(obj).
  79. $(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
  80. @$(call do_cmd,cxx,1)
  81. # Try building from generated source, too.
  82. $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
  83. @$(call do_cmd,cxx,1)
  84. $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
  85. @$(call do_cmd,cxx,1)
  86. # End of this set of suffix rules
  87. ### Rules for final target.
  88. LDFLAGS_Debug := \
  89. -pthread \
  90. -rdynamic \
  91. -m64
  92. LDFLAGS_Release := \
  93. -pthread \
  94. -rdynamic \
  95. -m64
  96. LIBS :=
  97. $(obj).target/validation.node: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
  98. $(obj).target/validation.node: LIBS := $(LIBS)
  99. $(obj).target/validation.node: TOOLSET := $(TOOLSET)
  100. $(obj).target/validation.node: $(OBJS) FORCE_DO_CMD
  101. $(call do_cmd,solink_module)
  102. all_deps += $(obj).target/validation.node
  103. # Add target alias
  104. .PHONY: validation
  105. validation: $(builddir)/validation.node
  106. # Copy this to the executable output path.
  107. $(builddir)/validation.node: TOOLSET := $(TOOLSET)
  108. $(builddir)/validation.node: $(obj).target/validation.node FORCE_DO_CMD
  109. $(call do_cmd,copy)
  110. all_deps += $(builddir)/validation.node
  111. # Short alias for building this executable.
  112. .PHONY: validation.node
  113. validation.node: $(obj).target/validation.node $(builddir)/validation.node
  114. # Add executable to "all" target.
  115. .PHONY: all
  116. all: $(builddir)/validation.node