Commit Graph

37 Commits

Author SHA1 Message Date
Erik de Castro Lopo
b3c3e2ac4f Use recursive automake in src/share/ part of tree.
This will make it easier to incorporate the win_utf8_io stuff.
2013-04-01 19:46:12 +11:00
Erik de Castro Lopo
e14a08766a Add CLEANFILES to relevant Makefile.am to force removal of Windows EXEs.
This ensures they are removed even we've cross-compiled from Linux
to Windows and then configured for Linux. We don't want the Windows
EXEs to be run after configuring for Linux.
2013-03-29 21:25:59 +11:00
Erik de Castro Lopo
168c258aa3 Purge old un-maintained MSVC 6 project files. 2013-03-10 11:17:20 +11:00
Erik de Castro Lopo
fb13acc457 Revert parts of 96d081c1 that touched source code or autotools files. 2013-01-03 06:25:21 +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
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
698ee5c7ed Purge MINGW_WINSOCK_LIBS config variable.
This was only needed for ntohl() function which has already been removed.
2012-02-05 16:25:22 +11:00
Josh Coalson
dea0f5a044 add 2009 copyright 2009-01-07 07:31:28 +00:00
Josh Coalson
82b128050e update copyright for 2008 2008-02-28 05:34:21 +00:00
Josh Coalson
7819f0b318 add missing EXTRA_DIST files 2007-09-12 01:02:36 +00:00
Josh Coalson
330fc08a3f more mingw fixes 2007-08-01 03:03:51 +00:00
Josh Coalson
4fb6132d13 add vcproj files to EXTRA_DIST 2007-07-11 04:13:09 +00:00
Josh Coalson
e74bd9516c add 2007 copyright 2007-02-02 06:58:19 +00:00
Josh Coalson
8da98c897b merge libOggFLAC into libFLAC and libOggFLAC++ into FLAC++; documentation still needs work 2006-10-15 04:24:05 +00:00
Josh Coalson
b02574eea6 add --import-picture command to metaflac 2006-09-26 00:43:48 +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
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
630d22ed7b remove reference to obsolete Makefile.vc 2003-01-25 18:32:56 +00:00
Josh Coalson
afae69f0e3 Add 2003 to copyright notice 2003-01-02 07:03:16 +00:00
Josh Coalson
1dca1c2cee remove SHARE_LIBS 2002-12-03 06:30:14 +00:00
Josh Coalson
303123f93c beginnings of new --import-cuesheet-from and --export-cuesheet-to options 2002-11-26 06:21:06 +00:00
Josh Coalson
1786393e75 split up main.c into separate files 2002-11-08 05:37:43 +00:00
Josh Coalson
fc701471a4 changes for MSCV: added dsp file, rename any .cc files to .cpp 2002-10-16 22:06:04 +00:00
Matt Zimmerman
3960df1f78 Fix slightly botched search-and-replace which produced constructs like
"@ CFLAGS".
2002-10-15 01:41:11 +00:00
Matt Zimmerman
e525917900 Use config.h rather than passing all defs in CFLAGS 2002-10-10 16:51:06 +00:00
Josh Coalson
87099c08f3 add @LIBICONV@ to ..._LDADD 2002-10-08 06:22:00 +00:00
Josh Coalson
cd443f6c24 add Makefile.lite, Makefile.vc, etc. to EXTRA_DIST 2002-07-09 06:27:07 +00:00
Josh Coalson
ae48af1be0 add getopt reference 2002-05-17 06:26:02 +00:00
Josh Coalson
305ae2e4a7 update copyright date to include 2002 2002-01-26 17:36:39 +00:00
Josh Coalson
6b05bc51f7 add/update copyright and license notices 2001-06-08 00:13:21 +00:00
Josh Coalson
c91eca76c7 remove -lm from library dependencies 2001-02-23 23:10:57 +00:00
Josh Coalson
4d3b90f3c3 initial import 2001-02-23 21:38:26 +00:00