Commit Graph

50 Commits

Author SHA1 Message Date
Erik de Castro Lopo
f67928dec4 Fix VC project files to use /objs/ directory instead of /obj/ directory. 2013-01-02 22:49:55 +11:00
Erik de Castro Lopo
85d5c53803 Fix all Makefile.lite to use /objs/ directory instead of /obj/ directory. 2013-01-02 22:49:37 +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
Miroslav Lichvar
6a1f59b58f Update FSF address. 2012-12-06 06:17:26 +11:00
Erik de Castro Lopo
86efeb5903 Replace printfs with "%s" format strings with puts.
Thanks to Elan Ruusamäe for the suggestion.
2012-11-13 17:26:08 +11:00
Cristian Rodríguez
9b7cb22f84 Update and improve autotools build
- INCLUDES is deprecated, and CPPFLAGS is an user-defined
  variable, use the proper AM_CPPFLAGS instead

- Remove FLAC__INLINE definition, providing proper
  replacement for MSVC compilers.

- Detect if we have C99 's lround and provide a replacement
  for windows...
2012-04-08 09:03:03 +10:00
Erik de Castro Lopo
a4ffcc0239 Fix -Werror=format-security errors.
Fixes "format not a string literal and no format arguments
 [-Werror=format-security]" errors.

Patch from Fabian Greffrath <fabian+debian@greffrath.com> via Debian.
Closes Debian bug #643377.
2012-02-13 19:58:08 +11:00
Erik de Castro Lopo
8bbbf56403 Fix compiler warnings. 2012-02-01 19:58:09 +11:00
Josh Coalson
dea0f5a044 add 2009 copyright 2009-01-07 07:31:28 +00:00
Josh Coalson
c9ed238c3d Allow MM:SS:FF and MM:SS.SS time formats in non-CD-DA cuesheets (SF#1947353, SF#2182432: https://sourceforge.net/tracker2/?func=detail&aid=1947353&group_id=13478&atid=363478 https://sourceforge.net/tracker2/index.php?func=detail&aid=2182432&group_id=13478&atid=113478) 2009-01-07 07:03:17 +00:00
Josh Coalson
c10f978fa6 update Makefile.lite system to work on x86_64 linux 2008-09-14 19:59:52 +00:00
Josh Coalson
9777974f3f remove VCWebDeploymentTool item for better proj compatibility with vs9 2008-06-03 06:33:12 +00:00
Josh Coalson
82b128050e update copyright for 2008 2008-02-28 05:34:21 +00:00
Josh Coalson
d22b8887c2 remove spurious CLEANFILES 2007-09-11 06:29:28 +00:00
Josh Coalson
766539637f improvements to compile/link options 2007-07-16 06:03:32 +00:00
Josh Coalson
4fb6132d13 add vcproj files to EXTRA_DIST 2007-07-11 04:13:09 +00:00
Josh Coalson
d868f0c7a2 minor comments 2007-04-05 00:48:53 +00:00
Josh Coalson
cb6dc724f4 *** empty log message *** 2007-02-22 01:57:21 +00:00
Josh Coalson
8a95ba64c1 expand test to include simplified for of specification 2007-02-09 16:11:24 +00:00
Josh Coalson
1c91ee3bc7 add debugging defines with /D 2007-02-04 19:46:19 +00:00
Josh Coalson
e74bd9516c add 2007 copyright 2007-02-02 06:58:19 +00:00
Josh Coalson
7ae3359b63 fixes based on valgrind run 2006-11-20 05:29:52 +00:00
Josh Coalson
89a8205d9d minor fixes to linked libs 2006-11-08 01:21:51 +00:00
Josh Coalson
4511f201c4 link libogg if necessary 2006-10-15 05:15:59 +00:00
Josh Coalson
d68a14c005 _snprintf hackery for MSVC6 2006-10-10 00:36:59 +00:00
Josh Coalson
35a07eea25 fix project name 2006-10-10 00:33:34 +00:00
Josh Coalson
6e94c90e60 add parsing of picture type from spec; add check that type 1 picture is 32x32 PNG 2006-09-24 16:17:53 +00:00
Josh Coalson
63da21f4f9 add test for --> MIME type (linked URL) 2006-09-24 07:28:24 +00:00
Josh Coalson
5f427b3fd3 new tester for testing PICTURE specification parsing 2006-09-24 07:19:55 +00:00
Josh Coalson
b1ec796bda complete largefile support 2006-05-24 04:41:36 +00:00
Josh Coalson
0395dac13f add 2206 to copyright notice 2006-04-25 06:59:33 +00:00
Josh Coalson
05a3984002 fix handling of CFLAGS/CXXFLAGS, now using AM_CFLAGS 2005-01-30 18:44:46 +00:00
Josh Coalson
a78fac662c add 2005 to copyright notices 2005-01-25 04:17:55 +00:00
Josh Coalson
2757af6c1d get Makefile.lite system (with asm) working on Darwin, better handling of libogg paths and linkage 2004-10-30 00:03:21 +00:00
Josh Coalson
9564390fb9 update copyright to 2004 2004-01-17 04:14:43 +00:00
Josh Coalson
9c650a561a add undocumented option --apply-replaygain-which-is-not-lossless to flac; required a lot of reorganization; gain_analysis lib renamed to replaygain_analyis; replaygain_synthesis moved out of plugin_common into its own library in share/ 2003-12-17 04:51:06 +00:00
Matt Zimmerman
ca56e93b03 Build libtool archives instead of plain .a archives, so that PIC versions are
built and can they be portably linked into shared libraries.
2003-02-07 02:43:02 +00:00
Josh Coalson
e8a7601a4b change license verbiage 2003-02-07 00:14:32 +00:00
Josh Coalson
630d22ed7b remove reference to obsolete Makefile.vc 2003-01-25 18:32:56 +00:00
Josh Coalson
d8109c2d93 obsolete now that .dsp files are complete 2003-01-25 18:24:13 +00:00
Josh Coalson
8dea208c85 Second patch from X-Fixer: tweaks for better MSVC build 2003-01-14 09:05:41 +00:00
Josh Coalson
afae69f0e3 Add 2003 to copyright notice 2003-01-02 07:03:16 +00:00
Josh Coalson
3644a56b77 fix memory leaks 2002-12-13 05:37:35 +00:00
Josh Coalson
8f0c71b877 add "is_cd" flag to CUESHEET everywhere 2002-12-05 06:37:46 +00:00
Josh Coalson
44ca9fedaa fix library list 2002-12-04 06:57:38 +00:00
Josh Coalson
34c1ea8ca2 instrument for valgrind 2002-12-04 04:57:33 +00:00
Josh Coalson
bdec71ce10 minor fixes revealed by new tests 2002-11-23 02:22:27 +00:00
Josh Coalson
abfd3568ae minor fixes 2002-11-22 08:05:46 +00:00
Josh Coalson
fcc7a6884d get Makefile.vc system working again with new debug/release dirs and static/dynamic targets 2002-11-22 07:50:26 +00:00
Josh Coalson
dfdc818a50 new grabbag testers 2002-11-22 06:25:16 +00:00