Commit graph

140 commits

Author SHA1 Message Date
Ryan C. Gordon
e2d63b1fea Enable -fvisibility=hidden on Linux.
This will prevent further symbol clashes, and makes the shared libraries
 10 to 20 percent smaller.

We should enable this on other platforms, too, if we can guarantee they'll
 use gcc 4.0 or later and the platform supports it.
2009-09-15 02:48:17 +00:00
Ryan C. Gordon
592062c548 Make TOOLS_CFLAGS more easily customisable in the Makefile.
Fixes Bugzilla #4155.
2009-09-15 01:36:17 +00:00
Ryan C. Gordon
2f0abce691 Makefile: Allow overriding options for different setups, OpenBSD fixes.
Fixes Bugzilla #3955.
2009-09-14 23:49:20 +00:00
Zachary Slater
ca91bb1ab5 Patch from kevlarman for fixing external speex compile 2009-08-02 02:21:23 +00:00
Ludwig Nussel
161dc2ddf5 fall back to sdl-config if SDL_CFLAGS are empty
works around buggy Solaris installations where pkg-config is
installed but can't find the SDL config file
2009-05-05 18:19:34 +00:00
Ludwig Nussel
b8097554ac set SDL CFLAGS and LIBS at central place 2009-05-03 18:49:48 +00:00
Ludwig Nussel
94bc49653d increase version in trunk 2009-04-13 20:20:05 +00:00
Ludwig Nussel
2864898147 Makefile: Enable new sparc JIT on Linux.
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-02 17:29:46 +00:00
Ludwig Nussel
913e81522c Makefile: Use "-mtune=ultrasparc3 -mv8plus" on Linux/Sparc.
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-02 17:29:26 +00:00
Ludwig Nussel
a1f9885664 fix build with newer git installations 2009-01-13 07:57:01 +00:00
Ludwig Nussel
057e7edf18 use -fno-strict-aliasing again. code is just not ready yet. 2008-11-12 13:40:04 +00:00
Ludwig Nussel
1828da63de fix empty loops causing build failures in mingw
Patch by Przemysław Iskra (#3813)
2008-11-10 09:47:02 +00:00
Ludwig Nussel
b546e4712d enable new powerpc vm
Patch by Przemysław Iskra (#3796)
2008-11-10 09:46:41 +00:00
Ludwig Nussel
c754d6fdfb fix strict aliasing issues
Patch by Przemysław Iskra (#3805)
2008-11-03 17:03:54 +00:00
Ludwig Nussel
e1983208f0 libraries do not belong to LDFLAGS.
Patch creates separate *LIBS variables for libraries, leaving LDFLAGS for real
flags, like -shared or --as-needed. Also CFLAGS are used when linking:
-m32/-m64 belongs to CFLAGS, not LDFLAGS; linker additionally optimizes output
file when -O* is in flags.
Patch by Przemysław Iskra (#3813)
2008-11-02 17:32:21 +00:00
Ludwig Nussel
c3a8156cb6 x86_64_assembler should use separate object file for dedicated server
patch by  Przemysław Iskra
2008-11-02 17:32:18 +00:00
Tim Angus
b555d68b3f * (bug #3729) server dependencies on client.h (Ben Millwood)
* (bug #3731) BUILD_MISSIONPACK flag in Makefile (Gabriel Schnoering
  <gabriel.schnoering@gmail.com>)
* (bug #3756) Q3VM crashes on unaligned block copy with SIGBUS (Patrick Baggett
  <baggett.patrick@figglesoftware.com>) and...
* (bug #3755) IOQuake3 shouldn't use GCC-specific __FUNCTION__
2008-08-22 22:47:26 +00:00
Tim Angus
953200cafc * Update to jpeg-6b (only a decade old) 2008-08-21 23:29:09 +00:00
Tim Angus
9705664d2c * Alpha sort the jpeg file list in the Makefile, just because 2008-08-19 10:03:14 +00:00
Tim Angus
7edcc7d16a * Use IPv6 header qcommon/wspiapi.h if it has been added by the end user
* Update README to explain the Windows XP requirement
2008-08-09 19:12:30 +00:00
Tim Angus
1b87aff448 * Elaborate on the reasons for requiring Windows XP 2008-08-04 11:34:04 +00:00
Ludwig Nussel
2ed334b2be fix build without VOIP (David Severwright, bug#3720) 2008-07-16 07:15:09 +00:00
Ludwig Nussel
5208bf8273 also define proper version when using git-svn 2008-07-16 07:14:55 +00:00
Tim Angus
956ce9bf12 * (bug 3692) Makefile infinitely recurses if no targets are defined 2008-07-05 22:34:23 +00:00
Ludwig Nussel
5513fa3d75 fix the build on openbsd (Ian Lindsay) 2008-06-20 07:08:40 +00:00
Ludwig Nussel
35e2091c90 allow linking against an external speex library 2008-06-05 08:55:08 +00:00
Ryan C. Gordon
b9a9727689 Allow USE_LOCAL_HEADERS to work with SDL on Linux builds.
Otherwise, cross-compiling doesn't work.
2008-06-04 05:28:54 +00:00
Ludwig Nussel
b8d3888f31 move voip cflags definition to platform independent place 2008-06-02 12:12:00 +00:00
Ryan C. Gordon
d43ecc9909 Fixed non-VoIP builds. 2008-06-02 06:46:41 +00:00
Ryan C. Gordon
7b4a796e44 Added libspeex to revision control, and updated Makefile to use it. 2008-06-01 18:53:28 +00:00
Ryan C. Gordon
12326a9eac Initial patch for in-game VoIP support! 2008-06-01 07:51:23 +00:00
Ludwig Nussel
0ee3960225 mumble link support
The coordinate calculation was adopted from Warsow's mumble patch.
2008-05-30 17:19:31 +00:00
Thilo Schulz
81f9b20bfb - Workaround for buggy MacOSX getaddrinfo() implementation that doesn't accept AF_UNSPEC parameter in hints structure. Thanks icculus for reporting.
- Add -faltivec flag for debug builds.
2008-05-17 10:46:41 +00:00
Tim Angus
a857487f9b * Fix a bunch of compile warnings
* Only call pkg-config if it exists
* Remove cl_consoleHistory from README
2008-05-10 18:51:02 +00:00
Ludwig Nussel
d7bdf4b344 define the product version in the Makefile 2008-05-06 20:24:32 +00:00
Ludwig Nussel
2f71e61b1d mingw32: allow to override cflags and libs for external libraries 2008-04-28 07:10:32 +00:00
Thilo Schulz
425c351d1b - Implement stereo rendering with anaglyph images.
- Add r_greyscale for black&white rendering
2008-04-27 17:32:14 +00:00
Tony J. White =
48d9999698 * enable building of QVM for Mac OS X again 2008-04-23 20:59:12 +00:00
Ludwig Nussel
3327ce1ab3 add nsis installer target for mingw32 2008-04-15 14:19:03 +00:00
Thilo Schulz
b3822d03e2 Include #ifdef to make it easier to create a stand-alone binary. 2008-04-09 23:43:30 +00:00
Tim Angus
85bee47f52 * Fix to MinGW build following IPv6 changes 2008-04-05 16:01:58 +00:00
Thilo Schulz
b2225a823c http://bugzilla.icculus.org/show_bug.cgi?id=3579
Patch to make Solaris work again by Vincent Cojot.
2008-03-28 16:16:38 +00:00
Tim Angus
6ddf70b0eb * Compile bg_* files separately for each game module, as originally intended 2008-03-17 16:47:40 +00:00
Ludwig Nussel
84f32478b9 remove code duplicated from libjpeg and make internal functions static 2008-02-14 11:13:51 +00:00
Ludwig Nussel
85ba66e7e8 move all image decoders into separate files 2008-02-14 11:13:18 +00:00
Ludwig Nussel
4eec54c338 move png support to separate file 2008-02-12 10:03:21 +00:00
Tony J. White =
ff84183fe7 * print LDFLAGS summary in the make output after CFLAGS summary (Hobbes)
* Fix typo in make-macosx-ub.sh (Hobbes)
2008-01-03 19:04:23 +00:00
Tony J. White =
cabf9b74f9 * Update the Mac OS X build process (again)
* Allow BUILD_* env vars to be passed to make to build only specific 
  components
2008-01-03 06:19:11 +00:00
Thilo Schulz
45698be226 Fix build process on 10.5 and 10.4 sdks for tjw's modifications 2007-12-31 16:11:29 +00:00
Tony J. White =
2d32d3dbff * Improved Mac OS X build support.
* Dropped support for Mac OS X 10.2 to simplify things.  If anyone still
  needs this version supported let me know.
2007-12-31 03:47:36 +00:00