-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathcodegen_emoji.target.mk
216 lines (190 loc) · 5.18 KB
/
codegen_emoji.target.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
# This file is generated by gyp; do not edit.
TOOLSET := target
TARGET := codegen_emoji
DEFS_Debug := \
'-DQT_WIDGETS_LIB' \
'-DQT_NETWORK_LIB' \
'-DQT_GUI_LIB' \
'-DQT_CORE_LIB' \
'-D_REENTRANT' \
'-DQT_STATICPLUGIN' \
'-DQT_PLUGIN' \
'-DQ_OS_LINUX32' \
'-D_DEBUG' \
'-DSUPPORT_IMAGE_GENERATION=1'
# Flags passed to all source files.
CFLAGS_Debug :=
# Flags passed to only C files.
CFLAGS_C_Debug := \
-pipe \
-Wall \
-Werror \
-W \
-fPIC \
-Wno-unused-variable \
-Wno-unused-parameter \
-Wno-unused-function \
-Wno-switch \
-Wno-comment \
-Wno-unused-but-set-variable \
-Wno-missing-field-initializers \
-Wno-sign-compare \
-std=gnu11
# Flags passed to only C++ files.
CFLAGS_CC_Debug := \
-pipe \
-Wall \
-Werror \
-W \
-fPIC \
-Wno-unused-variable \
-Wno-unused-parameter \
-Wno-unused-function \
-Wno-switch \
-Wno-comment \
-Wno-unused-but-set-variable \
-Wno-missing-field-initializers \
-Wno-sign-compare \
-std=c++1z \
-Wno-register
INCS_Debug := \
-I../SourceFiles \
-I/usr/include/qt \
-I/usr/include/qt/QtCore \
-I/usr/include/qt/QtGui \
-I/usr/include/qt/QtDBus \
-I/usr/include/qt/QtCore/5.6.2 \
-I/usr/include/qt/QtGui/5.6.2 \
-I/usr/include/qt/QtCore/5.6.2/QtCore \
-I/usr/include/qt/QtGui/5.6.2/QtGui \
-I/usr/include/qt/mkspecs/linux-g++
DEFS_Release := \
'-DQT_WIDGETS_LIB' \
'-DQT_NETWORK_LIB' \
'-DQT_GUI_LIB' \
'-DQT_CORE_LIB' \
'-D_REENTRANT' \
'-DQT_STATICPLUGIN' \
'-DQT_PLUGIN' \
'-DQ_OS_LINUX32' \
'-DNDEBUG'
# Flags passed to all source files.
CFLAGS_Release :=
# Flags passed to only C files.
CFLAGS_C_Release := \
-pipe \
-Wall \
-Werror \
-W \
-fPIC \
-Wno-unused-variable \
-Wno-unused-parameter \
-Wno-unused-function \
-Wno-switch \
-Wno-comment \
-Wno-unused-but-set-variable \
-Wno-missing-field-initializers \
-Wno-sign-compare \
-std=gnu11
# Flags passed to only C++ files.
CFLAGS_CC_Release := \
-pipe \
-Wall \
-Werror \
-W \
-fPIC \
-Wno-unused-variable \
-Wno-unused-parameter \
-Wno-unused-function \
-Wno-switch \
-Wno-comment \
-Wno-unused-but-set-variable \
-Wno-missing-field-initializers \
-Wno-sign-compare \
-std=c++1z \
-Wno-register
INCS_Release := \
-I../SourceFiles \
-I/usr/include/qt \
-I/usr/include/qt/QtCore \
-I/usr/include/qt/QtGui \
-I/usr/include/qt/QtDBus \
-I/usr/include/qt/QtCore/5.6.2 \
-I/usr/include/qt/QtGui/5.6.2 \
-I/usr/include/qt/QtCore/5.6.2/QtCore \
-I/usr/include/qt/QtGui/5.6.2/QtGui \
-I/usr/include/qt/mkspecs/linux-g++
OBJS := \
$(obj).target/$(TARGET)/../SourceFiles/codegen/common/cpp_file.o \
$(obj).target/$(TARGET)/../SourceFiles/codegen/common/logging.o \
$(obj).target/$(TARGET)/../SourceFiles/codegen/emoji/data.o \
$(obj).target/$(TARGET)/../SourceFiles/codegen/emoji/generator.o \
$(obj).target/$(TARGET)/../SourceFiles/codegen/emoji/main.o \
$(obj).target/$(TARGET)/../SourceFiles/codegen/emoji/options.o \
$(obj).target/$(TARGET)/../SourceFiles/codegen/emoji/replaces.o
# Add to the list of files we specially track dependencies for.
all_deps += $(OBJS)
# Make sure our dependencies are built before any of us.
$(OBJS): | $(obj).target/liblinux_glibc_wraps.a
# CFLAGS et al overrides must be target-local.
# See "Target-specific Variable Values" in the GNU Make manual.
$(OBJS): TOOLSET := $(TOOLSET)
$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
# Suffix rules, putting all outputs into $(obj).
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD
@$(call do_cmd,cxx,1)
# Try building from generated source, too.
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cpp FORCE_DO_CMD
@$(call do_cmd,cxx,1)
# End of this set of suffix rules
### Rules for final target.
LDFLAGS_Debug := \
-static-libstdc++ \
-pthread \
-rdynamic \
-L/usr/lib \
-L/usr/lib/qt/ \
-L/usr/lib/qt/plugins \
-L/usr/include/qt/plugins/bearer \
-L/usr/include/qt/plugins/platforms \
-L/usr/include/qt/plugins/imageformats \
-L/usr/include/qt/plugins/platforminputcontexts
LDFLAGS_Release := \
-static-libstdc++ \
-pthread \
-rdynamic \
-L/usr/lib \
-L/usr/include/qt/lib \
-L/usr/include/qt/plugins \
-L/usr/include/qt/plugins/bearer \
-L/usr/include/qt/plugins/platforms \
-L/usr/include/qt/plugins/imageformats \
-L/usr/include/qt/plugins/platforminputcontexts
LIBS := \
$(builddir)/obj.target/liblinux_glibc_wraps.a \
/usr/lib/libxkbcommon.so \
-lQt5Core -lQt5Gui \
-lxcb \
-lX11 \
-lX11-xcb \
-ldbus-1 \
-ldl \
-lgthread-2.0 \
-lglib-2.0 \
-lpthread
$(builddir)/codegen_emoji: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
$(builddir)/codegen_emoji: LIBS := $(LIBS)
$(builddir)/codegen_emoji: LD_INPUTS := $(OBJS) $(obj).target/liblinux_glibc_wraps.a
$(builddir)/codegen_emoji: TOOLSET := $(TOOLSET)
$(builddir)/codegen_emoji: $(OBJS) $(obj).target/liblinux_glibc_wraps.a FORCE_DO_CMD
$(call do_cmd,link)
all_deps += $(builddir)/codegen_emoji
# Add target alias
.PHONY: codegen_emoji
codegen_emoji: $(builddir)/codegen_emoji
# Add executable to "all" target.
.PHONY: all
all: $(builddir)/codegen_emoji