summaryrefslogtreecommitdiff
path: root/xc/lib/GL/glx/Imakefile
blob: 21c8378148dbc5a7ddfa4130fbea191d3f3eef8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
XCOMM $XFree86: xc/lib/GL/glx/Imakefile,v 1.3 1999/12/14 01:32:23 robin 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.

#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, ../../../extras/Mesa/src)
LinkSourceFile(glapi.h, ../../../extras/Mesa/src)
LinkSourceFile(glapinoop.c, ../../../extras/Mesa/src)
LinkSourceFile(glapinoop.h, ../../../extras/Mesa/src)
LinkSourceFile(glapioffsets.h, ../../../extras/Mesa/src)
LinkSourceFile(glapitable.h, ../../../extras/Mesa/src)
LinkSourceFile(glapitemp.h, ../../../extras/Mesa/src)
LinkSourceFile(glthread.c, ../../../extras/Mesa/src)
LinkSourceFile(glthread.h, ../../../extras/Mesa/src)
LinkSourceFile(glapi_x86.S, ../../../extras/Mesa/src/X86)
LinkSourceFile(assyntax.h, ../../../extras/Mesa/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

#if BuildXF86DRI
     GLX_DEFS = GlxDefines
     DRI_INCS = -I../dri
#endif

#ifdef i386Architecture
     ASM_SRCS = glapi_x86.S
     ASM_OBJS = glapi_x86.o
     ASM_DEFS = -DUSE_X86_ASM
#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()

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

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

DependTarget()