📄 hpuxc.mak
字号:
#************************************************************************
#Filename :hpuxc.mak
#Description: HP-UX C 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:= hpux
# Set legal values for COMPILER_TOOL_VERSION
LEGAL_COMPILER_TOOL_VERSION:= A.10.32.20 A.11.01.00
# Set up rvbuildconfig.h definitions for COMPILER_TOOL and COMPILER_TOOL_VERSION
# to map to rvtooldefs.h
COMPILER_TOOL_LINE:= "RV_TOOL_TYPE_HPUXC"
ifeq ($(COMPILER_TOOL_VERSION), A.10.32.20)
COMPILER_TOOL_VERSION_LINE:= "RV_TOOL_HPUXC_A_10_32_20"
endif
ifeq ($(COMPILER_TOOL_VERSION), A.11.01.00)
COMPILER_TOOL_VERSION_LINE:= "RV_TOOL_HPUXC_A_11_01_00"
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 - HP-UX Compiler Defaults
CC := cc
CFLAGS += -r -Aa -D_HPUX_SOURCE -D_POSIX_SOURCE -DXOPEN_CATALOG +e -w1
INCLUDE_FLAG := -I
C_DEBUGFLAG := -g
C_OPTFLAG := +O2
COMPILE_ONLY_FLAG := -c
OBJ_EXTENSION := .o
CC_OBJ_OUTPUT = -o $@
AR := ar
ARFLAGS := -rc
LIB_EXTENSION := .a
LIB_PREFIX := lib
LIB_OUTPUT = $@
LINK := cc
LIBS_FLAG := -l
LIBS_USE_FULLNAME := no
LIBS_DIRFLAG:= -L
LDFLAGS +=
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) -E $(CFLAGS) $< | \
grep "^\# 1.*\.[ch]" | \
sed 's/.*"\(.*\)\.c".*/C"\1.c"/' | \
sort -ru | \
sed 's/.*"\(.*\)\.c".*/\1.o: \1.c \\/; s/.*"\(.*\.h\)".*/\1 \\/' > $@; \
[ -s $@ ] || rm -f $@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -