Turn audio into a shareable video. forked from nypublicradio/audiogram

canvas.target.mk 4.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. # This file is generated by gyp; do not edit.
  2. TOOLSET := target
  3. TARGET := canvas
  4. DEFS_Debug := \
  5. '-DNODE_GYP_MODULE_NAME=canvas' \
  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. '-DHAVE_JPEG' \
  12. '-DHAVE_GIF' \
  13. '-DBUILDING_NODE_EXTENSION' \
  14. '-DDEBUG' \
  15. '-D_DEBUG'
  16. # Flags passed to all source files.
  17. CFLAGS_Debug := \
  18. -fPIC \
  19. -pthread \
  20. -Wall \
  21. -Wextra \
  22. -Wno-unused-parameter \
  23. -m64 \
  24. -g \
  25. -O0
  26. # Flags passed to only C files.
  27. CFLAGS_C_Debug :=
  28. # Flags passed to only C++ files.
  29. CFLAGS_CC_Debug := \
  30. -fno-rtti \
  31. -fno-exceptions \
  32. -std=gnu++0x
  33. INCS_Debug := \
  34. -I/root/.node-gyp/7.10.1/include/node \
  35. -I/root/.node-gyp/7.10.1/src \
  36. -I/root/.node-gyp/7.10.1/deps/uv/include \
  37. -I/root/.node-gyp/7.10.1/deps/v8/include \
  38. -I$(srcdir)/../nan \
  39. -I/usr/include/cairo \
  40. -I/usr/include/glib-2.0 \
  41. -I/usr/lib/x86_64-linux-gnu/glib-2.0/include \
  42. -I/usr/include/pixman-1 \
  43. -I/usr/include/freetype2 \
  44. -I/usr/include/libpng12 \
  45. -I/usr/include/pango-1.0
  46. DEFS_Release := \
  47. '-DNODE_GYP_MODULE_NAME=canvas' \
  48. '-DUSING_UV_SHARED=1' \
  49. '-DUSING_V8_SHARED=1' \
  50. '-DV8_DEPRECATION_WARNINGS=1' \
  51. '-D_LARGEFILE_SOURCE' \
  52. '-D_FILE_OFFSET_BITS=64' \
  53. '-DHAVE_JPEG' \
  54. '-DHAVE_GIF' \
  55. '-DBUILDING_NODE_EXTENSION'
  56. # Flags passed to all source files.
  57. CFLAGS_Release := \
  58. -fPIC \
  59. -pthread \
  60. -Wall \
  61. -Wextra \
  62. -Wno-unused-parameter \
  63. -m64 \
  64. -O3 \
  65. -fno-omit-frame-pointer
  66. # Flags passed to only C files.
  67. CFLAGS_C_Release :=
  68. # Flags passed to only C++ files.
  69. CFLAGS_CC_Release := \
  70. -fno-rtti \
  71. -fno-exceptions \
  72. -std=gnu++0x
  73. INCS_Release := \
  74. -I/root/.node-gyp/7.10.1/include/node \
  75. -I/root/.node-gyp/7.10.1/src \
  76. -I/root/.node-gyp/7.10.1/deps/uv/include \
  77. -I/root/.node-gyp/7.10.1/deps/v8/include \
  78. -I$(srcdir)/../nan \
  79. -I/usr/include/cairo \
  80. -I/usr/include/glib-2.0 \
  81. -I/usr/lib/x86_64-linux-gnu/glib-2.0/include \
  82. -I/usr/include/pixman-1 \
  83. -I/usr/include/freetype2 \
  84. -I/usr/include/libpng12 \
  85. -I/usr/include/pango-1.0
  86. OBJS := \
  87. $(obj).target/$(TARGET)/src/Canvas.o \
  88. $(obj).target/$(TARGET)/src/CanvasGradient.o \
  89. $(obj).target/$(TARGET)/src/CanvasPattern.o \
  90. $(obj).target/$(TARGET)/src/CanvasRenderingContext2d.o \
  91. $(obj).target/$(TARGET)/src/color.o \
  92. $(obj).target/$(TARGET)/src/Image.o \
  93. $(obj).target/$(TARGET)/src/ImageData.o \
  94. $(obj).target/$(TARGET)/src/register_font.o \
  95. $(obj).target/$(TARGET)/src/init.o
  96. # Add to the list of files we specially track dependencies for.
  97. all_deps += $(OBJS)
  98. # CFLAGS et al overrides must be target-local.
  99. # See "Target-specific Variable Values" in the GNU Make manual.
  100. $(OBJS): TOOLSET := $(TOOLSET)
  101. $(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
  102. $(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
  103. # Suffix rules, putting all outputs into $(obj).
  104. $(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
  105. @$(call do_cmd,cxx,1)
  106. # Try building from generated source, too.
  107. $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
  108. @$(call do_cmd,cxx,1)
  109. $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
  110. @$(call do_cmd,cxx,1)
  111. # End of this set of suffix rules
  112. ### Rules for final target.
  113. LDFLAGS_Debug := \
  114. -pthread \
  115. -rdynamic \
  116. -m64
  117. LDFLAGS_Release := \
  118. -pthread \
  119. -rdynamic \
  120. -m64
  121. LIBS := \
  122. -lpixman-1 \
  123. -lcairo \
  124. -lpng12 \
  125. -lpangocairo-1.0 \
  126. -lpango-1.0 \
  127. -lgobject-2.0 \
  128. -lglib-2.0 \
  129. -lfreetype \
  130. -ljpeg \
  131. -lgif
  132. $(obj).target/canvas.node: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
  133. $(obj).target/canvas.node: LIBS := $(LIBS)
  134. $(obj).target/canvas.node: TOOLSET := $(TOOLSET)
  135. $(obj).target/canvas.node: $(OBJS) FORCE_DO_CMD
  136. $(call do_cmd,solink_module)
  137. all_deps += $(obj).target/canvas.node
  138. # Add target alias
  139. .PHONY: canvas
  140. canvas: $(builddir)/canvas.node
  141. # Copy this to the executable output path.
  142. $(builddir)/canvas.node: TOOLSET := $(TOOLSET)
  143. $(builddir)/canvas.node: $(obj).target/canvas.node FORCE_DO_CMD
  144. $(call do_cmd,copy)
  145. all_deps += $(builddir)/canvas.node
  146. # Short alias for building this executable.
  147. .PHONY: canvas.node
  148. canvas.node: $(obj).target/canvas.node $(builddir)/canvas.node
  149. # Add executable to "all" target.
  150. .PHONY: all
  151. all: $(builddir)/canvas.node