⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bootstrap.rules

📁 ACE自适配通信环境(ADAPTIVE Communication Environment)是可以自由使用、开放源码的面向对象(OO)框架(Framework)
💻 RULES
字号:
# file      : BuildRules/Bootstrap.rules# author    : Boris Kolpackov <boris@kolpackov.net># copyright : Copyright (c) 2002-2003 Boris Kolpackov# license   : http://kolpackov.net/license.html# basics##define set$(eval $1 := $(strip $2))endefdefine get$(value $(strip $1))endefdefine sub$(shell expr $1 - $2)endefdefine add$(shell expr $1 + $2)endef# stack##define push$(eval $1 +=$(strip $2))endefdefine pop$(eval $1 :=$(wordlist 1,$(call sub, $(words $(value $(strip $1))), 1),$(value $(strip $1))))endefdefine top$(word $(words $(value $(strip $1))),$(value $(strip $1)))endef# local##define path_to_id$(subst /,_,$(subst .,_,$(strip $1)))endefMAKEFILE := $(word $(call sub,$(words $(MAKEFILE_LIST)),1),$(MAKEFILE_LIST))INCLUSION_ID := $(call path_to_id,$(MAKEFILE))define get_inclusion_id$(INCLUSION_ID)endefdefine local_set$(eval $(strip $(call get_inclusion_id))_$1 := $(strip $2))endefdefine local_get$($(strip $(call get_inclusion_id))_$1)endefdefine local_origin$(origin $(strip $(call get_inclusion_id))_$1)endefdefine _get_inclusion_count$(if $(call local_get,INCLUSION_COUNT),$(call local_get,INCLUSION_COUNT),0)endefdefine _set_inclusion_count$(call local_set,INCLUSION_COUNT,$1)endef# include##define include$(strip  $(eval $(call push, include_stack, $(MAKEFILE)))                                               \  $(eval MAKEFILE :=$(strip $1))                                                                 \  $(eval $(call push, inclusion_id_stack, $(INCLUSION_ID)))                                      \  $(eval $(call _set_inclusion_count,$(call add,$(call _get_inclusion_count),1)))                \  $(eval INCLUSION_ID :=$(INCLUSION_ID)_$(call local_get,INCLUSION_COUNT)_$(call path_to_id,$1)) \  $(eval include $1)                                                                             \  $(eval INCLUSION_ID :=$(call top, inclusion_id_stack))                                         \  $(eval $(call pop, inclusion_id_stack))                                                        \  $(eval MAKEFILE :=$(call top, include_stack))                                                  \  $(eval $(call pop, include_stack)))endef# Bootstrap.rules,v 1.1 2005/05/24 04:33:12 turkaye Exp

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -