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

📄 wince-420.cf

📁 linux下的一款播放器
💻 CF
字号:
# # ***** BEGIN LICENSE BLOCK *****# Source last modified: $Id: wince-420.cf,v 1.3 2004/07/07 22:00:05 hubbe Exp $# # Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved.# # The contents of this file, and the files included with this file,# are subject to the current version of the RealNetworks Public# Source License (the "RPSL") available at# http://www.helixcommunity.org/content/rpsl unless you have licensed# the file under the current version of the RealNetworks Community# Source License (the "RCSL") available at# http://www.helixcommunity.org/content/rcsl, in which case the RCSL# will apply. You may also obtain the license terms directly from# RealNetworks.  You may not use this file except in compliance with# the RPSL or, if you have a valid RCSL with RealNetworks applicable# to this file, the RCSL.  Please see the applicable RPSL or RCSL for# the rights, obligations and limitations governing use of the# contents of the file.# # Alternatively, the contents of this file may be used under the# terms of the GNU General Public License Version 2 or later (the# "GPL") in which case the provisions of the GPL are applicable# instead of those above. If you wish to allow use of your version of# this file only under the terms of the GPL, and not to allow others# to use your version of this file under the terms of either the RPSL# or RCSL, indicate your decision by deleting the provisions above# and replace them with the notice and other provisions required by# the GPL. If you do not delete the provisions above, a recipient may# use your version of this file under the terms of any one of the# RPSL, the RCSL or the GPL.# # This file is part of the Helix DNA Technology. RealNetworks is the# developer of the Original Code and owns the copyrights in the# portions it created.# # This file, and the files included with this file, is distributed# and made available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY# KIND, EITHER EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS# ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET# ENJOYMENT OR NON-INFRINGEMENT.# # Technology Compatibility Kit Test Suite(s) Location:#    http://www.helixcommunity.org/content/tck# # Contributor(s):# # ***** END LICENSE BLOCK *****# """Wince using EVC 4.2"""exec_config_file('win32.cf')# Signal that we want the linker to generate pdb filesproject.AddBuildOption("pdb")## list of PCF files to runplatform.pcf_prefix_list = ['win', 'wince', 'wince-420']## Fixed point CODECsif project.BuildOption("fixed_point"):        project.AddDefines("HELIX_CONFIG_FIXEDPOINT")## WinCE platform definesproject.AddDefines("UNICODE",                   "_UNICODE",                   "UNDER_CE=420",                   "_WIN32_WCE=420",                   "WIN32_PLATFORM_UNKNOWN",                   "WIN32_PLATFORM_PSPC=310")# Helix related definesproject.AddDefines("THREADS_SUPPORTED",                   "_LITTLE_ENDIAN",                   "WINCE",                   "_WINCE",                   "USE_WINSOCK1",                   "RC_INVOKED",                   "HELIX_CONFIG_DISABLE_ATOMIC_OPERATORS")project.AddSystemLibraries('corelibc.lib')project.AddSystemLibraries('coredll.lib')project.AddSystemLibraries('uuid.lib')# Get the WinCE tools path. In the EVC 4.2 installer this# defaults to C:\Program Files\Windows CE Toolsce_tools_prefix = GetSDKPath("windows_ce4_tools")wince_standard_prefix = "%s" % ce_tools_prefixce_include_dir = "%s\\include" % wince_standard_prefixce_atl_include_dir = "%s\\atl\\include" % wince_standard_prefixproject.AddIncludes(ce_include_dir, ce_atl_include_dir)# Get the embedded visual tools path. In the EVC 4.2 installer# this defaults to C:\Program Files\Microsoft eMbedded C++ 4.0evc_prefix = GetSDKPath("evc4_visual_tools")## define base arguments for build modescc.args['default'] = '/nologo /W3 /X'cc.args['debug'] = '/Od'def wincompiler_add_m_arg(extra_args):    return extra_argsclass WinCELinker(WinLinker):    def subsystem_option(self):        return ["/SUBSYSTEM:windowsce,4.20"]# + WinLinker.subsystem_option(self)    def machine_option(self):        return []    def extra_options(self):        return [ "/incremental:yes",                 "/NODEFAULTLIB",                 "/LIBPATH:\"%s\"" % ce_lib_dir ]            def LinkDLL(self, target_path, objects, static_libs, dynamic_libs):        global project        cmd_list = []        if project.BuildOption('debug'):            dbg = "debug"        else:            dbg = "release"                arg_list = ["/DLL"] + self.option_arg_list()        if project.BuildOption("debug+"):            arg_list.append("/debug")        arg_list.append("/OUT:%s" % (target_path))        arg_list.append(objects)        arg_list.append(static_libs)        arg_list.append(dynamic_libs)        cmd = "python %s -basefile:%s -basedir:%s /entry:_DllMainCRTStartup /base:0x00100000 /stack:0x10000,0x1000 %s" % (            os.path.join(BUILD_ROOT,"bin","pylink"),            os.path.join(project.src_root_path,dbg,"rebase.lst"),            project.module_directory(),            string.join(arg_list))        cmd_list.append(cmd)        return cmd_list    def LinkEXE(self, target_path, objects, static_libs, dynamic_libs):        cmd_list = []        arg_list = self.option_arg_list()        if project.BuildOption("console-app"):            arg_list.append("/entry:\"mainACRTStartup\"")        if project.BuildOption("debug+"):            arg_list.append("/debug")        arg_list.append("/OUT:%s" % (target_path))        arg_list.append(objects)        arg_list.append(static_libs)        arg_list.append(dynamic_libs)        cmd = "\"%s\\EVC\\WCE420\\BIN\\link\" %s" % (evc_prefix,                                                     string.join(arg_list))        cmd_list.append(cmd)        return cmd_list# Make the linker object None so that# the specific WinCE platform MUST specify itplatform.link = NoneplatformDirStr = "wince"match = re.match("^wince-420-(.+)$", os.environ['SYSTEM_ID'])if (match):    platformDirStr = platformDirStr + "-%s" % match.group(1)    ## target pathsif project.BuildOption("debug"):    project.output_dir = "%s-dbg" % platformDirStrelse:    project.output_dir = "%s-rel" % platformDirStr

⌨️ 快捷键说明

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