mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-11-10 07:12:01 +00:00
* Fixed include paths in ref_gl
* doesn't try to build xatrix and rogue by default
This commit is contained in:
parent
cc662a1477
commit
ff75ee0460
6 changed files with 39 additions and 27 deletions
|
@ -1,4 +1,4 @@
|
|||
# $Id$
|
||||
|
||||
#SUBDIRS = baseq2 ctf
|
||||
SUBDIRS = baseq2 ctf xatrix rogue
|
||||
SUBDIRS = baseq2 ctf
|
||||
#SUBDIRS = baseq2 ctf xatrix rogue
|
||||
|
|
|
@ -49,3 +49,12 @@ ref_glx_so_SOURCES = $(REF_GL) gl_glx.c
|
|||
|
||||
AM_CFLAGS = -Wall -Werror -pipe
|
||||
AM_CPPFLAGS = -DLINUX_VERSION="\"$(VERSION)\"" -Dstricmp=strcasecmp -I../game
|
||||
|
||||
ref_glx_so_CFLAGS = -fPIC
|
||||
ref_glx_so_LDFLAGS = -shared
|
||||
|
||||
#ref_fxgl_so_CFLAGS = -fPIC
|
||||
#ref_fxgl_so_LDFLAGS = -shared
|
||||
|
||||
#ref_sdlgl_so_CFLAGS = -fPIC
|
||||
#ref_sdlgl_so_LDFLAGS = -shared
|
||||
|
|
41
src/common.c
41
src/common.c
|
@ -1,23 +1,26 @@
|
|||
/*
|
||||
Copyright (C) 1997-2001 Id Software, Inc.
|
||||
/* $Id$
|
||||
*
|
||||
* misc functions used in client and server
|
||||
*
|
||||
* Copyright (C) 1997-2001 Id Software, Inc.
|
||||
* Copyright (c) 2002 The Quakeforge Project.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
*/
|
||||
// common.c -- misc functions used in client and server
|
||||
#include "qcommon.h"
|
||||
#include <setjmp.h>
|
||||
|
||||
|
|
|
@ -41,12 +41,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#include <unistd.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include "../ref_gl/gl_local.h"
|
||||
#include "gl_local.h"
|
||||
|
||||
#include "../client/keys.h"
|
||||
#include "keys.h"
|
||||
|
||||
#include "../src/rw.h"
|
||||
#include "../src/glw.h"
|
||||
#include "rw.h"
|
||||
#include "glw.h"
|
||||
|
||||
#include <GL/glx.h>
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ char *strlwr (char *s);
|
|||
#endif
|
||||
*/
|
||||
|
||||
#include "../client/ref.h"
|
||||
#include "ref.h"
|
||||
|
||||
#include "qgl.h"
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
#define QGL
|
||||
#endif
|
||||
|
||||
#include "../ref_gl/gl_local.h"
|
||||
#include "gl_local.h"
|
||||
#include "glw.h"
|
||||
|
||||
//#include <GL/glx.h>
|
||||
|
|
Loading…
Reference in a new issue