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

📄 build.rules

📁 openaccess读def,lef文件所用的源代码
💻 RULES
字号:
# Beginning of rules to check that the make includes are present. These rules # provide the developer with information what to do. SETUP_OK	:= $(shell [ -r $(CONFIG_ROOT) ] && echo $(CONFIG_ROOT)).PHONY : install_checkpregen all install : install_checkifeq ($(strip $(SETUP_OK)), )  install_check :	@echo "The include files for your makefile cannot be found in $(CONFIG_ROOT)." 	@echo "To resolve this problem, check out the build project"	exit 1else  install_check :endif# End of make includes check-include $(CONFIG_ROOT)/library.rules-include $(CONFIG_ROOT)/build.rules# ******************************************************************************# check_lefdef## This rule checks the lefdef installation. It first checks that the# $(LEFDEF_HOME) directory exists.# ******************************************************************************check_lefdef : force	@if [ -d $(LEFDEF_HOME) ] || ( [ -d $LEF_HOME ] && [ -d $DEF_HOME ] ); \	then \	continue; \	else \	echo "Error: The path $(LEFDEF_HOME), or $(LEF_HOME) and $(DEF_HOME)";  \	echo "       are not directories. These paths";  \	echo "       must be the directory of your LefDef installation.";      \	echo "       Install lefdef or set the environment variable ";        \	echo "       LEFDEF_HOME, or LEF_HOME and DEF_HOME to your"; \	echo "       LefDef installation directory. ";    \	exit 1;\	fi# ******************************************************************************# check_zlib## This rule checks the zlib installation. It first checks that the# $(ZLIB_HOME) directory exists. # ******************************************************************************check_zlib : force	@if [ ! -d $(ZLIB_HOME) ]; \        then \	echo "Error: The path $(ZLIB_HOME) is not a directory. This path";  \	echo "       must be the directory of your zlib installation.";      \	echo "       Install zlib or set the environment variable ";        \	echo "       ZLIB_HOME to your zlib installation directory. ";    \	exit 1;\	fi 	@if [ -f $(ZLIB_HOME)/lib/libz.so ]; \	then \	echo "Error: The shared library $(ZLIB_HOME)/lib/libz.so exists."; \	echo "       This configuration requires the libz library to be"; \	echo "       statically linked into the executable and presence"; \	echo "       of the dynamic library will cause dynamic linkage."; \	exit 1; \	fi 	@if [ ! -f $(ZLIB_HOME)/lib/libz.a ]; \	then \	echo "Error: The archive library $(ZLIB_HOME)/lib/libz.a does not"; \	echo "       exist. This configuration requires the libz library"; \	echo "       to be statically linked into the executable."; \	exit 1; \	fi 

⌨️ 快捷键说明

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