-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
444 lines (316 loc) · 12.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
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
# 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:
# 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 top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/wangning/minidbg-tut_setup/minidbg-tut_setup
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/wangning/minidbg-tut_setup/minidbg-tut_setup
#=============================================================================
# Targets provided globally by CMake.
# 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 -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 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
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/wangning/minidbg-tut_setup/minidbg-tut_setup/CMakeFiles /home/wangning/minidbg-tut_setup/minidbg-tut_setup/CMakeFiles/progress.marks
$(MAKE) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /home/wangning/minidbg-tut_setup/minidbg-tut_setup/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) -f CMakeFiles/Makefile2 clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
$(MAKE) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) -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 libelfin
# Build rule for target.
libelfin: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 libelfin
.PHONY : libelfin
# fast build rule for target.
libelfin/fast:
$(MAKE) -f CMakeFiles/libelfin.dir/build.make CMakeFiles/libelfin.dir/build
.PHONY : libelfin/fast
#=============================================================================
# Target rules for targets named unwinding
# Build rule for target.
unwinding: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 unwinding
.PHONY : unwinding
# fast build rule for target.
unwinding/fast:
$(MAKE) -f CMakeFiles/unwinding.dir/build.make CMakeFiles/unwinding.dir/build
.PHONY : unwinding/fast
#=============================================================================
# Target rules for targets named hello
# Build rule for target.
hello: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 hello
.PHONY : hello
# fast build rule for target.
hello/fast:
$(MAKE) -f CMakeFiles/hello.dir/build.make CMakeFiles/hello.dir/build
.PHONY : hello/fast
#=============================================================================
# Target rules for targets named variable
# Build rule for target.
variable: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 variable
.PHONY : variable
# fast build rule for target.
variable/fast:
$(MAKE) -f CMakeFiles/variable.dir/build.make CMakeFiles/variable.dir/build
.PHONY : variable/fast
#=============================================================================
# Target rules for targets named minidbg
# Build rule for target.
minidbg: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 minidbg
.PHONY : minidbg
# fast build rule for target.
minidbg/fast:
$(MAKE) -f CMakeFiles/minidbg.dir/build.make CMakeFiles/minidbg.dir/build
.PHONY : minidbg/fast
examples/hello.o: examples/hello.cpp.o
.PHONY : examples/hello.o
# target to build an object file
examples/hello.cpp.o:
$(MAKE) -f CMakeFiles/hello.dir/build.make CMakeFiles/hello.dir/examples/hello.cpp.o
.PHONY : examples/hello.cpp.o
examples/hello.i: examples/hello.cpp.i
.PHONY : examples/hello.i
# target to preprocess a source file
examples/hello.cpp.i:
$(MAKE) -f CMakeFiles/hello.dir/build.make CMakeFiles/hello.dir/examples/hello.cpp.i
.PHONY : examples/hello.cpp.i
examples/hello.s: examples/hello.cpp.s
.PHONY : examples/hello.s
# target to generate assembly for a file
examples/hello.cpp.s:
$(MAKE) -f CMakeFiles/hello.dir/build.make CMakeFiles/hello.dir/examples/hello.cpp.s
.PHONY : examples/hello.cpp.s
examples/stack_unwinding.o: examples/stack_unwinding.cpp.o
.PHONY : examples/stack_unwinding.o
# target to build an object file
examples/stack_unwinding.cpp.o:
$(MAKE) -f CMakeFiles/unwinding.dir/build.make CMakeFiles/unwinding.dir/examples/stack_unwinding.cpp.o
.PHONY : examples/stack_unwinding.cpp.o
examples/stack_unwinding.i: examples/stack_unwinding.cpp.i
.PHONY : examples/stack_unwinding.i
# target to preprocess a source file
examples/stack_unwinding.cpp.i:
$(MAKE) -f CMakeFiles/unwinding.dir/build.make CMakeFiles/unwinding.dir/examples/stack_unwinding.cpp.i
.PHONY : examples/stack_unwinding.cpp.i
examples/stack_unwinding.s: examples/stack_unwinding.cpp.s
.PHONY : examples/stack_unwinding.s
# target to generate assembly for a file
examples/stack_unwinding.cpp.s:
$(MAKE) -f CMakeFiles/unwinding.dir/build.make CMakeFiles/unwinding.dir/examples/stack_unwinding.cpp.s
.PHONY : examples/stack_unwinding.cpp.s
examples/variable.o: examples/variable.cpp.o
.PHONY : examples/variable.o
# target to build an object file
examples/variable.cpp.o:
$(MAKE) -f CMakeFiles/variable.dir/build.make CMakeFiles/variable.dir/examples/variable.cpp.o
.PHONY : examples/variable.cpp.o
examples/variable.i: examples/variable.cpp.i
.PHONY : examples/variable.i
# target to preprocess a source file
examples/variable.cpp.i:
$(MAKE) -f CMakeFiles/variable.dir/build.make CMakeFiles/variable.dir/examples/variable.cpp.i
.PHONY : examples/variable.cpp.i
examples/variable.s: examples/variable.cpp.s
.PHONY : examples/variable.s
# target to generate assembly for a file
examples/variable.cpp.s:
$(MAKE) -f CMakeFiles/variable.dir/build.make CMakeFiles/variable.dir/examples/variable.cpp.s
.PHONY : examples/variable.cpp.s
ext/linenoise/linenoise.o: ext/linenoise/linenoise.c.o
.PHONY : ext/linenoise/linenoise.o
# target to build an object file
ext/linenoise/linenoise.c.o:
$(MAKE) -f CMakeFiles/minidbg.dir/build.make CMakeFiles/minidbg.dir/ext/linenoise/linenoise.c.o
.PHONY : ext/linenoise/linenoise.c.o
ext/linenoise/linenoise.i: ext/linenoise/linenoise.c.i
.PHONY : ext/linenoise/linenoise.i
# target to preprocess a source file
ext/linenoise/linenoise.c.i:
$(MAKE) -f CMakeFiles/minidbg.dir/build.make CMakeFiles/minidbg.dir/ext/linenoise/linenoise.c.i
.PHONY : ext/linenoise/linenoise.c.i
ext/linenoise/linenoise.s: ext/linenoise/linenoise.c.s
.PHONY : ext/linenoise/linenoise.s
# target to generate assembly for a file
ext/linenoise/linenoise.c.s:
$(MAKE) -f CMakeFiles/minidbg.dir/build.make CMakeFiles/minidbg.dir/ext/linenoise/linenoise.c.s
.PHONY : ext/linenoise/linenoise.c.s
src/breakpoint.o: src/breakpoint.cpp.o
.PHONY : src/breakpoint.o
# target to build an object file
src/breakpoint.cpp.o:
$(MAKE) -f CMakeFiles/minidbg.dir/build.make CMakeFiles/minidbg.dir/src/breakpoint.cpp.o
.PHONY : src/breakpoint.cpp.o
src/breakpoint.i: src/breakpoint.cpp.i
.PHONY : src/breakpoint.i
# target to preprocess a source file
src/breakpoint.cpp.i:
$(MAKE) -f CMakeFiles/minidbg.dir/build.make CMakeFiles/minidbg.dir/src/breakpoint.cpp.i
.PHONY : src/breakpoint.cpp.i
src/breakpoint.s: src/breakpoint.cpp.s
.PHONY : src/breakpoint.s
# target to generate assembly for a file
src/breakpoint.cpp.s:
$(MAKE) -f CMakeFiles/minidbg.dir/build.make CMakeFiles/minidbg.dir/src/breakpoint.cpp.s
.PHONY : src/breakpoint.cpp.s
src/debugger.o: src/debugger.cpp.o
.PHONY : src/debugger.o
# target to build an object file
src/debugger.cpp.o:
$(MAKE) -f CMakeFiles/minidbg.dir/build.make CMakeFiles/minidbg.dir/src/debugger.cpp.o
.PHONY : src/debugger.cpp.o
src/debugger.i: src/debugger.cpp.i
.PHONY : src/debugger.i
# target to preprocess a source file
src/debugger.cpp.i:
$(MAKE) -f CMakeFiles/minidbg.dir/build.make CMakeFiles/minidbg.dir/src/debugger.cpp.i
.PHONY : src/debugger.cpp.i
src/debugger.s: src/debugger.cpp.s
.PHONY : src/debugger.s
# target to generate assembly for a file
src/debugger.cpp.s:
$(MAKE) -f CMakeFiles/minidbg.dir/build.make CMakeFiles/minidbg.dir/src/debugger.cpp.s
.PHONY : src/debugger.cpp.s
src/minidbg.o: src/minidbg.cpp.o
.PHONY : src/minidbg.o
# target to build an object file
src/minidbg.cpp.o:
$(MAKE) -f CMakeFiles/minidbg.dir/build.make CMakeFiles/minidbg.dir/src/minidbg.cpp.o
.PHONY : src/minidbg.cpp.o
src/minidbg.i: src/minidbg.cpp.i
.PHONY : src/minidbg.i
# target to preprocess a source file
src/minidbg.cpp.i:
$(MAKE) -f CMakeFiles/minidbg.dir/build.make CMakeFiles/minidbg.dir/src/minidbg.cpp.i
.PHONY : src/minidbg.cpp.i
src/minidbg.s: src/minidbg.cpp.s
.PHONY : src/minidbg.s
# target to generate assembly for a file
src/minidbg.cpp.s:
$(MAKE) -f CMakeFiles/minidbg.dir/build.make CMakeFiles/minidbg.dir/src/minidbg.cpp.s
.PHONY : src/minidbg.cpp.s
src/regs.o: src/regs.cpp.o
.PHONY : src/regs.o
# target to build an object file
src/regs.cpp.o:
$(MAKE) -f CMakeFiles/minidbg.dir/build.make CMakeFiles/minidbg.dir/src/regs.cpp.o
.PHONY : src/regs.cpp.o
src/regs.i: src/regs.cpp.i
.PHONY : src/regs.i
# target to preprocess a source file
src/regs.cpp.i:
$(MAKE) -f CMakeFiles/minidbg.dir/build.make CMakeFiles/minidbg.dir/src/regs.cpp.i
.PHONY : src/regs.cpp.i
src/regs.s: src/regs.cpp.s
.PHONY : src/regs.s
# target to generate assembly for a file
src/regs.cpp.s:
$(MAKE) -f CMakeFiles/minidbg.dir/build.make CMakeFiles/minidbg.dir/src/regs.cpp.s
.PHONY : src/regs.cpp.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 "... rebuild_cache"
@echo "... edit_cache"
@echo "... libelfin"
@echo "... unwinding"
@echo "... hello"
@echo "... variable"
@echo "... minidbg"
@echo "... examples/hello.o"
@echo "... examples/hello.i"
@echo "... examples/hello.s"
@echo "... examples/stack_unwinding.o"
@echo "... examples/stack_unwinding.i"
@echo "... examples/stack_unwinding.s"
@echo "... examples/variable.o"
@echo "... examples/variable.i"
@echo "... examples/variable.s"
@echo "... ext/linenoise/linenoise.o"
@echo "... ext/linenoise/linenoise.i"
@echo "... ext/linenoise/linenoise.s"
@echo "... src/breakpoint.o"
@echo "... src/breakpoint.i"
@echo "... src/breakpoint.s"
@echo "... src/debugger.o"
@echo "... src/debugger.i"
@echo "... src/debugger.s"
@echo "... src/minidbg.o"
@echo "... src/minidbg.i"
@echo "... src/minidbg.s"
@echo "... src/regs.o"
@echo "... src/regs.i"
@echo "... src/regs.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:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system