ext-vorbis.lua 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. project "vorbis"
  2. -- NOTE: Unlike the official libvorbis, we built everything into a single library instead of the vorbis, vorbisenc, vorbisfile split.
  3. uuid "b544dcb7-16e5-41bc-b51b-7ead8cfdfa05"
  4. language "C"
  5. location ( "../../build/" .. mpt_projectpathname .. "/ext" )
  6. mpt_projectname = "vorbis"
  7. dofile "../../build/xcode-genie/genie-defaults-LIBorDLL.lua"
  8. dofile "../../build/xcode-genie/genie-defaults.lua"
  9. targetname "openmpt-vorbis"
  10. local extincludedirs = {
  11. "../../include/ogg/include",
  12. }
  13. includedirs ( extincludedirs )
  14. includedirs {
  15. "../../include/vorbis/include",
  16. "../../include/vorbis/lib",
  17. }
  18. files {
  19. "../../include/vorbis/include/vorbis/codec.h",
  20. "../../include/vorbis/include/vorbis/vorbisenc.h",
  21. "../../include/vorbis/include/vorbis/vorbisfile.h",
  22. }
  23. files {
  24. "../../include/vorbis/lib/analysis.c",
  25. "../../include/vorbis/lib/backends.h",
  26. --"../../include/vorbis/lib/barkmel.c",
  27. "../../include/vorbis/lib/bitrate.c",
  28. "../../include/vorbis/lib/bitrate.h",
  29. "../../include/vorbis/lib/block.c",
  30. "../../include/vorbis/lib/codebook.c",
  31. "../../include/vorbis/lib/codebook.h",
  32. "../../include/vorbis/lib/codec_internal.h",
  33. "../../include/vorbis/lib/envelope.c",
  34. "../../include/vorbis/lib/envelope.h",
  35. "../../include/vorbis/lib/floor0.c",
  36. "../../include/vorbis/lib/floor1.c",
  37. "../../include/vorbis/lib/highlevel.h",
  38. "../../include/vorbis/lib/info.c",
  39. "../../include/vorbis/lib/lookup.c",
  40. "../../include/vorbis/lib/lookup.h",
  41. "../../include/vorbis/lib/lookup_data.h",
  42. "../../include/vorbis/lib/lpc.c",
  43. "../../include/vorbis/lib/lpc.h",
  44. "../../include/vorbis/lib/lsp.c",
  45. "../../include/vorbis/lib/lsp.h",
  46. "../../include/vorbis/lib/mapping0.c",
  47. "../../include/vorbis/lib/masking.h",
  48. "../../include/vorbis/lib/mdct.c",
  49. "../../include/vorbis/lib/mdct.h",
  50. "../../include/vorbis/lib/misc.h",
  51. "../../include/vorbis/lib/os.h",
  52. "../../include/vorbis/lib/psy.c",
  53. "../../include/vorbis/lib/psy.h",
  54. -- "../../include/vorbis/lib/psytune.c",
  55. "../../include/vorbis/lib/registry.c",
  56. "../../include/vorbis/lib/registry.h",
  57. "../../include/vorbis/lib/res0.c",
  58. "../../include/vorbis/lib/scales.h",
  59. "../../include/vorbis/lib/sharedbook.c",
  60. "../../include/vorbis/lib/smallft.c",
  61. "../../include/vorbis/lib/smallft.h",
  62. "../../include/vorbis/lib/synthesis.c",
  63. -- "../../include/vorbis/lib/tone.c",
  64. "../../include/vorbis/lib/vorbisenc.c",
  65. "../../include/vorbis/lib/vorbisfile.c",
  66. "../../include/vorbis/lib/window.c",
  67. "../../include/vorbis/lib/window.h",
  68. "../../include/vorbis/lib/books/coupled/res_books_51.h",
  69. "../../include/vorbis/lib/books/coupled/res_books_stereo.h",
  70. "../../include/vorbis/lib/books/floor/floor_books.h",
  71. "../../include/vorbis/lib/books/uncoupled/res_books_uncoupled.h",
  72. "../../include/vorbis/lib/modes/floor_all.h",
  73. "../../include/vorbis/lib/modes/psych_8.h",
  74. "../../include/vorbis/lib/modes/psych_11.h",
  75. "../../include/vorbis/lib/modes/psych_16.h",
  76. "../../include/vorbis/lib/modes/psych_44.h",
  77. "../../include/vorbis/lib/modes/residue_8.h",
  78. "../../include/vorbis/lib/modes/residue_16.h",
  79. "../../include/vorbis/lib/modes/residue_44.h",
  80. "../../include/vorbis/lib/modes/residue_44p51.h",
  81. "../../include/vorbis/lib/modes/residue_44u.h",
  82. "../../include/vorbis/lib/modes/setup_8.h",
  83. "../../include/vorbis/lib/modes/setup_11.h",
  84. "../../include/vorbis/lib/modes/setup_16.h",
  85. "../../include/vorbis/lib/modes/setup_22.h",
  86. "../../include/vorbis/lib/modes/setup_32.h",
  87. "../../include/vorbis/lib/modes/setup_44.h",
  88. "../../include/vorbis/lib/modes/setup_44p51.h",
  89. "../../include/vorbis/lib/modes/setup_44u.h",
  90. "../../include/vorbis/lib/modes/setup_X.h",
  91. }
  92. links { "ogg" }
  93. configuration {}