2012-04-07 02:52:39 +04:00
|
|
|
*.a
|
2012-01-31 11:47:14 +04:00
|
|
|
*.la
|
|
|
|
*.lo
|
2013-03-09 13:50:27 +04:00
|
|
|
*.o
|
2012-04-07 02:52:39 +04:00
|
|
|
*.so
|
Fix building with MSYS and MinGW(-w64); Improve Makefile.lite build system
This is a patch to allow building of the project using MSYS, MinGW, and MinGW-w64 with the following invocation:
make -f Makefile.lite libFLAC libFLAC++ flac metaflac test_libs_common test_libFLAC test_libFLAC++ test_grabbag test_seeking test_streams utils examples
This patch addresses eight points:
1. `uname -p` in MSYS returns "unknown" so we must use `gcc -dumpmachine` to gain information about the target, 32-bit or 64-bit.
2. MinGW-w64 does not ship with a working iconv.h, so we must disable it under this specific compiler.
3. The code requires <inttypes.h> in a handful of C files, but config.mk did not contain -DHAVE_INTTYPES_H, which under the full build process (I assume) is added by autoconf.
4. The compiler complained when lround() in lpc.c was static, so it is no longer static.
5. Additional scattered linking directives (and reordering) (particularly FLAC, grabbag, and replaygain_analysis) were necessary to build some of the components.
6. The Makefile.lite build system benefited from some cleanup, particularly by rigorously defining all entries, factoring redundancy, and establishing dependencies. (Some typos were fixed too.)
7. Shared objects on Windows use .dll, not .so. (Added *.dll, *.dylib, and *.exe to .gitignore.)
8. To allow more freedom using Makefile.lite without configure, I added the variables USE_OGG and USE_ICONV which can toggle these two components in the build process.
ex: make -f Makefile.lite examples USE_OGG=0 USE_ICONV=0
These improvements make use of some use-time Makefile variable expansion.
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2012-12-29 14:22:59 +04:00
|
|
|
*.dll
|
|
|
|
*.dylib
|
|
|
|
*.exe
|
2012-01-31 11:47:14 +04:00
|
|
|
.deps
|
|
|
|
.libs
|
|
|
|
aclocal.m4
|
2012-07-04 13:54:48 +04:00
|
|
|
ar-lib
|
2012-01-31 11:47:14 +04:00
|
|
|
autom4te.cache/
|
2012-04-07 02:52:39 +04:00
|
|
|
compile
|
2012-01-31 11:47:14 +04:00
|
|
|
config.guess
|
|
|
|
config.h
|
|
|
|
config.h.in
|
|
|
|
config.log
|
|
|
|
config.rpath
|
|
|
|
config.status
|
|
|
|
config.sub
|
|
|
|
configure
|
|
|
|
depcomp
|
2013-03-09 13:50:27 +04:00
|
|
|
doc/Doxyfile
|
2012-01-31 11:47:14 +04:00
|
|
|
doc/FLAC.tag
|
2022-09-05 20:11:31 +03:00
|
|
|
doc/api/
|
2012-01-31 11:47:14 +04:00
|
|
|
examples/c/decode/file/example_c_decode_file
|
|
|
|
examples/c/encode/file/example_c_encode_file
|
|
|
|
examples/cpp/decode/file/example_cpp_decode_file
|
|
|
|
examples/cpp/encode/file/example_cpp_encode_file
|
|
|
|
install-sh
|
|
|
|
libtool
|
|
|
|
libtool-disable-static
|
|
|
|
ltmain.sh
|
2012-02-25 03:25:54 +04:00
|
|
|
m4/libtool.m4
|
|
|
|
m4/ltoptions.m4
|
|
|
|
m4/ltsugar.m4
|
|
|
|
m4/ltversion.m4
|
|
|
|
m4/lt~obsolete.m4
|
2022-08-09 22:26:19 +03:00
|
|
|
man/flac.1
|
2024-06-26 16:33:54 +03:00
|
|
|
man/flac.html
|
2022-08-09 22:26:19 +03:00
|
|
|
man/metaflac.1
|
2024-06-26 16:33:54 +03:00
|
|
|
man/metaflac.html
|
2012-01-31 11:47:14 +04:00
|
|
|
missing
|
2014-06-26 13:02:39 +04:00
|
|
|
objs/debug
|
|
|
|
objs/release
|
2012-01-31 11:47:14 +04:00
|
|
|
src/flac/flac
|
|
|
|
src/libFLAC++/flac++.pc
|
|
|
|
src/libFLAC/flac.pc
|
|
|
|
src/metaflac/metaflac
|
|
|
|
src/share/getopt/libgetopt.a
|
|
|
|
src/test_grabbag/cuesheet/test_cuesheet
|
|
|
|
src/test_grabbag/picture/test_picture
|
|
|
|
src/test_libFLAC++/test_libFLAC++
|
|
|
|
src/test_libFLAC/test_libFLAC
|
|
|
|
src/test_seeking/test_seeking
|
|
|
|
src/test_streams/test_streams
|
|
|
|
stamp-h1
|
2012-01-31 12:28:14 +04:00
|
|
|
test/*.aiff
|
2012-01-31 14:06:21 +04:00
|
|
|
test/*.cmp
|
|
|
|
test/*.cue
|
|
|
|
test/*.flac
|
|
|
|
test/*.log
|
|
|
|
test/*.oga
|
2012-01-31 12:28:14 +04:00
|
|
|
test/*.raw
|
|
|
|
test/*.rf64
|
|
|
|
test/*.w64
|
|
|
|
test/*.wav
|
2013-09-16 13:55:11 +04:00
|
|
|
test/common.sh
|
2012-01-31 12:28:14 +04:00
|
|
|
test/cuesheet.diff
|
|
|
|
test/cuesheet.log
|
|
|
|
test/metaflac-test-files/out.meta
|
|
|
|
test/metaflac.flac
|
|
|
|
test/picture.diff
|
|
|
|
test/picture.log
|
2013-04-01 12:57:13 +04:00
|
|
|
.dirstamp
|
2015-08-31 20:38:43 +03:00
|
|
|
microbench/benchmark_residual
|
2022-04-27 20:53:13 +03:00
|
|
|
/ogg/
|
2022-04-19 20:37:09 +03:00
|
|
|
oss-fuzz/fuzzer_decoder
|
2022-06-08 14:39:23 +03:00
|
|
|
oss-fuzz/fuzzer_seek
|
2022-06-16 17:59:50 +03:00
|
|
|
oss-fuzz/fuzzer_metadata
|
2022-04-19 20:37:09 +03:00
|
|
|
oss-fuzz/fuzzer_encoder
|
2022-04-20 16:16:46 +03:00
|
|
|
oss-fuzz/fuzzer_encoder_v2
|
2022-11-13 21:07:52 +03:00
|
|
|
oss-fuzz/fuzzer_reencoder
|
2023-02-22 11:17:00 +03:00
|
|
|
oss-fuzz/fuzzer_tool_flac
|
2023-03-17 23:41:32 +03:00
|
|
|
oss-fuzz/fuzzer_tool_metaflac
|
2020-05-02 08:54:28 +03:00
|
|
|
|
|
|
|
/*[Bb]uild*/
|
2020-05-08 12:20:35 +03:00
|
|
|
/out/
|
|
|
|
CMakeSettings.json
|
2020-05-02 08:54:28 +03:00
|
|
|
CMakeLists.txt.user
|
|
|
|
CMakeCache.txt
|
|
|
|
CMakeFiles
|
|
|
|
CMakeScripts
|
|
|
|
Testing
|
|
|
|
Makefile
|
2022-11-12 12:16:23 +03:00
|
|
|
Makefile.in
|
2020-05-02 08:54:28 +03:00
|
|
|
cmake_install.cmake
|
|
|
|
install_manifest.txt
|
|
|
|
compile_commands.json
|
|
|
|
CTestTestfile.cmake
|
|
|
|
_deps
|
|
|
|
|
|
|
|
/.vs*/
|