Mercurial > hg > Members > anatofuz > CbC_xv6
diff src/tools/Makefile @ 59:8f435de13b91
fix cmakefiles
author | tobaru |
---|---|
date | Fri, 05 Jul 2019 17:06:31 +0900 |
parents | 1d371d93ab4f |
children |
line wrap: on
line diff
--- a/src/tools/Makefile Fri Jul 05 16:39:01 2019 +0900 +++ b/src/tools/Makefile Fri Jul 05 17:06:31 2019 +0900 @@ -1,12 +1,180 @@ -include ../makefile.inc +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.13 + +# 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/cmake3 -CFLAGS = -Wall -CFLAGS += -iquote ../ +# The command to remove a file. +RM = /usr/bin/cmake3 -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /mnt/dalmore-home/one/src/cbcxv6/src + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /mnt/dalmore-home/one/src/cbcxv6/src + +#============================================================================= +# 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/cmake3 -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 "Running CMake cache editor..." + /usr/bin/ccmake3 -S$(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 + +# The main all target +all: cmake_check_build_system + 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 + cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f CMakeFiles/Makefile2 tools/all + $(CMAKE_COMMAND) -E cmake_progress_start /mnt/dalmore-home/one/src/cbcxv6/src/CMakeFiles 0 +.PHONY : all -all: mkfs +# The main clean target +clean: + cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f CMakeFiles/Makefile2 tools/clean +.PHONY : clean + +# The main clean target +clean/fast: clean + +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f CMakeFiles/Makefile2 tools/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f CMakeFiles/Makefile2 tools/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + 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 +.PHONY : depend + +# Convenience name for target. +tools/CMakeFiles/mkfs.dir/rule: + cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f CMakeFiles/Makefile2 tools/CMakeFiles/mkfs.dir/rule +.PHONY : tools/CMakeFiles/mkfs.dir/rule + +# Convenience name for target. +mkfs: tools/CMakeFiles/mkfs.dir/rule + +.PHONY : mkfs + +# fast build rule for target. +mkfs/fast: + cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f tools/CMakeFiles/mkfs.dir/build.make tools/CMakeFiles/mkfs.dir/build +.PHONY : mkfs/fast + +mkfs.o: mkfs.c.o + +.PHONY : mkfs.o -mkfs: mkfs.c - $(HOSTCC) $(CFLAGS) -o $@ $^ +# target to build an object file +mkfs.c.o: + cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f tools/CMakeFiles/mkfs.dir/build.make tools/CMakeFiles/mkfs.dir/mkfs.c.o +.PHONY : mkfs.c.o + +mkfs.i: mkfs.c.i + +.PHONY : mkfs.i + +# target to preprocess a source file +mkfs.c.i: + cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f tools/CMakeFiles/mkfs.dir/build.make tools/CMakeFiles/mkfs.dir/mkfs.c.i +.PHONY : mkfs.c.i + +mkfs.s: mkfs.c.s + +.PHONY : mkfs.s + +# target to generate assembly for a file +mkfs.c.s: + cd /mnt/dalmore-home/one/src/cbcxv6/src && $(MAKE) -f tools/CMakeFiles/mkfs.dir/build.make tools/CMakeFiles/mkfs.dir/mkfs.c.s +.PHONY : mkfs.c.s -clean: - rm -f mkfs +# 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 "... mkfs" + @echo "... mkfs.o" + @echo "... mkfs.i" + @echo "... mkfs.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 /mnt/dalmore-home/one/src/cbcxv6/src && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system +