glcore: drop GLcore (files)
This commit is contained in:
parent
dd7a53f8f2
commit
a88c6b6646
32
GL/mesa/.gitignore
vendored
32
GL/mesa/.gitignore
vendored
|
@ -1,32 +0,0 @@
|
||||||
X/drivers
|
|
||||||
X/glxheader.h
|
|
||||||
X/xm*.h
|
|
||||||
X/xm*.c
|
|
||||||
mesa/drivers
|
|
||||||
mesa/glxheader.h
|
|
||||||
mesa/xm*.c
|
|
||||||
glapi/*.c
|
|
||||||
glapi/*.h
|
|
||||||
main/*.c
|
|
||||||
main/*.h
|
|
||||||
math/*.c
|
|
||||||
math/*.h
|
|
||||||
ppc
|
|
||||||
shader/*.c
|
|
||||||
shader/*.h
|
|
||||||
shader/slang/*.c
|
|
||||||
shader/slang/*.h
|
|
||||||
shader/slang/library
|
|
||||||
shader/grammar/*.c
|
|
||||||
shader/grammar/*.h
|
|
||||||
sparc
|
|
||||||
swrast/*.c
|
|
||||||
swrast/*.h
|
|
||||||
swrast_setup/*.c
|
|
||||||
swrast_setup/*.h
|
|
||||||
tnl/*.c
|
|
||||||
tnl/*.h
|
|
||||||
x86
|
|
||||||
x86-64
|
|
||||||
vbo/*.c
|
|
||||||
vbo/*.h
|
|
|
@ -1,18 +0,0 @@
|
||||||
SUBDIRS = X
|
|
||||||
SUBDIRS += main math swrast swrast_setup tnl shader glapi vbo
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libGLcore.la
|
|
||||||
|
|
||||||
libGLcore_la_SOURCES = dummy.c
|
|
||||||
MESA_LIBS = main/libmain.la \
|
|
||||||
math/libmath.la \
|
|
||||||
swrast/libswrast.la \
|
|
||||||
swrast_setup/libss.la \
|
|
||||||
tnl/libtnl.la \
|
|
||||||
shader/libshader.la \
|
|
||||||
shader/grammar/libgrammar.la \
|
|
||||||
shader/slang/libslang.la \
|
|
||||||
vbo/libvbo.la
|
|
||||||
|
|
||||||
libGLcore_la_LIBADD = $(MESA_LIBS) \
|
|
||||||
X/libX.la
|
|
|
@ -1,27 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libX.la
|
|
||||||
|
|
||||||
INCLUDES = -I@MESA_SOURCE@/include \
|
|
||||||
-I. \
|
|
||||||
-I@MESA_SOURCE@/src/mesa/glapi \
|
|
||||||
-I@MESA_SOURCE@/src/mesa/main \
|
|
||||||
-I@MESA_SOURCE@/src/mesa
|
|
||||||
|
|
||||||
# -DXFree86Server is required because the X11 driver in Mesa thinks that
|
|
||||||
# symbol means "being built in the server"
|
|
||||||
AM_CFLAGS = \
|
|
||||||
$(DIX_CFLAGS) \
|
|
||||||
-DXFree86Server \
|
|
||||||
@GLX_DEFINES@
|
|
||||||
|
|
||||||
XM_SOURCES = \
|
|
||||||
xm_api.c \
|
|
||||||
xm_buffer.c \
|
|
||||||
xm_dd.c \
|
|
||||||
xm_image.c \
|
|
||||||
xm_line.c \
|
|
||||||
xm_span.c \
|
|
||||||
xm_tri.c
|
|
||||||
|
|
||||||
XM_SOURCES += drivers/common/driverfuncs.c
|
|
||||||
|
|
||||||
nodist_libX_la_SOURCES = $(XM_SOURCES)
|
|
|
@ -1,20 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libglapi.la
|
|
||||||
|
|
||||||
AM_CFLAGS = \
|
|
||||||
$(DIX_CFLAGS) \
|
|
||||||
-DXFree86Server \
|
|
||||||
@GLX_DEFINES@
|
|
||||||
|
|
||||||
INCLUDES = -I@MESA_SOURCE@/include \
|
|
||||||
-I../X \
|
|
||||||
-I../glapi \
|
|
||||||
-I../main \
|
|
||||||
-I../math \
|
|
||||||
-I../shader \
|
|
||||||
-I../swrast \
|
|
||||||
-I../swrast_setup \
|
|
||||||
-I../tnl \
|
|
||||||
-I.. \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/os-support
|
|
||||||
|
|
||||||
nodist_libglapi_la_SOURCES = glapi.c glthread.c
|
|
|
@ -1,86 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libmain.la
|
|
||||||
|
|
||||||
AM_CFLAGS = \
|
|
||||||
$(DIX_CFLAGS) \
|
|
||||||
-DXFree86Server \
|
|
||||||
@GLX_DEFINES@
|
|
||||||
|
|
||||||
INCLUDES = -I@MESA_SOURCE@/include \
|
|
||||||
-I../X \
|
|
||||||
-I../glapi \
|
|
||||||
-I../main \
|
|
||||||
-I../math \
|
|
||||||
-I../shader \
|
|
||||||
-I../swrast \
|
|
||||||
-I../swrast_setup \
|
|
||||||
-I../tnl \
|
|
||||||
-I.. \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/os-support
|
|
||||||
|
|
||||||
if NEED_VSNPRINTF
|
|
||||||
VSNPRINTF_SOURCES = vsnprintf.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
nodist_libmain_la_SOURCES = accum.c \
|
|
||||||
api_arrayelt.c \
|
|
||||||
api_loopback.c \
|
|
||||||
api_noop.c \
|
|
||||||
api_validate.c \
|
|
||||||
arrayobj.c \
|
|
||||||
attrib.c \
|
|
||||||
blend.c \
|
|
||||||
bufferobj.c \
|
|
||||||
buffers.c \
|
|
||||||
clip.c \
|
|
||||||
colortab.c \
|
|
||||||
context.c \
|
|
||||||
convolve.c \
|
|
||||||
debug.c \
|
|
||||||
depth.c \
|
|
||||||
depthstencil.c \
|
|
||||||
dlist.c \
|
|
||||||
drawpix.c \
|
|
||||||
enable.c \
|
|
||||||
enums.c \
|
|
||||||
eval.c \
|
|
||||||
execmem.c \
|
|
||||||
extensions.c \
|
|
||||||
fbobject.c \
|
|
||||||
feedback.c \
|
|
||||||
fog.c \
|
|
||||||
framebuffer.c \
|
|
||||||
get.c \
|
|
||||||
getstring.c \
|
|
||||||
hash.c \
|
|
||||||
hint.c \
|
|
||||||
histogram.c \
|
|
||||||
image.c \
|
|
||||||
imports.c \
|
|
||||||
light.c \
|
|
||||||
lines.c \
|
|
||||||
matrix.c \
|
|
||||||
mipmap.c \
|
|
||||||
mm.c \
|
|
||||||
pixel.c \
|
|
||||||
points.c \
|
|
||||||
polygon.c \
|
|
||||||
queryobj.c \
|
|
||||||
rastpos.c \
|
|
||||||
rbadaptors.c \
|
|
||||||
renderbuffer.c \
|
|
||||||
shaders.c \
|
|
||||||
state.c \
|
|
||||||
stencil.c \
|
|
||||||
texcompress.c \
|
|
||||||
texcompress_fxt1.c \
|
|
||||||
texcompress_s3tc.c \
|
|
||||||
texenvprogram.c \
|
|
||||||
texformat.c \
|
|
||||||
teximage.c \
|
|
||||||
texobj.c \
|
|
||||||
texrender.c \
|
|
||||||
texstate.c \
|
|
||||||
texstore.c \
|
|
||||||
varray.c \
|
|
||||||
$(VSNPRINTF_SOURCES) \
|
|
||||||
vtxfmt.c
|
|
|
@ -1,27 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libmath.la
|
|
||||||
|
|
||||||
AM_CFLAGS = \
|
|
||||||
$(DIX_CFLAGS) \
|
|
||||||
-DXFree86Server \
|
|
||||||
@GLX_DEFINES@
|
|
||||||
|
|
||||||
INCLUDES = -I@MESA_SOURCE@/include \
|
|
||||||
-I../X \
|
|
||||||
-I../glapi \
|
|
||||||
-I../main \
|
|
||||||
-I../math \
|
|
||||||
-I../shader \
|
|
||||||
-I../swrast \
|
|
||||||
-I../swrast_setup \
|
|
||||||
-I../tnl \
|
|
||||||
-I.. \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/os-support
|
|
||||||
|
|
||||||
nodist_libmath_la_SOURCES = m_debug_clip.c \
|
|
||||||
m_debug_norm.c \
|
|
||||||
m_debug_xform.c \
|
|
||||||
m_eval.c \
|
|
||||||
m_matrix.c \
|
|
||||||
m_translate.c \
|
|
||||||
m_vector.c \
|
|
||||||
m_xform.c
|
|
|
@ -1,39 +0,0 @@
|
||||||
SUBDIRS = grammar slang
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libshader.la
|
|
||||||
|
|
||||||
AM_CFLAGS = \
|
|
||||||
$(DIX_CFLAGS) \
|
|
||||||
-DXFree86Server \
|
|
||||||
@GLX_DEFINES@
|
|
||||||
|
|
||||||
INCLUDES = -I@MESA_SOURCE@/include \
|
|
||||||
-I../X \
|
|
||||||
-I../glapi \
|
|
||||||
-I../main \
|
|
||||||
-I../math \
|
|
||||||
-I../shader \
|
|
||||||
-I../shader/grammar \
|
|
||||||
-I../shader/slang \
|
|
||||||
-I../swrast \
|
|
||||||
-I../swrast_setup \
|
|
||||||
-I../tnl \
|
|
||||||
-I.. \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/os-support
|
|
||||||
|
|
||||||
nodist_libshader_la_SOURCES = \
|
|
||||||
arbprogparse.c \
|
|
||||||
arbprogram.c \
|
|
||||||
atifragshader.c \
|
|
||||||
nvfragparse.c \
|
|
||||||
nvprogram.c \
|
|
||||||
nvvertparse.c \
|
|
||||||
prog_debug.c \
|
|
||||||
prog_execute.c \
|
|
||||||
prog_instruction.c \
|
|
||||||
prog_parameter.c \
|
|
||||||
prog_print.c \
|
|
||||||
program.c \
|
|
||||||
programopt.c \
|
|
||||||
prog_statevars.c \
|
|
||||||
shader_api.c
|
|
|
@ -1,20 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libgrammar.la
|
|
||||||
|
|
||||||
AM_CFLAGS = \
|
|
||||||
$(DIX_CFLAGS) \
|
|
||||||
-DXFree86Server \
|
|
||||||
@GLX_DEFINES@
|
|
||||||
|
|
||||||
INCLUDES = -I@MESA_SOURCE@/include \
|
|
||||||
-I../../X \
|
|
||||||
-I../../glapi \
|
|
||||||
-I../../main \
|
|
||||||
-I../../math \
|
|
||||||
-I../../shader \
|
|
||||||
-I../../swrast \
|
|
||||||
-I../../swrast_setup \
|
|
||||||
-I../../tnl \
|
|
||||||
-I../.. \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/os-support
|
|
||||||
|
|
||||||
nodist_libgrammar_la_SOURCES = grammar_mesa.c
|
|
|
@ -1,41 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libslang.la
|
|
||||||
|
|
||||||
AM_CFLAGS = \
|
|
||||||
$(DIX_CFLAGS) \
|
|
||||||
-DXFree86Server \
|
|
||||||
@GLX_DEFINES@
|
|
||||||
|
|
||||||
INCLUDES = -I@MESA_SOURCE@/include \
|
|
||||||
-I../grammar \
|
|
||||||
-I../../X \
|
|
||||||
-I../../glapi \
|
|
||||||
-I../../main \
|
|
||||||
-I../../math \
|
|
||||||
-I../../shader \
|
|
||||||
-I../../swrast \
|
|
||||||
-I../../swrast_setup \
|
|
||||||
-I../../tnl \
|
|
||||||
-I../.. \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/os-support
|
|
||||||
|
|
||||||
nodist_libslang_la_SOURCES = slang_builtin.c \
|
|
||||||
slang_codegen.c \
|
|
||||||
slang_compile.c \
|
|
||||||
slang_compile_function.c \
|
|
||||||
slang_compile_operation.c \
|
|
||||||
slang_compile_struct.c \
|
|
||||||
slang_compile_variable.c \
|
|
||||||
slang_emit.c \
|
|
||||||
slang_ir.c \
|
|
||||||
slang_label.c \
|
|
||||||
slang_library_noise.c \
|
|
||||||
slang_link.c \
|
|
||||||
slang_log.c \
|
|
||||||
slang_mem.c \
|
|
||||||
slang_preprocess.c \
|
|
||||||
slang_print.c \
|
|
||||||
slang_simplify.c \
|
|
||||||
slang_storage.c \
|
|
||||||
slang_typeinfo.c \
|
|
||||||
slang_utility.c \
|
|
||||||
slang_vartable.c
|
|
|
@ -1,50 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libswrast.la
|
|
||||||
|
|
||||||
AM_CFLAGS = \
|
|
||||||
$(DIX_CFLAGS) \
|
|
||||||
-DXFree86Server \
|
|
||||||
@GLX_DEFINES@
|
|
||||||
|
|
||||||
INCLUDES = -I@MESA_SOURCE@/include \
|
|
||||||
-I../X \
|
|
||||||
-I../glapi \
|
|
||||||
-I../main \
|
|
||||||
-I../math \
|
|
||||||
-I../shader \
|
|
||||||
-I../shader/slang \
|
|
||||||
-I../shader/slang \
|
|
||||||
-I../swrast \
|
|
||||||
-I../swrast_setup \
|
|
||||||
-I../tnl \
|
|
||||||
-I.. \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/os-support
|
|
||||||
|
|
||||||
nodist_libswrast_la_SOURCES = s_aaline.c \
|
|
||||||
s_aatriangle.c \
|
|
||||||
s_accum.c \
|
|
||||||
s_alpha.c \
|
|
||||||
s_atifragshader.c \
|
|
||||||
s_bitmap.c \
|
|
||||||
s_blend.c \
|
|
||||||
s_blit.c \
|
|
||||||
s_buffers.c \
|
|
||||||
s_context.c \
|
|
||||||
s_copypix.c \
|
|
||||||
s_depth.c \
|
|
||||||
s_drawpix.c \
|
|
||||||
s_feedback.c \
|
|
||||||
s_fog.c \
|
|
||||||
s_fragprog.c \
|
|
||||||
s_imaging.c \
|
|
||||||
s_lines.c \
|
|
||||||
s_logic.c \
|
|
||||||
s_masking.c \
|
|
||||||
s_points.c \
|
|
||||||
s_readpix.c \
|
|
||||||
s_span.c \
|
|
||||||
s_stencil.c \
|
|
||||||
s_texcombine.c \
|
|
||||||
s_texfilter.c \
|
|
||||||
s_texstore.c \
|
|
||||||
s_triangle.c \
|
|
||||||
s_zoom.c
|
|
|
@ -1,20 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libss.la
|
|
||||||
|
|
||||||
AM_CFLAGS = \
|
|
||||||
$(DIX_CFLAGS) \
|
|
||||||
-DXFree86Server \
|
|
||||||
@GLX_DEFINES@
|
|
||||||
|
|
||||||
INCLUDES = -I@MESA_SOURCE@/include \
|
|
||||||
-I../X \
|
|
||||||
-I../glapi \
|
|
||||||
-I../main \
|
|
||||||
-I../math \
|
|
||||||
-I../shader \
|
|
||||||
-I../swrast \
|
|
||||||
-I../swrast_setup \
|
|
||||||
-I../tnl \
|
|
||||||
-I.. \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/os-support
|
|
||||||
|
|
||||||
nodist_libss_la_SOURCES = ss_context.c ss_triangle.c
|
|
|
@ -1,37 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libtnl.la
|
|
||||||
|
|
||||||
AM_CFLAGS = \
|
|
||||||
$(DIX_CFLAGS) \
|
|
||||||
-DXFree86Server \
|
|
||||||
@GLX_DEFINES@
|
|
||||||
|
|
||||||
INCLUDES = -I@MESA_SOURCE@/include \
|
|
||||||
-I../X \
|
|
||||||
-I../glapi \
|
|
||||||
-I../main \
|
|
||||||
-I../math \
|
|
||||||
-I../shader \
|
|
||||||
-I../shader/slang \
|
|
||||||
-I../swrast \
|
|
||||||
-I../swrast_setup \
|
|
||||||
-I../tnl \
|
|
||||||
-I.. \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/os-support
|
|
||||||
|
|
||||||
nodist_libtnl_la_SOURCES = t_context.c \
|
|
||||||
t_draw.c \
|
|
||||||
t_pipeline.c \
|
|
||||||
t_vb_cull.c \
|
|
||||||
t_vb_fog.c \
|
|
||||||
t_vb_light.c \
|
|
||||||
t_vb_normals.c \
|
|
||||||
t_vb_points.c \
|
|
||||||
t_vb_program.c \
|
|
||||||
t_vb_render.c \
|
|
||||||
t_vb_texgen.c \
|
|
||||||
t_vb_texmat.c \
|
|
||||||
t_vb_vertex.c \
|
|
||||||
t_vertex.c \
|
|
||||||
t_vertex_generic.c \
|
|
||||||
t_vertex_sse.c \
|
|
||||||
t_vp_build.c
|
|
|
@ -1,35 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libvbo.la
|
|
||||||
|
|
||||||
AM_CFLAGS = \
|
|
||||||
$(DIX_CFLAGS) \
|
|
||||||
-DXFree86Server \
|
|
||||||
@GLX_DEFINES@
|
|
||||||
|
|
||||||
INCLUDES = -I@MESA_SOURCE@/include \
|
|
||||||
-I../X \
|
|
||||||
-I../glapi \
|
|
||||||
-I../main \
|
|
||||||
-I../math \
|
|
||||||
-I../shader \
|
|
||||||
-I../shader/slang \
|
|
||||||
-I../shader/slang \
|
|
||||||
-I../swrast \
|
|
||||||
-I../swrast_setup \
|
|
||||||
-I../tnl \
|
|
||||||
-I.. \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/os-support
|
|
||||||
|
|
||||||
nodist_libvbo_la_SOURCES = vbo_context.c \
|
|
||||||
vbo_exec_api.c \
|
|
||||||
vbo_exec_array.c \
|
|
||||||
vbo_exec.c \
|
|
||||||
vbo_exec_draw.c \
|
|
||||||
vbo_exec_eval.c \
|
|
||||||
vbo_rebase.c \
|
|
||||||
vbo_save_api.c \
|
|
||||||
vbo_save.c \
|
|
||||||
vbo_save_draw.c \
|
|
||||||
vbo_save_loopback.c \
|
|
||||||
vbo_split.c \
|
|
||||||
vbo_split_copy.c \
|
|
||||||
vbo_split_inplace.c
|
|
|
@ -58,169 +58,6 @@ main() {
|
||||||
|
|
||||||
## actual symlinking
|
## actual symlinking
|
||||||
|
|
||||||
symlink_mesa_glapi() {
|
|
||||||
src_dir src/mesa/glapi
|
|
||||||
dst_dir mesa/glapi
|
|
||||||
|
|
||||||
for src in $REAL_SRC_DIR/*.c $REAL_SRC_DIR/*.h; do
|
|
||||||
action `basename $src`
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
symlink_mesa_main() {
|
|
||||||
src_dir src/mesa/main
|
|
||||||
dst_dir mesa/main
|
|
||||||
|
|
||||||
for src in $REAL_SRC_DIR/*.c $REAL_SRC_DIR/*.h; do
|
|
||||||
action `basename $src`
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
symlink_mesa_math() {
|
|
||||||
src_dir src/mesa/math
|
|
||||||
dst_dir mesa/math
|
|
||||||
|
|
||||||
for src in $REAL_SRC_DIR/*.c $REAL_SRC_DIR/*.h; do
|
|
||||||
action `basename $src`
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
symlink_mesa_swrast() {
|
|
||||||
src_dir src/mesa/swrast
|
|
||||||
dst_dir mesa/swrast
|
|
||||||
|
|
||||||
for src in $REAL_SRC_DIR/*.c $REAL_SRC_DIR/*.h; do
|
|
||||||
action `basename $src`
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
symlink_mesa_ss() {
|
|
||||||
src_dir src/mesa/swrast_setup
|
|
||||||
dst_dir mesa/swrast_setup
|
|
||||||
|
|
||||||
for src in $REAL_SRC_DIR/*.c $REAL_SRC_DIR/*.h; do
|
|
||||||
action `basename $src`
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
symlink_mesa_tnl() {
|
|
||||||
src_dir src/mesa/tnl
|
|
||||||
dst_dir mesa/tnl
|
|
||||||
|
|
||||||
for src in $REAL_SRC_DIR/*.c $REAL_SRC_DIR/*.h; do
|
|
||||||
action `basename $src`
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
symlink_mesa_shader() {
|
|
||||||
src_dir src/mesa/shader
|
|
||||||
dst_dir mesa/shader
|
|
||||||
|
|
||||||
for src in $REAL_SRC_DIR/*.c $REAL_SRC_DIR/*.h; do
|
|
||||||
action `basename $src`
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
symlink_mesa_shader_grammar() {
|
|
||||||
src_dir src/mesa/shader/grammar
|
|
||||||
dst_dir mesa/shader/grammar
|
|
||||||
|
|
||||||
for src in $REAL_SRC_DIR/*.c $REAL_SRC_DIR/*.h; do
|
|
||||||
action `basename $src`
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
symlink_mesa_shader_slang() {
|
|
||||||
src_dir src/mesa/shader/slang
|
|
||||||
dst_dir mesa/shader/slang
|
|
||||||
|
|
||||||
for src in $REAL_SRC_DIR/*.c $REAL_SRC_DIR/*.h; do
|
|
||||||
action `basename $src`
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
symlink_mesa_shader_slang_library() {
|
|
||||||
src_dir src/mesa/shader/slang/library
|
|
||||||
dst_dir mesa/shader/slang/library
|
|
||||||
|
|
||||||
for src in $REAL_SRC_DIR/*.c $REAL_SRC_DIR/*.h; do
|
|
||||||
action `basename $src`
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
symlink_mesa_vbo() {
|
|
||||||
src_dir src/mesa/vbo
|
|
||||||
dst_dir mesa/vbo
|
|
||||||
|
|
||||||
for src in $REAL_SRC_DIR/*.c $REAL_SRC_DIR/*.h; do
|
|
||||||
action `basename $src`
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
symlink_mesa_x() {
|
|
||||||
src_dir src/mesa/drivers/x11
|
|
||||||
dst_dir mesa/X
|
|
||||||
|
|
||||||
# action glxapi.h
|
|
||||||
action glxheader.h
|
|
||||||
# action realglx.h
|
|
||||||
# action xfonts.h
|
|
||||||
action xm_api.c
|
|
||||||
action xm_buffer.c
|
|
||||||
action xm_dd.c
|
|
||||||
action xm_image.c
|
|
||||||
action xm_image.h
|
|
||||||
action xm_line.c
|
|
||||||
action xm_span.c
|
|
||||||
action xm_tri.c
|
|
||||||
action xmesaP.h
|
|
||||||
|
|
||||||
# another hack
|
|
||||||
src_dir src/mesa/drivers/common
|
|
||||||
dst_dir mesa/X/drivers/common
|
|
||||||
action driverfuncs.c
|
|
||||||
action driverfuncs.h
|
|
||||||
}
|
|
||||||
|
|
||||||
symlink_mesa_ppc() {
|
|
||||||
src_dir src/mesa/ppc
|
|
||||||
dst_dir mesa/ppc
|
|
||||||
}
|
|
||||||
|
|
||||||
symlink_mesa_sparc() {
|
|
||||||
src_dir src/mesa/sparc
|
|
||||||
dst_dir mesa/sparc
|
|
||||||
}
|
|
||||||
|
|
||||||
symlink_mesa_x86() {
|
|
||||||
src_dir src/mesa/x86
|
|
||||||
dst_dir mesa/x86
|
|
||||||
}
|
|
||||||
|
|
||||||
symlink_mesa_x8664() {
|
|
||||||
src_dir src/mesa/x86-64
|
|
||||||
dst_dir mesa/x86-64
|
|
||||||
}
|
|
||||||
|
|
||||||
symlink_mesa() {
|
|
||||||
symlink_mesa_main
|
|
||||||
symlink_mesa_math
|
|
||||||
symlink_mesa_swrast
|
|
||||||
symlink_mesa_ss
|
|
||||||
symlink_mesa_tnl
|
|
||||||
symlink_mesa_shader
|
|
||||||
symlink_mesa_shader_grammar
|
|
||||||
symlink_mesa_shader_slang
|
|
||||||
symlink_mesa_shader_slang_library
|
|
||||||
symlink_mesa_x
|
|
||||||
symlink_mesa_glapi
|
|
||||||
symlink_mesa_ppc
|
|
||||||
symlink_mesa_sparc
|
|
||||||
symlink_mesa_vbo
|
|
||||||
symlink_mesa_x86
|
|
||||||
symlink_mesa_x8664
|
|
||||||
}
|
|
||||||
|
|
||||||
symlink_glx() {
|
symlink_glx() {
|
||||||
# this is... unpleasant
|
# this is... unpleasant
|
||||||
src_dir src/glx/x11
|
src_dir src/glx/x11
|
||||||
|
|
|
@ -1,63 +0,0 @@
|
||||||
/**************************************************************************
|
|
||||||
|
|
||||||
Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas.
|
|
||||||
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, sub license, 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:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice (including the
|
|
||||||
next paragraph) shall be included in all copies or substantial portions
|
|
||||||
of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
|
||||||
IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
|
|
||||||
ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
**************************************************************************/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Authors:
|
|
||||||
* Kevin E. Martin <kevin@precisioninsight.com>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef HAVE_XORG_CONFIG_H
|
|
||||||
#include <xorg-config.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "xf86Module.h"
|
|
||||||
|
|
||||||
static MODULESETUPPROTO(GLcoreSetup);
|
|
||||||
|
|
||||||
static XF86ModuleVersionInfo VersRec =
|
|
||||||
{
|
|
||||||
"GLcore",
|
|
||||||
MODULEVENDORSTRING,
|
|
||||||
MODINFOSTRING1,
|
|
||||||
MODINFOSTRING2,
|
|
||||||
XORG_VERSION_CURRENT,
|
|
||||||
1, 0, 0,
|
|
||||||
ABI_CLASS_EXTENSION,
|
|
||||||
ABI_EXTENSION_VERSION,
|
|
||||||
MOD_CLASS_NONE,
|
|
||||||
{0,0,0,0}
|
|
||||||
};
|
|
||||||
|
|
||||||
_X_EXPORT XF86ModuleData GLcoreModuleData = { &VersRec, GLcoreSetup, NULL };
|
|
||||||
|
|
||||||
static pointer
|
|
||||||
GLcoreSetup(pointer module, pointer opts, int *errmaj, int *errmin)
|
|
||||||
{
|
|
||||||
/* Need a non-NULL return value to indicate success */
|
|
||||||
return (pointer)1;
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user