
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
.
104 lines
1.7 KiB
Plaintext
104 lines
1.7 KiB
Plaintext
# Configuration for BeOS
|
|
# Written by Philippe Houdoin
|
|
|
|
include $(TOP)/configs/default
|
|
|
|
CONFIG_NAME = beos
|
|
|
|
|
|
DEFINES = \
|
|
-DBEOS_THREADS
|
|
|
|
MACHINE=$(shell uname -m)
|
|
ifeq ($(MACHINE), BePC)
|
|
CPU = x86
|
|
else
|
|
CPU = ppc
|
|
endif
|
|
|
|
ifeq ($(CPU), x86)
|
|
# BeOS x86 settings
|
|
|
|
DEFINES += \
|
|
-DGNU_ASSEMBLER \
|
|
-DUSE_X86_ASM \
|
|
-DUSE_MMX_ASM \
|
|
-DUSE_3DNOW_ASM \
|
|
-DUSE_SSE_ASM
|
|
|
|
MESA_ASM_SOURCES = $(X86_SOURCES)
|
|
GLAPI_ASM_SOURCES = $(X86_API)
|
|
|
|
CC = gcc
|
|
CXX = g++
|
|
LD = gcc
|
|
|
|
CFLAGS = \
|
|
-Wall -Wno-multichar -Wno-ctor-dtor-privacy \
|
|
$(DEFINES)
|
|
|
|
CXXFLAGS = $(CFLAGS)
|
|
|
|
# Work around aliasing bugs - developers should comment this out
|
|
CFLAGS += -fno-strict-aliasing
|
|
CXXFLAGS += -fno-strict-aliasing
|
|
|
|
LDFLAGS += -Xlinker
|
|
|
|
ifdef DEBUG
|
|
CFLAGS += -g -O0
|
|
LDFLAGS += -g
|
|
DEFINES += -DDEBUG
|
|
else
|
|
CFLAGS += -O3
|
|
endif
|
|
|
|
GLUT_CFLAGS = -fexceptions
|
|
|
|
else
|
|
# BeOS PPC settings
|
|
|
|
CC = mwcc
|
|
CXX = $(CC)
|
|
LD = mwldppc
|
|
|
|
CFLAGS = \
|
|
-w on -requireprotos \
|
|
$(DEFINES)
|
|
|
|
CXXFLAGS = $(CFLAGS)
|
|
|
|
LDFLAGS += \
|
|
-export pragma \
|
|
-init _init_routine_ \
|
|
-term _term_routine_ \
|
|
-lroot \
|
|
/boot/develop/lib/ppc/glue-noinit.a \
|
|
/boot/develop/lib/ppc/init_term_dyn.o \
|
|
/boot/develop/lib/ppc/start_dyn.o
|
|
|
|
ifdef DEBUG
|
|
CFLAGS += -g -O0
|
|
CXXFLAGS += -g -O0
|
|
LDFLAGS += -g
|
|
else
|
|
CFLAGS += -O7
|
|
CXXFLAGS += -O7
|
|
endif
|
|
|
|
GLUT_CFLAGS = -fexceptions
|
|
endif
|
|
|
|
# Directories
|
|
SRC_DIRS = gallium mesa glu glut/beos
|
|
GLU_DIRS = sgi
|
|
DRIVER_DIRS = beos
|
|
|
|
# Library/program dependencies
|
|
GL_LIB_DEPS =
|
|
OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
|
GLU_LIB_DEPS =
|
|
GLUT_LIB_DEPS = -lgame -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
|
APP_LIB_DEPS = -lbe -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -l$(GLUT_LIB)
|
|
|