diff options
| author | pepper <peppersclothescult@gmail.com> | 2015-01-10 21:32:32 -0800 |
|---|---|---|
| committer | pepper <peppersclothescult@gmail.com> | 2015-01-10 21:32:32 -0800 |
| commit | d53fa8a169832563c62262078b8d2ffe5cab8473 (patch) | |
| tree | b911d06d357d009c976709780f10e92ce915228a /vendor | |
first
Diffstat (limited to 'vendor')
| -rw-r--r-- | vendor/CMakeLists.txt | 298 | ||||
| -rw-r--r-- | vendor/audiofile-config/linux/config.h | 104 | ||||
| -rw-r--r-- | vendor/audiofile-config/mac/config.h | 104 | ||||
| -rw-r--r-- | vendor/flac-config/linux/config.h | 235 | ||||
| -rw-r--r-- | vendor/flac-config/mac/config.h | 235 |
5 files changed, 976 insertions, 0 deletions
diff --git a/vendor/CMakeLists.txt b/vendor/CMakeLists.txt new file mode 100644 index 0000000..458d0dd --- /dev/null +++ b/vendor/CMakeLists.txt @@ -0,0 +1,298 @@ +cmake_minimum_required(VERSION 2.8.11) +project(MrsWatsonVendor) + +include(${cmake_SCRIPTS_DIR}/ConfigureTarget.cmake) + +# The some of third-party libraries under the vendor directory are built with +# autoconf (ie, ./configure scripts), which can be a bit tricky to integrate +# with CMake, even with the ExternalProject module (and not to mention on +# Windows, where mixing autoconf and VS builds is a nightmare in the making). +# +# So instead, we build these libraries via CMake, which adds a bit of +# maintainence to update but makes the build procedure much easier. The process +# of updating a new library is as such: +# +# 1. Update from upstream in teragonaudio's git fork/mirror of the repo +# 2. Bump submodule in project +# 3. Refresh file list below +# 4. Comment out any ignored files +# 5. Re-run ./configure +# 6. Copy the generated config.h file to the platform-specific directory +# + +# audiofile #################################################### + +# Configured with: ./configure --enable-flac --enable-static --disable-docs +# Also, the generated config.h file should be edited such that the definition +# of ENABLE_FLAC is not hardcoded to 0/1, but rather to USE_FLAC (the value +# set by our CMakeLists). + +if(WITH_AUDIOFILE) + set(audiofile_SOURCES + audiofile/libaudiofile/aes.cpp + audiofile/libaudiofile/af_vfs.cpp + audiofile/libaudiofile/AIFF.cpp + audiofile/libaudiofile/alac/ag_dec.c + audiofile/libaudiofile/alac/ag_enc.c + audiofile/libaudiofile/alac/ALACBitUtilities.c + audiofile/libaudiofile/alac/ALACDecoder.cpp + audiofile/libaudiofile/alac/ALACEncoder.cpp + audiofile/libaudiofile/alac/dp_dec.c + audiofile/libaudiofile/alac/dp_enc.c + audiofile/libaudiofile/alac/EndianPortable.c + audiofile/libaudiofile/alac/matrix_dec.c + audiofile/libaudiofile/alac/matrix_enc.c + audiofile/libaudiofile/AudioFormat.cpp + audiofile/libaudiofile/aupv.c + audiofile/libaudiofile/AVR.cpp + audiofile/libaudiofile/Buffer.cpp + audiofile/libaudiofile/CAF.cpp + audiofile/libaudiofile/compression.cpp + audiofile/libaudiofile/data.cpp + audiofile/libaudiofile/debug.cpp + audiofile/libaudiofile/error.c + audiofile/libaudiofile/extended.c + audiofile/libaudiofile/File.cpp + audiofile/libaudiofile/FileHandle.cpp + audiofile/libaudiofile/FLACFile.cpp + audiofile/libaudiofile/format.cpp + audiofile/libaudiofile/g711.c + audiofile/libaudiofile/IFF.cpp + audiofile/libaudiofile/Instrument.cpp + audiofile/libaudiofile/IRCAM.cpp + audiofile/libaudiofile/Loop.cpp + audiofile/libaudiofile/Marker.cpp + audiofile/libaudiofile/Miscellaneous.cpp + audiofile/libaudiofile/modules/ALAC.cpp + audiofile/libaudiofile/modules/BlockCodec.cpp + audiofile/libaudiofile/modules/FileModule.cpp + audiofile/libaudiofile/modules/FLAC.cpp + audiofile/libaudiofile/modules/G711.cpp + audiofile/libaudiofile/modules/IMA.cpp + audiofile/libaudiofile/modules/Module.cpp + audiofile/libaudiofile/modules/ModuleState.cpp + audiofile/libaudiofile/modules/MSADPCM.cpp + audiofile/libaudiofile/modules/PCM.cpp + audiofile/libaudiofile/modules/RebufferModule.cpp + audiofile/libaudiofile/modules/SimpleModule.cpp + # audiofile/libaudiofile/modules/UT_RebufferModule.cpp (Ignored) + audiofile/libaudiofile/NeXT.cpp + audiofile/libaudiofile/NIST.cpp + audiofile/libaudiofile/openclose.cpp + audiofile/libaudiofile/PacketTable.cpp + audiofile/libaudiofile/pcm.cpp + audiofile/libaudiofile/query.cpp + audiofile/libaudiofile/Raw.cpp + audiofile/libaudiofile/SampleVision.cpp + audiofile/libaudiofile/Setup.cpp + audiofile/libaudiofile/Track.cpp + audiofile/libaudiofile/units.cpp + audiofile/libaudiofile/util.cpp + audiofile/libaudiofile/UUID.cpp + audiofile/libaudiofile/VOC.cpp + audiofile/libaudiofile/WAVE.cpp + ) + + set(audiofile_HEADERS + audiofile/libaudiofile/af_vfs.h + audiofile/libaudiofile/afinternal.h + audiofile/libaudiofile/AIFF.h + audiofile/libaudiofile/alac/aglib.h + audiofile/libaudiofile/alac/ALACAudioTypes.h + audiofile/libaudiofile/alac/ALACBitUtilities.h + audiofile/libaudiofile/alac/ALACDecoder.h + audiofile/libaudiofile/alac/ALACEncoder.h + audiofile/libaudiofile/alac/dplib.h + audiofile/libaudiofile/alac/EndianPortable.h + audiofile/libaudiofile/alac/matrixlib.h + audiofile/libaudiofile/audiofile.h + audiofile/libaudiofile/AudioFormat.h + audiofile/libaudiofile/aupvinternal.h + audiofile/libaudiofile/aupvlist.h + audiofile/libaudiofile/AVR.h + audiofile/libaudiofile/Buffer.h + audiofile/libaudiofile/byteorder.h + audiofile/libaudiofile/CAF.h + audiofile/libaudiofile/Compiler.h + audiofile/libaudiofile/compression.h + audiofile/libaudiofile/debug.h + audiofile/libaudiofile/error.h + audiofile/libaudiofile/extended.h + audiofile/libaudiofile/Features.h + audiofile/libaudiofile/File.h + audiofile/libaudiofile/FileHandle.h + audiofile/libaudiofile/FLACFile.h + audiofile/libaudiofile/g711.h + audiofile/libaudiofile/IFF.h + audiofile/libaudiofile/Instrument.h + audiofile/libaudiofile/IRCAM.h + audiofile/libaudiofile/Marker.h + audiofile/libaudiofile/modules/ALAC.h + audiofile/libaudiofile/modules/BlockCodec.h + audiofile/libaudiofile/modules/FileModule.h + audiofile/libaudiofile/modules/FLAC.h + audiofile/libaudiofile/modules/G711.h + audiofile/libaudiofile/modules/IMA.h + audiofile/libaudiofile/modules/Module.h + audiofile/libaudiofile/modules/ModuleState.h + audiofile/libaudiofile/modules/MSADPCM.h + audiofile/libaudiofile/modules/PCM.h + audiofile/libaudiofile/modules/RebufferModule.h + audiofile/libaudiofile/modules/SimpleModule.h + audiofile/libaudiofile/NeXT.h + audiofile/libaudiofile/NIST.h + audiofile/libaudiofile/PacketTable.h + audiofile/libaudiofile/pcm.h + audiofile/libaudiofile/Raw.h + audiofile/libaudiofile/SampleVision.h + audiofile/libaudiofile/Setup.h + audiofile/libaudiofile/Shared.h + audiofile/libaudiofile/Tag.h + audiofile/libaudiofile/Track.h + audiofile/libaudiofile/units.h + audiofile/libaudiofile/util.h + audiofile/libaudiofile/UUID.h + audiofile/libaudiofile/VOC.h + audiofile/libaudiofile/WAVE.h + ) + + add_library(audiofile STATIC + ${audiofile_SOURCES} + ${audiofile_HEADERS} + audiofile-config/${PLATFORM_CONFIG_DIR}/config.h + ) + + add_library(audiofile64 STATIC + ${audiofile_SOURCES} + ${audiofile_HEADERS} + audiofile-config/${PLATFORM_CONFIG_DIR}/config.h + ) + + include_directories(audiofile/libaudiofile) + source_group(config audiofile-config/${PLATFORM_CONFIG_DIR}/config.h) + + target_include_directories(audiofile PUBLIC + ${CMAKE_CURRENT_SOURCE_DIR}/audiofile-config/${PLATFORM_CONFIG_DIR} + ) + target_include_directories(audiofile64 PUBLIC + ${CMAKE_CURRENT_SOURCE_DIR}/audiofile-config/${PLATFORM_CONFIG_DIR} + ) + + if(WITH_FLAC) + target_include_directories(audiofile PUBLIC + ${CMAKE_CURRENT_SOURCE_DIR}/flac/include + ) + target_include_directories(audiofile64 PUBLIC + ${CMAKE_CURRENT_SOURCE_DIR}/flac/include + ) + endif() + + configure_target(audiofile 32) + configure_target(audiofile64 64) +endif() + +# flac ######################################################### + +# Configured with: ./configure --disable-ogg --enable-static +# But on Mac: ./configure --disable-ogg --enable-static --disable-asm-optimizations +# (See https://github.com/Homebrew/homebrew/issues/34589) + +if(WITH_FLAC) + set(flac_SOURCES + flac/src/libFLAC/bitmath.c + flac/src/libFLAC/bitreader.c + flac/src/libFLAC/bitwriter.c + flac/src/libFLAC/cpu.c + flac/src/libFLAC/crc.c + flac/src/libFLAC/fixed.c + flac/src/libFLAC/fixed_intrin_sse2.c + flac/src/libFLAC/fixed_intrin_ssse3.c + flac/src/libFLAC/float.c + flac/src/libFLAC/format.c + flac/src/libFLAC/lpc.c + flac/src/libFLAC/lpc_intrin_avx2.c + flac/src/libFLAC/lpc_intrin_sse.c + flac/src/libFLAC/lpc_intrin_sse2.c + flac/src/libFLAC/lpc_intrin_sse41.c + flac/src/libFLAC/md5.c + flac/src/libFLAC/memory.c + flac/src/libFLAC/metadata_iterators.c + flac/src/libFLAC/metadata_object.c + # flac/src/libFLAC/ogg_decoder_aspect.c (Ignore) + # flac/src/libFLAC/ogg_encoder_aspect.c (Ignore) + # flac/src/libFLAC/ogg_helper.c (Ignore) + # flac/src/libFLAC/ogg_mapping.c (Ignore) + flac/src/libFLAC/stream_decoder.c + flac/src/libFLAC/stream_encoder.c + flac/src/libFLAC/stream_encoder_framing.c + flac/src/libFLAC/stream_encoder_intrin_avx2.c + flac/src/libFLAC/stream_encoder_intrin_sse2.c + flac/src/libFLAC/stream_encoder_intrin_ssse3.c + flac/src/libFLAC/window.c + ) + + set(flac++_SOURCES + flac/src/libFLAC++/metadata.cpp + flac/src/libFLAC++/stream_decoder.cpp + flac/src/libFLAC++/stream_encoder.cpp + ) + + set(flac_HEADERS + flac/include/FLAC/all.h + flac/include/FLAC/assert.h + flac/include/FLAC/callback.h + flac/include/FLAC/export.h + flac/include/FLAC/format.h + flac/include/FLAC/metadata.h + flac/include/FLAC/ordinals.h + flac/include/FLAC/stream_decoder.h + flac/include/FLAC/stream_encoder.h + ) + + set(flac++_HEADERS + flac/include/FLAC++/all.h + flac/include/FLAC++/decoder.h + flac/include/FLAC++/encoder.h + flac/include/FLAC++/export.h + flac/include/FLAC++/metadata.h + ) + + add_library(flac STATIC + ${flac_SOURCES} + ${flac++_SOURCES} + ${flac_HEADERS} + ${flac++_HEADERS} + flac-config/${PLATFORM_CONFIG_DIR}/config.h + ) + + add_library(flac64 STATIC + ${flac_SOURCES} + ${flac++_SOURCES} + ${flac_HEADERS} + ${flac++_HEADERS} + flac-config/${PLATFORM_CONFIG_DIR}/config.h + ) + + target_include_directories(flac PUBLIC + ${CMAKE_CURRENT_SOURCE_DIR}/flac/include + ${CMAKE_CURRENT_SOURCE_DIR}/flac/include/FLAC + ${CMAKE_CURRENT_SOURCE_DIR}/flac/include/FLAC++ + ${CMAKE_CURRENT_SOURCE_DIR}/flac/src/libFLAC/include + ${CMAKE_CURRENT_SOURCE_DIR}/flac-config/${PLATFORM_CONFIG_DIR} + ) + target_include_directories(flac64 PUBLIC + ${CMAKE_CURRENT_SOURCE_DIR}/flac/include + ${CMAKE_CURRENT_SOURCE_DIR}/flac/include/FLAC + ${CMAKE_CURRENT_SOURCE_DIR}/flac/include/FLAC++ + ${CMAKE_CURRENT_SOURCE_DIR}/flac/src/libFLAC/include + ${CMAKE_CURRENT_SOURCE_DIR}/flac-config/${PLATFORM_CONFIG_DIR} + ) + + source_group(config flac-config/${PLATFORM_CONFIG_DIR}/config.h) + + set_target_properties(flac PROPERTIES COMPILE_DEFINITIONS "HAVE_CONFIG_H=1") + set_target_properties(flac64 PROPERTIES COMPILE_DEFINITIONS "HAVE_CONFIG_H=1") + + configure_target(flac 32) + configure_target(flac64 64) +endif() diff --git a/vendor/audiofile-config/linux/config.h b/vendor/audiofile-config/linux/config.h new file mode 100644 index 0000000..20c1808 --- /dev/null +++ b/vendor/audiofile-config/linux/config.h @@ -0,0 +1,104 @@ +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define if building universal (internal helper macro) */ +/* #undef AC_APPLE_UNIVERSAL_BUILD */ + +/* Whether FLAC is enabled. */ +#define ENABLE_FLAC USE_FLAC + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if you have the <fcntl.h> header file. */ +#define HAVE_FCNTL_H 1 + +/* Define to 1 if you have the <inttypes.h> header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the <memory.h> header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the <stdint.h> header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the <strings.h> header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#define LT_OBJDIR ".libs/" + +/* Name of package */ +#define PACKAGE "audiofile" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "audiofile" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "audiofile 0.3.6" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "audiofile" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "0.3.6" + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Version number of package */ +#define VERSION "0.3.6" + +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +/* # undef WORDS_BIGENDIAN */ +# endif +#endif + +/* Enable large inode numbers on Mac OS X 10.5. */ +#ifndef _DARWIN_USE_64_BIT_INODE +# define _DARWIN_USE_64_BIT_INODE 1 +#endif + +/* Number of bits in a file offset, on hosts where this is settable. */ +/* #undef _FILE_OFFSET_BITS */ + +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Define to `long int' if <sys/types.h> does not define. */ +/* #undef off_t */ + +/* Define to `unsigned int' if <sys/types.h> does not define. */ +/* #undef size_t */ diff --git a/vendor/audiofile-config/mac/config.h b/vendor/audiofile-config/mac/config.h new file mode 100644 index 0000000..20c1808 --- /dev/null +++ b/vendor/audiofile-config/mac/config.h @@ -0,0 +1,104 @@ +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define if building universal (internal helper macro) */ +/* #undef AC_APPLE_UNIVERSAL_BUILD */ + +/* Whether FLAC is enabled. */ +#define ENABLE_FLAC USE_FLAC + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if you have the <fcntl.h> header file. */ +#define HAVE_FCNTL_H 1 + +/* Define to 1 if you have the <inttypes.h> header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the <memory.h> header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the <stdint.h> header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the <strings.h> header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#define LT_OBJDIR ".libs/" + +/* Name of package */ +#define PACKAGE "audiofile" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "audiofile" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "audiofile 0.3.6" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "audiofile" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "0.3.6" + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Version number of package */ +#define VERSION "0.3.6" + +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +/* # undef WORDS_BIGENDIAN */ +# endif +#endif + +/* Enable large inode numbers on Mac OS X 10.5. */ +#ifndef _DARWIN_USE_64_BIT_INODE +# define _DARWIN_USE_64_BIT_INODE 1 +#endif + +/* Number of bits in a file offset, on hosts where this is settable. */ +/* #undef _FILE_OFFSET_BITS */ + +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Define to `long int' if <sys/types.h> does not define. */ +/* #undef off_t */ + +/* Define to `unsigned int' if <sys/types.h> does not define. */ +/* #undef size_t */ diff --git a/vendor/flac-config/linux/config.h b/vendor/flac-config/linux/config.h new file mode 100644 index 0000000..69e92db --- /dev/null +++ b/vendor/flac-config/linux/config.h @@ -0,0 +1,235 @@ +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define if building universal (internal helper macro) */ +/* #undef AC_APPLE_UNIVERSAL_BUILD */ + +/* Target processor is big endian. */ +#define CPU_IS_BIG_ENDIAN 0 + +/* Target processor is little endian. */ +#define CPU_IS_LITTLE_ENDIAN 1 + +/* define to align allocated memory on 32-byte boundaries */ +#define FLAC__ALIGN_MALLOC_DATA 1 + +/* define if building for ia32/i386 */ +/* #undef FLAC__CPU_IA32 */ + +/* define if building for PowerPC */ +/* #undef FLAC__CPU_PPC */ + +/* define if building for PowerPC with SPE ABI */ +/* #undef FLAC__CPU_PPC_SPE */ + +/* define if building for SPARC */ +/* #undef FLAC__CPU_SPARC */ + +/* define if building for x86_64 */ +#define FLAC__CPU_X86_64 1 + +/* define if you have docbook-to-man or docbook2man */ +/* #undef FLAC__HAS_DOCBOOK_TO_MAN */ + +/* define if you are compiling for x86 and have the NASM assembler */ +/* #undef FLAC__HAS_NASM */ + +/* define if you have the ogg library */ +#define FLAC__HAS_OGG 0 + +/* Set to 1 if <x86intrin.h> is available. */ +#define FLAC__HAS_X86INTRIN + +/* define to disable use of assembly code */ +/* #undef FLAC__NO_ASM */ + +/* define if your operating system supports SSE instructions */ +#define FLAC__SSE_OS 1 + +/* define if building for Darwin / MacOS X */ +/* #undef FLAC__SYS_DARWIN */ + +/* define if building for Linux */ +/* #undef FLAC__SYS_LINUX */ + +/* define to enable use of Altivec instructions */ +#define FLAC__USE_ALTIVEC 1 + +/* Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>. */ +#define GWINSZ_IN_SYS_IOCTL 1 + +/* Compiler has the __builtin_bswap16 intrinsic */ +#define HAVE_BSWAP16 1 + +/* Compiler has the __builtin_bswap32 intrinsic */ +#define HAVE_BSWAP32 1 + +/* Define to 1 if you have the <byteswap.h> header file. */ +#define HAVE_BYTESWAP_H 1 + +/* Define to 1 if you have the <cpuid.h> header file. */ +#define HAVE_CPUID_H 1 + +/* Define to 1 if C++ supports variable-length arrays. */ +#define HAVE_CXX_VARARRAYS 1 + +/* Define to 1 if C supports variable-length arrays. */ +#define HAVE_C_VARARRAYS 1 + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ +#define HAVE_FSEEKO 1 + +/* Define to 1 if you have the `getopt_long' function. */ +#define HAVE_GETOPT_LONG 1 + +/* Define if you have the iconv() function and it works. */ +#define HAVE_ICONV 1 + +/* Define to 1 if you have the <inttypes.h> header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ +#define HAVE_LANGINFO_CODESET 1 + +/* lround support */ +#define HAVE_LROUND 1 + +/* Define to 1 if you have the <memory.h> header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if the system has the type `socklen_t'. */ +#define HAVE_SOCKLEN_T 1 + +/* Define to 1 if you have the <stdint.h> header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the <strings.h> header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the <sys/param.h> header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the <termios.h> header file. */ +#define HAVE_TERMIOS_H 1 + +/* Define to 1 if typeof works with your compiler. */ +#define HAVE_TYPEOF 1 + +/* Define to 1 if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to 1 if you have the <x86intrin.h> header file. */ +#define HAVE_X86INTRIN_H 1 + +/* Define as const if the declaration of iconv() needs const. */ +#define ICONV_CONST + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#define LT_OBJDIR ".libs/" + +/* Name of package */ +#define PACKAGE "flac" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "flac-dev@xiph.org" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "flac" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "flac 1.3.1" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "flac" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "https://www.xiph.org/flac/" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "1.3.1" + +/* The size of `off_t', as computed by sizeof. */ +#define SIZEOF_OFF_T 8 + +/* The size of `void*', as computed by sizeof. */ +#define SIZEOF_VOIDP 8 + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# define _ALL_SOURCE 1 +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# define _POSIX_PTHREAD_SEMANTICS 1 +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# define _TANDEM_SOURCE 1 +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# define __EXTENSIONS__ 1 +#endif + + +/* Version number of package */ +#define VERSION "1.3.1" + +/* Target processor is big endian. */ +#define WORDS_BIGENDIAN 0 + +/* Enable large inode numbers on Mac OS X 10.5. */ +#ifndef _DARWIN_USE_64_BIT_INODE +# define _DARWIN_USE_64_BIT_INODE 1 +#endif + +/* Number of bits in a file offset, on hosts where this is settable. */ +/* #undef _FILE_OFFSET_BITS */ + +/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ +/* #undef _LARGEFILE_SOURCE */ + +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ + +/* Define to 1 if on MINIX. */ +/* #undef _MINIX */ + +/* Define to 2 if the system does not provide POSIX.1 features except with + this defined. */ +/* #undef _POSIX_1_SOURCE */ + +/* Define to 1 if you need to in order for `stat' and other things to work. */ +/* #undef _POSIX_SOURCE */ + +/* Define to `__inline__' or `__inline' if that's what the C compiler + calls it, or to nothing if 'inline' is not supported under any name. */ +#ifndef __cplusplus +/* #undef inline */ +#endif + +/* Define to __typeof__ if your compiler spells it that way. */ +/* #undef typeof */ diff --git a/vendor/flac-config/mac/config.h b/vendor/flac-config/mac/config.h new file mode 100644 index 0000000..7a569cf --- /dev/null +++ b/vendor/flac-config/mac/config.h @@ -0,0 +1,235 @@ +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define if building universal (internal helper macro) */ +/* #undef AC_APPLE_UNIVERSAL_BUILD */ + +/* Target processor is big endian. */ +#define CPU_IS_BIG_ENDIAN 0 + +/* Target processor is little endian. */ +#define CPU_IS_LITTLE_ENDIAN 1 + +/* define to align allocated memory on 32-byte boundaries */ +#define FLAC__ALIGN_MALLOC_DATA 1 + +/* define if building for ia32/i386 */ +/* #undef FLAC__CPU_IA32 */ + +/* define if building for PowerPC */ +/* #undef FLAC__CPU_PPC */ + +/* define if building for PowerPC with SPE ABI */ +/* #undef FLAC__CPU_PPC_SPE */ + +/* define if building for SPARC */ +/* #undef FLAC__CPU_SPARC */ + +/* define if building for x86_64 */ +#define FLAC__CPU_X86_64 1 + +/* define if you have docbook-to-man or docbook2man */ +/* #undef FLAC__HAS_DOCBOOK_TO_MAN */ + +/* define if you are compiling for x86 and have the NASM assembler */ +#define FLAC__HAS_NASM 1 + +/* define if you have the ogg library */ +#define FLAC__HAS_OGG 0 + +/* Set to 1 if <x86intrin.h> is available. */ +#define FLAC__HAS_X86INTRIN + +/* define to disable use of assembly code */ +#define FLAC__NO_ASM 1 + +/* define if your operating system supports SSE instructions */ +#define FLAC__SSE_OS 1 + +/* define if building for Darwin / MacOS X */ +#define FLAC__SYS_DARWIN 1 + +/* define if building for Linux */ +/* #undef FLAC__SYS_LINUX */ + +/* define to enable use of Altivec instructions */ +#define FLAC__USE_ALTIVEC 1 + +/* Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>. */ +/* #undef GWINSZ_IN_SYS_IOCTL */ + +/* Compiler has the __builtin_bswap16 intrinsic */ +#define HAVE_BSWAP16 1 + +/* Compiler has the __builtin_bswap32 intrinsic */ +#define HAVE_BSWAP32 1 + +/* Define to 1 if you have the <byteswap.h> header file. */ +/* #undef HAVE_BYTESWAP_H */ + +/* Define to 1 if you have the <cpuid.h> header file. */ +#define HAVE_CPUID_H 1 + +/* Define to 1 if C++ supports variable-length arrays. */ +#define HAVE_CXX_VARARRAYS 1 + +/* Define to 1 if C supports variable-length arrays. */ +#define HAVE_C_VARARRAYS 1 + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ +#define HAVE_FSEEKO 1 + +/* Define to 1 if you have the `getopt_long' function. */ +#define HAVE_GETOPT_LONG 1 + +/* Define if you have the iconv() function and it works. */ +#define HAVE_ICONV 1 + +/* Define to 1 if you have the <inttypes.h> header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ +#define HAVE_LANGINFO_CODESET 1 + +/* lround support */ +#define HAVE_LROUND 1 + +/* Define to 1 if you have the <memory.h> header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if the system has the type `socklen_t'. */ +/* #undef HAVE_SOCKLEN_T */ + +/* Define to 1 if you have the <stdint.h> header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the <strings.h> header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the <sys/param.h> header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the <termios.h> header file. */ +#define HAVE_TERMIOS_H 1 + +/* Define to 1 if typeof works with your compiler. */ +#define HAVE_TYPEOF 1 + +/* Define to 1 if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to 1 if you have the <x86intrin.h> header file. */ +#define HAVE_X86INTRIN_H 1 + +/* Define as const if the declaration of iconv() needs const. */ +#define ICONV_CONST + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#define LT_OBJDIR ".libs/" + +/* Name of package */ +#define PACKAGE "flac" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "flac-dev@xiph.org" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "flac" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "flac 1.3.1" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "flac" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "https://www.xiph.org/flac/" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "1.3.1" + +/* The size of `off_t', as computed by sizeof. */ +#define SIZEOF_OFF_T 8 + +/* The size of `void*', as computed by sizeof. */ +#define SIZEOF_VOIDP 8 + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# define _ALL_SOURCE 1 +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# define _POSIX_PTHREAD_SEMANTICS 1 +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# define _TANDEM_SOURCE 1 +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# define __EXTENSIONS__ 1 +#endif + + +/* Version number of package */ +#define VERSION "1.3.1" + +/* Target processor is big endian. */ +#define WORDS_BIGENDIAN 0 + +/* Enable large inode numbers on Mac OS X 10.5. */ +#ifndef _DARWIN_USE_64_BIT_INODE +# define _DARWIN_USE_64_BIT_INODE 1 +#endif + +/* Number of bits in a file offset, on hosts where this is settable. */ +/* #undef _FILE_OFFSET_BITS */ + +/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ +/* #undef _LARGEFILE_SOURCE */ + +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ + +/* Define to 1 if on MINIX. */ +/* #undef _MINIX */ + +/* Define to 2 if the system does not provide POSIX.1 features except with + this defined. */ +/* #undef _POSIX_1_SOURCE */ + +/* Define to 1 if you need to in order for `stat' and other things to work. */ +/* #undef _POSIX_SOURCE */ + +/* Define to `__inline__' or `__inline' if that's what the C compiler + calls it, or to nothing if 'inline' is not supported under any name. */ +#ifndef __cplusplus +/* #undef inline */ +#endif + +/* Define to __typeof__ if your compiler spells it that way. */ +/* #undef typeof */ |
