core.mk

来自「这是DVD中伺服部分的核心代码」· MK 代码 · 共 80 行

MK
80
字号
###############################################################################
##                                                                           ##
##  Copyright (c) 2006 Videon Central, Inc.                                  ##
##  All rights reserved.                                                     ##
##                                                                           ##
##  The makefile contained herein contains proprietary information which     ##
##  is the property of Videon Central, Inc.  The makefile may be used        ##
##  and/or copied only with the written permission of Videon Central, Inc.   ##
##  or in accordance with the terms and conditions stipulated in the         ##
##  agreement/contract under which the makefile has been supplied.           ##
##                                                                           ##
###############################################################################

######################################################################################################################
#
#  core.mk		- describes available build targets for the core library
#
#  $Revision: 1.7 $ 
#
#	INPUT:		SDK_ROOT_DIRECTORY				=	path to SDK directory
#				TOOL_FILE						=	platform specific tools file
#
#	OUTPUTS:	MODULE_FLAGS					=	core flags
#				MODULE_INCLUDE_DIRECTORIES		=	core include file search paths
#				MODULE_LIBRARY_FILE				=	core library file name(full path)
#				MODULE_OBJECTCODE_DIRECTORY		=	path to put intermediate objectcode files
#				MODULE_SOURCECODE_FILES			=	list of source code files(full path)
#				MODULE_DEBUG_BUILD				=	"YES" or "NO"
#
#  Makefile written for GNU make (v3.8 known to work)
#
#######################################################################################################################
include core_sources.mk

MODULE_FLAGS					=	$(addprefix $(COMPILER_DEFINE_SYMBOL_FLAG), $(CORE_FLAGS))
MODULE_INCLUDE_DIRECTORIES		=	$(addprefix $(COMPILER_INCLUDE_DIRECTORY_FLAG), $(CORE_INCLUDE_DIRECTORIES))
MODULE_LIBRARY_FILE				=	$(CORE_LIBRARY_FILE)
MODULE_OBJECTCODE_DIRECTORY		=	$(OBJECTCODE_DIRECTORY)
MODULE_SOURCECODE_FILES			=	$(CORE_SOURCECODE_FILES)
MODULE_DEBUG_BUILD				=	"YES"

include $(TOOL_FILE)


.PHONY:	all
.PHONY: core
.PHONY: core-clean
.PHONY: core-diagnostics



all:	
	@echo "                     AVAILABLE TARGETS"
	@echo "----------------------------------------------------------------------"
	@echo "             core: builds core library"
	@echo -e
	@echo "       clean-core: removes all core object code and depend files"
	@echo -e
	@echo " diagnostics-core: shows various settings"



core: $(CORE_LIBRARY_FILE)


core-clean: module-clean


core-diagnostics:
	@echo "******************************************************************************"
	@echo "*                        core.mk diagnostics                                 *"
	@echo "******************************************************************************"
	@echo "         tool file: $(TOOL_FILE)"
	@echo -e



-include $(MODULE_DEPEND_FILES)

⌨️ 快捷键说明

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