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

📄 makeerrortable

📁 此程序运行在Tornado环境中,里面包含了tornado入门的基本程序,也是Vxworks入门非常好的资料,里面包括信号量,消息,队列,中断,事件,等等的示例,还有tornado环境工具如windv
💻
字号:
# makeErrorTable - project makefile extension for building error status table

# In the bootable project's build spec, define the makefile macro
#
#   STAT_HEADER_DIRS  - a list of directories containing header files which
#			potentially define error code macros starting with "S_"
#			as well as a module number header file *ModNum.h. One
#			should include $(TGT_DIR)/h in this list in order to
#			get the VxWorks error codes.
#
# Another "makefile macro" to be defined is
#
#   include ../makeErrorTable #
#
# which results in the inclusion of this file, provided it is placed
# in the project directory.
# 
# Also, a custom rule should be defined in the build spec. This rule
# should be
# 
#   statTbl.o :
#   		$(MAKE_STAT_TBL)
#
# That is, the target is statTbl.o, there are no dependencies, and the
# build commands are given by $(MAKE_STAT_TBL), which is defined below.
# Doing a "Re-Build All" rebuilds statTbl.o as well. Doing a "Build"
# rebuilds statTbl.o only if it does not exist in the build spec
# directory.


MAKE_STAT_TOOL = makeStatTbl

STAT_INCLUDES = $(patsubst %,-I%,$(STAT_HEADER_DIRS))
STAT_CFLAGS = -w

ifneq   ($(findstring INCLUDE_STAT_SYM_TBL, $(COMPONENTS)),)
EXTRA_MODULES        += statTbl.o
endif

ifneq ($(WIND_HOST_TYPE),x86-win32)

define MAKE_STAT_TBL
	$(MAKE_STAT_TOOL) $(STAT_HEADER_DIRS) > statTbl.c
	$(CC) $(CFLAGS) $(STAT_INCLUDES) $(STAT_CFLAGS) -c statTbl.c

endef

else

define MAKE_STAT_TBL
	$(MAKE_STAT_TOOL) $(STAT_HEADER_DIRS)
	$(CC) $(CFLAGS) $(STAT_INCLUDES) $(STAT_CFLAGS) -c statTbl.c

endef

endif

⌨️ 快捷键说明

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