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

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/common/util/pub",
  37.                           "common/system/pub")
  38. project.AddModuleLibraries("common/runtime[runtlib]",
  39.                            "common/dbgtool[debuglib]",
  40.                            "common/util[utillib]",
  41.                            "common/container[contlib]",
  42.                            "common/system[syslib]",
  43.                            "datatype/mp3/common[mp3lib]",
  44.                            "datatype/common/util[dtutillib]",
  45.                            "datatype/mp3/payload[mp3payld]")
  46. project.AddModuleIncludes("datatype/mp3/codec/pub")
  47. if project.IsDefined("HELIX_CONFIG_FIXEDPOINT"):
  48.       project.AddModuleLibraries("datatype/mp3/codec/fixpt[mp3codecfixpt]")
  49. else:
  50.       project.AddModuleLibraries("datatype/mp3/codec/fltpt[mp3codecfltpt]")
  51. project.AddSources("mp3rend.cpp",
  52.                    "plugin.cpp")
  53. if project.IsDefined("HELIX_FEATURE_NOINLINE"):
  54.         project.AddModuleLibraries("datatype/rm/common[rmcomlib]")
  55. if project.IsDefined("HELIX_FEATURE_PLAYBACK_LOCAL"):
  56. project.AddDefines("MPA_FMT_RAW")
  57. if project.IsDefined("HELIX_FEATURE_PLAYBACK_NET"):
  58.     project.AddDefines("MPA_FMT_DRAFT00",
  59.                        "MPA_FMT_RFC3119",
  60.                        "MPA_FMT_RFC2250",
  61.                        "MPA_FMT_RFC2250_SYSTEM")
  62. if project.IsDefined("HELIX_FEATURE_MIN_HEAP"):
  63. project.AddDefines("HELIX_CONFIG_MIN_PCM_PUSHDOWN_BYTES",
  64.    "HELIX_CONFIG_ONLY_DECODE_IF_DRY")
  65. if project.IsDefined("HELIX_FEATURE_AUDIO_MPA_SYSTEM"):
  66.     project.AddDefines("DEMUXER", "MPA_FMT_SYSTEM")
  67. project.ExportFunction("RMACreateInstance",
  68.                        "IUnknown** ppObj",
  69.                        "common/include",
  70.                        "hxcom.h")
  71. project.ExportFunction("CanUnload", "void")
  72. project.ExportFunction("CanUnload2", "void")
  73. DLLTarget("mp3render")
  74. DependTarget()