
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
.
60 lines
2.1 KiB
Plaintext
60 lines
2.1 KiB
Plaintext
# Configuration for Darwin / MacOS X, making dynamic libs
|
|
|
|
include $(TOP)/configs/default
|
|
|
|
CONFIG_NAME = darwin
|
|
|
|
INSTALL_DIR = /usr/X11
|
|
|
|
X11_DIR = $(INSTALL_DIR)
|
|
|
|
# Compiler and flags
|
|
CC = gcc
|
|
CXX = g++
|
|
PIC_FLAGS = -fPIC
|
|
DEFINES = -D_DARWIN_C_SOURCE -DPTHREADS -D_GNU_SOURCE \
|
|
-DGLX_ALIAS_UNSUPPORTED \
|
|
-DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL
|
|
|
|
# -DGLX_INDIRECT_RENDERING \
|
|
|
|
# -D_GNU_SOURCE - for src/mesa/main ...
|
|
# -DGLX_DIRECT_RENDERING - pulls in libdrm stuff in glx
|
|
# -DGLX_USE_APPLEGL - supposed to be used with GLX_DIRECT_RENDERING to use AGL rather than DRM, but doesn't compile
|
|
# -DIN_DRI_DRIVER
|
|
|
|
ARCH_FLAGS += $(RC_CFLAGS)
|
|
|
|
CFLAGS = -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing \
|
|
-I$(INSTALL_DIR)/include -I$(X11_DIR)/include $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(ASM_FLAGS) $(DEFINES)
|
|
CXXFLAGS = -ggdb3 -Os -Wall -fno-strict-aliasing \
|
|
-I$(INSTALL_DIR)/include -I$(X11_DIR)/include $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(ASM_FLAGS) $(DEFINES)
|
|
|
|
# Library names (actual file names)
|
|
GL_LIB_NAME = libGL.dylib
|
|
GLU_LIB_NAME = libGLU.dylib
|
|
GLUT_LIB_NAME = libglut.dylib
|
|
GLW_LIB_NAME = libGLw.dylib
|
|
OSMESA_LIB_NAME = libOSMesa.dylib
|
|
|
|
# globs used to install the lib and all symlinks
|
|
GL_LIB_GLOB = libGL.*dylib
|
|
GLU_LIB_GLOB = libGLU.*dylib
|
|
GLUT_LIB_GLOB = libglut.*dylib
|
|
GLW_LIB_GLOB = libGLw.*dylib
|
|
OSMESA_LIB_GLOB = libOSMesa.*dylib
|
|
|
|
GL_LIB_DEPS = -L$(INSTALL_DIR)/$(LIB_DIR) -L$(X11_DIR)/$(LIB_DIR) -lX11 -lXext -lm -lpthread
|
|
OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L$(INSTALL_DIR)/$(LIB_DIR) -L$(X11_DIR)/$(LIB_DIR) -lX11 -lXmu -lXi -lXext
|
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L$(INSTALL_DIR)/$(LIB_DIR) -L$(X11_DIR)/$(LIB_DIR) -lX11 -lXt
|
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L$(INSTALL_DIR)/$(LIB_DIR) -L$(X11_DIR)/$(LIB_DIR) -lX11 -lXmu -lXt -lXi -lm
|
|
|
|
# omit glw lib for now:
|
|
SRC_DIRS = glsl mapi/glapi mapi/vgapi glx/apple mesa gallium glu glut/glx
|
|
GLU_DIRS = sgi
|
|
DRIVER_DIRS = osmesa
|
|
#DRIVER_DIRS = dri
|
|
DRI_DIRS = swrast
|