2012-04-06 22:52:39 +00:00
|
|
|
*.a
|
2012-01-31 07:47:14 +00:00
|
|
|
*.la
|
|
|
|
*.lo
|
2013-03-09 09:50:27 +00:00
|
|
|
*.o
|
2012-04-06 22:52:39 +00: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 10:22:59 +00:00
|
|
|
*.dll
|
|
|
|
*.dylib
|
|
|
|
*.exe
|
2012-01-31 07:47:14 +00:00
|
|
|
.deps
|
|
|
|
.libs
|
|
|
|
Makefile
|
|
|
|
Makefile.in
|
|
|
|
aclocal.m4
|
2012-07-04 09:54:48 +00:00
|
|
|
ar-lib
|
2012-01-31 07:47:14 +00:00
|
|
|
autom4te.cache/
|
2012-04-06 22:52:39 +00:00
|
|
|
compile
|
2012-01-31 07:47:14 +00:00
|
|
|
config.guess
|
|
|
|
config.h
|
|
|
|
config.h.in
|
|
|
|
config.log
|
|
|
|
config.rpath
|
|
|
|
config.status
|
|
|
|
config.sub
|
|
|
|
configure
|
|
|
|
depcomp
|
2013-03-09 09:50:27 +00:00
|
|
|
doc/Doxyfile
|
2012-01-31 07:47:14 +00:00
|
|
|
doc/FLAC.tag
|
|
|
|
doc/html/api/
|
|
|
|
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-24 23:25:54 +00:00
|
|
|
m4/libtool.m4
|
|
|
|
m4/ltoptions.m4
|
|
|
|
m4/ltsugar.m4
|
|
|
|
m4/ltversion.m4
|
|
|
|
m4/lt~obsolete.m4
|
2013-07-21 10:12:41 +00:00
|
|
|
man/manpage.links
|
|
|
|
man/manpage.refs
|
2012-01-31 07:47:14 +00:00
|
|
|
missing
|
2014-06-26 09:02:39 +00:00
|
|
|
objs/debug
|
|
|
|
objs/release
|
2012-01-31 07:47:14 +00: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 08:28:14 +00:00
|
|
|
test/*.aiff
|
2012-01-31 10:06:21 +00:00
|
|
|
test/*.cmp
|
|
|
|
test/*.cue
|
|
|
|
test/*.flac
|
|
|
|
test/*.log
|
|
|
|
test/*.oga
|
2012-01-31 08:28:14 +00:00
|
|
|
test/*.raw
|
|
|
|
test/*.rf64
|
|
|
|
test/*.w64
|
|
|
|
test/*.wav
|
2013-09-16 09:55:11 +00:00
|
|
|
test/common.sh
|
2012-01-31 08:28:14 +00: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 08:57:13 +00:00
|
|
|
.dirstamp
|
2015-08-31 17:38:43 +00:00
|
|
|
microbench/benchmark_residual
|
2019-11-17 05:15:51 +00:00
|
|
|
oss-fuzz/fuzz-decoder
|
|
|
|
oss-fuzz/fuzz-encoder
|
2020-05-02 05:54:28 +00:00
|
|
|
|
|
|
|
/*[Bb]uild*/
|
2020-05-08 09:20:35 +00:00
|
|
|
/out/
|
|
|
|
CMakeSettings.json
|
2020-05-02 05:54:28 +00:00
|
|
|
CMakeLists.txt.user
|
|
|
|
CMakeCache.txt
|
|
|
|
CMakeFiles
|
|
|
|
CMakeScripts
|
|
|
|
Testing
|
|
|
|
Makefile
|
|
|
|
cmake_install.cmake
|
|
|
|
install_manifest.txt
|
|
|
|
compile_commands.json
|
|
|
|
CTestTestfile.cmake
|
|
|
|
_deps
|
|
|
|
|
|
|
|
/.vs*/
|