Subversion Repositories qbpwcf-lib(archive)

Rev

Rev 915 | Details | Compare with Previous | Last modification | View Log | RSS feed

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