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

📄 ads.mak

📁 基于h323协议的软phone
💻 MAK
字号:
#************************************************************************
#Filename   : ads.mak
#Description: ARM ADS compiler tool definitions
#************************************************************************
#        Copyright (c) 2001 RADVISION Inc. and RADVISION Ltd.
#************************************************************************
#NOTICE:
#This document contains information that is confidential and proprietary
#to RADVISION Inc. and RADVISION Ltd.. No part of this document may be
#reproduced in any form whatsoever without written prior approval by
#RADVISION Inc. or RADVISION Ltd..
#
#RADVISION Inc. and RADVISION Ltd. reserve the right to revise this
#publication and make changes without obligation to notify any person of
#such revisions or changes.
#************************************************************************

# Set supported TARGET_OS's for these compiler tools
LEGAL_COMPILER_OS:= nucleus

# Set legal values for COMPILER_TOOL_VERSION
LEGAL_COMPILER_TOOL_VERSION:= 1.0 1.1 1.2

# Set up rvbuildconfig.h definitions for COMPILER_TOOL and COMPILER_TOOL_VERSION
# to map to rvtooldefs.h
COMPILER_TOOL_LINE:= "RV_TOOL_TYPE_ADS"
ifeq ($(COMPILER_TOOL_VERSION), 1.0)
COMPILER_TOOL_VERSION_LINE:= "RV_TOOL_ADS_1_0"
endif
ifeq ($(COMPILER_TOOL_VERSION), 1.1)
COMPILER_TOOL_VERSION_LINE:= "RV_TOOL_ADS_1_1"
endif
ifeq ($(COMPILER_TOOL_VERSION), 1.2)
COMPILER_TOOL_VERSION_LINE:= "RV_TOOL_ADS_1_2"
endif

# Add required info to master lists
# MAKE_LIST - List any OS dependent makefiles (inclduing this one)
# INCLUDE_DIRS - List any OS dependent include directories in search order
# LIBS_LIST - List any OS dependent libraries needed to link executables
MAKE_LIST +=

# Compiler setup - ADS (only supports ARM targets)
CC := armcc
CFLAGS += -cpu $(TARGET_CPU_ID) -Wa
INCLUDE_FLAG := -I
C_DEBUGFLAG := -g+ -dwarf2
C_OPTFLAG := -O2
COMPILE_ONLY_FLAG := -c
OBJ_EXTENSION := .o
CC_OBJ_OUTPUT = -o $@
AR := armar
ARFLAGS := -create -c -r
LIB_EXTENSION := .a
LIB_PREFIX := lib
LIB_OUTPUT = $@
LINK := armlink
LDFLAGS +=
LIBS_FLAG := -l
LIBS_USE_FULLNAME := no
LIBS_DIRFLAG:= -L
LD_DEBUGFLAG := $(C_DEBUGFLAG)
DEPEND_EXTENSION:= .d

# Define full .d file generation command since they vary so much. The
# target will be the .d file and the first dependency will be the .c file.
MAKEDEPEND = set -e; $(CC) -M -c $(CFLAGS) $< | \
		sort -u | sed 's*^*$*.d $(*D)/*' > $@; \
		[ -s $@ ] || rm -f $@


# Compiler setup - ADS for Nucleus specifics
ifeq ($(TARGET_OS), nucleus)
C_DEBUGFLAG += -DNU_DEBUG
endif

⌨️ 快捷键说明

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