📄 vc8ce.gmk
字号:
### Copyright 1990-2008 Sun Microsystems, Inc. All Rights Reserved.# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER## This program is free software; you can redistribute it and/or# modify it under the terms of the GNU General Public License version# 2 only, as published by the Free Software Foundation.## This program is distributed in the hope that it will be useful, but# WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU# General Public License version 2 for more details (a copy is# included at /legal/license.txt).## You should have received a copy of the GNU General Public License# version 2 along with this work; if not, write to the Free Software# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA# 02110-1301 USA## Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa# Clara, CA 95054 or visit www.sun.com if you need additional# information or have any questions.######################################################################### Generic compiler specific defines# MIDP specific directories and libraries defines are in vc-jtwi.gmk#######################################################################ifndef _VC8CE_GMK__VC8CE_GMK_ =ifeq ($(VC8CE_ARCH_PATH),)$(error VC8CE_ARCH_PATH is not set.)endififeq ($(WINCE_LIB_PATH),)$(error WINCE_LIB_PATH is not set.)endififeq ($(VC8CE_ATLMFC_LIB_PATH),)$(error VC8CE_ATLMFC_LIB_PATH is not set.)endififeq ($(VC8CE_LIB_PATH),)$(error VC8CE_LIB_PATH is not set.)endif# SuffixLIB_SUFFIX = .libOBJ_SUFFIX = objLIB_PREFIX = # GCCUSE_GCC = false# Same defines when used as either TARGET or HOST COMPILERCC = $(VC8CE_ARCH_PATH)/clCPP = $(VC8CE_ARCH_PATH)/clCC_OUTPUT = -FoASM = $(VC8CE_ARCH_PATH)/armasmASM_FLAGS += /nologo /c /coff /ZiASM_OUTPUT = -FoRC = $(VC8CE_ARCH_PATH)/../../../bin/rc.exeLD = $(VC8CE_ARCH_PATH)/linkLD_OUTPUT = -out:LINKER_OUTPUT = $(LD_OUTPUT)AR = $(VC8CE_ARCH_PATH)/lib.exeAR_FLAGS = -nologo -MACHINE:armAR_OUTPUT = -out:# commands for AR (lib) scriptMRI_ADD =MRI_CREATE = /OUT:MRI_SAVE =MRI_OPT = /NOLOGO @# Libraries for WinCE generic portLIBS += commctrl.lib cellcore.lib aygshell.lib Ws2.lib \ ddraw.lib Mmtimer.lib note_prj.lib \ dmoguids.lib strmbase.lib crypt32.lib \ strmiids.lib wap.libifeq ($(USE_JSR_179), true)LIBS += gpsapi.libendififneq ($(TARGET_WINCE_PLATFORM), WM5_PPC)ifneq ($(TARGET_WINCE_PLATFORM), WM6_PPC)LIBS += sms.lib phone.libendifendif#OLD dmoguids.lib strmiids.lib strmbase.lib wap.lib crypt32.lib sms.lib phone.lib# please comment out this for link and add it to LIBS: VTInterface.libLD_FLAGS += /nologo /MAP /incremental:no /verbose:LIBLD_FLAGS += /ERRORREPORT:PROMPT /STACK:65536,4096 /MANIFEST:NOLD_FLAGS += /nodefaultlib:oldnames.libLD_FLAGS += /nodefaultlib:secchk.libLD_FLAGS += /libpath:$(PROJECT_JAVACALL_DIR)/implementation/wince_comm/drmLD_FLAGS += /opt:REF /OPT:ICF# /wd4819 : disable C4819 warning# /Gy : package individual functions# /GF : string pooling# /MD : use the multithread- and DLL-specific version of the run-time library# /GS : Detects some buffer overruns# /GS- : Disable /GS# /Od : turn off optimization# /O1 : optimize for size# /Zi : Produces a program database (PDB)EXTRA_CFLAGS += /X -I"$(WINCE_INCLUDE_PATH)" -I"$(VC8CE_INCLUDE_PATH)"EXTRA_CFLAGS += /wd4819 /Gy /GF /Ziifeq ($(USE_DEBUG), true)DEBUG_CFLAGS += /MTd /Od /GSLD_FLAGS += /debugelseEXTRA_CFLAGS += /MT /Ox /GS-endifCYGWIN_MIDP_OUTPUT_DIR = `$(call fixcygpath, $(MIDP_OUTPUT_DIR))`endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -