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

Symbian

开发平台:

C/C++

  1. # ***** BEGIN LICENSE BLOCK ***** 
  2. # Version: RCSL 1.0/RPSL 1.0 
  3. #  
  4. # Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved. 
  5. #      
  6. # The contents of this file, and the files included with this file, are 
  7. # subject to the current version of the RealNetworks Public Source License 
  8. # Version 1.0 (the "RPSL") available at 
  9. # http://www.helixcommunity.org/content/rpsl unless you have licensed 
  10. # the file under the RealNetworks Community Source License Version 1.0 
  11. # (the "RCSL") available at http://www.helixcommunity.org/content/rcsl, 
  12. # in which case the RCSL will apply. You may also obtain the license terms 
  13. # directly from RealNetworks.  You may not use this file except in 
  14. # compliance with the RPSL or, if you have a valid RCSL with RealNetworks 
  15. # applicable to this file, the RCSL.  Please see the applicable RPSL or 
  16. # RCSL for the rights, obligations and limitations governing use of the 
  17. # contents of the file.  
  18. #  
  19. # This file is part of the Helix DNA Technology. RealNetworks is the 
  20. # developer of the Original Code and owns the copyrights in the portions 
  21. # it created. 
  22. #  
  23. # This file, and the files included with this file, is distributed and made 
  24. # available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 
  25. # EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS ALL SUCH WARRANTIES, 
  26. # INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS 
  27. # FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 
  28. # Technology Compatibility Kit Test Suite(s) Location: 
  29. #    http://www.helixcommunity.org/content/tck 
  30. # Contributor(s): 
  31. #  
  32. # ***** END LICENSE BLOCK ***** 
  33. UmakefileVersion(2,2)
  34. project.AddModuleIncludes("common/include",
  35.                           "common/runtime/pub",
  36.                           "datatype/rm/include",
  37.                           "datatype/include")
  38. # decoder sources and libraries
  39. project.AddSources("decwrapper.cpp")
  40. if not project.IsDefined("HELIX_CONFIG_FIXEDPOINT"):
  41. project.AddLibraries(GetSDKPath("ra8lbrdec_flt_lib"))
  42. else:
  43. project.AddLibraries(GetSDKPath("ra8lbrdec_fix_lib"))
  44. # encoder sources and libs
  45. if project.IsDefined("HELIX_FEATURE_AUDIO_CODEC_ENCODER"):
  46. project.AddSources("encwrapper.cpp")
  47. if not project.IsDefined("HELIX_CONFIG_FIXEDPOINT"):
  48. project.AddLibraries(GetSDKPath("ra8lbrenc_flt_lib"))
  49. else:
  50. project.AddLibraries(GetSDKPath("ra8lbrenc_fix_lib"))
  51. # decoder exports
  52. project.ExportFunction("RAOpenCodec",
  53.                        "RACODEC* pCodecRef",
  54.                        "datatype/rm/include",
  55.                        "racodec.h")
  56. project.ExportFunction("RAOpenCodec2",
  57.                        "RACODEC* pCodecRef, const char* pCodecPath",
  58.                        "datatype/rm/include",
  59.                        "racodec.h")
  60. project.ExportFunction("RAInitDecoder",
  61.                        "RACODEC codecRef, void* pParam",
  62.                        "datatype/rm/include",
  63.                        "racodec.h")
  64. project.ExportFunction("RADecode",
  65.                        "RACODEC codecRef, Byte* in, UINT32 inLength, Byte* out, UINT32* pOutLength, UINT32 userData",
  66.                        "datatype/rm/include",
  67.                        "racodec.h")
  68. project.ExportFunction("RAFlush",
  69.                        "RACODEC codecRef, Byte* outBuf, UINT32* pOutLength",
  70.                        "datatype/rm/include",
  71.                        "racodec.h")
  72. project.ExportFunction("RAFreeDecoder",
  73.                        "RACODEC codecRef",
  74.                        "datatype/rm/include",
  75.                        "racodec.h")
  76. project.ExportFunction("RAGetNumberOfFlavors",
  77.                        "RACODEC codecRef",
  78.                        "datatype/rm/include",
  79.                        "racodec.h")
  80. project.ExportFunction("RAGetNumberOfFlavors2",
  81.                        "RACODEC codecRef",
  82.                        "datatype/rm/include",
  83.                        "racodec.h")
  84. project.ExportFunction("RAGetFlavorProperty",
  85.                        "RACODEC codecRef, UINT16 flvIndex, UINT16 propIndex, UINT16* pSize",
  86.                        "datatype/rm/include",
  87.                        "racodec.h")
  88. project.ExportFunction("RASetFlavor",
  89.                        "RACODEC codecRef, UINT16 flvIndex",
  90.                        "datatype/rm/include",
  91.                        "racodec.h")
  92. project.ExportFunction("RACloseCodec",
  93.                        "RACODEC codecRef",
  94.                        "datatype/rm/include",
  95.                        "racodec.h")
  96. # encoder exports
  97. if project.IsDefined("HELIX_FEATURE_AUDIO_CODEC_ENCODER"):
  98. project.ExportFunction("RAInitEncoder",
  99.                         "RACODEC codecRef, void* pParam",
  100.                         "datatype/rm/include",
  101.                        "racodec.h")
  102. project.ExportFunction("RAEncode",
  103.                         "RACODEC codecRef, UINT16* inBuf, Byte* outBuf",
  104.                         "datatype/rm/include",
  105.                        "racodec.h")
  106. project.ExportFunction("RAFreeEncoder",
  107.                         "RACODEC codecRef",
  108.                         "datatype/rm/include",
  109.                        "racodec.h")
  110. if not project.BuildOption("nodll"):
  111. project.AddModuleLibraries("datatype/rm/audio/codec/common[racompat]")
  112. project.ExportFunction( "RACreateEncoderInstance",
  113. "const CLSID &clsid, IUnknown** ppUnknown",
  114. "datatype/include",
  115. "hxacodec.h")
  116. project.SetDLLTypeCodec()
  117. DLLTarget("cook")
  118. DependTarget()