forked from Meituan-Dianping/SQLAdvisor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
531 lines (412 loc) · 16.8 KB
/
Makefile
File metadata and controls
531 lines (412 loc) · 16.8 KB
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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The program to use to edit the cache.
CMAKE_EDIT_COMMAND = /usr/bin/ccmake
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/longxuegang/dba_public_scripts_tools/sqlparser
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/longxuegang/dba_public_scripts_tools/sqlparser
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
/usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target install
install: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install
# Special rule for the target install
install/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install/fast
# Special rule for the target install/local
install/local: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local
# Special rule for the target install/local
install/local/fast: install/local
.PHONY : install/local/fast
# Special rule for the target list_install_components
list_install_components:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"DebugBinaries\" \"Development\" \"Server\""
.PHONY : list_install_components
# Special rule for the target list_install_components
list_install_components/fast: list_install_components
.PHONY : list_install_components/fast
# Special rule for the target package
package: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool..."
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && /usr/bin/cpack --config ./CPackConfig.cmake
.PHONY : package
# Special rule for the target package
package/fast: package
.PHONY : package/fast
# Special rule for the target package_source
package_source:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool for source..."
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && /usr/bin/cpack --config ./CPackSourceConfig.cmake /home/longxuegang/dba_public_scripts_tools/sqlparser/CPackSourceConfig.cmake
.PHONY : package_source
# Special rule for the target package_source
package_source/fast: package_source
.PHONY : package_source/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# Special rule for the target test
test:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
/usr/bin/ctest --force-new-ctest-process $(ARGS)
.PHONY : test
# Special rule for the target test
test/fast: test
.PHONY : test/fast
# The main all target
all: cmake_check_build_system
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(CMAKE_COMMAND) -E cmake_progress_start /home/longxuegang/dba_public_scripts_tools/sqlparser/CMakeFiles /home/longxuegang/dba_public_scripts_tools/sqlparser/zlib/CMakeFiles/progress.marks
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f CMakeFiles/Makefile2 zlib/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/longxuegang/dba_public_scripts_tools/sqlparser/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f CMakeFiles/Makefile2 zlib/clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f CMakeFiles/Makefile2 zlib/preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f CMakeFiles/Makefile2 zlib/preinstall
.PHONY : preinstall/fast
# clear depends
depend:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
# Convenience name for target.
zlib/CMakeFiles/zlib.dir/rule:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f CMakeFiles/Makefile2 zlib/CMakeFiles/zlib.dir/rule
.PHONY : zlib/CMakeFiles/zlib.dir/rule
# Convenience name for target.
zlib: zlib/CMakeFiles/zlib.dir/rule
.PHONY : zlib
# fast build rule for target.
zlib/fast:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/build
.PHONY : zlib/fast
adler32.o: adler32.c.o
.PHONY : adler32.o
# target to build an object file
adler32.c.o:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/adler32.c.o
.PHONY : adler32.c.o
adler32.i: adler32.c.i
.PHONY : adler32.i
# target to preprocess a source file
adler32.c.i:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/adler32.c.i
.PHONY : adler32.c.i
adler32.s: adler32.c.s
.PHONY : adler32.s
# target to generate assembly for a file
adler32.c.s:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/adler32.c.s
.PHONY : adler32.c.s
compress.o: compress.c.o
.PHONY : compress.o
# target to build an object file
compress.c.o:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/compress.c.o
.PHONY : compress.c.o
compress.i: compress.c.i
.PHONY : compress.i
# target to preprocess a source file
compress.c.i:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/compress.c.i
.PHONY : compress.c.i
compress.s: compress.c.s
.PHONY : compress.s
# target to generate assembly for a file
compress.c.s:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/compress.c.s
.PHONY : compress.c.s
crc32.o: crc32.c.o
.PHONY : crc32.o
# target to build an object file
crc32.c.o:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/crc32.c.o
.PHONY : crc32.c.o
crc32.i: crc32.c.i
.PHONY : crc32.i
# target to preprocess a source file
crc32.c.i:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/crc32.c.i
.PHONY : crc32.c.i
crc32.s: crc32.c.s
.PHONY : crc32.s
# target to generate assembly for a file
crc32.c.s:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/crc32.c.s
.PHONY : crc32.c.s
deflate.o: deflate.c.o
.PHONY : deflate.o
# target to build an object file
deflate.c.o:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/deflate.c.o
.PHONY : deflate.c.o
deflate.i: deflate.c.i
.PHONY : deflate.i
# target to preprocess a source file
deflate.c.i:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/deflate.c.i
.PHONY : deflate.c.i
deflate.s: deflate.c.s
.PHONY : deflate.s
# target to generate assembly for a file
deflate.c.s:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/deflate.c.s
.PHONY : deflate.c.s
gzio.o: gzio.c.o
.PHONY : gzio.o
# target to build an object file
gzio.c.o:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/gzio.c.o
.PHONY : gzio.c.o
gzio.i: gzio.c.i
.PHONY : gzio.i
# target to preprocess a source file
gzio.c.i:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/gzio.c.i
.PHONY : gzio.c.i
gzio.s: gzio.c.s
.PHONY : gzio.s
# target to generate assembly for a file
gzio.c.s:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/gzio.c.s
.PHONY : gzio.c.s
infback.o: infback.c.o
.PHONY : infback.o
# target to build an object file
infback.c.o:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/infback.c.o
.PHONY : infback.c.o
infback.i: infback.c.i
.PHONY : infback.i
# target to preprocess a source file
infback.c.i:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/infback.c.i
.PHONY : infback.c.i
infback.s: infback.c.s
.PHONY : infback.s
# target to generate assembly for a file
infback.c.s:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/infback.c.s
.PHONY : infback.c.s
inffast.o: inffast.c.o
.PHONY : inffast.o
# target to build an object file
inffast.c.o:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/inffast.c.o
.PHONY : inffast.c.o
inffast.i: inffast.c.i
.PHONY : inffast.i
# target to preprocess a source file
inffast.c.i:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/inffast.c.i
.PHONY : inffast.c.i
inffast.s: inffast.c.s
.PHONY : inffast.s
# target to generate assembly for a file
inffast.c.s:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/inffast.c.s
.PHONY : inffast.c.s
inflate.o: inflate.c.o
.PHONY : inflate.o
# target to build an object file
inflate.c.o:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/inflate.c.o
.PHONY : inflate.c.o
inflate.i: inflate.c.i
.PHONY : inflate.i
# target to preprocess a source file
inflate.c.i:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/inflate.c.i
.PHONY : inflate.c.i
inflate.s: inflate.c.s
.PHONY : inflate.s
# target to generate assembly for a file
inflate.c.s:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/inflate.c.s
.PHONY : inflate.c.s
inftrees.o: inftrees.c.o
.PHONY : inftrees.o
# target to build an object file
inftrees.c.o:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/inftrees.c.o
.PHONY : inftrees.c.o
inftrees.i: inftrees.c.i
.PHONY : inftrees.i
# target to preprocess a source file
inftrees.c.i:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/inftrees.c.i
.PHONY : inftrees.c.i
inftrees.s: inftrees.c.s
.PHONY : inftrees.s
# target to generate assembly for a file
inftrees.c.s:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/inftrees.c.s
.PHONY : inftrees.c.s
trees.o: trees.c.o
.PHONY : trees.o
# target to build an object file
trees.c.o:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/trees.c.o
.PHONY : trees.c.o
trees.i: trees.c.i
.PHONY : trees.i
# target to preprocess a source file
trees.c.i:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/trees.c.i
.PHONY : trees.c.i
trees.s: trees.c.s
.PHONY : trees.s
# target to generate assembly for a file
trees.c.s:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/trees.c.s
.PHONY : trees.c.s
uncompr.o: uncompr.c.o
.PHONY : uncompr.o
# target to build an object file
uncompr.c.o:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/uncompr.c.o
.PHONY : uncompr.c.o
uncompr.i: uncompr.c.i
.PHONY : uncompr.i
# target to preprocess a source file
uncompr.c.i:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/uncompr.c.i
.PHONY : uncompr.c.i
uncompr.s: uncompr.c.s
.PHONY : uncompr.s
# target to generate assembly for a file
uncompr.c.s:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/uncompr.c.s
.PHONY : uncompr.c.s
zutil.o: zutil.c.o
.PHONY : zutil.o
# target to build an object file
zutil.c.o:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/zutil.c.o
.PHONY : zutil.c.o
zutil.i: zutil.c.i
.PHONY : zutil.i
# target to preprocess a source file
zutil.c.i:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/zutil.c.i
.PHONY : zutil.c.i
zutil.s: zutil.c.s
.PHONY : zutil.s
# target to generate assembly for a file
zutil.c.s:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(MAKE) -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/zutil.c.s
.PHONY : zutil.c.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... edit_cache"
@echo "... install"
@echo "... install/local"
@echo "... list_install_components"
@echo "... package"
@echo "... package_source"
@echo "... rebuild_cache"
@echo "... test"
@echo "... zlib"
@echo "... adler32.o"
@echo "... adler32.i"
@echo "... adler32.s"
@echo "... compress.o"
@echo "... compress.i"
@echo "... compress.s"
@echo "... crc32.o"
@echo "... crc32.i"
@echo "... crc32.s"
@echo "... deflate.o"
@echo "... deflate.i"
@echo "... deflate.s"
@echo "... gzio.o"
@echo "... gzio.i"
@echo "... gzio.s"
@echo "... infback.o"
@echo "... infback.i"
@echo "... infback.s"
@echo "... inffast.o"
@echo "... inffast.i"
@echo "... inffast.s"
@echo "... inflate.o"
@echo "... inflate.i"
@echo "... inflate.s"
@echo "... inftrees.o"
@echo "... inftrees.i"
@echo "... inftrees.s"
@echo "... trees.o"
@echo "... trees.i"
@echo "... trees.s"
@echo "... uncompr.o"
@echo "... uncompr.i"
@echo "... uncompr.s"
@echo "... zutil.o"
@echo "... zutil.i"
@echo "... zutil.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
cd /home/longxuegang/dba_public_scripts_tools/sqlparser && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system