-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
508 lines (395 loc) · 17.4 KB
/
Makefile
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
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#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 rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/warrior/project/miniob
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/warrior/project/miniob
#=============================================================================
# Targets provided globally by CMake.
# 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
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/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 --regenerate-during-build -S$(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 list_install_components
list_install_components:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
.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 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: preinstall/fast
@$(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/fast
# Special rule for the target install/strip
install/strip: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip
# Special rule for the target install/strip
install/strip/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip/fast
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/warrior/project/miniob/CMakeFiles /home/warrior/project/miniob//CMakeFiles/progress.marks
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /home/warrior/project/miniob/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast
# clear depends
depend:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
#=============================================================================
# Target rules for targets named common
# Build rule for target.
common: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 common
.PHONY : common
# fast build rule for target.
common/fast:
$(MAKE) $(MAKESILENT) -f deps/common/CMakeFiles/common.dir/build.make deps/common/CMakeFiles/common.dir/build
.PHONY : common/fast
#=============================================================================
# Target rules for targets named obclient
# Build rule for target.
obclient: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 obclient
.PHONY : obclient
# fast build rule for target.
obclient/fast:
$(MAKE) $(MAKESILENT) -f src/obclient/CMakeFiles/obclient.dir/build.make src/obclient/CMakeFiles/obclient.dir/build
.PHONY : obclient/fast
#=============================================================================
# Target rules for targets named observer
# Build rule for target.
observer: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 observer
.PHONY : observer
# fast build rule for target.
observer/fast:
$(MAKE) $(MAKESILENT) -f src/observer/CMakeFiles/observer.dir/build.make src/observer/CMakeFiles/observer.dir/build
.PHONY : observer/fast
#=============================================================================
# Target rules for targets named observer_static
# Build rule for target.
observer_static: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 observer_static
.PHONY : observer_static
# fast build rule for target.
observer_static/fast:
$(MAKE) $(MAKESILENT) -f src/observer/CMakeFiles/observer_static.dir/build.make src/observer/CMakeFiles/observer_static.dir/build
.PHONY : observer_static/fast
#=============================================================================
# Target rules for targets named client_performance_test
# Build rule for target.
client_performance_test: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 client_performance_test
.PHONY : client_performance_test
# fast build rule for target.
client_performance_test/fast:
$(MAKE) $(MAKESILENT) -f test/perf/CMakeFiles/client_performance_test.dir/build.make test/perf/CMakeFiles/client_performance_test.dir/build
.PHONY : client_performance_test/fast
#=============================================================================
# Target rules for targets named bplus_tree_concurrency_test
# Build rule for target.
bplus_tree_concurrency_test: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 bplus_tree_concurrency_test
.PHONY : bplus_tree_concurrency_test
# fast build rule for target.
bplus_tree_concurrency_test/fast:
$(MAKE) $(MAKESILENT) -f benchmark/CMakeFiles/bplus_tree_concurrency_test.dir/build.make benchmark/CMakeFiles/bplus_tree_concurrency_test.dir/build
.PHONY : bplus_tree_concurrency_test/fast
#=============================================================================
# Target rules for targets named record_manager_concurrency_test
# Build rule for target.
record_manager_concurrency_test: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 record_manager_concurrency_test
.PHONY : record_manager_concurrency_test
# fast build rule for target.
record_manager_concurrency_test/fast:
$(MAKE) $(MAKESILENT) -f benchmark/CMakeFiles/record_manager_concurrency_test.dir/build.make benchmark/CMakeFiles/record_manager_concurrency_test.dir/build
.PHONY : record_manager_concurrency_test/fast
#=============================================================================
# Target rules for targets named server_concurrency_test
# Build rule for target.
server_concurrency_test: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 server_concurrency_test
.PHONY : server_concurrency_test
# fast build rule for target.
server_concurrency_test/fast:
$(MAKE) $(MAKESILENT) -f benchmark/CMakeFiles/server_concurrency_test.dir/build.make benchmark/CMakeFiles/server_concurrency_test.dir/build
.PHONY : server_concurrency_test/fast
#=============================================================================
# Target rules for targets named clog_reader
# Build rule for target.
clog_reader: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clog_reader
.PHONY : clog_reader
# fast build rule for target.
clog_reader/fast:
$(MAKE) $(MAKESILENT) -f tools/CMakeFiles/clog_reader.dir/build.make tools/CMakeFiles/clog_reader.dir/build
.PHONY : clog_reader/fast
#=============================================================================
# Target rules for targets named arithmetic_expression_test
# Build rule for target.
arithmetic_expression_test: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 arithmetic_expression_test
.PHONY : arithmetic_expression_test
# fast build rule for target.
arithmetic_expression_test/fast:
$(MAKE) $(MAKESILENT) -f unittest/CMakeFiles/arithmetic_expression_test.dir/build.make unittest/CMakeFiles/arithmetic_expression_test.dir/build
.PHONY : arithmetic_expression_test/fast
#=============================================================================
# Target rules for targets named bitmap_test
# Build rule for target.
bitmap_test: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 bitmap_test
.PHONY : bitmap_test
# fast build rule for target.
bitmap_test/fast:
$(MAKE) $(MAKESILENT) -f unittest/CMakeFiles/bitmap_test.dir/build.make unittest/CMakeFiles/bitmap_test.dir/build
.PHONY : bitmap_test/fast
#=============================================================================
# Target rules for targets named bp_manager_test
# Build rule for target.
bp_manager_test: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 bp_manager_test
.PHONY : bp_manager_test
# fast build rule for target.
bp_manager_test/fast:
$(MAKE) $(MAKESILENT) -f unittest/CMakeFiles/bp_manager_test.dir/build.make unittest/CMakeFiles/bp_manager_test.dir/build
.PHONY : bp_manager_test/fast
#=============================================================================
# Target rules for targets named bplus_tree_test
# Build rule for target.
bplus_tree_test: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 bplus_tree_test
.PHONY : bplus_tree_test
# fast build rule for target.
bplus_tree_test/fast:
$(MAKE) $(MAKESILENT) -f unittest/CMakeFiles/bplus_tree_test.dir/build.make unittest/CMakeFiles/bplus_tree_test.dir/build
.PHONY : bplus_tree_test/fast
#=============================================================================
# Target rules for targets named clog_test
# Build rule for target.
clog_test: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clog_test
.PHONY : clog_test
# fast build rule for target.
clog_test/fast:
$(MAKE) $(MAKESILENT) -f unittest/CMakeFiles/clog_test.dir/build.make unittest/CMakeFiles/clog_test.dir/build
.PHONY : clog_test/fast
#=============================================================================
# Target rules for targets named log_test
# Build rule for target.
log_test: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 log_test
.PHONY : log_test
# fast build rule for target.
log_test/fast:
$(MAKE) $(MAKESILENT) -f unittest/CMakeFiles/log_test.dir/build.make unittest/CMakeFiles/log_test.dir/build
.PHONY : log_test/fast
#=============================================================================
# Target rules for targets named lower_bound_test
# Build rule for target.
lower_bound_test: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 lower_bound_test
.PHONY : lower_bound_test
# fast build rule for target.
lower_bound_test/fast:
$(MAKE) $(MAKESILENT) -f unittest/CMakeFiles/lower_bound_test.dir/build.make unittest/CMakeFiles/lower_bound_test.dir/build
.PHONY : lower_bound_test/fast
#=============================================================================
# Target rules for targets named md5_test
# Build rule for target.
md5_test: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 md5_test
.PHONY : md5_test
# fast build rule for target.
md5_test/fast:
$(MAKE) $(MAKESILENT) -f unittest/CMakeFiles/md5_test.dir/build.make unittest/CMakeFiles/md5_test.dir/build
.PHONY : md5_test/fast
#=============================================================================
# Target rules for targets named mem_pool_test
# Build rule for target.
mem_pool_test: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 mem_pool_test
.PHONY : mem_pool_test
# fast build rule for target.
mem_pool_test/fast:
$(MAKE) $(MAKESILENT) -f unittest/CMakeFiles/mem_pool_test.dir/build.make unittest/CMakeFiles/mem_pool_test.dir/build
.PHONY : mem_pool_test/fast
#=============================================================================
# Target rules for targets named persist_test
# Build rule for target.
persist_test: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 persist_test
.PHONY : persist_test
# fast build rule for target.
persist_test/fast:
$(MAKE) $(MAKESILENT) -f unittest/CMakeFiles/persist_test.dir/build.make unittest/CMakeFiles/persist_test.dir/build
.PHONY : persist_test/fast
#=============================================================================
# Target rules for targets named pidfile_test
# Build rule for target.
pidfile_test: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 pidfile_test
.PHONY : pidfile_test
# fast build rule for target.
pidfile_test/fast:
$(MAKE) $(MAKESILENT) -f unittest/CMakeFiles/pidfile_test.dir/build.make unittest/CMakeFiles/pidfile_test.dir/build
.PHONY : pidfile_test/fast
#=============================================================================
# Target rules for targets named record_manager_test
# Build rule for target.
record_manager_test: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 record_manager_test
.PHONY : record_manager_test
# fast build rule for target.
record_manager_test/fast:
$(MAKE) $(MAKESILENT) -f unittest/CMakeFiles/record_manager_test.dir/build.make unittest/CMakeFiles/record_manager_test.dir/build
.PHONY : record_manager_test/fast
#=============================================================================
# Target rules for targets named ring_buffer_test
# Build rule for target.
ring_buffer_test: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ring_buffer_test
.PHONY : ring_buffer_test
# fast build rule for target.
ring_buffer_test/fast:
$(MAKE) $(MAKESILENT) -f unittest/CMakeFiles/ring_buffer_test.dir/build.make unittest/CMakeFiles/ring_buffer_test.dir/build
.PHONY : ring_buffer_test/fast
# 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 "... install/strip"
@echo "... list_install_components"
@echo "... rebuild_cache"
@echo "... test"
@echo "... arithmetic_expression_test"
@echo "... bitmap_test"
@echo "... bp_manager_test"
@echo "... bplus_tree_concurrency_test"
@echo "... bplus_tree_test"
@echo "... client_performance_test"
@echo "... clog_reader"
@echo "... clog_test"
@echo "... common"
@echo "... log_test"
@echo "... lower_bound_test"
@echo "... md5_test"
@echo "... mem_pool_test"
@echo "... obclient"
@echo "... observer"
@echo "... observer_static"
@echo "... persist_test"
@echo "... pidfile_test"
@echo "... record_manager_concurrency_test"
@echo "... record_manager_test"
@echo "... ring_buffer_test"
@echo "... server_concurrency_test"
.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:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system