forked from intel/caffe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
630 lines (482 loc) · 20 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
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.5
# 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/saeed/caffe/caffe-intel
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/saeed/caffe/caffe-intel
#=============================================================================
# Targets provided globally by CMake.
# 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 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 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 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 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 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: install/strip
.PHONY : install/strip/fast
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/saeed/caffe/caffe-intel/CMakeFiles /home/saeed/caffe/caffe-intel/CMakeFiles/progress.marks
$(MAKE) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /home/saeed/caffe/caffe-intel/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) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
#=============================================================================
# Target rules for targets named symlink_to_build
# Build rule for target.
symlink_to_build: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 symlink_to_build
.PHONY : symlink_to_build
# fast build rule for target.
symlink_to_build/fast:
$(MAKE) -f CMakeFiles/symlink_to_build.dir/build.make CMakeFiles/symlink_to_build.dir/build
.PHONY : symlink_to_build/fast
#=============================================================================
# Target rules for targets named MKLDNN_Build
# Build rule for target.
MKLDNN_Build: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 MKLDNN_Build
.PHONY : MKLDNN_Build
# fast build rule for target.
MKLDNN_Build/fast:
$(MAKE) -f CMakeFiles/MKLDNN_Build.dir/build.make CMakeFiles/MKLDNN_Build.dir/build
.PHONY : MKLDNN_Build/fast
#=============================================================================
# Target rules for targets named lint
# Build rule for target.
lint: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 lint
.PHONY : lint
# fast build rule for target.
lint/fast:
$(MAKE) -f CMakeFiles/lint.dir/build.make CMakeFiles/lint.dir/build
.PHONY : lint/fast
#=============================================================================
# Target rules for targets named pytest
# Build rule for target.
pytest: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 pytest
.PHONY : pytest
# fast build rule for target.
pytest/fast:
$(MAKE) -f CMakeFiles/pytest.dir/build.make CMakeFiles/pytest.dir/build
.PHONY : pytest/fast
#=============================================================================
# Target rules for targets named gmock
# Build rule for target.
gmock: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 gmock
.PHONY : gmock
# fast build rule for target.
gmock/fast:
$(MAKE) -f src/gmock/CMakeFiles/gmock.dir/build.make src/gmock/CMakeFiles/gmock.dir/build
.PHONY : gmock/fast
#=============================================================================
# Target rules for targets named gtest
# Build rule for target.
gtest: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 gtest
.PHONY : gtest
# fast build rule for target.
gtest/fast:
$(MAKE) -f src/gmock/gtest/CMakeFiles/gtest.dir/build.make src/gmock/gtest/CMakeFiles/gtest.dir/build
.PHONY : gtest/fast
#=============================================================================
# Target rules for targets named proto
# Build rule for target.
proto: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 proto
.PHONY : proto
# fast build rule for target.
proto/fast:
$(MAKE) -f src/caffe/CMakeFiles/proto.dir/build.make src/caffe/CMakeFiles/proto.dir/build
.PHONY : proto/fast
#=============================================================================
# Target rules for targets named caffe
# Build rule for target.
caffe: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 caffe
.PHONY : caffe
# fast build rule for target.
caffe/fast:
$(MAKE) -f src/caffe/CMakeFiles/caffe.dir/build.make src/caffe/CMakeFiles/caffe.dir/build
.PHONY : caffe/fast
#=============================================================================
# Target rules for targets named runtest
# Build rule for target.
runtest: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 runtest
.PHONY : runtest
# fast build rule for target.
runtest/fast:
$(MAKE) -f src/caffe/test/CMakeFiles/runtest.dir/build.make src/caffe/test/CMakeFiles/runtest.dir/build
.PHONY : runtest/fast
#=============================================================================
# Target rules for targets named test.testbin
# Build rule for target.
test.testbin: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 test.testbin
.PHONY : test.testbin
# fast build rule for target.
test.testbin/fast:
$(MAKE) -f src/caffe/test/CMakeFiles/test.testbin.dir/build.make src/caffe/test/CMakeFiles/test.testbin.dir/build
.PHONY : test.testbin/fast
#=============================================================================
# Target rules for targets named caffe.bin
# Build rule for target.
caffe.bin: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 caffe.bin
.PHONY : caffe.bin
# fast build rule for target.
caffe.bin/fast:
$(MAKE) -f tools/CMakeFiles/caffe.bin.dir/build.make tools/CMakeFiles/caffe.bin.dir/build
.PHONY : caffe.bin/fast
#=============================================================================
# Target rules for targets named net_speed_benchmark
# Build rule for target.
net_speed_benchmark: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 net_speed_benchmark
.PHONY : net_speed_benchmark
# fast build rule for target.
net_speed_benchmark/fast:
$(MAKE) -f tools/CMakeFiles/net_speed_benchmark.dir/build.make tools/CMakeFiles/net_speed_benchmark.dir/build
.PHONY : net_speed_benchmark/fast
#=============================================================================
# Target rules for targets named upgrade_solver_proto_text
# Build rule for target.
upgrade_solver_proto_text: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 upgrade_solver_proto_text
.PHONY : upgrade_solver_proto_text
# fast build rule for target.
upgrade_solver_proto_text/fast:
$(MAKE) -f tools/CMakeFiles/upgrade_solver_proto_text.dir/build.make tools/CMakeFiles/upgrade_solver_proto_text.dir/build
.PHONY : upgrade_solver_proto_text/fast
#=============================================================================
# Target rules for targets named convert_annoset
# Build rule for target.
convert_annoset: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 convert_annoset
.PHONY : convert_annoset
# fast build rule for target.
convert_annoset/fast:
$(MAKE) -f tools/CMakeFiles/convert_annoset.dir/build.make tools/CMakeFiles/convert_annoset.dir/build
.PHONY : convert_annoset/fast
#=============================================================================
# Target rules for targets named test_net
# Build rule for target.
test_net: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 test_net
.PHONY : test_net
# fast build rule for target.
test_net/fast:
$(MAKE) -f tools/CMakeFiles/test_net.dir/build.make tools/CMakeFiles/test_net.dir/build
.PHONY : test_net/fast
#=============================================================================
# Target rules for targets named train_net
# Build rule for target.
train_net: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 train_net
.PHONY : train_net
# fast build rule for target.
train_net/fast:
$(MAKE) -f tools/CMakeFiles/train_net.dir/build.make tools/CMakeFiles/train_net.dir/build
.PHONY : train_net/fast
#=============================================================================
# Target rules for targets named get_image_size
# Build rule for target.
get_image_size: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 get_image_size
.PHONY : get_image_size
# fast build rule for target.
get_image_size/fast:
$(MAKE) -f tools/CMakeFiles/get_image_size.dir/build.make tools/CMakeFiles/get_image_size.dir/build
.PHONY : get_image_size/fast
#=============================================================================
# Target rules for targets named device_query
# Build rule for target.
device_query: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 device_query
.PHONY : device_query
# fast build rule for target.
device_query/fast:
$(MAKE) -f tools/CMakeFiles/device_query.dir/build.make tools/CMakeFiles/device_query.dir/build
.PHONY : device_query/fast
#=============================================================================
# Target rules for targets named upgrade_net_proto_text
# Build rule for target.
upgrade_net_proto_text: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 upgrade_net_proto_text
.PHONY : upgrade_net_proto_text
# fast build rule for target.
upgrade_net_proto_text/fast:
$(MAKE) -f tools/CMakeFiles/upgrade_net_proto_text.dir/build.make tools/CMakeFiles/upgrade_net_proto_text.dir/build
.PHONY : upgrade_net_proto_text/fast
#=============================================================================
# Target rules for targets named extract_features
# Build rule for target.
extract_features: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 extract_features
.PHONY : extract_features
# fast build rule for target.
extract_features/fast:
$(MAKE) -f tools/CMakeFiles/extract_features.dir/build.make tools/CMakeFiles/extract_features.dir/build
.PHONY : extract_features/fast
#=============================================================================
# Target rules for targets named finetune_net
# Build rule for target.
finetune_net: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 finetune_net
.PHONY : finetune_net
# fast build rule for target.
finetune_net/fast:
$(MAKE) -f tools/CMakeFiles/finetune_net.dir/build.make tools/CMakeFiles/finetune_net.dir/build
.PHONY : finetune_net/fast
#=============================================================================
# Target rules for targets named convert_imageset
# Build rule for target.
convert_imageset: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 convert_imageset
.PHONY : convert_imageset
# fast build rule for target.
convert_imageset/fast:
$(MAKE) -f tools/CMakeFiles/convert_imageset.dir/build.make tools/CMakeFiles/convert_imageset.dir/build
.PHONY : convert_imageset/fast
#=============================================================================
# Target rules for targets named upgrade_net_proto_binary
# Build rule for target.
upgrade_net_proto_binary: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 upgrade_net_proto_binary
.PHONY : upgrade_net_proto_binary
# fast build rule for target.
upgrade_net_proto_binary/fast:
$(MAKE) -f tools/CMakeFiles/upgrade_net_proto_binary.dir/build.make tools/CMakeFiles/upgrade_net_proto_binary.dir/build
.PHONY : upgrade_net_proto_binary/fast
#=============================================================================
# Target rules for targets named create_label_map
# Build rule for target.
create_label_map: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 create_label_map
.PHONY : create_label_map
# fast build rule for target.
create_label_map/fast:
$(MAKE) -f tools/CMakeFiles/create_label_map.dir/build.make tools/CMakeFiles/create_label_map.dir/build
.PHONY : create_label_map/fast
#=============================================================================
# Target rules for targets named compute_image_mean
# Build rule for target.
compute_image_mean: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 compute_image_mean
.PHONY : compute_image_mean
# fast build rule for target.
compute_image_mean/fast:
$(MAKE) -f tools/CMakeFiles/compute_image_mean.dir/build.make tools/CMakeFiles/compute_image_mean.dir/build
.PHONY : compute_image_mean/fast
#=============================================================================
# Target rules for targets named convert_cifar_data
# Build rule for target.
convert_cifar_data: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 convert_cifar_data
.PHONY : convert_cifar_data
# fast build rule for target.
convert_cifar_data/fast:
$(MAKE) -f examples/CMakeFiles/convert_cifar_data.dir/build.make examples/CMakeFiles/convert_cifar_data.dir/build
.PHONY : convert_cifar_data/fast
#=============================================================================
# Target rules for targets named batch_classification
# Build rule for target.
batch_classification: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 batch_classification
.PHONY : batch_classification
# fast build rule for target.
batch_classification/fast:
$(MAKE) -f examples/CMakeFiles/batch_classification.dir/build.make examples/CMakeFiles/batch_classification.dir/build
.PHONY : batch_classification/fast
#=============================================================================
# Target rules for targets named ssd_detect
# Build rule for target.
ssd_detect: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 ssd_detect
.PHONY : ssd_detect
# fast build rule for target.
ssd_detect/fast:
$(MAKE) -f examples/CMakeFiles/ssd_detect.dir/build.make examples/CMakeFiles/ssd_detect.dir/build
.PHONY : ssd_detect/fast
#=============================================================================
# Target rules for targets named convert_mnist_siamese_data
# Build rule for target.
convert_mnist_siamese_data: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 convert_mnist_siamese_data
.PHONY : convert_mnist_siamese_data
# fast build rule for target.
convert_mnist_siamese_data/fast:
$(MAKE) -f examples/CMakeFiles/convert_mnist_siamese_data.dir/build.make examples/CMakeFiles/convert_mnist_siamese_data.dir/build
.PHONY : convert_mnist_siamese_data/fast
#=============================================================================
# Target rules for targets named classification
# Build rule for target.
classification: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 classification
.PHONY : classification
# fast build rule for target.
classification/fast:
$(MAKE) -f examples/CMakeFiles/classification.dir/build.make examples/CMakeFiles/classification.dir/build
.PHONY : classification/fast
#=============================================================================
# Target rules for targets named convert_mnist_data
# Build rule for target.
convert_mnist_data: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 convert_mnist_data
.PHONY : convert_mnist_data
# fast build rule for target.
convert_mnist_data/fast:
$(MAKE) -f examples/CMakeFiles/convert_mnist_data.dir/build.make examples/CMakeFiles/convert_mnist_data.dir/build
.PHONY : convert_mnist_data/fast
#=============================================================================
# Target rules for targets named pycaffe
# Build rule for target.
pycaffe: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 pycaffe
.PHONY : pycaffe
# fast build rule for target.
pycaffe/fast:
$(MAKE) -f python/CMakeFiles/pycaffe.dir/build.make python/CMakeFiles/pycaffe.dir/build
.PHONY : pycaffe/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 "... install"
@echo "... list_install_components"
@echo "... rebuild_cache"
@echo "... edit_cache"
@echo "... symlink_to_build"
@echo "... MKLDNN_Build"
@echo "... install/local"
@echo "... install/strip"
@echo "... lint"
@echo "... pytest"
@echo "... gmock"
@echo "... gtest"
@echo "... proto"
@echo "... caffe"
@echo "... runtest"
@echo "... test.testbin"
@echo "... caffe.bin"
@echo "... net_speed_benchmark"
@echo "... upgrade_solver_proto_text"
@echo "... convert_annoset"
@echo "... test_net"
@echo "... train_net"
@echo "... get_image_size"
@echo "... device_query"
@echo "... upgrade_net_proto_text"
@echo "... extract_features"
@echo "... finetune_net"
@echo "... convert_imageset"
@echo "... upgrade_net_proto_binary"
@echo "... create_label_map"
@echo "... compute_image_mean"
@echo "... convert_cifar_data"
@echo "... batch_classification"
@echo "... ssd_detect"
@echo "... convert_mnist_siamese_data"
@echo "... classification"
@echo "... convert_mnist_data"
@echo "... pycaffe"
.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) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system