* Fixed include paths in ref_gl

* doesn't try to build xatrix and rogue by default
This commit is contained in:
Jamie Wilkinson 2002-04-05 00:45:27 +00:00
parent cc662a1477
commit ff75ee0460
6 changed files with 39 additions and 27 deletions

View file

@ -1,4 +1,4 @@
# $Id$
#SUBDIRS = baseq2 ctf
SUBDIRS = baseq2 ctf xatrix rogue
SUBDIRS = baseq2 ctf
#SUBDIRS = baseq2 ctf xatrix rogue

View file

@ -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

View file

@ -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>

View file

@ -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>

View file

@ -40,7 +40,7 @@ char *strlwr (char *s);
#endif
*/
#include "../client/ref.h"
#include "ref.h"
#include "qgl.h"

View file

@ -40,7 +40,7 @@
#define QGL
#endif
#include "../ref_gl/gl_local.h"
#include "gl_local.h"
#include "glw.h"
//#include <GL/glx.h>