fse.target.mk 4.6 KB

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