Commit Graph

57 Commits

Author SHA1 Message Date
Erik de Castro Lopo 9e5dd48473 Makefile.lite fixes
Patch-from: Robert Kausch <robert.kausch@freac.org>
2016-12-11 20:17:52 +11:00
Erik de Castro Lopo 6a5fe43b7e Bulk update copyright dates 2016-12-05 06:35:39 +11:00
Erik de Castro Lopo 089caeae8e Makefile.lite: Improved solution to CFLAGS from environment 2016-05-13 06:50:18 +10:00
Erik de Castro Lopo 2a47450d05 Makefile.lite: Pick up `CFLAGS` from the environment
This allows extra CFLAGS to be set on the command line. Eg

     CFLAGS=Werror make -f Makefile.lite
2016-05-12 19:22:56 +10:00
Thomas Zander d20a79a8bd Let Makefile.lite build succeed on FreeBSD amd64
- build/config.mk: some OS call x86_64 amd64
- build/config.mk: FreeBSD needs -DHAVE_SYS_PARAM_H in CFLAGS
- build/exe.mk and lib.mk: default compilers on FreeBSD are cc/c++
- src/libFLAC++/Makefile.lite: $(OS) is not defined
- src/libFLAC++/Makefile.lite: Link -lstdc++ on FreeBSD

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2015-10-12 08:15:18 +11:00
Erik de Castro Lopo 1437391577 Update copyright years to include 2014. 2014-11-25 13:04:30 +11:00
Erik de Castro Lopo b60f16bbc8 Remove old/broken PPC/Altivec code.
* Removes FLAC__lpc_restore_signal_asm_ppc_altivec_16*
  from lpc.h and stream_decoder.c
* Removes PPC-specific code from cpu.c and cpu.h
* Removes PPC stuff from libFLAC/Makefile.lite and build/*.mk
* Removes as/gas/PPC-specific stuff from configure.ac and
  libFLAC/Makefile.am*
* Removes libFLAC/ppc folder and remove "src/libFLAC/ppc*/Makefile"
  lines from configure.ac

Patch-from: lvqcl <lvqcl.mail@gmail.com>
2014-09-17 23:21:39 +10:00
Evan Ramos f658ea5ae7 Further updates to the Makefile.lite build system.
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2014-06-27 19:37:33 +10:00
Evan Ramos 9df6736ec0 Update Makefile.lite build system.
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2014-06-24 21:02:24 +10:00
Ulrich Klauer cd4ddabe0f Language fix: "difference licenses"
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-05-27 18:08:57 +10:00
Erik de Castro Lopo b1982fbc5f Set version to 1.3.0 and update coyprights throughout. 2013-05-26 19:17:53 +10: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
Josh Coalson dea0f5a044 add 2009 copyright 2009-01-07 07:31:28 +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 82b128050e update copyright for 2008 2008-02-28 05:34:21 +00:00
Josh Coalson 1c2d61ecb1 add more warning flags 2007-09-13 15:08:02 +00:00
Josh Coalson 22d3f2ad2d add debug info to nasm debug builds 2007-03-30 01:00:30 +00:00
Josh Coalson e74bd9516c add 2007 copyright 2007-02-02 06:58:19 +00:00
Josh Coalson 9e7791586d remove redundant -Wextra 2006-11-17 06:53:44 +00:00
Josh Coalson 6948a474f6 add -Wextra to gcc flags 2006-11-08 01:22:16 +00:00
Josh Coalson 0395dac13f add 2206 to copyright notice 2006-04-25 06:59:33 +00:00
Josh Coalson a78fac662c add 2005 to copyright notices 2005-01-25 04:17:55 +00:00
Josh Coalson f8ecddeb7d fix typos, remove obsolete $(ORDINALS_H) 2004-12-30 03:56:08 +00:00
Josh Coalson 28306cc97e don't build dynamic libs on OS X 2004-12-30 03:48:25 +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 5b782b4da6 replace the compile time ordinals.h.in->ordinals.h conversion with a static ordinals.h 2003-09-15 21:14:26 +00:00
Josh Coalson e8a7601a4b change license verbiage 2003-02-07 00:14:32 +00:00
Josh Coalson f0a8c4fc87 minor comments 2003-01-15 03:17:51 +00:00
Josh Coalson afae69f0e3 Add 2003 to copyright notice 2003-01-02 07:03:16 +00:00
Josh Coalson 962bb3b17e explicited defines for valgrind testing and exhaustive testing modes 2002-12-28 07:08:31 +00:00
Josh Coalson 34c1ea8ca2 instrument for valgrind 2002-12-04 04:57:33 +00:00
Josh Coalson b166b9d76a better clean target 2002-11-21 09:09:03 +00:00
Josh Coalson b74fc98b48 revamp Makefile.lite system, use separate dirs and names for debug and release targets and object files 2002-11-20 06:40:08 +00:00
Josh Coalson cd0e322d2d add notion of topdir to Makefile.lite build system 2002-10-23 22:08:13 +00:00
Josh Coalson 5601bcad17 add rules for .cpp files 2002-10-16 22:33:56 +00:00
Josh Coalson 0eb674cc8e link with gcc instead of ld 2002-09-12 06:40:55 +00:00
Josh Coalson 1ce20ee4c0 parameterize static and shared library suffixes 2002-08-14 00:50:48 +00:00
Josh Coalson 087a5d2123 fix makedepend invocation 2002-07-18 05:33:06 +00:00
Josh Coalson b7557fd93e add targets for building C++ code 2002-05-17 06:08:44 +00:00
Josh Coalson 1152f9fe26 update copyright date to include 2002 2002-01-26 18:05:12 +00:00
Josh Coalson 6e14490030 add support for Darwin builds 2001-12-07 19:28:25 +00:00
Josh Coalson 9bab041a95 tweak the FLAC__INLINE macro to FLaC__INLINE to avoid conflict with autoconf 2001-07-20 23:44:35 +00:00
Josh Coalson 9e975add2b add macro define for inlining 2001-07-18 23:49:12 +00:00
Josh Coalson 3ce31b4b21 remove -ffast-math from gcc CFLAGS 2001-07-18 00:27:38 +00:00
Josh Coalson 6ca4b1b2b2 add support for checking sizes of different types through configure and dynamically generating include/FLAC/ordinals.h 2001-06-29 02:54:59 +00:00
Josh Coalson 1162f1829e minor fixes 2001-06-19 06:48:21 +00:00
Josh Coalson 287fccd661 fix default versioning behavior 2001-06-18 21:30:39 +00:00
Josh Coalson e6499bdf18 rename i386 to ia32 everywhere 2001-06-13 18:11:25 +00:00