📄 .wrmakefile
字号:
# The file ".wrmakefile" is the template used by the Wind River Workbench to# generate the makefiles of this project. Add user-specific build targets and# make rules only(!) in this project's ".wrmakefile" file. These will then be# automatically dumped into the makefiles.WIND_HOME := $(subst \,/,$(WIND_HOME))WIND_BASE := $(subst \,/,$(WIND_BASE))WIND_USR := $(subst \,/,$(WIND_USR))all : pre_recursion subdirs_all post_recursion pre_build main_all post_build%IDE_GENERATED%-include *.makefilemain_all : check_objectdir external_build $(PROJECT_TARGETS) @echo "make: built targets of `pwd`"check_objectdir : @if [ ! -d "$(OBJ_DIR)" ]; then\ mkdir -p $(OBJ_DIR);\ fi# entry point for extending the buildexternal_build :: @echo ""# main entry point for pre processing prior to the recursionpre_recursion :: @echo ""# main entry point for post processing after the recursionpost_recursion :: @echo ""# main entry point for pre processing prior to the buildpre_build :: $(PRE_BUILD_STEP) generate_sources @echo ""# entry point for generating sources prior to the buildgenerate_sources :: @echo ""# main entry point for post processing after the buildpost_build :: $(POST_BUILD_STEP) deploy_output @echo ""# entry point for deploying output after the builddeploy_output :: @echo ""# recursive make in SUBDIRSsubdirs_all : @_PWD=`pwd`;\ for dir in _dummy_ $(SUBDIRS); do\ if [ "$$dir" = "_dummy_" ]; then\ continue ;\ fi;\ if [ ! -d "$$dir" ]; then\ continue ;\ fi;\ echo "Recursive make: Changing to Directory '$$dir'";\ cd "$$dir";\ "$(MAKE)" -f "$(MAKEFILE)" $(MFLAGS) all || exit;\ echo "Recursive make: Changing back to Directory '$$_PWD'";\ cd "$$_PWD";\ doneclean :: @_PWD=`pwd`;\ for dir in _dummy_ $(SUBDIRS); do\ if [ "$$dir" = "_dummy_" ]; then\ continue ;\ fi;\ if [ ! -d "$$dir" ]; then\ continue ;\ fi;\ echo "Recursive make: Changing to Directory '$$dir'";\ cd "$$dir";\ "$(MAKE)" -f "$(MAKEFILE)" $(MFLAGS) $@ || exit;\ echo "Recursive make: Changing back to Directory '$$_PWD'";\ cd "$$_PWD";\ doneclean :: external_clean $(CLEAN_STEP) _clean# entry point for extending the build cleanexternal_clean :: @echo ""_clean : @echo "make: removing targets and objects of `pwd`";\ rm -f $(OBJECTS) $(PROJECT_TARGETS) $(DEP_FILES) $(wildcard $(OBJ_DIR)/*.unstripped) $(wildcard $(OBJ_DIR)/ctdt.*)build_all_specs : @echo "building target default for ALL build-specs";\ for spec in _dummy_ $(ALL_BUILD_SPECS); do\ if [ "$$spec" = "_dummy_" ]; then\ continue ;\ fi;\ echo " ";\ echo "building all for build-spec '$$spec'";\ "$(MAKE)" -f "$(MAKEFILE)" $(MFLAGS) BUILD_SPEC=$$spec DEBUG_MODE=$(DEBUG_MODE) TRACE=$(TRACE) || exit;\ doneclean_all_specs : @echo "building target clean for ALL build-specs";\ for spec in _dummy_ $(ALL_BUILD_SPECS); do\ if [ "$$spec" = "_dummy_" ]; then\ continue ;\ fi;\ echo " ";\ echo "building clean for build-spec '$$spec'";\ "$(MAKE)" -f "$(MAKEFILE)" $(MFLAGS) BUILD_SPEC=$$spec DEBUG_MODE=$(DEBUG_MODE) TRACE=$(TRACE) clean || exit;\ donebuild_enabled_specs : @echo "building target default for ENABLED build-specs";\ for spec in _dummy_ $(ENABLED_BUILD_SPECS); do\ if [ "$$spec" = "_dummy_" ]; then\ continue ;\ fi;\ echo " ";\ echo "building all for build-spec '$$spec'";\ "$(MAKE)" -f "$(MAKEFILE)" $(MFLAGS) BUILD_SPEC=$$spec DEBUG_MODE=$(DEBUG_MODE) TRACE=$(TRACE) || exit;\ doneclean_enabled_specs : @echo "building target clean for ENABLED build-specs";\ for spec in _dummy_ $(ENABLED_BUILD_SPECS); do\ if [ "$$spec" = "_dummy_" ]; then\ continue ;\ fi;\ echo " ";\ echo "building clean for build-spec '$$spec'";\ "$(MAKE)" -f "$(MAKEFILE)" $(MFLAGS) BUILD_SPEC=$$spec DEBUG_MODE=$(DEBUG_MODE) TRACE=$(TRACE) clean || exit;\ done
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -