clntcoredll
上传用户:zhongxx05
上传日期:2007-06-06
资源大小:33641k
文件大小:7k
源码类别:

Symbian

开发平台:

C/C++

  1. # -*- python -*-
  2. # ***** BEGIN LICENSE BLOCK ***** 
  3. # Version: RCSL 1.0/RPSL 1.0 
  4. #  
  5. # Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved. 
  6. #      
  7. # The contents of this file, and the files included with this file, are 
  8. # subject to the current version of the RealNetworks Public Source License 
  9. # Version 1.0 (the "RPSL") available at 
  10. # http://www.helixcommunity.org/content/rpsl unless you have licensed 
  11. # the file under the RealNetworks Community Source License Version 1.0 
  12. # (the "RCSL") available at http://www.helixcommunity.org/content/rcsl, 
  13. # in which case the RCSL will apply. You may also obtain the license terms 
  14. # directly from RealNetworks.  You may not use this file except in 
  15. # compliance with the RPSL or, if you have a valid RCSL with RealNetworks 
  16. # applicable to this file, the RCSL.  Please see the applicable RPSL or 
  17. # RCSL for the rights, obligations and limitations governing use of the 
  18. # contents of the file.  
  19. #  
  20. # This file is part of the Helix DNA Technology. RealNetworks is the 
  21. # developer of the Original Code and owns the copyrights in the portions 
  22. # it created. 
  23. #  
  24. # This file, and the files included with this file, is distributed and made 
  25. # available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 
  26. # EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS ALL SUCH WARRANTIES, 
  27. # INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS 
  28. # FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 
  29. # Technology Compatibility Kit Test Suite(s) Location: 
  30. #    http://www.helixcommunity.org/content/tck 
  31. # Contributor(s): 
  32. #  
  33. # ***** END LICENSE BLOCK ***** 
  34. UmakefileVersion(2,2)
  35. project.AddModuleIncludes("common/include",
  36.                           "common/container/pub",
  37.                           "common/util/pub",
  38.                           "common/system/pub",
  39.                           "common/dbgtool/pub",
  40.                           "common/runtime/pub",
  41.                           "common/fileio/pub",
  42.                           "common/lang/xml/pub",
  43.                           "common/netio/pub",
  44.                           "protocol/transport/common/system/pub",
  45.                           "protocol/transport/rtp/pub",
  46.                           "protocol/common/util/pub",
  47.                           "protocol/rtsp/pub",
  48.                           "protocol/rtsp/include",
  49.                           "protocol/pna/pub",
  50.                           "protocol/sdp/pub",
  51.                           "audio/include",
  52.                           "video/include",
  53.                           "video/colconverter/pub",
  54.                           "datatype/rm/include")
  55. project.AddIncludes("../include",
  56.                     "../common/container/pub",
  57.                     "../common/util/pub",
  58.                     "../common/netio/pub",
  59.                     "../common/system/pub",
  60.                     "../audiosvc/pub",
  61.                     "../videosvc/pub",
  62.                     "../netwksvc/pub",
  63.                     "../resource/pub")
  64. project.AddModuleLibraries("common/dbgtool[debuglib]",
  65.                            "common/util[utillib]",
  66.                            "common/container[contlib]",
  67.                            "common/system[syslib]",
  68.                            "common/runtime[runtlib]",
  69.                            "common/fileio[fileiolib]",
  70.                            "client/common/system[sysclntlib]",
  71.                            "client/common/container[contclntlib]",
  72.                            "client/common/util[utlclntlib]",
  73.                            "client/core[clntcorelib]")
  74. if ('HELIX_FEATURE_AUDIO' in project.defines):
  75.         project.AddModuleLibraries("audio/device[auddevlib]",
  76.                                    "client/audiosvc[audsvclib]")
  77. if ('HELIX_FEATURE_GAINTOOL' in project.defines):
  78. project.AddModuleLibraries("audio/gaintool[audgainlib]" )
  79. if ('HELIX_FEATURE_CROSSFADE' in project.defines):
  80. project.AddModuleLibraries("audio/crossfade[audxfadelib]")
  81. if ('HELIX_FEATURE_LIMITER' in project.defines):
  82. project.AddModuleLibraries('audio/limiter[audlimiter]')
  83. if ('HELIX_FEATURE_VIDEO' in project.defines):
  84.         project.AddModuleLibraries("client/videosvc[vidsvclib]")
  85. if ('HELIX_FEATURE_PLAYBACK_NET' in project.defines):
  86.         project.AddModuleLibraries("client/netwksvc[netsvclib]",
  87.                                    "client/common/netio[netioclntlib]",
  88.                                    "protocol/transport/common/system[systranlib]",
  89.                                    "protocol/transport/rtp[rtptranlib]",
  90.                                    "protocol/common/util[protutillib]",
  91.                                    "protocol/rtsp[rtsplib]")
  92.         
  93.         # All platforms other than Symbian need the netio library
  94.         if not project.IsDefined("_SYMBIAN"):
  95.                 project.AddModuleLibraries("common/netio[netiolib]")
  96. if ('HELIX_CONFIG_FIXEDPOINT' in project.defines):
  97.         project.AddModuleLibraries('audio/fixptresampler[fixptresampler]')
  98. if ('HELIX_FEATURE_MIXER' in project.defines):
  99.         project.AddModuleLibraries('audio/mixer[audmixlib]')
  100. if ('HELIX_FEATURE_HTTPCLOAK' in project.defines):
  101.         project.AddModuleLibraries('protocol/http[httplib]')
  102. if ('HELIX_FEATURE_RESAMPLER' in project.defines):
  103.         project.AddModuleLibraries('audio/resampler[audresamplib]')
  104. if ('HELIX_FEATURE_RDT' in project.defines):
  105.         project.AddLibraries(GetSDKPath("prtclrdt_lib"))
  106. if ('HELIX_FEATURE_PNA' in project.defines):
  107.         project.AddLibraries(GetSDKPath("prtclpna_lib"))
  108.         # PNA uses functions from rmfftype.h. On platforms
  109.         # that have HELIX_FEATURE_NOINLINE defined you
  110.         # need to link against rmcomlib so that you can
  111.         # get the code for the inline functions in that header
  112.         # file.
  113.         if project.IsDefined("HELIX_FEATURE_NOINLINE"):
  114.             project.AddModuleLibraries("datatype/rm/common[rmcomlib]")
  115. if ('HELIX_FEATURE_XMLPARSER' in project.defines):
  116.         project.AddModuleLibraries('common/lang/xml[xmllib]')
  117. if "HELIX_FEATURE_MIN_HEAP" in project.defines:
  118.         project.AddDefines("HELIX_CONFIG_MIN_PCM_PUSHDOWN_BYTES")
  119. project.AddSources("dlliids.cpp",
  120.                    "hxdll.cpp")
  121. project.ExportFunction("CreateEngine",
  122.                        "IHXClientEngine** ppEngine",
  123.                        "common/include",
  124.                        "hxcore.h")
  125. project.ExportFunction("CloseEngine",
  126.                        "IHXClientEngine* pEngine",
  127.                        "common/include",
  128.                        "hxcore.h")
  129. project.ExportFunction("SetDLLAccessPath",
  130.                        "const char* pszPath")
  131. project.SetDLLTypeCommon()
  132. DLLTarget('clntcore')
  133. DependTarget()