Umakefil
上传用户:dangjiwu
上传日期:2013-07-19
资源大小:42019k
文件大小:6k
源码类别:

Symbian

开发平台:

Visual 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. bIncludeAMR = (project.IsDefined("HELIX_FEATURE_AUDIO_CODEC_AMRNB") or  
  35.                project.IsDefined("HELIX_FEATURE_AUDIO_CODEC_AMRWB")) and 
  36.               project.IsDefined("HELIX_FEATURE_PLAYBACK_LOCAL")
  37. # Add module includes needed by all
  38. project.AddModuleIncludes("common/include")
  39. # Add module libraries needed by all
  40. project.AddModuleLibraries("common/system[syslib]",
  41.                            "common/dbgtool[debuglib]",
  42.                            "common/util[utillib]",
  43.                            "common/container[contlib]",
  44.                            "common/runtime[runtlib]")
  45. if bIncludeAMR:
  46.         project.AddModuleIncludes("datatype/common/container/pub")
  47.         project.AddModuleLibraries("datatype/amr/fileformat[amrfflib]",
  48.                                    "datatype/mp3/payload[mp3payld]",
  49.                                    "datatype/mp4/payload[mp4pyldlib]",
  50.                                    "datatype/amr/common[amrcomlib]")
  51. if project.IsDefined("HELIX_FEATURE_AUDIO_MPEG4"):
  52.         project.AddModuleIncludes("datatype/include",
  53.                                   "datatype/mp4/audio/renderer",
  54.                                   "datatype/common/container/pub")
  55.         project.AddModuleLibraries("datatype/mp4/audio/renderer[mp4arenderlib]",
  56.                                    "datatype/common/audrend[audrend]",
  57.                                    "protocol/common/util[protutillib]",
  58.                                    "protocol/sdp[sdplib]",
  59.                                    "protocol/rtsp[rtsplib]",
  60.                                    "datatype/mp4/common[mp4comlib]",
  61.                                    "datatype/mp3/payload[mp3payld]",
  62.                                    "datatype/mp4/payload[mp4pyldlib]",
  63.                                    "datatype/common/util[dtutillib]",
  64.                                    "datatype/amr/common[amrcomlib]",
  65.                                    "datatype/mp3/common[mp3lib]")
  66. if project.IsDefined("HELIX_FEATURE_AUDIO_WAVE"):
  67.         project.AddModuleIncludes("datatype/common/include")
  68.         project.AddModuleLibraries("datatype/wav/fileformat[wvffplin]",
  69.                                    "datatype/mp3/payload[mp3payld]",
  70.                                    "datatype/mp4/payload[mp4pyldlib]",
  71.                                    "datatype/common/util[dtutillib]",
  72.                                    "datatype/wav/renderer/pcm[pcmrendlib]")
  73.                                    
  74. if project.IsDefined("HELIX_FEATURE_AUDIO_AU"):
  75.         project.AddModuleIncludes("datatype/common/include",
  76.                                   "datatype/common/container/pub")
  77.         project.AddModuleLibraries("datatype/au/fileformat[auffplin]",
  78.                                    "datatype/mp3/payload[mp3payld]",
  79.                                    "datatype/mp3/common[mp3lib]",
  80.                                    "datatype/mp4/payload[mp4pyldlib]",
  81.                                    "datatype/common/audrend[audrend]",
  82.                                    "datatype/common/util[dtutillib]",
  83.                                    "datatype/wav/renderer/pcm[pcmrendlib]")
  84.                                    
  85. if project.IsDefined("HELIX_FEATURE_AUDIO_AIFF"):
  86.         project.AddModuleIncludes("datatype/common/include",
  87.                                   "datatype/common/container/pub")
  88.         project.AddModuleLibraries("datatype/aiff/fileformat[aiffplin]",
  89.                                    "datatype/mp3/payload[mp3payld]",
  90.                                    "datatype/mp3/common[mp3lib]",
  91.                                    "datatype/mp4/payload[mp4pyldlib]",
  92.                                    "datatype/common/audrend[audrend]",
  93.                                    "datatype/common/util[dtutillib]",
  94.                                    "datatype/wav/renderer/pcm[pcmrendlib]")
  95. project.AddSources("audplin.cpp")
  96. project.ExportFunction("RMACreateInstance",
  97.                        "IUnknown** ppObj",
  98.                        "common/include",
  99.                        "hxcom.h")
  100. project.ExportFunction("CanUnload2", "void")
  101. if not project.IsDefined("HELIX_FEATURE_DLLACCESS_CLIENT"):
  102.     project.ExportFunction("SetDLLAccessPath", "const char* pszPath")
  103. DLLTarget("audplin")
  104. DependTarget()