bcrypt_lib.target.mk 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. # This file is generated by gyp; do not edit.
  2. TOOLSET := target
  3. TARGET := bcrypt_lib
  4. DEFS_Debug := \
  5. '-D_DARWIN_USE_64_BIT_INODE=1' \
  6. '-D_LARGEFILE_SOURCE' \
  7. '-D_FILE_OFFSET_BITS=64' \
  8. '-DBUILDING_NODE_EXTENSION' \
  9. '-DDEBUG' \
  10. '-D_DEBUG'
  11. # Flags passed to all source files.
  12. CFLAGS_Debug := \
  13. -O0 \
  14. -gdwarf-2 \
  15. -mmacosx-version-min=10.5 \
  16. -arch x86_64 \
  17. -Wall \
  18. -Wendif-labels \
  19. -W \
  20. -Wno-unused-parameter
  21. # Flags passed to only C files.
  22. CFLAGS_C_Debug := \
  23. -fno-strict-aliasing
  24. # Flags passed to only C++ files.
  25. CFLAGS_CC_Debug := \
  26. -fno-rtti \
  27. -fno-exceptions \
  28. -fno-threadsafe-statics \
  29. -fno-strict-aliasing
  30. # Flags passed to only ObjC files.
  31. CFLAGS_OBJC_Debug :=
  32. # Flags passed to only ObjC++ files.
  33. CFLAGS_OBJCC_Debug :=
  34. INCS_Debug := \
  35. -I/Users/alyssanicoll/.node-gyp/0.10.28/src \
  36. -I/Users/alyssanicoll/.node-gyp/0.10.28/deps/uv/include \
  37. -I/Users/alyssanicoll/.node-gyp/0.10.28/deps/v8/include
  38. DEFS_Release := \
  39. '-D_DARWIN_USE_64_BIT_INODE=1' \
  40. '-D_LARGEFILE_SOURCE' \
  41. '-D_FILE_OFFSET_BITS=64' \
  42. '-DBUILDING_NODE_EXTENSION'
  43. # Flags passed to all source files.
  44. CFLAGS_Release := \
  45. -Os \
  46. -gdwarf-2 \
  47. -mmacosx-version-min=10.5 \
  48. -arch x86_64 \
  49. -Wall \
  50. -Wendif-labels \
  51. -W \
  52. -Wno-unused-parameter
  53. # Flags passed to only C files.
  54. CFLAGS_C_Release := \
  55. -fno-strict-aliasing
  56. # Flags passed to only C++ files.
  57. CFLAGS_CC_Release := \
  58. -fno-rtti \
  59. -fno-exceptions \
  60. -fno-threadsafe-statics \
  61. -fno-strict-aliasing
  62. # Flags passed to only ObjC files.
  63. CFLAGS_OBJC_Release :=
  64. # Flags passed to only ObjC++ files.
  65. CFLAGS_OBJCC_Release :=
  66. INCS_Release := \
  67. -I/Users/alyssanicoll/.node-gyp/0.10.28/src \
  68. -I/Users/alyssanicoll/.node-gyp/0.10.28/deps/uv/include \
  69. -I/Users/alyssanicoll/.node-gyp/0.10.28/deps/v8/include
  70. OBJS := \
  71. $(obj).target/$(TARGET)/src/blowfish.o \
  72. $(obj).target/$(TARGET)/src/bcrypt.o \
  73. $(obj).target/$(TARGET)/src/bcrypt_node.o
  74. # Add to the list of files we specially track dependencies for.
  75. all_deps += $(OBJS)
  76. # CFLAGS et al overrides must be target-local.
  77. # See "Target-specific Variable Values" in the GNU Make manual.
  78. $(OBJS): TOOLSET := $(TOOLSET)
  79. $(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
  80. $(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
  81. $(OBJS): GYP_OBJCFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE)) $(CFLAGS_OBJC_$(BUILDTYPE))
  82. $(OBJS): GYP_OBJCXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE)) $(CFLAGS_OBJCC_$(BUILDTYPE))
  83. # Suffix rules, putting all outputs into $(obj).
  84. $(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
  85. @$(call do_cmd,cxx,1)
  86. # Try building from generated source, too.
  87. $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
  88. @$(call do_cmd,cxx,1)
  89. $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
  90. @$(call do_cmd,cxx,1)
  91. # End of this set of suffix rules
  92. ### Rules for final target.
  93. LDFLAGS_Debug := \
  94. -Wl,-search_paths_first \
  95. -mmacosx-version-min=10.5 \
  96. -arch x86_64 \
  97. -L$(builddir)
  98. LIBTOOLFLAGS_Debug := \
  99. -Wl,-search_paths_first
  100. LDFLAGS_Release := \
  101. -Wl,-search_paths_first \
  102. -mmacosx-version-min=10.5 \
  103. -arch x86_64 \
  104. -L$(builddir)
  105. LIBTOOLFLAGS_Release := \
  106. -Wl,-search_paths_first
  107. LIBS := \
  108. -undefined dynamic_lookup
  109. $(builddir)/bcrypt_lib.node: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
  110. $(builddir)/bcrypt_lib.node: LIBS := $(LIBS)
  111. $(builddir)/bcrypt_lib.node: GYP_LIBTOOLFLAGS := $(LIBTOOLFLAGS_$(BUILDTYPE))
  112. $(builddir)/bcrypt_lib.node: TOOLSET := $(TOOLSET)
  113. $(builddir)/bcrypt_lib.node: $(OBJS) FORCE_DO_CMD
  114. $(call do_cmd,solink_module)
  115. all_deps += $(builddir)/bcrypt_lib.node
  116. # Add target alias
  117. .PHONY: bcrypt_lib
  118. bcrypt_lib: $(builddir)/bcrypt_lib.node
  119. # Short alias for building this executable.
  120. .PHONY: bcrypt_lib.node
  121. bcrypt_lib.node: $(builddir)/bcrypt_lib.node
  122. # Add executable to "all" target.
  123. .PHONY: all
  124. all: $(builddir)/bcrypt_lib.node