--- /dev/null
+package "vorbisfile"
+{
+ require "ogg";
+
+ library "vorbis"
+ {
+ source "lib/envelope.h";
+ source "lib/lpc.h";
+ source "lib/lsp.h";
+ source "lib/codebook.h";
+ source "lib/misc.h";
+ source "lib/psy.h";
+ source "lib/masking.h";
+ source "lib/os.h";
+ source "lib/mdct.h";
+ source "lib/smallft.h";
+ source "lib/highlevel.h";
+ source "lib/registry.h";
+ source "lib/scales.h";
+ source "lib/window.h";
+ source "lib/lookup.h";
+ source "lib/lookup_data.h";
+ source "lib/codec_internal.h";
+ source "lib/backends.h";
+ source "lib/bitrate.h";
+ source "lib/mdct.c";
+ source "lib/smallft.c";
+ source "lib/block.c";
+ source "lib/envelope.c";
+ source "lib/window.c";
+ source "lib/lsp.c";
+ source "lib/lpc.c";
+ source "lib/analysis.c";
+ source "lib/synthesis.c";
+ source "lib/psy.c";
+ source "lib/info.c";
+ source "lib/floor1.c";
+ source "lib/floor0.c";
+ source "lib/res0.c";
+ source "lib/mapping0.c";
+ source "lib/registry.c";
+ source "lib/codebook.c";
+ source "lib/sharedbook.c";
+ source "lib/lookup.c";
+ source "lib/bitrate.c";
+ if_arch "windows"
+ {
+ source "win32/vorbis.def";
+ };
+ if_arch "msvc"
+ {
+ build_info
+ {
+ warning_level 1;
+ define "_CRT_SECURE_NO_WARNINGS" "1";
+ };
+ };
+ install true;
+ install_headers false;
+ };
+
+ library "vorbisfile"
+ {
+ source "lib/vorbisfile.c";
+ if_arch "windows"
+ {
+ source "win32/vorbisfile.def";
+ };
+ if_arch "msvc"
+ {
+ build_info
+ {
+ define "_CRT_SECURE_NO_WARNINGS" "1";
+ };
+ };
+ use "vorbis";
+ install true;
+ install_headers false;
+ };
+
+ install "include/vorbis"
+ {
+ source "include/vorbis/codec.h";
+ source "include/vorbis/vorbisenc.h";
+ source "include/vorbis/vorbisfile.h";
+ };
+};
#ifndef _vorbis_backend_h_
#define _vorbis_backend_h_
-#include "codec_internal.h"
-
/* this would all be simpler/shorter with templates, but.... */
/* Floor backend generic *****************************************/
typedef struct{