
configs/beos | 2 +- configs/darwin | 2 +- configs/default | 4 +- configs/freebsd-dri | 2 +- configs/linux-cell | 2 +- configs/linux-dri-xcb | 2 +- configs/linux-indirect | 2 +- configure.ac | 2 +- include/GL/glew.h |14435 ------------------------------------------------ include/GL/glxew.h | 1476 ----- include/GL/wglew.h | 1247 ----- src/SConscript | 1 - src/glew/LICENSE.txt | 73 - src/glew/Makefile | 54 - src/glew/SConscript | 69 - src/glew/glew.c |14320 ----------------------------------------------- src/glew/glewinfo.c | 8441 ---------------------------- src/glew/visualinfo.c | 1173 ---- 18 files changed, 8 insertions(+), 41299 deletions(-) Revert "glew: update to version 1.5.4" This reverts commita189b1c53b
. Revert "glew: Include X11 headers and libraries in SCons build." This reverts commitefdd33985c
. Revert "scons: Fix GLEW build on Mac OS X." This reverts commit8f81769148
. Revert "scons: Use static glew library on Unices to avoid binary compatability issues" This reverts commitde22c940a1
. Revert "glew: Update to version 1.5.2." This reverts commitaaf7ecfd81
. Revert "scons: Build glew on all platforms." This reverts commit52eb3e4235
. Revert "scons: Put glut and glew shared libraries into build/xxx/bin or lib." This reverts commit8a318edd08
. Didn't revert scons/gallium.py Revert "scons: Fix glew build on MSVC." This reverts commit14a8c9dac7
. Revert "scons: Build progs together with everything else." This reverts commit7bbf7f94ea
. Only changed src/glew/SConscript Revert "mesa: include glew headers in MesaDemos tarballs" This reverts commitc57d81ddc9
. Revert "mesa: include GLEW sources in MesaDemos tarball" This reverts commitb9e2e32daf
. Revert "glew: correct misspelling of glFramebufferTextureLayer" This reverts commit1b05b5b4fe
. Revert "glew: fix GLEW_LIB_NAME" This reverts commitc10df26a31
. Revert "Add dummy install target for glew to fix 'make install'" This reverts commitc273dfe6a2
. Revert "autoconf: Add GLEW needed by progs when building GLUT" This reverts commit2977cee38e
. Revert "glew: Build it as a static lib." This reverts commitfcf9353fea
. Revert "glew: Initial import." This reverts commit57d00016ca
.
73 lines
1.4 KiB
Plaintext
73 lines
1.4 KiB
Plaintext
# linux-cell (non-debug build)
|
|
|
|
include $(TOP)/configs/linux
|
|
|
|
CONFIG_NAME = linux-cell
|
|
|
|
|
|
# Omiting other gallium drivers:
|
|
GALLIUM_DRIVERS_DIRS = cell softpipe trace rbug identity
|
|
|
|
|
|
# Compiler and flags
|
|
CC = ppu32-gcc
|
|
CXX = ppu32-g++
|
|
HOST_CC = gcc
|
|
APP_CC = gcc
|
|
APP_CXX = g++
|
|
|
|
OPT_FLAGS = -O3
|
|
|
|
# Cell SDK location
|
|
## For SDK 2.1: (plus, remove -DSPU_MAIN_PARAM_LONG_LONG below)
|
|
#SDK = /opt/ibm/cell-sdk/prototype/sysroot/usr
|
|
## For SDK 3.0:
|
|
SDK = /opt/cell/sdk/usr
|
|
|
|
|
|
|
|
COMMON_C_CPP_FLAGS = $(OPT_FLAGS) -Wall -Winline \
|
|
-fPIC -m32 -mabi=altivec -maltivec \
|
|
-I. -I$(SDK)/include \
|
|
-DGALLIUM_CELL $(DEFINES)
|
|
|
|
CFLAGS = $(COMMON_C_CPP_FLAGS) -Wmissing-prototypes -std=c99
|
|
|
|
CXXFLAGS = $(COMMON_C_CPP_FLAGS)
|
|
|
|
|
|
# Omitting glw here:
|
|
SRC_DIRS = glsl mapi/glapi mapi/vgapi mesa \
|
|
gallium gallium/winsys gallium/targets glu glut/glx
|
|
|
|
# Build no traditional Mesa drivers:
|
|
DRIVER_DIRS =
|
|
|
|
|
|
MKDEP_OPTIONS = -fdepend -Y
|
|
|
|
|
|
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread \
|
|
-L$(SDK)/lib -m32 -Wl,-m,elf32ppc -R$(SDK)/lib -lspe2
|
|
|
|
|
|
CELL_SPU_LIB = $(TOP)/src/gallium/drivers/cell/spu/g3d_spu.a
|
|
|
|
|
|
### SPU stuff
|
|
|
|
SPU_CC = spu-gcc
|
|
|
|
SPU_CFLAGS = $(OPT_FLAGS) -W -Wall -Winline -Wmissing-prototypes -Wno-main \
|
|
-I. -I$(SDK)/spu/include -I$(TOP)/src/mesa/ $(INCLUDE_DIRS) \
|
|
-DSPU_MAIN_PARAM_LONG_LONG \
|
|
-include spu_intrinsics.h
|
|
|
|
SPU_LFLAGS = -L$(SDK)/spu/lib -Wl,-N -lmisc -lm
|
|
|
|
SPU_AR = ppu-ar
|
|
SPU_AR_FLAGS = -qcs
|
|
|
|
SPU_EMBED = ppu32-embedspu
|
|
SPU_EMBED_FLAGS = -m32
|