Commit graph

328 commits

Author SHA1 Message Date
Tim Angus
8f43965e13 * OpenBSD support (Toni Spets <toni.spets@gmail.com>) 2007-10-12 23:27:47 +00:00
Ludwig Nussel
66b31c94b9 actually build 64bit binaries on ppc64 2007-10-12 10:25:13 +00:00
Tim Angus
7562caa310 * Move the conditional compilation of bg_lib.c from the Makefile to cpp in
order to force dependency generation on bg_lib.*
* Make testing USE_ defines more consistent
2007-09-22 20:32:11 +00:00
Tim Angus
cadaaffcce * Split off DEPEND_CFLAGS so -MMD isn't used when doing library checks 2007-09-14 23:07:28 +00:00
Tim Angus
39ab3294bf * Remove -Werror from TOOLS_CFLAGS 2007-09-13 22:37:33 +00:00
Tim Angus
c7c2ee1b84 * Improve Makefile startup time
+ Merge q3asm and q3lcc Makefiles into the core Makefile
  + Don't find .d files, create a list from .o
  + .asm files now depend on q3lcc
  + .qvm files now depend on q3asm
* IMPORTANT NOTE: do a "make distclean" if you have problems
2007-09-12 23:37:33 +00:00
Tim Angus
d6f32df425 * Revert to 1172 2007-09-10 20:10:39 +00:00
Coyote
8ca91d6731 Forget about SDL_DIR, remove versioncheck on sunos until I can fix it. 2007-09-10 19:29:41 +00:00
Coyote
2130bce927 Minor changes for SunOS... 2007-09-10 16:41:09 +00:00
Tony J. White =
e75c19b45d * Adds preliminary support for win32 dedicated server console.
Functionality is still quite limited (no tab completion, history, etc.),
  but at least with this console you can scroll without locking up
  your server.
2007-09-07 21:27:01 +00:00
Tim Angus
2a02c656e0 * Seems some shells *cough*dash*cough* have a broken built-in "echo" 2007-09-06 22:42:06 +00:00
Tim Angus
54ba74964a * Build dedicated server binary on Windows 2007-09-06 20:31:30 +00:00
Tim Angus
e56a151a97 * Compile time and runtime checks for SDL >= 1.2.7
* Modified versioning to play nice with the reverted Makefile change
2007-09-06 18:21:10 +00:00
Ludwig Nussel
d5e9f1216e restore previous versioning scheme for svn snapshots. This scheme is
necessary for continuous version numbers of (rpm) packages.
e.g. 1.35_SVNxxxx > 1.35 > 1.34_SVNxxxx > 1.34
2007-09-06 08:26:11 +00:00
Tim Angus
672cfbf16f * Merge unified-sdl to trunk
* Bump Q3_VERSION to 1.35
2007-09-05 18:17:46 +00:00
Tim Angus
0b3a077e15 * Merge win_net.c and unix_net.c
+ Move win32/win_net.c to qcommon/net_ip.c and make it portable
  + Remove unix_net.c, but incorporate its revision history into win_net.c
  + Remove all IPX support -- this remains compatible with existing mods
  + This change also inadvertently gets us SOCKS support on non-Windows
    platforms
2007-08-28 16:42:13 +00:00
Ludwig Nussel
a2d413428a make V=1 shows gcc command line 2007-08-27 07:02:54 +00:00
Tim Angus
1144f567e8 * PNG support from Joerg Dietrich <dietrich_joerg@t-online.de>
* Cleanup of tabulation in R_LoadImage
2007-08-23 17:23:15 +00:00
Ludwig Nussel
fbe65853e4 new x86_64 vm that doesn't use gas 2007-08-16 11:02:21 +00:00
Tony J. White =
e8bbb1f2d1 * (bug 3268) Replace Mac OS X Carbon API calls with native ones (thanks
to i3enedek).
* remove some spammy Mac OS X printf's regarding local network detection
* replaced a #warning for non-OS X PPC systems with a call to
  msync(..., MS_INVALIDATE).  This needs testing.
2007-07-20 14:34:44 +00:00
Coyote
821995dcf1 Add specific CC for SunOS 2007-07-17 08:12:35 +00:00
Tim Angus
3944b02025 * Generate QVM dependicies in a (much) better way 2007-07-16 23:30:53 +00:00
Tim Angus
155802bc0c * Fix parallel build
* Print message indicating CC, CFLAGS and targets before building
* Update .PHONY targets
* Remove build_release and build_debug targets
2007-07-16 21:34:05 +00:00
Tim Angus
2d5495d34b * Make make make less noise 2007-07-15 12:08:11 +00:00
Tim Angus
f988185439 * Replace horrendously long list of build rules with set of inference rules
* Remove unused DO_DEBUG_CC and DO_SHLIB_DEBUG_CC commands
* Fix various bits of trailing whitespace
* Remove vm_ppc.c and move vm_ppc_new.c into its place
* Rename winquake.rc to win_resource.rc
2007-07-14 23:57:04 +00:00
Zachary Slater
3d70f2ccff OS X mouse hack, must remove when SDL adds it internally.
Please see bugzilla case:
http://bugzilla.icculus.org/show_bug.cgi?id=3206
and
http://bugzilla.libsdl.org/show_bug.cgi?id=445
2007-07-09 01:06:18 +00:00
Tim Angus
2fe29575c4 * Remove silly MINGW_CFLAGS hack 2007-06-02 19:56:43 +00:00
Tim Angus
1dd785e1d2 * Assumptions are already made that the compiler used is GCC, so it seems silly
to make per-platform exceptions in order to make the IS_GCC test work. Instead
  just rely on $(CC) being set by the system (i.e. make) and it being GCC. If
  this causes problems on any platforms please discuss it on the mailing list
  or IRC
2007-06-02 15:26:30 +00:00
Coyote
869ca5dbb3 Changes for SunOS: grep -q doesn't work on SunOS and GNU make on SunOS defines CC as 'cc' by default (it's not present). 2007-05-30 19:36:40 +00:00
Tim Angus
0f679da4c7 * Fix dependency generation when GCC is invoked using just "cc" 2007-05-29 21:51:37 +00:00
Tim Angus
4a82d86070 * Allow CC to be overridden externally to the Makefile
* Make cross-make-mingw.sh more generic using the above
* Update README to reflect changes
* Fix a couple of warnings in the Windows input layer
2007-05-29 19:22:24 +00:00
Ludwig Nussel
09034c4c64 use ioquake3 instead of quake3 for tar file in dist target 2007-01-23 10:02:32 +00:00
Coyote
17c443a3fd Changes to build defines for Solaris on i86pc. Minor fix to q_platform.h for Solaris. 2006-11-30 08:01:43 +00:00
Tony J. White =
90e611cea3 * Mac OS X ppc version needs to be compiled with an -O flag (-O3 is used)
or the client simply neglects to draw most models.  I didn't believe it 
  myself, but I can reproduce by compiling with both XCode 2.3 on PPC and 
  XCode 2.4 on x86.  Compiler flag voodoo to the extreeeem!
2006-09-24 00:11:08 +00:00
Tony J. White =
d45ece8223 * Mac OS X compiler optimization flag -O3 (or any -O flag) generate broken
pk3 handling in the new XCode 2.4
* use more proper SSE compiler optimization flags for Mac OS X on x86
2006-09-23 15:25:34 +00:00
Tony J. White =
ea997b340e * (bug 2813) ioquake3 on win32 is no longer linked to SHFolder.dll. instead
it is dynamically loaded at run-time.  this means that win95/win98
  systems can fail the homepath detection gracefully if they don't have the
  dll installed (this dll is only provided by Internet Explorer updates
  on those systems)
2006-09-20 16:13:20 +00:00
Tony J. White =
2af23e813d * add cURL support for HTTP/FTP downloading (bug 2661) 2006-09-11 16:41:55 +00:00
Tony J. White =
8f965b9aad * fixed Mac OS X cross compiling from a ppc host 2006-08-31 14:33:37 +00:00
Tony J. White =
1f8c2c56eb * moved SVN_VERSION #ifdef from client.h to q_shared.h so dedicated server
builds when svn version cannot be detected
2006-08-26 06:12:15 +00:00
Tony J. White =
90b35ec5c8 * Print the SVN version string in Com_Init() 2006-08-25 16:25:51 +00:00
Tony J. White =
a4d1556bf7 * Add SVN version string to client console (clean up last commit) 2006-08-22 16:30:04 +00:00
Tony J. White =
0df6305274 * Add SVN version to the version string displayed in the client console
if it can be detected
2006-08-22 16:13:51 +00:00
Tim Angus
e41d081710 * qvm files no longer installed by "make copyfiles"
* Loopback clients only get snapshots at the server frame rate now
  (Anonymous <nkylqinhvgcbyl@mailinator.com>)
* JPEG chroma subsampling disabled if the quality value is >= 85
  (Anonymous <nkylqinhvgcbyl@mailinator.com>)
* cl_lanForcePackets. When set to 0 (default is 1) the cl_maxpackets setting
  will be ignored if on a LAN. (Anonymous <nkylqinhvgcbyl@mailinator.com>)
2006-08-13 17:09:05 +00:00
Tony J. White =
fe35a8eef8 bug 2723
* ARCH should be i386 instead of x86 for Mac OS X too
2006-08-02 05:12:20 +00:00
Tony J. White =
9a6fad9cf1 bug 2723
* adds a shell script ./make-macosx-ub.sh that builds Mac OS X Universal Binary
* fixes Mac OS X x86 VM crashes (-mstackrealign)
* adds current working directory to the search path on Mac OS X to make
  working with .app bundles easier
* various tweaks to make ioquake3 build against the 10.2 SDK 
* changed default OpenAL .dylib location to the path of the one included with
  the Framework bundled in 10.4 (for USE_OPENAL_DLOPEN)
* updated to a Universal libSDL-1.2.0.dylib
2006-08-02 04:01:36 +00:00
Tony J. White =
7cb5edc9ed bug 2813
* fixed bug with new win32 home path detection 
* added SHFolder.lib linking to the mingw build for win98/win95 compat
2006-08-01 17:36:47 +00:00
Thilo Schulz
d9fe81c08e Add HAVE_VM_COMPILED=true for x86 FreeBSD so vm_x86.c gets built. 2006-06-06 22:49:42 +00:00
Ludwig Nussel
eaa8f1c989 refactor platform specific stuff a bit 2006-06-06 18:09:09 +00:00
Ryan C. Gordon
997dffc649 Correction in PowerPC JIT code. Fixes crash in server browser, etc, on Mac OS X
and probably PowerPC Linux, too...fixes Bugzilla #2519.
2006-05-29 03:02:54 +00:00
Zachary Slater
af7fa1784d sdl1111111111111111111111111111 2006-05-25 16:22:19 +00:00
Thilo Schulz
75eb99b716 SDL built won't get copied anymore because it gets built by default even if SMP doesn't work. 2006-04-29 19:54:54 +00:00
Thilo Schulz
e8a5e4c1ad Applied patch by Ben Noordhuis:
- Fix for "make copyfile" errors when certain parts are not built.
- SMP binary and QVMs now get copied when built
2006-04-29 19:11:37 +00:00
Tim Angus
8aecee5158 * cl_guid for semi-reliable server authentication (from tjw) 2006-04-22 22:21:56 +00:00
Zachary Slater
7aed801011 God damn spaces. 2006-04-19 23:01:48 +00:00
Zachary Slater
2cbd5a1493 Minor makefile change (blame gentoo's vapier if it doesn't work right) 2006-04-19 22:57:04 +00:00
Ludwig Nussel
08f44d8247 solaris tr apparently doesn't work as the GNU one 2006-04-04 14:33:35 +00:00
Ludwig Nussel
150ad09ce1 PLATFORM is lower case 2006-04-04 07:12:24 +00:00
Tim Angus
066f79f744 * web directory no longer present, so don't try to remove it
* Cosmetic patch from zinx
2006-03-24 21:48:44 +00:00
Aaron Gyes
e31d46651d webspace is separate now, so generate one splash image. 2006-03-24 07:29:52 +00:00
Tim Angus
8415024a08 * Fix native MinGW QVM compilation 2006-03-21 22:21:05 +00:00
Ludwig Nussel
aed3c9c667 package files with owner root 2006-03-05 19:10:49 +00:00
Aaron Gyes
9a996c1338 Makefile 2006-03-01 22:32:02 +00:00
Aaron Gyes
92cac77033 More 2006-03-01 00:42:45 +00:00
Aaron Gyes
b777855879 I guess the image is getting converted on the fly for the installer, lets at least add a border so it doesn't clash so bad 2006-02-22 06:13:48 +00:00
Ludwig Nussel
f3bcf07ecf use new logo file name 2006-02-21 22:12:55 +00:00
Tim Angus
b90f0825bf * Removed some unused dirs from makedirs 2006-01-26 22:32:00 +00:00
Tim Angus
982db8be13 * SDL and OpenAL enabled on FreeBSD (patch from espelho) 2006-01-26 21:20:47 +00:00
Tim Angus
73e4d33d3b * s/i686/i586/ - see bug #2578 2006-01-19 18:16:44 +00:00
Tim Angus
e8929d1a61 * <BOLD AND FAT>"make distclean" now does what you'd expect</BOLD AND FAT>
* "make clean toolsclean" now does what "make distclean" did before
2006-01-18 16:51:47 +00:00
Tim Angus
7b845a1741 * Move code/unix/Makefile to ./Makefile 2006-01-15 21:45:57 +00:00
Tim Angus
eb40b1a516 [ The revision is intentionally left broken ] 2006-01-15 21:42:52 +00:00
Ludwig Nussel
71d1b70767 convert the logo to xpm during "make dist" 2005-11-30 21:34:52 +00:00
Ludwig Nussel
be42cb3201 files to create a loki-setup based installer. run "make installer" 2005-11-27 15:34:16 +00:00
Aaron Gyes
2f33fe1894 * Make copyfiles target work from top-level Makefile 2005-11-03 06:48:44 +00:00
Tim Angus
49b23cd935 * Don't include the website in the dist tarball 2005-11-02 16:08:21 +00:00
Tim Angus
41cbd8c9fd * VM game modules now built from the main Makefile 2005-10-04 23:54:51 +00:00
Zachary Slater
4d2705d6c6 Fixed the version and added a little tiny bit to the readme 2005-08-29 18:58:30 +00:00
Ludwig Nussel
95814311c3 add toplevel Makefile 2005-08-28 10:40:28 +00:00