comparison src/tools/Makefile @ 59:8f435de13b91

fix cmakefiles
author tobaru
date Fri, 05 Jul 2019 17:06:31 +0900
parents 1d371d93ab4f
children
comparison
equal deleted inserted replaced
58:f1b965f53d3b 59:8f435de13b91
1 include ../makefile.inc 1 # CMAKE generated file: DO NOT EDIT!
2 # Generated by "Unix Makefiles" Generator, CMake Version 3.13
2 3
3 CFLAGS = -Wall 4 # Default target executed when no arguments are given to make.
4 CFLAGS += -iquote ../ 5 default_target: all
5 6
6 all: mkfs 7 .PHONY : default_target
7 8
8 mkfs: mkfs.c 9 # Allow only one "make -f Makefile2" at a time, but pass parallelism.
9 $(HOSTCC) $(CFLAGS) -o $@ $^ 10 .NOTPARALLEL:
10 11
12
13 #=============================================================================
14 # Special targets provided by cmake.
15
16 # Disable implicit rules so canonical targets will work.
17 .SUFFIXES:
18
19
20 # Remove some rules from gmake that .SUFFIXES does not remove.
21 SUFFIXES =
22
23 .SUFFIXES: .hpux_make_needs_suffix_list
24
25
26 # Suppress display of executed commands.
27 $(VERBOSE).SILENT:
28
29
30 # A target that is always out of date.
31 cmake_force:
32
33 .PHONY : cmake_force
34
35 #=============================================================================
36 # Set environment variables for the build.
37
38 # The shell in which to execute make rules.
39 SHELL = /bin/sh
40
41 # The CMake executable.
42 CMAKE_COMMAND = /usr/bin/cmake3
43
44 # The command to remove a file.
45 RM = /usr/bin/cmake3 -E remove -f
46
47 # Escaping for special characters.
48 EQUALS = =
49
50 # The top-level source directory on which CMake was run.
51 CMAKE_SOURCE_DIR = /mnt/dalmore-home/one/src/cbcxv6/src
52
53 # The top-level build directory on which CMake was run.
54 CMAKE_BINARY_DIR = /mnt/dalmore-home/one/src/cbcxv6/src
55
56 #=============================================================================
57 # Targets provided globally by CMake.
58
59 # Special rule for the target rebuild_cache
60 rebuild_cache:
61 @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
62 /usr/bin/cmake3 -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
63 .PHONY : rebuild_cache
64
65 # Special rule for the target rebuild_cache
66 rebuild_cache/fast: rebuild_cache
67
68 .PHONY : rebuild_cache/fast
69
70 # Special rule for the target edit_cache
71 edit_cache:
72 @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
73 /usr/bin/ccmake3 -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
74 .PHONY : edit_cache
75
76 # Special rule for the target edit_cache
77 edit_cache/fast: edit_cache
78
79 .PHONY : edit_cache/fast
80
81 # The main all target
82 all: cmake_check_build_system
83 cd /mnt/dalmore-home/one/src/cbcxv6/src && $(CMAKE_COMMAND) -E cmake_progress_start /mnt/dalmore-home/one/src/cbcxv6/src/CMakeFiles /mnt/dalmore-home/one/src/cbcxv6/src/tools/CMakeFiles/progress.marks
84 cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f CMakeFiles/Makefile2 tools/all
85 $(CMAKE_COMMAND) -E cmake_progress_start /mnt/dalmore-home/one/src/cbcxv6/src/CMakeFiles 0
86 .PHONY : all
87
88 # The main clean target
11 clean: 89 clean:
12 rm -f mkfs 90 cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f CMakeFiles/Makefile2 tools/clean
91 .PHONY : clean
92
93 # The main clean target
94 clean/fast: clean
95
96 .PHONY : clean/fast
97
98 # Prepare targets for installation.
99 preinstall: all
100 cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f CMakeFiles/Makefile2 tools/preinstall
101 .PHONY : preinstall
102
103 # Prepare targets for installation.
104 preinstall/fast:
105 cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f CMakeFiles/Makefile2 tools/preinstall
106 .PHONY : preinstall/fast
107
108 # clear depends
109 depend:
110 cd /mnt/dalmore-home/one/src/cbcxv6/src && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
111 .PHONY : depend
112
113 # Convenience name for target.
114 tools/CMakeFiles/mkfs.dir/rule:
115 cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f CMakeFiles/Makefile2 tools/CMakeFiles/mkfs.dir/rule
116 .PHONY : tools/CMakeFiles/mkfs.dir/rule
117
118 # Convenience name for target.
119 mkfs: tools/CMakeFiles/mkfs.dir/rule
120
121 .PHONY : mkfs
122
123 # fast build rule for target.
124 mkfs/fast:
125 cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f tools/CMakeFiles/mkfs.dir/build.make tools/CMakeFiles/mkfs.dir/build
126 .PHONY : mkfs/fast
127
128 mkfs.o: mkfs.c.o
129
130 .PHONY : mkfs.o
131
132 # target to build an object file
133 mkfs.c.o:
134 cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f tools/CMakeFiles/mkfs.dir/build.make tools/CMakeFiles/mkfs.dir/mkfs.c.o
135 .PHONY : mkfs.c.o
136
137 mkfs.i: mkfs.c.i
138
139 .PHONY : mkfs.i
140
141 # target to preprocess a source file
142 mkfs.c.i:
143 cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f tools/CMakeFiles/mkfs.dir/build.make tools/CMakeFiles/mkfs.dir/mkfs.c.i
144 .PHONY : mkfs.c.i
145
146 mkfs.s: mkfs.c.s
147
148 .PHONY : mkfs.s
149
150 # target to generate assembly for a file
151 mkfs.c.s:
152 cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f tools/CMakeFiles/mkfs.dir/build.make tools/CMakeFiles/mkfs.dir/mkfs.c.s
153 .PHONY : mkfs.c.s
154
155 # Help Target
156 help:
157 @echo "The following are some of the valid targets for this Makefile:"
158 @echo "... all (the default if no target is provided)"
159 @echo "... clean"
160 @echo "... depend"
161 @echo "... rebuild_cache"
162 @echo "... edit_cache"
163 @echo "... mkfs"
164 @echo "... mkfs.o"
165 @echo "... mkfs.i"
166 @echo "... mkfs.s"
167 .PHONY : help
168
169
170
171 #=============================================================================
172 # Special targets to cleanup operation of make.
173
174 # Special rule to run CMake to check the build system integrity.
175 # No rule that depends on this can have commands that come from listfiles
176 # because they might be regenerated.
177 cmake_check_build_system:
178 cd /mnt/dalmore-home/one/src/cbcxv6/src && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
179 .PHONY : cmake_check_build_system
180