diff options
author | Ian Romanick <idr@us.ibm.com> | 2005-07-29 17:25:50 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2005-07-29 17:25:50 +0000 |
commit | dc6e2c778aa0e67b68fa02043443bfad4dbbccbf (patch) | |
tree | a5be22de89bc4b277879a06e88a285fe63222f3a /configs/linux-indirect | |
parent | 4508bcc72c96d468ea121f75e33500a9359a786e (diff) | |
download | external_mesa3d-dc6e2c778aa0e67b68fa02043443bfad4dbbccbf.zip external_mesa3d-dc6e2c778aa0e67b68fa02043443bfad4dbbccbf.tar.gz external_mesa3d-dc6e2c778aa0e67b68fa02043443bfad4dbbccbf.tar.bz2 |
Add a new config called linux-indirect. This build the GLX libGL just like
linux-dri, but it disables support for direct-rendering in it. This config
mainly exists so that I can verify that changes to libGL haven't broken
builds on non-DRI platforms.
Diffstat (limited to 'configs/linux-indirect')
-rw-r--r-- | configs/linux-indirect | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/configs/linux-indirect b/configs/linux-indirect new file mode 100644 index 0000000..9842eb9 --- /dev/null +++ b/configs/linux-indirect @@ -0,0 +1,48 @@ +# -*-makefile-*- +# Configuration for linux-dri: Linux DRI hardware drivers for XFree86 & others + +include $(TOP)/configs/default + +CONFIG_NAME = linux-dri + +# Compiler and flags +CC = gcc +CXX = g++ + +MKDEP = /usr/X11R6/bin/makedepend +#MKDEP = gcc -M +#MKDEP_OPTIONS = -MF depend + +WARN_FLAGS = -Wall +OPT_FLAGS = -O -g +PIC_FLAGS = -fPIC + +# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support. +ARCH_FLAGS ?= + +DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \ + -D_BSD_SOURCE -D_GNU_SOURCE \ + -DPTHREADS + +X11_INCLUDES = -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions + +CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \ + $(ASM_FLAGS) -std=c99 -ffast-math + +CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) + + +ASM_SOURCES = + +# Library/program dependencies +EXTRA_LIB_PATH=-L/usr/X11R6/lib + +DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl +GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl + + +# Directories +SRC_DIRS = glx/x11 glu glut/glx glw +DRIVER_DIRS = +PROGRAM_DIRS = +WINDOW_SYSTEM=dri |