head	1.2;
access;
symbols
	netbsd-7-2-RELEASE:1.1.1.6
	netbsd-7-1-2-RELEASE:1.1.1.6
	netbsd-7-1-1-RELEASE:1.1.1.6
	netbsd-7-1:1.1.1.6.0.28
	netbsd-7-1-RELEASE:1.1.1.6
	netbsd-7-1-RC2:1.1.1.6
	netbsd-7-1-RC1:1.1.1.6
	netbsd-7-0-2-RELEASE:1.1.1.6
	netbsd-7-0-1-RELEASE:1.1.1.6
	netbsd-7-0:1.1.1.6.0.26
	netbsd-7-0-RELEASE:1.1.1.6
	netbsd-7-0-RC3:1.1.1.6
	netbsd-7-0-RC2:1.1.1.6
	netbsd-7-0-RC1:1.1.1.6
	netbsd-5-2-3-RELEASE:1.1.1.6
	netbsd-5-1-5-RELEASE:1.1.1.6
	netbsd-6-0-6-RELEASE:1.1.1.6
	netbsd-6-1-5-RELEASE:1.1.1.6
	netbsd-7:1.1.1.6.0.24
	netbsd-7-base:1.1.1.6
	netbsd-6-1-4-RELEASE:1.1.1.6
	netbsd-6-0-5-RELEASE:1.1.1.6
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.6
	riastradh-drm2:1.1.1.6.0.22
	riastradh-drm2-base:1.1.1.6
	netbsd-6-1-3-RELEASE:1.1.1.6
	netbsd-6-0-4-RELEASE:1.1.1.6
	netbsd-5-2-2-RELEASE:1.1.1.6
	netbsd-5-1-4-RELEASE:1.1.1.6
	netbsd-6-1-2-RELEASE:1.1.1.6
	netbsd-6-0-3-RELEASE:1.1.1.6
	netbsd-5-2-1-RELEASE:1.1.1.6
	netbsd-5-1-3-RELEASE:1.1.1.6
	netbsd-6-1-1-RELEASE:1.1.1.6
	netbsd-6-1:1.1.1.6.0.20
	netbsd-6-0-2-RELEASE:1.1.1.6
	netbsd-6-1-RELEASE:1.1.1.6
	netbsd-6-1-RC4:1.1.1.6
	netbsd-6-1-RC3:1.1.1.6
	netbsd-6-1-RC2:1.1.1.6
	netbsd-6-1-RC1:1.1.1.6
	netbsd-5-2:1.1.1.6.0.18
	netbsd-6-0-1-RELEASE:1.1.1.6
	netbsd-5-2-RELEASE:1.1.1.6
	netbsd-5-2-RC1:1.1.1.6
	netbsd-6-0:1.1.1.6.0.16
	netbsd-6-0-RELEASE:1.1.1.6
	netbsd-6-0-RC2:1.1.1.6
	netbsd-6-0-RC1:1.1.1.6
	netbsd-6:1.1.1.6.0.14
	netbsd-6-base:1.1.1.6
	netbsd-5-1-2-RELEASE:1.1.1.6
	netbsd-5-1-1-RELEASE:1.1.1.6
	netbsd-5-1:1.1.1.6.0.12
	netbsd-5-1-RELEASE:1.1.1.6
	netbsd-5-1-RC4:1.1.1.6
	netbsd-5-1-RC3:1.1.1.6
	netbsd-5-1-RC2:1.1.1.6
	netbsd-5-1-RC1:1.1.1.6
	netbsd-5-0-2-RELEASE:1.1.1.6
	netbsd-5-0-1-RELEASE:1.1.1.6
	netbsd-5-0:1.1.1.6.0.10
	netbsd-5-0-RELEASE:1.1.1.6
	netbsd-5-0-RC4:1.1.1.6
	netbsd-5-0-RC3:1.1.1.6
	netbsd-5-0-RC2:1.1.1.6
	netbsd-5-0-RC1:1.1.1.6
	netbsd-5:1.1.1.6.0.8
	netbsd-5-base:1.1.1.6
	netbsd-4-0-1-RELEASE:1.1.1.6
	netbsd-4-0:1.1.1.6.0.6
	netbsd-4-0-RELEASE:1.1.1.6
	netbsd-4-0-RC5:1.1.1.6
	netbsd-4-0-RC4:1.1.1.6
	netbsd-4-0-RC3:1.1.1.6
	netbsd-4-0-RC2:1.1.1.6
	netbsd-4-0-RC1:1.1.1.6
	netbsd-3-1-1-RELEASE:1.1.1.5.6.1
	netbsd-3-0-3-RELEASE:1.1.1.5.6.1
	abandoned-netbsd-4-base:1.1.1.6
	abandoned-netbsd-4:1.1.1.6.0.2
	netbsd-3-1:1.1.1.5.6.1.0.4
	netbsd-3-1-RELEASE:1.1.1.5.6.1
	netbsd-3-0-2-RELEASE:1.1.1.5.6.1
	netbsd-3-1-RC4:1.1.1.5.6.1
	netbsd-3-1-RC3:1.1.1.5.6.1
	netbsd-3-1-RC2:1.1.1.5.6.1
	netbsd-3-1-RC1:1.1.1.5.6.1
	netbsd-4:1.1.1.6.0.4
	netbsd-4-base:1.1.1.6
	netbsd-3-0-1-RELEASE:1.1.1.5.6.1
	netbsd-3-0:1.1.1.5.6.1.0.2
	netbsd-3-0-RELEASE:1.1.1.5.6.1
	netbsd-3-0-RC6:1.1.1.5.6.1
	netbsd-3-0-RC5:1.1.1.5.6.1
	netbsd-3-0-RC4:1.1.1.5.6.1
	netbsd-3-0-RC3:1.1.1.5.6.1
	netbsd-3-0-RC2:1.1.1.5.6.1
	netbsd-3-0-RC1:1.1.1.5.6.1
	netbsd-2-0-3-RELEASE:1.1.1.5
	netbsd-2-1:1.1.1.5.0.8
	netbsd-2-1-RELEASE:1.1.1.5
	netbsd-2-1-RC6:1.1.1.5
	netbsd-2-1-RC5:1.1.1.5
	netbsd-2-1-RC4:1.1.1.5
	netbsd-2-1-RC3:1.1.1.5
	netbsd-2-1-RC2:1.1.1.5
	netbsd-2-1-RC1:1.1.1.5
	netbsd-2-0-2-RELEASE:1.1.1.5
	v4-5-0:1.1.1.6
	v4-5-0_beforeimport:1.1.1.5
	netbsd-3:1.1.1.5.0.6
	netbsd-3-base:1.1.1.5
	netbsd-2-0-1-RELEASE:1.1.1.5
	netbsd-2:1.1.1.5.0.4
	netbsd-2-base:1.1.1.5
	netbsd-2-0-RELEASE:1.1.1.5
	netbsd-2-0-RC5:1.1.1.5
	netbsd-2-0-RC4:1.1.1.5
	netbsd-2-0-RC3:1.1.1.5
	netbsd-2-0-RC2:1.1.1.5
	netbsd-2-0-RC1:1.1.1.5
	netbsd-2-0:1.1.1.5.0.2
	netbsd-2-0-base:1.1.1.5
	v4-4-0:1.1.1.5
	v4-4-0_beforeimport:1.1.1.4
	netbsd-1-6-PATCH002-RELEASE:1.1.1.4
	netbsd-1-6-PATCH002:1.1.1.4
	netbsd-1-6-PATCH002-RC4:1.1.1.4
	v4-3-0-2003-12-19:1.1.1.4
	netbsd-1-6-PATCH002-RC3:1.1.1.4
	netbsd-1-6-PATCH002-RC2:1.1.1.4
	netbsd-1-6-PATCH002-RC1:1.1.1.4
	netbsd-1-6:1.1.1.4.0.2
	netbsd-1-6-base:1.1.1.4
	v4-3-0:1.1.1.4
	v4-3-0_beforeimport:1.1.1.3
	netbsd-1-6-PATCH001:1.1.1.3
	netbsd-1-6-RELEASE:1.1.1.3
	v4-2-1:1.1.1.3
	v4-2-1_beforeimport:1.1.1.3
	netbsd-1-5-PATCH003:1.1.1.3
	v4-2-0:1.1.1.3
	netbsd-1-5-PATCH002:1.1.1.3
	netbsd-1-5-PATCH001:1.1.1.2
	v4-1-0:1.1.1.3
	v4-0-3:1.1.1.2
	v4-0-2:1.1.1.1
	XF86:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2015.07.23.08.13.07;	author mrg;	state dead;
branches;
next	1.1;
commitid	3Fk7MoycOv7VSnuy;

1.1
date	2001.01.01.12.43.54;	author veego;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.01.01.12.43.54;	author veego;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.03.18.17.04.38;	author veego;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2001.06.09.14.53.13;	author tron;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2003.02.28.13.18.43;	author tron;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	2004.03.05.14.23.56;	author tron;	state Exp;
branches
	1.1.1.5.6.1;
next	1.1.1.6;

1.1.1.6
date	2005.03.18.13.03.30;	author tron;	state Exp;
branches;
next	;

1.1.1.5.6.1
date	2005.04.06.20.00.07;	author tron;	state Exp;
branches;
next	;


desc
@@


1.2
log
@remove obsolete XFree86 sources.
@
text
@XCOMM $XFree86: xc/lib/GL/glx/Imakefile,v 1.11 2000/08/01 20:28:38 dawes Exp $
XCOMM The contents of this file are subject to the GLX Public License Version 1.0
XCOMM (the "License"). You may not use this file except in compliance with the
XCOMM License. You may obtain a copy of the License at Silicon Graphics, Inc.,
XCOMM attn: Legal Services, 2011 N. Shoreline Blvd., Mountain View, CA 94043
XCOMM or at http://www.sgi.com/software/opensource/glx/license.html.
XCOMM
XCOMM Software distributed under the License is distributed on an "AS IS"
XCOMM basis. ALL WARRANTIES ARE DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY
XCOMM IMPLIED WARRANTIES OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR
XCOMM PURPOSE OR OF NON- INFRINGEMENT. See the License for the specific
XCOMM language governing rights and limitations under the License.
XCOMM
XCOMM The Original Software is GLX version 1.2 source code, released February,
XCOMM 1999. The developer of the Original Software is Silicon Graphics, Inc.
XCOMM Those portions of the Subject Software created by Silicon Graphics, Inc.
XCOMM are Copyright (c) 1991-9 Silicon Graphics, Inc. All Rights Reserved.

#include <Threads.tmpl>

#define DoNormalLib NormalLibGlx
#define DoSharedLib SharedLibGlx
#define DoExtraLib SharedLibGlx
#define DoDebugLib DebugLibGlx
#define DoProfileLib ProfileLibGlx

XCOMM #define IHaveSubdirs
XCOMM #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
XCOMM 
XCOMM SUBDIRS = \
XCOMM 	glu \
XCOMM 	glw

LinkSourceFile(glapi.c, $(MESASRCDIR)/src)
LinkSourceFile(glapi.h, $(MESASRCDIR)/src)
LinkSourceFile(glapinoop.c, $(MESASRCDIR)/src)
LinkSourceFile(glapinoop.h, $(MESASRCDIR)/src)
LinkSourceFile(glapioffsets.h, $(MESASRCDIR)/src)
LinkSourceFile(glapitable.h, $(MESASRCDIR)/src)
LinkSourceFile(glapitemp.h, $(MESASRCDIR)/src)
LinkSourceFile(glheader.h, $(MESASRCDIR)/src)
LinkSourceFile(glthread.c, $(MESASRCDIR)/src)
LinkSourceFile(glthread.h, $(MESASRCDIR)/src)
LinkSourceFile(glapi_x86.S, $(MESASRCDIR)/src/X86)
LinkSourceFile(assyntax.h, $(MESASRCDIR)/src/X86)

     GLX_SRCS = \
		clientattrib.c \
		compsize.c \
		dispatch.c \
		eval.c \
		g_render.c \
		g_single.c \
		g_vendpriv.c \
		glapi.c \
		glapinoop.c \
		glthread.c \
		glxcmds.c \
		glxext.c \
		indirect_init.c \
		pixel.c \
		pixelstore.c \
		render2.c \
		renderpix.c \
		single2.c \
		singlepix.c \
		vertarr.c \
	        xfont.c

     GLX_OBJS = \
	        clientattrib.o \
		compsize.o \
		dispatch.o \
		eval.o \
		g_render.o \
		g_single.o \
		g_vendpriv.o \
		glapi.o \
		glapinoop.o \
		glthread.o \
		glxcmds.o \
		glxext.o \
		indirect_init.o \
		pixel.o \
		pixelstore.o \
		render2.o \
		renderpix.o \
		single2.o \
		singlepix.o \
		vertarr.o \
	        xfont.o

     GLX_DEFS = GlxDefines

#if BuildXF86DRI
     DRI_INCS = -I../dri
#if defined(i386Architecture)
     ASM_SRCS = glapi_x86.S
     ASM_OBJS = glapi_x86.o
     ASM_DEFS = -DUSE_X86_ASM
#endif
#endif

         SRCS = $(GLX_SRCS) $(ASM_SRCS)
         OBJS = $(GLX_OBJS) $(ASM_OBJS)
      DEFINES = $(GLX_DEFS) $(ASM_DEFS)

     INCLUDES = -I$(TOP)/include \
		-I$(TOP)/include/extensions \
		-I$(TOP)/include/GL \
		-I$(INCLUDESRC) \
		-I../mesa/src \
		$(DRI_INCS)

#include <Library.tmpl>

LibraryObjectRule()

#if BuildXF86DRI && defined(i386Architecture)
ObjectFromAsmSource(glapi_x86, NullParameter)
#endif

SubdirLibraryRule($(OBJS))
NormalLintTarget($(SRCS))

#if 0
XCOMM MakeSubdirs($(SUBDIRS))
XCOMM DependSubdirs($(SUBDIRS))
#endif

DependTarget()
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Initial import of XFree86 4.x
@
text
@@


1.1.1.2
log
@Import of XFree86 4.0.3
@
text
@d1 1
a1 1
XCOMM $XFree86: xc/lib/GL/glx/Imakefile,v 1.10 2000/06/30 17:15:07 dawes Exp $
@


1.1.1.3
log
@Import of XFree86 4.1.0.
@
text
@d1 1
a1 1
XCOMM $XFree86: xc/lib/GL/glx/Imakefile,v 1.14 2001/04/03 02:29:32 dawes Exp $
d21 2
a22 2
#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC)
#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC)
a33 2
# Files from Mesa

d35 1
d37 5
d43 1
d45 1
a45 3

# Maybe some of these could come from
# xc/extras/ogl-sample/main/glx/lib at some point.
d96 1
a96 1
     DRI_INCS = -I$(GLXLIBSRC)/dri
d108 5
a112 8
     INCLUDES = -I$(INCLUDESRC) \
		-I$(XINCLUDESRC) \
		-I$(EXTINCSRC) \
		-I$(INCLUDESRC)/GL \
		-I$(GLXLIBSRC)/glx \
		-I$(MESASRCDIR)/src \
		-I$(MESASRCDIR)/src/X86 \
		-I$(MESASRCDIR)/include \
d125 5
@


1.1.1.4
log
@Import of XFree86 4.3.0.
@
text
@d1 1
a1 1
XCOMM $XFree86: xc/lib/GL/glx/Imakefile,v 1.18 2002/11/25 14:04:49 eich Exp $
d37 1
a38 1
#ifdef i386Architecture
a39 5
#endif
#ifdef SparcArchitecture
LinkSourceFile(glapi_sparc.S, $(MESASRCDIR)/src/SPARC)
#endif

d53 1
d76 1
a91 7
#ifdef i386Architecture
      ASM_DIR = X86
#endif
#ifdef SparcArchitecture
      ASM_DIR = SPARC
#endif

d94 1
a94 1
#if defined(i386Architecture) && MesaUseX86Asm
a98 9
#if defined(SparcArchitecture)
     ASM_SRCS = glapi_sparc.S
     ASM_OBJS = glapi_sparc.o
     ASM_DEFS = -DUSE_SPARC_ASM
#endif

#if GlxBuiltInXMesa
  XMESA_DEFINES = -DGLX_BUILT_IN_XMESA
#endif
d103 1
a103 1
      DEFINES = $(GLX_DEFS) $(ASM_DEFS) $(XMESA_DEFINES)
d111 1
a111 2
		-I$(MESASRCDIR)/src/X \
		-I$(MESASRCDIR)/src/$(ASM_DIR) \
a112 1
		-I$(GLXLIBSRC)/include \
a120 4
#endif
#if BuildXF86DRI && defined(SparcArchitecture)
STD_CPP_DEFINES = StandardDefines $(PROJECT_DEFINES)
ObjectFromAsmSource(glapi_sparc, NullParameter)
@


1.1.1.5
log
@Import of XFree86 4.4.0.
@
text
@d1 1
a1 1
XCOMM $XFree86: xc/lib/GL/glx/Imakefile,v 1.23 2003/11/17 03:10:42 dawes Exp $
d38 1
a38 1
#if defined(i386Architecture)
d41 1
a41 1
#if defined(SparcArchitecture) && !defined(OpenBSDArchitecture)
a60 2
		glxextensions.c \
		glcontextmodes.c \
a82 2
		glxextensions.o \
		glcontextmodes.o \
d93 1
a93 1
     GLX_DEFS = GlxDefines VidModeExtensionDefines
a119 4
#if defined(DarwinArchitecture) || defined(OS2Architecture)
  ALIAS_DEFINES = -DGLX_ALIAS_UNSUPPORTED
#endif

d122 1
a122 1
      DEFINES = $(GLX_DEFS) $(ASM_DEFS) $(XMESA_DEFINES) $(ALIAS_DEFINES)
d140 1
a140 1
#if BuildXF86DRI && defined(i386Architecture) && MesaUseX86Asm
@


1.1.1.5.6.1
log
@Apply patch (requested by jmc in ticket #114):
Update XFree86 to version 4.5.0.
@
text
@d1 1
a1 1
XCOMM $XFree86: xc/lib/GL/glx/Imakefile,v 1.31 2005/03/01 03:48:49 dawes Exp $
a18 46
/*
 * Copyright (c) 2000-2004 by The XFree86 Project, Inc.
 * All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject
 * to the following conditions:
 *
 *   1.  Redistributions of source code must retain the above copyright
 *       notice, this list of conditions, and the following disclaimer.
 *
 *   2.  Redistributions in binary form must reproduce the above copyright
 *       notice, this list of conditions and the following disclaimer
 *       in the documentation and/or other materials provided with the
 *       distribution, and in the same place and form as other copyright,
 *       license and disclaimer information.
 *
 *   3.  The end-user documentation included with the redistribution,
 *       if any, must include the following acknowledgment: "This product
 *       includes software developed by The XFree86 Project, Inc
 *       (http://www.xfree86.org/) and its contributors", in the same
 *       place and form as other third-party acknowledgments.  Alternately,
 *       this acknowledgment may appear in the software itself, in the
 *       same form and location as other such third-party acknowledgments.
 *
 *   4.  Except as contained in this notice, the name of The XFree86
 *       Project, Inc shall not be used in advertising or otherwise to
 *       promote the sale, use or other dealings in this Software without
 *       prior written authorization from The XFree86 Project, Inc.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 * IN NO EVENT SHALL THE XFREE86 PROJECT, INC OR ITS CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
d23 1
a23 1
#define DoExtraLib ExtraLibGlx
d34 1
a34 1
#define LargePICTable YES
d36 8
a43 1
/* Files from Mesa */
a44 4
LinkSourceFile(glapi.c, $(MESASRCDIR)/src/mesa/glapi)
LinkSourceFile(glthread.c, $(MESASRCDIR)/src/mesa/glapi)
LinkSourceFile(glcontextmodes.c, $(MESASRCDIR)/src/mesa/drivers/dri/common)
LinkSourceFile(glcontextmodes.h, $(MESASRCDIR)/src/mesa/drivers/dri/common)
d46 2
a47 6
#ifdef i386Architecture
LinkSourceFile(glapi_x86.S, $(MESASRCDIR)/src/mesa/x86)
#endif
#ifdef SparcArchitecture
LinkSourceFile(glapi_sparc.S, $(MESASRCDIR)/src/mesa/sparc)
#endif
a48 4
/*
 * Maybe some of these could come from
 * xc/extras/ogl-sample/main/glx/lib at some point.
 */
d71 1
a71 4
		xfont.c \
		glx_pbuffer.c \
		glx_query.c \
		glx_texture_compression.c
d74 1
a74 1
		clientattrib.o \
d95 1
a95 4
		xfont.o \
		glx_pbuffer.o \
		glx_query.o \
		glx_texture_compression.o
d97 1
a97 2
     GLX_DEFS = GlxDefines VidModeExtensionDefines \
	        -DDEFAULT_DRIVER_DIR=\"$(MODULEDIR)/dri\"
d100 1
a100 1
      ASM_DIR = x86
d103 1
a103 1
      ASM_DIR = sparc
d107 1
a107 4
     DRI_SRCS = dri_glx.c XF86dri.c
     DRI_OBJS = dri_glx.o XF86dri.o

     DRI_INCS = -I$(SERVERSRC)/GL/dri
d124 2
a125 9
#if defined(DarwinArchitecture) || defined(OS2Architecture) || \
defined(LynxOSArchitecture)
ALIAS_DEFINES = -DGLX_ALIAS_UNSUPPORTED
#endif
#if defined(DarwinArchitecture) && BuildAppleDRI
     DRI_SRCS = XF86dri.c
     DRI_OBJS = XF86dri.o

     DRI_INCS = -I$(SERVERSRC)/GL/dri
d128 3
a130 4
         SRCS = $(GLX_SRCS) $(ASM_SRCS) $(DRI_SRCS)
         OBJS = $(GLX_OBJS) $(ASM_OBJS) $(DRI_OBJS)
      DEFINES = $(GLX_DEFS) $(ASM_DEFS) $(XMESA_DEFINES) $(ALIAS_DEFINES) \
	        $(THREADS_DEFINES)
d132 2
a133 2
     INCLUDES = -I$(XINCLUDESRC) \
		-I$(MESASRCDIR)/include \
d135 1
d137 5
a141 6
		-I$(MESASRCDIR)/src/mesa/main \
		-I$(MESASRCDIR)/src/mesa/glapi \
		-I$(MESASRCDIR)/src/mesa/drivers/x11 \
		-I$(MESASRCDIR)/src/mesa/$(ASM_DIR) \
		-I$(XF86OSSRC) \
		-I$(DRMINCLUDESDIR) \
@


1.1.1.6
log
@Import of XFree86 4.5.0.
@
text
@d1 1
a1 1
XCOMM $XFree86: xc/lib/GL/glx/Imakefile,v 1.31 2005/03/01 03:48:49 dawes Exp $
a18 46
/*
 * Copyright (c) 2000-2004 by The XFree86 Project, Inc.
 * All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject
 * to the following conditions:
 *
 *   1.  Redistributions of source code must retain the above copyright
 *       notice, this list of conditions, and the following disclaimer.
 *
 *   2.  Redistributions in binary form must reproduce the above copyright
 *       notice, this list of conditions and the following disclaimer
 *       in the documentation and/or other materials provided with the
 *       distribution, and in the same place and form as other copyright,
 *       license and disclaimer information.
 *
 *   3.  The end-user documentation included with the redistribution,
 *       if any, must include the following acknowledgment: "This product
 *       includes software developed by The XFree86 Project, Inc
 *       (http://www.xfree86.org/) and its contributors", in the same
 *       place and form as other third-party acknowledgments.  Alternately,
 *       this acknowledgment may appear in the software itself, in the
 *       same form and location as other such third-party acknowledgments.
 *
 *   4.  Except as contained in this notice, the name of The XFree86
 *       Project, Inc shall not be used in advertising or otherwise to
 *       promote the sale, use or other dealings in this Software without
 *       prior written authorization from The XFree86 Project, Inc.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 * IN NO EVENT SHALL THE XFREE86 PROJECT, INC OR ITS CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
d23 1
a23 1
#define DoExtraLib ExtraLibGlx
d34 1
a34 1
#define LargePICTable YES
d36 8
a43 1
/* Files from Mesa */
a44 4
LinkSourceFile(glapi.c, $(MESASRCDIR)/src/mesa/glapi)
LinkSourceFile(glthread.c, $(MESASRCDIR)/src/mesa/glapi)
LinkSourceFile(glcontextmodes.c, $(MESASRCDIR)/src/mesa/drivers/dri/common)
LinkSourceFile(glcontextmodes.h, $(MESASRCDIR)/src/mesa/drivers/dri/common)
d46 2
a47 6
#ifdef i386Architecture
LinkSourceFile(glapi_x86.S, $(MESASRCDIR)/src/mesa/x86)
#endif
#ifdef SparcArchitecture
LinkSourceFile(glapi_sparc.S, $(MESASRCDIR)/src/mesa/sparc)
#endif
a48 4
/*
 * Maybe some of these could come from
 * xc/extras/ogl-sample/main/glx/lib at some point.
 */
d71 1
a71 4
		xfont.c \
		glx_pbuffer.c \
		glx_query.c \
		glx_texture_compression.c
d74 1
a74 1
		clientattrib.o \
d95 1
a95 4
		xfont.o \
		glx_pbuffer.o \
		glx_query.o \
		glx_texture_compression.o
d97 1
a97 2
     GLX_DEFS = GlxDefines VidModeExtensionDefines \
	        -DDEFAULT_DRIVER_DIR=\"$(MODULEDIR)/dri\"
d100 1
a100 1
      ASM_DIR = x86
d103 1
a103 1
      ASM_DIR = sparc
d107 1
a107 4
     DRI_SRCS = dri_glx.c XF86dri.c
     DRI_OBJS = dri_glx.o XF86dri.o

     DRI_INCS = -I$(SERVERSRC)/GL/dri
d124 2
a125 9
#if defined(DarwinArchitecture) || defined(OS2Architecture) || \
defined(LynxOSArchitecture)
ALIAS_DEFINES = -DGLX_ALIAS_UNSUPPORTED
#endif
#if defined(DarwinArchitecture) && BuildAppleDRI
     DRI_SRCS = XF86dri.c
     DRI_OBJS = XF86dri.o

     DRI_INCS = -I$(SERVERSRC)/GL/dri
d128 3
a130 4
         SRCS = $(GLX_SRCS) $(ASM_SRCS) $(DRI_SRCS)
         OBJS = $(GLX_OBJS) $(ASM_OBJS) $(DRI_OBJS)
      DEFINES = $(GLX_DEFS) $(ASM_DEFS) $(XMESA_DEFINES) $(ALIAS_DEFINES) \
	        $(THREADS_DEFINES)
d132 2
a133 2
     INCLUDES = -I$(XINCLUDESRC) \
		-I$(MESASRCDIR)/include \
d135 1
d137 5
a141 6
		-I$(MESASRCDIR)/src/mesa/main \
		-I$(MESASRCDIR)/src/mesa/glapi \
		-I$(MESASRCDIR)/src/mesa/drivers/x11 \
		-I$(MESASRCDIR)/src/mesa/$(ASM_DIR) \
		-I$(XF86OSSRC) \
		-I$(DRMINCLUDESDIR) \
@


