Commit Graph

13 Commits

Author SHA1 Message Date
Erik de Castro Lopo
95fc3bf314 Add first micro-benchmark 2015-09-01 04:14:17 +10:00
Erik de Castro Lopo
f48c79a406 .gitignore : Tweaked. 2014-06-26 19:02:39 +10:00
Erik de Castro Lopo
a9712a2279 Factor out common test functionality to test/common.sh.in. 2013-09-17 06:14:57 +10:00
Erik de Castro Lopo
dd9460e7a5 Update .gitignore. 2013-07-21 20:12:41 +10:00
Erik de Castro Lopo
2199d08692 Enable utf8 I/O stuff when compiling with MinGW. 2013-04-01 19:57:13 +11:00
Erik de Castro Lopo
05ef63b44d Update .gitignore. 2013-03-09 20:50:27 +11:00
Hendricks266
96d081c1c9 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>
2013-01-02 21:35:47 +11:00
Erik de Castro Lopo
4ef5bfbc56 Add 'ar-lib' to .gitignore. 2012-07-04 19:54:48 +10:00
Erik de Castro Lopo
b3e9eb66ef Update .gitignore. 2012-04-07 08:52:39 +10:00
Erik de Castro Lopo
21a4f653e1 .gitignore : Ignore more m4 files. 2012-02-25 10:25:54 +11:00
Erik de Castro Lopo
7b0d8f1027 Run all tests from one script which bails on the first failure. 2012-01-31 21:06:21 +11:00
Erik de Castro Lopo
f84287ef8b Update README and .gitignore. 2012-01-31 19:28:14 +11:00
Erik de Castro Lopo
bb7e63a533 Add .gitignore. 2012-01-31 18:47:14 +11:00