Browse Source

automake: Remove the old static configs system.

With the incremental automake conversion, we'd broken those that
included glx or egl.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
tags/instanced_arrays-v2
Eric Anholt 13 years ago
parent
commit
0cc216676c
95 changed files with 1 additions and 2129 deletions
  1. 1
    116
      Makefile
  2. 0
    27
      configs/aix
  3. 0
    24
      configs/aix-64
  4. 0
    21
      configs/aix-64-static
  5. 0
    21
      configs/aix-gcc
  6. 0
    20
      configs/aix-static
  7. 0
    31
      configs/bluegene-osmesa
  8. 0
    27
      configs/bluegene-xlc-osmesa
  9. 0
    30
      configs/catamount-osmesa-pgi
  10. 0
    61
      configs/darwin
  11. 0
    7
      configs/darwin-fat-32bit
  12. 0
    7
      configs/darwin-fat-all
  13. 0
    7
      configs/darwin-fat-intel
  14. 0
    29
      configs/freebsd
  15. 0
    48
      configs/freebsd-dri
  16. 0
    10
      configs/freebsd-dri-amd64
  17. 0
    13
      configs/freebsd-dri-x86
  18. 0
    13
      configs/hpux10
  19. 0
    18
      configs/hpux10-gcc
  20. 0
    26
      configs/hpux10-static
  21. 0
    27
      configs/hpux11-32
  22. 0
    25
      configs/hpux11-32-static
  23. 0
    24
      configs/hpux11-32-static-nothreads
  24. 0
    28
      configs/hpux11-64
  25. 0
    25
      configs/hpux11-64-static
  26. 0
    28
      configs/hpux11-ia64
  27. 0
    25
      configs/hpux11-ia64-static
  28. 0
    15
      configs/hpux9
  29. 0
    13
      configs/hpux9-gcc
  30. 0
    16
      configs/irix6-64
  31. 0
    24
      configs/irix6-64-static
  32. 0
    16
      configs/irix6-n32
  33. 0
    23
      configs/irix6-n32-static
  34. 0
    17
      configs/irix6-o32
  35. 0
    23
      configs/irix6-o32-static
  36. 0
    37
      configs/linux
  37. 0
    19
      configs/linux-alpha
  38. 0
    27
      configs/linux-alpha-static
  39. 0
    9
      configs/linux-debug
  40. 0
    72
      configs/linux-dri
  41. 0
    8
      configs/linux-dri-debug
  42. 0
    9
      configs/linux-dri-ppc
  43. 0
    13
      configs/linux-dri-x86
  44. 0
    17
      configs/linux-dri-x86-64
  45. 0
    54
      configs/linux-dri-xcb
  46. 0
    58
      configs/linux-egl
  47. 0
    18
      configs/linux-ia64-icc
  48. 0
    23
      configs/linux-ia64-icc-static
  49. 0
    19
      configs/linux-icc
  50. 0
    23
      configs/linux-icc-static
  51. 0
    52
      configs/linux-indirect
  52. 0
    47
      configs/linux-llvm
  53. 0
    12
      configs/linux-llvm-debug
  54. 0
    27
      configs/linux-opengl-es
  55. 0
    26
      configs/linux-osmesa
  56. 0
    32
      configs/linux-osmesa-static
  57. 0
    29
      configs/linux-osmesa16
  58. 0
    30
      configs/linux-osmesa16-static
  59. 0
    29
      configs/linux-osmesa32
  60. 0
    9
      configs/linux-ppc
  61. 0
    14
      configs/linux-ppc-static
  62. 0
    8
      configs/linux-profile
  63. 0
    9
      configs/linux-sparc
  64. 0
    7
      configs/linux-sparc5
  65. 0
    23
      configs/linux-static
  66. 0
    7
      configs/linux-ultrasparc
  67. 0
    11
      configs/linux-x86
  68. 0
    7
      configs/linux-x86-32
  69. 0
    14
      configs/linux-x86-64
  70. 0
    8
      configs/linux-x86-64-debug
  71. 0
    8
      configs/linux-x86-64-profile
  72. 0
    21
      configs/linux-x86-64-static
  73. 0
    9
      configs/linux-x86-debug
  74. 0
    8
      configs/linux-x86-profile
  75. 0
    21
      configs/linux-x86-static
  76. 0
    15
      configs/netbsd
  77. 0
    20
      configs/openbsd
  78. 0
    14
      configs/osf1
  79. 0
    15
      configs/osf1-static
  80. 0
    16
      configs/solaris-x86
  81. 0
    18
      configs/solaris-x86-gcc
  82. 0
    24
      configs/solaris-x86-gcc-static
  83. 0
    11
      configs/sunos4
  84. 0
    17
      configs/sunos4-gcc
  85. 0
    22
      configs/sunos4-static
  86. 0
    15
      configs/sunos5
  87. 0
    11
      configs/sunos5-64-gcc
  88. 0
    37
      configs/sunos5-gcc
  89. 0
    16
      configs/sunos5-smp
  90. 0
    15
      configs/sunos5-v8
  91. 0
    14
      configs/sunos5-v8-static
  92. 0
    20
      configs/sunos5-v9
  93. 0
    32
      configs/sunos5-v9-cc-g++
  94. 0
    16
      configs/sunos5-v9-static
  95. 0
    22
      configs/ultrix-gcc

+ 1
- 116
Makefile View File

@@ -61,127 +61,12 @@ install:
$(TOP)/configs/current:
@echo
@echo
@echo "Please choose a configuration from the following list:"
@ls -1 $(TOP)/configs | grep -v "current\|default\|CVS\|autoconf.*"
@echo
@echo "Then type 'make <config>' (ex: 'make linux-x86')"
@echo
@echo "Or, run './configure' then 'make'"
@echo "Please run './configure' then 'make'"
@echo "See './configure --help' for details"
@echo
@echo "(ignore the following error message)"
@exit 1


# Rules to set/install a specific build configuration
aix \
aix-64 \
aix-64-static \
aix-gcc \
aix-static \
autoconf \
bluegene-osmesa \
bluegene-xlc-osmesa \
catamount-osmesa-pgi \
darwin \
darwin-fat-32bit \
darwin-fat-all \
freebsd \
freebsd-dri \
freebsd-dri-amd64 \
freebsd-dri-x86 \
hpux10 \
hpux10-gcc \
hpux10-static \
hpux11-32 \
hpux11-32-static \
hpux11-32-static-nothreads \
hpux11-64 \
hpux11-64-static \
hpux11-ia64 \
hpux11-ia64-static \
hpux9 \
hpux9-gcc \
irix6-64 \
irix6-64-static \
irix6-n32 \
irix6-n32-static \
irix6-o32 \
irix6-o32-static \
linux \
linux-i965 \
linux-alpha \
linux-alpha-static \
linux-debug \
linux-dri \
linux-dri-debug \
linux-dri-x86 \
linux-dri-x86-64 \
linux-dri-ppc \
linux-dri-xcb \
linux-egl \
linux-indirect \
linux-fbdev \
linux-ia64-icc \
linux-ia64-icc-static \
linux-icc \
linux-icc-static \
linux-llvm \
linux-llvm-debug \
linux-opengl-es \
linux-osmesa \
linux-osmesa-static \
linux-osmesa16 \
linux-osmesa16-static \
linux-osmesa32 \
linux-ppc \
linux-ppc-static \
linux-profile \
linux-sparc \
linux-sparc5 \
linux-static \
linux-ultrasparc \
linux-tcc \
linux-x86 \
linux-x86-debug \
linux-x86-32 \
linux-x86-64 \
linux-x86-64-debug \
linux-x86-64-profile \
linux-x86-64-static \
linux-x86-profile \
linux-x86-static \
netbsd \
openbsd \
osf1 \
osf1-static \
solaris-x86 \
solaris-x86-gcc \
solaris-x86-gcc-static \
sunos4 \
sunos4-gcc \
sunos4-static \
sunos5 \
sunos5-gcc \
sunos5-64-gcc \
sunos5-smp \
sunos5-v8 \
sunos5-v8-static \
sunos5-v9 \
sunos5-v9-static \
sunos5-v9-cc-g++ \
ultrix-gcc:
@ if test -f configs/current -o -L configs/current; then \
if ! cmp configs/$@ configs/current > /dev/null; then \
echo "Please run 'make realclean' before changing configs" ; \
exit 1 ; \
fi ; \
else \
cd configs && rm -f current && ln -s $@ current ; \
fi
$(MAKE) default


# Rules for making release tarballs

PACKAGE_VERSION=8.1-devel

+ 0
- 27
configs/aix View File

@@ -1,27 +0,0 @@
# Configuration for AIX, dynamic libs

include $(TOP)/configs/default

CONFIG_NAME = aix

# Compiler and flags
CC = cc
CXX = xlC

CFLAGS = -O -DAIXV3 -DPTHREADS
CXXFLAGS = -O -DAIXV3 -DPTHREADS

# Misc tools and flags
MKLIB_OPTIONS =

# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

GL_LIB_DEPS = -lX11 -lXext -lpthread -lm
GLU_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB) -lm -lC
GLW_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB) -lXm -lXt -lX11
OSMESA_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB)


+ 0
- 24
configs/aix-64 View File

@@ -1,24 +0,0 @@
# Configuration for AIX 64-bit, dynamic libs

include $(TOP)/configs/default

CONFIG_NAME = aix-64

# Compiler and flags
CC = xlc
CXX = xlC

CFLAGS = -q64 -qmaxmem=16384 -O -DAIXV3 -DPTHREADS
CXXFLAGS = -q64 -qmaxmem=16384 -O -DAIXV3 -DPTHREADS
LIB_DIR = lib64

# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

GL_LIB_DEPS = -lX11 -lXext -lm -lpthread
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lC
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lXm -lXt -lX11


+ 0
- 21
configs/aix-64-static View File

@@ -1,21 +0,0 @@
# Configuration for AIX, static libs

include $(TOP)/configs/default

CONFIG_NAME = aix-64-static

# Compiler and flags
CC = cc
CXX = xlC

CFLAGS = -q64 -O -DAIXV3 -DPTHREADS
CXXFLAGS = -q64 -O -DAIXV3 -DPTHREADS
MKLIB_OPTIONS = -static
LIB_DIR = lib64

# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a


+ 0
- 21
configs/aix-gcc View File

@@ -1,21 +0,0 @@
# Configuration for AIX with gcc

include $(TOP)/configs/default

CONFIG_NAME = aix-gcc

# Compiler and flags
CC = gcc
CXX = g++

CFLAGS = -O2 -DAIXV3
CXXFLAGS = -O2 -DAIXV3

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

MKLIB_OPTIONS = -arch aix-gcc
GL_LIB_DEPS = -lX11 -lXext -lm
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm


+ 0
- 20
configs/aix-static View File

@@ -1,20 +0,0 @@
# Configuration for AIX, static libs

include $(TOP)/configs/default

CONFIG_NAME = aix-static

# Compiler and flags
CC = cc
CXX = xlC

CFLAGS = -O -DAIXV3 -DPTHREADS
CXXFLAGS = -O -DAIXV3 -DPTHREADS
MKLIB_OPTIONS = -static

# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a


+ 0
- 31
configs/bluegene-osmesa View File

@@ -1,31 +0,0 @@
# Configuration for building only libOSMesa on BlueGene, no Xlib driver
# This doesn't really have a lot of dependencies, so it should be usable
# on other (gcc-based) systems too.
# It uses static linking and disables multithreading.

include $(TOP)/configs/default

CONFIG_NAME = bluegene-osmesa

# Compiler and flags
CC = /bgl/BlueLight/ppcfloor/blrts-gnu/bin/powerpc-bgl-blrts-gnu-gcc
CXX = /bgl/BlueLight/ppcfloor/blrts-gnu/bin/powerpc-bgl-blrts-gnu-g++
CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURC

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

MKLIB_OPTIONS = -static

OSMESA_LIB_NAME = libOSMesa.a

# Directories
SRC_DIRS = mesa glu
DRIVER_DIRS = osmesa


# Dependencies
OSMESA_LIB_DEPS = -lm
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)

+ 0
- 27
configs/bluegene-xlc-osmesa View File

@@ -1,27 +0,0 @@
# Configuration for building only libOSMesa on BlueGene using the IBM xlc compiler
# This doesn't really have a lot of dependencies, so it should be usable
# on similar systems too.
# It uses static linking and disables multithreading.

include $(TOP)/configs/default

CONFIG_NAME = bluegene-osmesa

# Compiler and flags
CC = /opt/ibmcmp/vacpp/bg/8.0/bin/blrts_xlc
CXX = /opt/ibmcmp/vacpp/bg/8.0/bin/blrts_xlC
CFLAGS = -O3 -pedantic -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
CXXFLAGS = -O3 -pedantic -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE

MKLIB_OPTIONS = -static

OSMESA_LIB_NAME = libOSMesa.a

# Directories
SRC_DIRS = mesa glu
DRIVER_DIRS = osmesa


# Dependencies
OSMESA_LIB_DEPS = -lm
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)

+ 0
- 30
configs/catamount-osmesa-pgi View File

@@ -1,30 +0,0 @@
# Configuration for building only libOSMesa on Cray Xt3
# for the compute nodes running Catamount using the
# Portland Group compiler. The Portland Group toolchain has to be
# enabled before using "module switch PrgEnv-gnu PrgEnv-pgi" .
# This doesn't really have a lot of dependencies, so it should be usable
# on other similar systems too.
# It uses static linking and disables multithreading.

include $(TOP)/configs/default

CONFIG_NAME = catamount-osmesa-pgi

# Compiler and flags
CC = cc
CXX = CC
CFLAGS = -target=catamount -fastsse -O3 -Mnontemporal -Mprefetch=distance:8,nta -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
CXXFLAGS = -target=catamount -fastsse -O3 -Mnontemporal -Mprefetch=distance:8,nta -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE

MKLIB_OPTIONS = -static

OSMESA_LIB_NAME = libOSMesa.a

# Directories
SRC_DIRS = mesa glu
DRIVER_DIRS = osmesa


# Dependencies
OSMESA_LIB_DEPS = -lm
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)

+ 0
- 61
configs/darwin View File

@@ -1,61 +0,0 @@
# 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 = $(shell xcrun -find cc)
CXX = $(shell xcrun -find c++)
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)
INCLUDE_FLAGS = -I$(INSTALL_DIR)/include -I$(X11_DIR)/include
OPT_FLAGS = -g3 -gdwarf-2 -Os -ffast-math -fno-strict-aliasing
WARN_FLAGS = -Wall -Wmissing-prototypes

CFLAGS = -std=c99 -fvisibility=hidden \
$(OPT_FLAGS) $(WARN_FLAGS) $(INCLUDE_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(ASM_FLAGS) $(DEFINES) $(EXTRA_CFLAGS)
CXXFLAGS = -fvisibility=hidden \
$(OPT_FLAGS) $(WARN_FLAGS) $(INCLUDE_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(ASM_FLAGS) $(DEFINES) $(EXTRA_CFLAGS)

# Library names (actual file names)
GL_LIB_NAME = lib$(GL_LIB).dylib
GLU_LIB_NAME = lib$(GLU_LIB).dylib
GLW_LIB_NAME = lib$(GLW_LIB).dylib
OSMESA_LIB_NAME = lib$(OSMESA_LIB).dylib
VG_LIB_NAME = lib$(VG_LIB).dylib

# globs used to install the lib and all symlinks
GL_LIB_GLOB = lib$(GL_LIB).*dylib
GLU_LIB_GLOB = lib$(GLU_LIB).*dylib
GLW_LIB_GLOB = lib$(GLW_LIB).*dylib
OSMESA_LIB_GLOB = lib$(OSMESA_LIB).*dylib
VG_LIB_GLOB = lib$(VG_LIB).*dylib

GL_LIB_DEPS = -L$(INSTALL_DIR)/$(LIB_DIR) -L$(X11_DIR)/$(LIB_DIR) -lX11-xcb -lxcb -lX11 -lXext $(EXTRA_LDFLAGS)
OSMESA_LIB_DEPS = $(EXTRA_LDFLAGS)
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LDFLAGS)
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L$(INSTALL_DIR)/$(LIB_DIR) -L$(X11_DIR)/$(LIB_DIR) -lX11 -lXt $(EXTRA_LDFLAGS)

SRC_DIRS = glsl mapi/glapi mapi/vgapi glx/apple mesa glu
GLU_DIRS = sgi
DRIVER_DIRS = osmesa
#DRIVER_DIRS = dri
DRI_DIRS = swrast
#GALLIUM_DRIVERS_DIRS = softpipe trace rbug noop identity galahad
#GALLIUM_DRIVERS_DIRS += llvmpipe

+ 0
- 7
configs/darwin-fat-32bit View File

@@ -1,7 +0,0 @@
# Configuration for Darwin / MacOS X, making 32bit fat dynamic libs

RC_CFLAGS=-arch ppc -arch i386

include $(TOP)/configs/darwin

CONFIG_NAME = darwin-fat-32bit

+ 0
- 7
configs/darwin-fat-all View File

@@ -1,7 +0,0 @@
# Configuration for Darwin / MacOS X, making 32bit and 64bit fat dynamic libs

RC_CFLAGS=-arch ppc -arch i386 -arch ppc64 -arch x86_64

include $(TOP)/configs/darwin

CONFIG_NAME = darwin-fat-all

+ 0
- 7
configs/darwin-fat-intel View File

@@ -1,7 +0,0 @@
# Configuration for Darwin / MacOS X, making 32bit and 64bit fat dynamic libs for intel

RC_CFLAGS=-arch i386 -arch x86_64

include $(TOP)/configs/darwin

CONFIG_NAME = darwin-fat-intel

+ 0
- 29
configs/freebsd View File

@@ -1,29 +0,0 @@
# Configuration for FreeBSD

include $(TOP)/configs/default

CONFIG_NAME = FreeBSD

# Compiler and flags
CC = cc
CXX = c++
MAKE = gmake

OPT_FLAGS = -O2
PIC_FLAGS = -fPIC

DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -DUSE_XSHM \
-DHZ=100

X11_INCLUDES = -I/usr/local/include

CFLAGS += $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) $(X11_INCLUDES) -ffast-math -pedantic

CXXFLAGS += $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) $(X11_INCLUDES)


# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

EXTRA_LIB_PATH = -L/usr/local/lib

+ 0
- 48
configs/freebsd-dri View File

@@ -1,48 +0,0 @@
# -*-makefile-*-
# Configuration for freebsd-dri: FreeBSD DRI hardware drivers

include $(TOP)/configs/freebsd

CONFIG_NAME = freebsd-dri

# Compiler and flags
CC = gcc
CXX = g++
WARN_FLAGS = -Wall
OPT_FLAGS = -O -g

EXPAT_INCLUDES = -I/usr/local/include
X11_INCLUDES = -I/usr/local/include
DEFINES = -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING \
-DHAVE_ALIAS

CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) -Wmissing-prototypes -std=c99 -Wundef -ffast-math \
$(ASM_FLAGS) $(X11_INCLUDES) $(DEFINES)

CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) -Wall -ansi -pedantic $(ASM_FLAGS) $(X11_INCLUDES)

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

ASM_SOURCES =
MESA_ASM_SOURCES =

# Library/program dependencies
MESA_MODULES = $(TOP)/src/mesa/libmesa.a

LIBDRM_CFLAGS = `$(PKG_CONFIG) --cflags libdrm`
LIBDRM_LIB = `$(PKG_CONFIG) --libs libdrm`
DRI_LIB_DEPS = $(MESA_MODULES) -L/usr/local/lib -lm -pthread -lexpat $(LIBDRM_LIB)
GL_LIB_DEPS = -L/usr/local/lib -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \
-lm -pthread $(LIBDRM_LIB)

GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/local/lib -lGL -lXt -lX11


# Directories
SRC_DIRS = glx gallium mesa glu
DRIVER_DIRS = dri

DRM_SOURCE_PATH=$(TOP)/../drm

+ 0
- 10
configs/freebsd-dri-amd64 View File

@@ -1,10 +0,0 @@
# -*-makefile-*-
# Configuration for freebsd-dri-amd64: FreeBSD DRI hardware drivers

include $(TOP)/configs/freebsd-dri

CONFIG_NAME = freebsd-dri-x86-64

ASM_FLAGS = -DUSE_X86_64_ASM
MESA_ASM_SOURCES = $(X86-64_SOURCES)
GLAPI_ASM_SOURCES = $(X86-64_API)

+ 0
- 13
configs/freebsd-dri-x86 View File

@@ -1,13 +0,0 @@
# -*-makefile-*-
# Configuration for freebsd-dri: FreeBSD DRI hardware drivers

include $(TOP)/configs/freebsd-dri

CONFIG_NAME = freebsd-dri-x86

# Unnecessary on x86, generally.
PIC_FLAGS =

ASM_FLAGS = -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
MESA_ASM_SOURCES = $(X86_SOURCES)
GLAPI_ASM_SOURCES = $(X86_API)

+ 0
- 13
configs/hpux10 View File

@@ -1,13 +0,0 @@
# Configuration for HPUX v10, shared libs

include $(TOP)/configs/default

CONFIG_NAME = hpux10

# Compiler and flags
CC = cc
CXX = aCC

CFLAGS = -O +DAportable +z -Ae -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM
CXXFLAGS = -O +DAportable +Z -Ae -D_HPUX_SOURCE


+ 0
- 18
configs/hpux10-gcc View File

@@ -1,18 +0,0 @@
# Configuration for HPUX v10, with gcc

include $(TOP)/configs/default

CONFIG_NAME = hpux10-gcc

# Compiler and flags
CC = gcc
CXX = g++

CFLAGS = -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM
CXXFLAGS = -ansi -O3 -D_HPUX_SOURCE

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing



+ 0
- 26
configs/hpux10-static View File

@@ -1,26 +0,0 @@
# Configuration for HPUX v10, static libs

include $(TOP)/configs/default

CONFIG_NAME = hpux10-static

# Compiler and flags
CC = cc
CXX = aCC

CFLAGS = -O +DAportable +z -Ae -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM
CXXFLAGS = -O +DAportable +Z -Ae -D_HPUX_SOURCE

MKLIB_OPTIONS = -static

# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

# Library/program dependencies (static libs don't have dependencies)
GL_LIB_DEPS =
OSMESA_LIB_DEPS =
GLU_LIB_DEPS =
GLW_LIB_DEPS =

+ 0
- 27
configs/hpux11-32 View File

@@ -1,27 +0,0 @@
# Configuration for HPUX v11

include $(TOP)/configs/default

CONFIG_NAME = hpux11-32

# Compiler and flags
CC = cc
CXX = aCC

CFLAGS = +z -Ae -O +Onolimit -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS

CXXFLAGS = +z -Ae -O +Onolimit -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DPTHREADS

MKLIB_OPTIONS =


# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

# Library/program dependencies
GL_LIB_DEPS = -L/usr/lib/X11R6/ -L/usr/contrib/X11R6/lib/ -lXext -lXt -lXi -lX11 -lm -lpthread
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCsup -lcl
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(GL_LIB_DEPS)

+ 0
- 25
configs/hpux11-32-static View File

@@ -1,25 +0,0 @@
# Configuration for HPUX v11, static libs

include $(TOP)/configs/default

CONFIG_NAME = hpux11-32-static

# Compiler and flags
CC = cc
CXX = aCC

CFLAGS = -O +DA2.0 -Ae -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS

CXXFLAGS = -O +DA2.0 -Ae -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DPTHREADS

MKLIB_OPTIONS = -static


# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

# Library/program dependencies


+ 0
- 24
configs/hpux11-32-static-nothreads View File

@@ -1,24 +0,0 @@
# Configuration for HPUX v11, static libs

include $(TOP)/configs/default

CONFIG_NAME = hpux11-32-static

# Compiler and flags
CC = cc
CXX = aCC

CFLAGS = -O +DA2.0 -Ae -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM

CXXFLAGS = -O +DA2.0 -Ae -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include

MKLIB_OPTIONS = -static


# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

# Library/program dependencies

+ 0
- 28
configs/hpux11-64 View File

@@ -1,28 +0,0 @@
# Configuration for HPUX v11, 64-bit

include $(TOP)/configs/default

CONFIG_NAME = hpux11-64

# Compiler and flags
CC = cc
CXX = aCC

CFLAGS = +z -Ae +DD64 -O +Onolimit -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS

CXXFLAGS = +z -Ae +DD64 -O +Onolimit -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DPTHREADS

MKLIB_OPTIONS =

LIB_DIR = lib64

# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

# Library/program dependencies
GL_LIB_DEPS = -L/usr/lib/X11R6/pa20_64 -L/usr/contrib/X11R6/lib/pa20_64 -lXext -lXmu -lXt -lXi -lX11 -lm -lpthread
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCsup -lcl
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(GL_LIB_DEPS)

+ 0
- 25
configs/hpux11-64-static View File

@@ -1,25 +0,0 @@
# Configuration for HPUX v11, 64-bit, static libs

include $(TOP)/configs/default

CONFIG_NAME = hpux11-64-static

# Compiler and flags
CC = cc
CXX = aCC

CFLAGS = -O +DA2.0W -Ae -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS

CXXFLAGS = -O +DA2.0W -Ae -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DPTHREADS

MKLIB_OPTIONS = -static

LIB_DIR = lib64

# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

# Library/program dependencies

+ 0
- 28
configs/hpux11-ia64 View File

@@ -1,28 +0,0 @@
# Configuration for HPUX IA64 v11, 64-bit

include $(TOP)/configs/default

CONFIG_NAME = hpux11-ia64

# Compiler and flags
CC = cc
CXX = aCC

CFLAGS = +z -Ae +DD64 -O +DSmckinley -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS

CXXFLAGS = +z -Ae +DD64 -O +DSmckinley -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DPTHREADS

MKLIB_OPTIONS =

LIB_DIR = lib64

# Library names (actual file names)
GL_LIB_NAME = libGL.so
GLU_LIB_NAME = libGLU.so
GLW_LIB_NAME = libGLw.so
OSMESA_LIB_NAME = libOSMesa.so

# Library/program dependencies
GL_LIB_DEPS = -L/usr/lib/X11R6/ -L/usr/contrib/X11R6/lib/ -lXext -lXmu -lXt -lXi -lX11 -lm -lpthread
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCsup -lcl
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(GL_LIB_DEPS)

+ 0
- 25
configs/hpux11-ia64-static View File

@@ -1,25 +0,0 @@
# Configuration for HPUX v11, 64-bit, static libs

include $(TOP)/configs/default

CONFIG_NAME = hpux11-ia64-static

# Compiler and flags
CC = cc
CXX = aCC

CFLAGS = -O +DD64 -Ae -D_HPUX_SOURCE +DSmckinley -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM -DPTHREADS

CXXFLAGS = -O +DD64 -Ae -D_HPUX_SOURCE +DSmckinley -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DPTHREADS

MKLIB_OPTIONS = -static

LIB_DIR = lib64

# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

# Library/program dependencies

+ 0
- 15
configs/hpux9 View File

@@ -1,15 +0,0 @@
# Configuration for HPUX v9, shared libs

include $(TOP)/configs/default

CONFIG_NAME = hpux9

# Compiler and flags
CC = cc
# XXX fix this
CXX = c++

CFLAGS = +z -O +Olibcalls +ESlit -Ae +Onolimit -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM
CXXFLAGS = +z -O +Olibcalls +ESlit -Ae +Onolimit -D_HPUX_SOURCE -I/usr/include/X11R5



+ 0
- 13
configs/hpux9-gcc View File

@@ -1,13 +0,0 @@
# Configuration for HPUX v10, shared libs

include $(TOP)/configs/default

CONFIG_NAME = hpux9-gcc

# Compiler and flags
CC = cc
CXX = aCC

CFLAGS = -O +DAportable +z -Ae -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM
CXXFLAGS = -O +DAportable +Z -Ae -D_HPUX_SOURCE


+ 0
- 16
configs/irix6-64 View File

@@ -1,16 +0,0 @@
# Configuration for IRIX 6.x, make n64 DSOs

include $(TOP)/configs/default

CONFIG_NAME = irix6-64

# Compiler and flags
CC = cc
CXX = CC
CFLAGS = -64 -O3 -ansi -woff 1068,1069,1174,1185,1209,1474,1552 -DUSE_XSHM -DPTHREADS
CXXFLAGS = -64 -O3 -ansi -woff 1174 -DPTHREADS

GLW_SOURCES = GLwDrawA.c GLwMDrawA.c

LIB_DIR = lib64


+ 0
- 24
configs/irix6-64-static View File

@@ -1,24 +0,0 @@
# Configuration for IRIX 6.x, make n64 static libs

include $(TOP)/configs/default

CONFIG_NAME = irix6-64-static

# Compiler and flags
CC = cc
CXX = CC
CFLAGS = -64 -O3 -ansi -woff 1068,1069,1174,1185,1209,1474,1552 -DUSE_XSHM -DPTHREADS
CXXFLAGS = -64 -O3 -ansi -woff 1174 -DPTHREADS
MKLIB_OPTIONS = -static

GLW_SOURCES = GLwDrawA.c GLwMDrawA.c

LIB_DIR = lib64


GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a



+ 0
- 16
configs/irix6-n32 View File

@@ -1,16 +0,0 @@
# Configuration for IRIX 6.x, make n32 DSOs

include $(TOP)/configs/default

CONFIG_NAME = irix6-n32

# Compiler and flags
CC = cc
CXX = CC
CFLAGS = -n32 -mips3 -O3 -ansi -woff 1174,1521,1552 -DUSE_XSHM -DPTHREADS
CXXFLAGS = -n32 -mips3 -O3 -ansi -woff 1174,1552 -DPTHREADS

GLW_SOURCES = GLwDrawA.c GLwMDrawA.c

LIB_DIR = lib32


+ 0
- 23
configs/irix6-n32-static View File

@@ -1,23 +0,0 @@
# Configuration for IRIX 6.x, make n32 static libs

include $(TOP)/configs/default

CONFIG_NAME = irix6-n32-static

# Compiler and flags
CC = cc
CXX = CC
CFLAGS = -n32 -mips2 -O2 -ansi -woff 1521,1552 -DUSE_XSHM -DPTHREADS
CXXFLAGS = -n32 -mips2 -O2 -ansi -woff 3262,3666 -DPTHREADS
MKLIB_OPTIONS = -static

GLW_SOURCES = GLwDrawA.c GLwMDrawA.c

LIB_DIR = lib32


GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a


+ 0
- 17
configs/irix6-o32 View File

@@ -1,17 +0,0 @@
# Configuration for IRIX 6.x, make o32 DSOs

include $(TOP)/configs/default

CONFIG_NAME = irix6-o32

# Compiler and flags
CC = cc
CXX = CC
CFLAGS = -32 -mips2 -O2 -ansi -woff 1521,1552 -DUSE_XSHM
CXXFLAGS = -32 -mips2 -O2 -ansi -woff 3262,3666

GLW_SOURCES = GLwDrawA.c GLwMDrawA.c

LIB_DIR = lib32



+ 0
- 23
configs/irix6-o32-static View File

@@ -1,23 +0,0 @@
# Configuration for IRIX 6.x, make o32 static libs

include $(TOP)/configs/default

CONFIG_NAME = irix6-o32-static

# Compiler and flags
CC = cc
CXX = CC
CFLAGS = -32 -mips2 -O2 -ansi -woff 1521,1552 -DUSE_XSHM
CXXFLAGS = -32 -mips2 -O2 -ansi -woff 3262,3666
MKLIB_OPTIONS = -static

GLW_SOURCES = GLwDrawA.c GLwMDrawA.c

LIB_DIR = lib32


GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a


+ 0
- 37
configs/linux View File

@@ -1,37 +0,0 @@
# Configuration for generic Linux

include $(TOP)/configs/default

CONFIG_NAME = linux

# Compiler and flags
CC = gcc
CXX = g++

OPT_FLAGS = -O3 -g
PIC_FLAGS = -fPIC

# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support. Add -m32
# to build properly on 64-bit platforms.

ARCH_FLAGS ?=

DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
-D_BSD_SOURCE -D_GNU_SOURCE \
-DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN

X11_INCLUDES = -I/usr/X11R6/include

CFLAGS = -Wall -Wmissing-prototypes -Wdeclaration-after-statement \
-Wpointer-arith $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \
$(DEFINES) $(ASM_FLAGS) $(X11_INCLUDES) -std=c99 -ffast-math

CXXFLAGS = -Wall -Wpointer-arith $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \
$(DEFINES) $(X11_INCLUDES)

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing


EXTRA_LIB_PATH = -L/usr/X11R6/lib

+ 0
- 19
configs/linux-alpha View File

@@ -1,19 +0,0 @@
# Configuration for Linux on Alpha

include $(TOP)/configs/default

CONFIG_NAME = linux-alpha

# Compiler and flags
CC = gcc
CXX = g++
CFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -fPIC -D_XOPEN_SOURCE -DUSE_XSHM
CXXFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -fPIC -D_XOPEN_SOURCE

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib -lXt -lX11


+ 0
- 27
configs/linux-alpha-static View File

@@ -1,27 +0,0 @@
# Configuration for Linux on Alpha, static libs

include $(TOP)/configs/default

CONFIG_NAME = linux-alpha-static

# Compiler and flags
CC = gcc
CXX = g++
CFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -D_XOPEN_SOURCE -DUSE_XSHM
CXXFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -D_XOPEN_SOURCE
MKLIB_OPTIONS = -static
PIC_FLAGS =

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a


GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib -lXt -lX11

+ 0
- 9
configs/linux-debug View File

@@ -1,9 +0,0 @@
# Configuration for debugging on Linux

include $(TOP)/configs/linux

CONFIG_NAME = linux-debug

OPT_FLAGS = -g
#CFLAGS += -pedantic
DEFINES += -DDEBUG -DDEBUG_MATH

+ 0
- 72
configs/linux-dri View File

@@ -1,72 +0,0 @@
# -*-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

OPT_FLAGS = -O2 -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 -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING \
-DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN

X11_INCLUDES = -I/usr/X11R6/include

CFLAGS = -Wall -Wmissing-prototypes -std=c99 -ffast-math \
$(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS)

CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)


# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

MESA_ASM_SOURCES =

# Library/program dependencies
EXTRA_LIB_PATH=-L/usr/X11R6/lib

MESA_MODULES = $(TOP)/src/mesa/libmesa.a

LIBDRM_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm)
LIBDRM_LIB = $(shell $(PKG_CONFIG) --libs libdrm)
DRI_LIB_DEPS = $(MESA_MODULES) $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB)
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \
-lm -lpthread -ldl $(LIBDRM_LIB)


# Directories
SRC_DIRS := glx egl $(SRC_DIRS)

DRIVER_DIRS = dri
GALLIUM_WINSYS_DIRS = sw sw/xlib drm/vmware drm/intel svga/drm
GALLIUM_TARGET_DIRS = dri-vmwgfx
GALLIUM_STATE_TRACKERS_DIRS = egl dri

DRI_DIRS = swrast

INTEL_LIBS = $(shell $(PKG_CONFIG) --libs libdrm_intel)
INTEL_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm_intel)

NOUVEAU_LIBS = $(shell $(PKG_CONFIG) --libs libdrm_nouveau)
NOUVEAU_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm_nouveau)

RADEON_LIBS = $(shell $(PKG_CONFIG) --libs libdrm_radeon)
RADEON_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm_radeon)
RADEON_LDFLAGS = $(LIBDRM_RADEON_LIBS)

+ 0
- 8
configs/linux-dri-debug View File

@@ -1,8 +0,0 @@
# -*-makefile-*-
# Configuration for linux-dri-debug: Linux DRI hardware drivers for XFree86 & others

include $(TOP)/configs/linux-dri

CONFIG_NAME = linux-dri-debug
OPT_FLAGS = -O0 -g
ARCH_FLAGS = -DDEBUG

+ 0
- 9
configs/linux-dri-ppc View File

@@ -1,9 +0,0 @@
# -*-makefile-*-
# Configuration for linux-dri: Linux DRI hardware drivers for XFree86 & others

include $(TOP)/configs/linux-dri

CONFIG_NAME = linux-dri-ppc

OPT_FLAGS = -Os -mcpu=603
PIC_FLAGS = -fPIC

+ 0
- 13
configs/linux-dri-x86 View File

@@ -1,13 +0,0 @@
# -*-makefile-*-
# Configuration for linux-dri: Linux DRI hardware drivers for XFree86 & others

include $(TOP)/configs/linux-dri

CONFIG_NAME = linux-dri-x86

ARCH_FLAGS = -m32 -mmmx -msse -msse2

ASM_FLAGS = -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
MESA_ASM_SOURCES = $(X86_SOURCES)
GLAPI_ASM_SOURCES = $(X86_API)


+ 0
- 17
configs/linux-dri-x86-64 View File

@@ -1,17 +0,0 @@
# -*-makefile-*-
# Configuration for linux-dri: Linux DRI hardware drivers for XFree86 & others

include $(TOP)/configs/linux-dri

CONFIG_NAME = linux-dri-x86-64

ARCH_FLAGS = -m64

ASM_FLAGS = -DUSE_X86_64_ASM
MESA_ASM_SOURCES = $(X86-64_SOURCES)
GLAPI_ASM_SOURCES = $(X86-64_API)

LIB_DIR = lib64

# Library/program dependencies
EXTRA_LIB_PATH=-L/usr/X11R6/lib64

+ 0
- 54
configs/linux-dri-xcb View File

@@ -1,54 +0,0 @@
# -*-makefile-*-
# Configuration for linux-dri: Linux DRI hardware drivers for XFree86 & others

include $(TOP)/configs/default

CONFIG_NAME = linux-dri-xcb

# Compiler and flags
CC = gcc
CXX = g++

#MKDEP = /usr/X11R6/bin/makedepend
#MKDEP = gcc -M
#MKDEP_OPTIONS = -MF depend

OPT_FLAGS = -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 -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING \
-DHAVE_ALIAS -DUSE_XCB -DHAVE_POSIX_MEMALIGN

X11_INCLUDES = $(shell $(PKG_CONFIG) --cflags-only-I x11) $(shell $(PKG_CONFIG) --cflags-only-I xcb) $(shell $(PKG_CONFIG) --cflags-only-I x11-xcb) $(shell $(PKG_CONFIG) --cflags-only-I xcb-glx)

CFLAGS = -Wall -Wmissing-prototypes $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \
$(DEFINES) $(ASM_FLAGS) -std=c99 -ffast-math

CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

MESA_ASM_SOURCES =

# Library/program dependencies
EXTRA_LIB_PATH=$(shell $(PKG_CONFIG) --libs-only-L x11)

MESA_MODULES = $(TOP)/src/mesa/libmesa.a

LIBDRM_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm)
LIBDRM_LIB = $(shell $(PKG_CONFIG) --libs libdrm)
DRI_LIB_DEPS = $(MESA_MODULES) $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB)
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl \
$(LIBDRM_LIB) $(shell $(PKG_CONFIG) --libs xcb) $(shell $(PKG_CONFIG) --libs x11-xcb) $(shell $(PKG_CONFIG) --libs xcb-glx)

SRC_DIRS = glx gallium mesa glu

DRIVER_DIRS = dri

+ 0
- 58
configs/linux-egl View File

@@ -1,58 +0,0 @@
# -*-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

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 -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING \
-DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN

X11_INCLUDES = -I/usr/X11R6/include

CFLAGS = -Wall -Wmissing-prototypes -std=c99 -ffast-math \
$(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS)

CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)


MESA_ASM_SOURCES =

# Library/program dependencies
EXTRA_LIB_PATH=-L/usr/X11R6/lib

MESA_MODULES = $(TOP)/src/mesa/libmesa.a

LIBDRM_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm)
LIBDRM_LIB = $(shell $(PKG_CONFIG) --libs libdrm)
DRI_LIB_DEPS = $(MESA_MODULES) $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB)
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \
-lm -lpthread -ldl \
$(LIBDRM_LIB)


# Directories
SRC_DIRS = gallium mesa gallium/winsys gallium/targets glu egl

DRIVER_DIRS = dri
GALLIUM_WINSYS_DIRS = egl_drm
GALLIUM_TARGET_DIRS =

DRI_DIRS = intel

+ 0
- 18
configs/linux-ia64-icc View File

@@ -1,18 +0,0 @@
# Configuration for Linux with Intel C compiler

include $(TOP)/configs/default

CONFIG_NAME = linux-icc

# Compiler and flags
CC = icc
CXX = icpc
CFLAGS = -O3 -ansi -KPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include
CXXFLAGS = -O3 -ansi -KPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include
MKLIB_OPTIONS = -arch icc-istatic

GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lpthread
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(GL_LIB_DEPS)



+ 0
- 23
configs/linux-ia64-icc-static View File

@@ -1,23 +0,0 @@
# Configuration for Linux with Intel C compiler, static libs

include $(TOP)/configs/default

CONFIG_NAME = linux-icc-static

# Compiler and flags
CC = icc
CXX = icpc
CFLAGS = -O3 -ansi -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include
CXXFLAGS = -O3 -ansi -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include
MKLIB_OPTIONS = -static -arch icc-istatic

# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

GL_LIB_DEPS =
GLU_LIB_DEPS =
GLW_LIB_DEPS =


+ 0
- 19
configs/linux-icc View File

@@ -1,19 +0,0 @@
# Configuration for Linux with Intel C compiler

include $(TOP)/configs/default

CONFIG_NAME = linux-icc

# Compiler and flags
CC = icc
CXX = g++
CFLAGS = -O3 -tpp6 -axK -KPIC -D_GCC_LIMITS_H_ -D__GNUC__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include
CXXFLAGS = -O3
MKLIB_OPTIONS = -arch icc

GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread

MESA_ASM_SOURCES = $(X86_SOURCES)
GLAPI_ASM_SOURCES = $(X86_API)



+ 0
- 23
configs/linux-icc-static View File

@@ -1,23 +0,0 @@
# Configuration for Linux with Intel C compiler, static libs

include $(TOP)/configs/default

CONFIG_NAME = linux-icc-static

# Compiler and flags
CC = icc
CXX = icpc
CFLAGS = -O3 -tpp6 -axK -D_GCC_LIMITS_H_ -D__GNUC__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include
CXXFLAGS = -O3 -tpp6 -axK -DPTHREADS
MKLIB_OPTIONS = -static -arch icc

# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

GL_LIB_DEPS =

MESA_ASM_SOURCES = $(X86_SOURCES)
GLAPI_ASM_SOURCES = $(X86_API)

+ 0
- 52
configs/linux-indirect View File

@@ -1,52 +0,0 @@
# -*-makefile-*-
# Configuration for linux-indirect: Builds a libGL capable of indirect
# rendering, but *NOT* capable of direct rendering.

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 \
-DGLX_INDIRECT_RENDERING \
-DPTHREADS -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN

X11_INCLUDES = -I/usr/X11R6/include

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)

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

MESA_ASM_SOURCES =

# Library/program dependencies
EXTRA_LIB_PATH=-L/usr/X11R6/lib

MESA_MODULES = $(TOP)/src/mesa/libmesa.a
DRI_LIB_DEPS = $(MESA_MODULES) $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl


# Directories
SRC_DIRS = glx glu
DRIVER_DIRS =

+ 0
- 47
configs/linux-llvm View File

@@ -1,47 +0,0 @@
# -*-makefile-*-
# Configuration for Linux and LLVM with optimizations
# Builds the llvmpipe gallium driver

include $(TOP)/configs/linux

CONFIG_NAME = linux-llvm

# Add llvmpipe driver
GALLIUM_DRIVERS_DIRS += llvmpipe

OPT_FLAGS = -O3 -ansi -pedantic
ARCH_FLAGS = -mmmx -msse -msse2 -mstackrealign

DEFINES += -DNDEBUG -DGALLIUM_LLVMPIPE

# override -std=c99
CFLAGS += -std=gnu99

LLVM_VERSION := $(shell llvm-config --version)

ifeq ($(LLVM_VERSION),)
$(warning Could not find LLVM! Make Sure 'llvm-config' is in the path)
MESA_LLVM=0
else
MESA_LLVM=1
HAVE_LLVM := 0x0$(subst .,0,$(LLVM_VERSION:svn=))
DEFINES += -DHAVE_LLVM=$(HAVE_LLVM)
# $(info Using LLVM version: $(LLVM_VERSION))
endif

ifeq ($(MESA_LLVM),1)
LLVM_CFLAGS=`llvm-config --cppflags|sed 's/-DNDEBUG\>//g'`
LLVM_CXXFLAGS=`llvm-config --cxxflags` -Wno-long-long
LLVM_LDFLAGS = $(shell llvm-config --ldflags)
LLVM_LIBS = $(shell llvm-config --libs)
MKLIB_OPTIONS=-cplusplus
else
LLVM_CFLAGS=
LLVM_CXXFLAGS=
endif

LD = g++
GL_LIB_DEPS = $(LLVM_LDFLAGS) $(LLVM_LIBS) $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread -lstdc++

# to allow the NV drivers to compile
LIBDRM_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm)

+ 0
- 12
configs/linux-llvm-debug View File

@@ -1,12 +0,0 @@
# -*-makefile-*-
# Configuration for Linux and LLVM with debugging info
# Builds the llvmpipe gallium driver

include $(TOP)/configs/linux-llvm

CONFIG_NAME = linux-llvm-debug

OPT_FLAGS = -g -ansi -pedantic

DEFINES += -DDEBUG -UNDEBUG


+ 0
- 27
configs/linux-opengl-es View File

@@ -1,27 +0,0 @@
# Configuration for OpenGL ES on Linux

include $(TOP)/configs/linux

CONFIG_NAME = linux-opengl-es

# Directories to build
LIB_DIR = lib
SRC_DIRS = egl glsl mapi/es1api mapi/es2api mesa/es \
gallium gallium/winsys gallium/targets

# egl st needs this
DEFINES += -DGLX_DIRECT_RENDERING

# no mesa or egl drivers
DRIVER_DIRS =

GALLIUM_DRIVERS_DIRS = softpipe

# build libGLES*.so
GALLIUM_STATE_TRACKERS_DIRS = es

# build egl_x11_{swrast,i915}.so
GALLIUM_DRIVERS_DIRS += trace rbug i915
GALLIUM_STATE_TRACKERS_DIRS += egl
GALLIUM_WINSYS_DIRS += drm/intel
GALLIUM_TARGET_DIRS += egl-swrast egl-i915

+ 0
- 26
configs/linux-osmesa View File

@@ -1,26 +0,0 @@
# Configuration for building only libOSMesa on Linux, no Xlib driver
# This doesn't really have any Linux dependencies, so it should be usable
# on other (gcc-based) systems.

include $(TOP)/configs/default

CONFIG_NAME = linux-osmesa

# Compiler and flags
CC = gcc
CXX = g++
CFLAGS = -g -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS
CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

# Directories
SRC_DIRS = mapi/glapi glsl mesa glu
DRIVER_DIRS = osmesa


# Dependencies
OSMESA_LIB_DEPS = -lm -lpthread -ldl
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)

+ 0
- 32
configs/linux-osmesa-static View File

@@ -1,32 +0,0 @@
# Configuration for building static libOSMesa.a on Linux, no Xlib driver
# This doesn't really have any Linux dependencies, so it should be usable
# on other (gcc-based) systems.

include $(TOP)/configs/default

CONFIG_NAME = linux-osmesa

# Compiler and flags
CC = gcc -m32
CXX = g++ -m32
CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE

MKLIB_OPTIONS = -static

# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

# Directories
SRC_DIRS = mesa glu
DRIVER_DIRS = osmesa


# Dependencies
GL_LIB_DEPS =
OSMESA_LIB_DEPS =
GLU_LIB_DEPS =
GLW_LIB_DEPS =

+ 0
- 29
configs/linux-osmesa16 View File

@@ -1,29 +0,0 @@
# Configuration for 16 bits/channel OSMesa library on Linux

include $(TOP)/configs/default

CONFIG_NAME = linux-osmesa16

# Compiler and flags
CC = gcc
CXX = g++
CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DCHAN_BITS=16 -DDEFAULT_SOFTWARE_DEPTH_BITS=31
CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

# Library names
OSMESA_LIB = OSMesa16
OSMESA_LIB_NAME = libOSMesa16.so


# Directories
SRC_DIRS = mapi/glapi glsl mesa glu
DRIVER_DIRS = osmesa


# Dependencies
OSMESA_LIB_DEPS = -lm -lpthread
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)

+ 0
- 30
configs/linux-osmesa16-static View File

@@ -1,30 +0,0 @@
# Configuration for 16 bits/channel OSMesa library on Linux

include $(TOP)/configs/default

CONFIG_NAME = linux-osmesa16-static

# Compiler and flags
CC = gcc
CXX = g++
CFLAGS = -O3 -ansi -pedantic -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DCHAN_BITS=16 -DDEFAULT_SOFTWARE_DEPTH_BITS=31
CXXFLAGS = -O3 -ansi -pedantic -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
MKLIB_OPTIONS = -static
PIC_FLAGS =

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

# Library names
OSMESA_LIB = OSMesa16
OSMESA_LIB_NAME = libOSMesa16.a


# Directories
SRC_DIRS = gallium mesa glu
DRIVER_DIRS = osmesa


# Dependencies
OSMESA_LIB_DEPS = -lm -lpthread

+ 0
- 29
configs/linux-osmesa32 View File

@@ -1,29 +0,0 @@
# Configuration for 32 bits/channel OSMesa library on Linux

include $(TOP)/configs/default

CONFIG_NAME = linux-osmesa32

# Compiler and flags
CC = gcc
CXX = g++
CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DCHAN_BITS=32 -DDEFAULT_SOFTWARE_DEPTH_BITS=31
CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

# Library names
OSMESA_LIB = OSMesa32
OSMESA_LIB_NAME = libOSMesa32.so


# Directories
SRC_DIRS = mapi/glapi glsl mesa glu
DRIVER_DIRS = osmesa


# Dependencies
OSMESA_LIB_DEPS = -lm -lpthread
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)

+ 0
- 9
configs/linux-ppc View File

@@ -1,9 +0,0 @@
# Configuration for Linux on PPC

include $(TOP)/configs/linux

CONFIG_NAME = linux-ppc

OPT_FLAGS = -O3 -mcpu=603 -fsigned-char -funroll-loops

# FIXME: Use of PowerPC assembly should be enabled here.

+ 0
- 14
configs/linux-ppc-static View File

@@ -1,14 +0,0 @@
# Configuration for Linux on PPC, static libs

include $(TOP)/configs/linux-ppc

CONFIG_NAME = linux-ppc-static

MKLIB_OPTIONS = -static
PIC_FLAGS =

# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

+ 0
- 8
configs/linux-profile View File

@@ -1,8 +0,0 @@
# Configuration for profiling on Linux with gprof

include $(TOP)/configs/linux-static

CONFIG_NAME = linux-profile

OPT_FLAGS = -pg -g -O2
DEFINES += -DNDEBUG

+ 0
- 9
configs/linux-sparc View File

@@ -1,9 +0,0 @@
# Configuration for Linux on Sparc

include $(TOP)/configs/linux

CONFIG_NAME = linux-sparc

#ASM_FLAGS = -DUSE_SPARC_ASM
#MESA_ASM_SOURCES = $(SPARC_SOURCES)
#GLAPI_ASM_SOURCES = $(SPARC_API)

+ 0
- 7
configs/linux-sparc5 View File

@@ -1,7 +0,0 @@
# Configuration for Linux on Sparc5

include $(TOP)/configs/linux-sparc

CONFIG_NAME = linux-sparc5

ARCH_FLAGS += -mcpu=ultrasparc

+ 0
- 23
configs/linux-static View File

@@ -1,23 +0,0 @@
# Configuration for generic Linux, making static libs

include $(TOP)/configs/linux

CONFIG_NAME = linux-static

MKLIB_OPTIONS = -static
PIC_FLAGS =

# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

# Library/program dependencies (static libs don't have dependencies)
GL_LIB_DEPS =
OSMESA_LIB_DEPS =
GLU_LIB_DEPS =
GLW_LIB_DEPS =

# Need to specify all libraries we may need
-l$(GL_LIB) -lm -L/usr/X11R6/lib/ -lX11 -lXext -lXmu -lXi -lpthread

+ 0
- 7
configs/linux-ultrasparc View File

@@ -1,7 +0,0 @@
# Configuration for Linux on UltraSparc

include $(TOP)/configs/linux-sparc

CONFIG_NAME = linux-ultrasparc

ARCH_FLAGS += -mv8 -mtune=ultrasparc

+ 0
- 11
configs/linux-x86 View File

@@ -1,11 +0,0 @@
# Configuration for Linux with x86 optimizations

include $(TOP)/configs/linux

CONFIG_NAME = linux-x86

ARCH_FLAGS = -m32 -mmmx -msse -msse2

ASM_FLAGS = -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
MESA_ASM_SOURCES = $(X86_SOURCES)
GLAPI_ASM_SOURCES = $(X86_API)

+ 0
- 7
configs/linux-x86-32 View File

@@ -1,7 +0,0 @@
# To build Linux x86 32-bit in an x86-64 environment

include $(TOP)/configs/linux-x86

CONFIG_NAME = linux-x86-32

ARCH_FLAGS += -m32

+ 0
- 14
configs/linux-x86-64 View File

@@ -1,14 +0,0 @@
# Configuration for Linux for 64-bit X86 (Opteron)

include $(TOP)/configs/linux

CONFIG_NAME = linux-x86-64

ARCH_FLAGS = -m64

MESA_ASM_SOURCES = $(X86-64_SOURCES)
GLAPI_ASM_SOURCES = $(X86-64_API)
ASM_FLAGS = -DUSE_X86_64_ASM

LIB_DIR = lib64
EXTRA_LIB_PATH = -L/usr/X11R6/lib64

+ 0
- 8
configs/linux-x86-64-debug View File

@@ -1,8 +0,0 @@
# Configuration for Linux for 64-bit X86 (Opteron)

include $(TOP)/configs/linux-x86-64

CONFIG_NAME = linux-x86-64-debug

OPT_FLAGS = -g
DEFINES += -DDEBUG -DDEBUG_MATH

+ 0
- 8
configs/linux-x86-64-profile View File

@@ -1,8 +0,0 @@
# Configuration for profiling on Linux for 64-bit X86 (Opteron) with gprof

include $(TOP)/configs/linux-x86-64-static

CONFIG_NAME = linux-x86-64-profile

OPT_FLAGS = -pg -g -O2
DEFINES += -DNDEBUG

+ 0
- 21
configs/linux-x86-64-static View File

@@ -1,21 +0,0 @@
# Configuration for Linux for 64-bit X86 (Opteron), static libs

include $(TOP)/configs/linux-x86-64

CONFIG_NAME = linux-x86-64-static

MKLIB_OPTIONS = -static
PIC_FLAGS =

# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

# Library/program dependencies (static libs don't have dependencies)
GL_LIB_DEPS =
OSMESA_LIB_DEPS =
GLU_LIB_DEPS =
GLW_LIB_DEPS =


+ 0
- 9
configs/linux-x86-debug View File

@@ -1,9 +0,0 @@
# Configuration for Linux with x86 code, but no gcc optimizations and
# debugging enabled.

include $(TOP)/configs/linux-x86

CONFIG_NAME = linux-x86-debug

OPT_FLAGS = -g
DEFINES += -DDEBUG -DDEBUG_MATH

+ 0
- 8
configs/linux-x86-profile View File

@@ -1,8 +0,0 @@
# Configuration for profiling on Linux with x86 optimizations with gprof

include $(TOP)/configs/linux-x86-static

CONFIG_NAME = linux-x86-profile

OPT_FLAGS = -pg -g -O2
DEFINES += -DNDEBUG

+ 0
- 21
configs/linux-x86-static View File

@@ -1,21 +0,0 @@
# Configuration for Linux with x86 optimizations, static libs

include $(TOP)/configs/linux-x86

CONFIG_NAME = linux-x86-static

MKLIB_OPTIONS = -static
PIC_FLAGS =

# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

# Library/program dependencies (static libs don't have dependencies)
GL_LIB_DEPS =
OSMESA_LIB_DEPS =
GLU_LIB_DEPS =
GLW_LIB_DEPS =


+ 0
- 15
configs/netbsd View File

@@ -1,15 +0,0 @@
# Configuration for NetBSD

include $(TOP)/configs/default

CONFIG_NAME = netbsd

# Compiler and flags
CC = gcc
CXX = g++
CFLAGS = -O2 -fPIC -DUSE_XSHM -I/usr/X11R6/include -DHZ=100
CXXFLAGS = -O2 -fPIC

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

+ 0
- 20
configs/openbsd View File

@@ -1,20 +0,0 @@
# Configuration for OpenBSD

include $(TOP)/configs/default

CONFIG_NAME = openbsd

# Compiler and flags
CC = gcc
CXX = g++
CFLAGS = -O2 -fPIC -I/usr/X11R6/include -DUSE_XSHM -DHZ=100
CXXFLAGS = -O2 -fPIC -I/usr/X11R6/include -DHZ=100

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm
OSMESA_LIB_DEPS = -lm
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)


+ 0
- 14
configs/osf1 View File

@@ -1,14 +0,0 @@
# Configuration for OSF/1

include $(TOP)/configs/default

CONFIG_NAME = osf1

# Compiler and flags
CC = cc
CXX = cxx
CFLAGS = -O0 -std1 -ieee_with_no_inexact -DUSE_XSHM -DPTHREADS -D_REENTRANT
CXXFLAGS = -O2 -std ansi -ieee -DPTHREADS -D_REENTRANT

GL_LIB_DEPS = -lX11 -lXext -lm -lpthread
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm

+ 0
- 15
configs/osf1-static View File

@@ -1,15 +0,0 @@
# Configuration for OSF/1

include $(TOP)/configs/default

CONFIG_NAME = osf1

# Compiler and flags
CC = cc
CXX = cxx
CFLAGS = -O2 -std1 -ieee_with_no_inexact -DUSE_XSHM -DPTHREADS -D_REENTRANT
CXXFLAGS = -O2 -std ansi -ieee -DPTHREADS -D_REENTRANT
MKLIB_OPTIONS = -static

GL_LIB_DEPS =
GLU_LIB_DEPS =

+ 0
- 16
configs/solaris-x86 View File

@@ -1,16 +0,0 @@
# Configuration for Solaris on x86

include $(TOP)/configs/default

CONFIG_NAME = solaris-x86

# Compiler and flags
CC = cc
CFLAGS = -Xa -xO3 -xpentium -KPIC -I/usr/openwin/include -DUSE_XSHM
MKLIB_OPTIONS = -static


GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

+ 0
- 18
configs/solaris-x86-gcc View File

@@ -1,18 +0,0 @@
# Configuration for Solaris on x86 with gcc, dynamic libs

include $(TOP)/configs/default

CONFIG_NAME = solaris-x86-gcc

# Compiler and flags
CC = gcc
CXX = g++
CFLAGS = -O3 -march=i486 -fPIC -I/usr/openwin/include -DUSE_XSHM
CXXFLAGS = -O3 -march=i486 -fPIC

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lm -lpthread
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm

+ 0
- 24
configs/solaris-x86-gcc-static View File

@@ -1,24 +0,0 @@
# Configuration for Solaris on x86 with gcc, static libs

include $(TOP)/configs/default

CONFIG_NAME = solaris-x86-gcc

# Compiler and flags
CC = gcc
CXX = g++
CFLAGS = -O3 -march=i486 -fPIC -I/usr/openwin/include -DUSE_XSHM
CXXFLAGS = -O3 -march=i486 -fPIC
MKLIB_OPTIONS = -static

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lm -lpthread
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm

GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

+ 0
- 11
configs/sunos4 View File

@@ -1,11 +0,0 @@
# Configuration for SunOS 4, shared libs

include $(TOP)/configs/default

CONFIG_NAME = sunos4

# Compiler and flags
CC = acc
CFLAGS = -Kpic -O -I/usr/include/X11R5 -DUSE_XSHM -DSUNOS4



+ 0
- 17
configs/sunos4-gcc View File

@@ -1,17 +0,0 @@
# Configuration for SunOS 4, with gcc, shared libs

include $(TOP)/configs/default

CONFIG_NAME = sunos4-gcc

# Compiler and flags
CC = gcc
CXX = g++
CFLAGS = -fPIC -O3 -I/usr/openwin/include -I/usr/include/X11R5 -I/usr/include/X11R5 -DUSE_XSHM -DSUNOS4
CXXFLAGS = -fPIC -O3 -I/usr/openwin/include -DSUNOS4

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing



+ 0
- 22
configs/sunos4-static View File

@@ -1,22 +0,0 @@
# Configuration for SunOS 4, static libs

include $(TOP)/configs/default

CONFIG_NAME = sunos4-static

# Compiler and flags
CC = acc
CFLAGS = -O -DUSE_XSHM -DSUNOS4
MKLIB_OPTIONS = -static

# Library names (actual file names)
GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a

# Library/program dependencies (static libs don't have dependencies)
GL_LIB_DEPS =
OSMESA_LIB_DEPS =
GLU_LIB_DEPS =
GLW_LIB_DEPS =

+ 0
- 15
configs/sunos5 View File

@@ -1,15 +0,0 @@
# Configuration for SunOS 5

include $(TOP)/configs/default

CONFIG_NAME = sunos5

# Compiler and flags
CC = cc
CXX = c++
CFLAGS = -KPIC -Xa -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM
CXXFLAGS = -KPIC -Xa -O -I/usr/openwin/include -I/usr/dt/include

GL_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -lX11 -lXext -lXmu -lXi -lm
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11

+ 0
- 11
configs/sunos5-64-gcc View File

@@ -1,11 +0,0 @@
# Configuration for 64-bit SunOS 5, with gcc

include $(TOP)/configs/sunos5-gcc

CONFIG_NAME = sunos5-64-gcc

# only set vars that differ from sunos5-gcc config

OPT_FLAGS = -O3 -m64 -mcpu=ultrasparc -mv8plus -mvis -g -fomit-frame-pointer -pipe

ARCH_FLAGS = -m64

+ 0
- 37
configs/sunos5-gcc View File

@@ -1,37 +0,0 @@
# Configuration for SunOS 5, with gcc

include $(TOP)/configs/default

CONFIG_NAME = sunos5-gcc

# Compiler and flags
CC = gcc
CXX = g++

WARN_FLAGS = -Wall
OPT_FLAGS = -O3 -g -fomit-frame-pointer -pipe
PIC_FLAGS = -fPIC

ARCH_FLAGS ?=

DEFINES = -D_REENTRANT -DUSE_XSHM

MESA_ASM_SOURCES = $(SPARC_SOURCES)
GLAPI_ASM_SOURCES = $(SPARC_API)
ASM_FLAGS = -DUSE_SPARC_ASM

CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \
$(ASM_FLAGS) -std=c99 -ffast-math -I/usr/openwin/include

CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \
-I/usr/openwin/include


# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

# Library/program dependencies
EXTRA_LIB_PATH=-L/usr/openwin/lib

GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXmu -lXi -lm

+ 0
- 16
configs/sunos5-smp View File

@@ -1,16 +0,0 @@
# Configuration for SunOS 5, SMP systems

include $(TOP)/configs/default

CONFIG_NAME = sunos5-smp

# Compiler and flags
CC = cc
CXX = c++
CFLAGS = -KPIC -Xa -native -fast -xO5 -xlibmil -xsafe=mem -xdepend -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG
CXXFLAGS = -KPIC -Xa -native -fast -xO5 -xlibmil -xsafe=mem -xdepend -I/usr/openwin/include -I/usr/dt/include

GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11


+ 0
- 15
configs/sunos5-v8 View File

@@ -1,15 +0,0 @@
# Configuration for SunOS 5

include $(TOP)/configs/default

CONFIG_NAME = sunos5-v8

# Compiler and flags
CC = cc
CXX = CC
CFLAGS = -xarch=v8 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DPTHREADS
CXXFLAGS = -xarch=v8 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DPTHREADS

GL_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -lX11 -lXext -lXmu -lXi -lm -lpthread
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCstd -lCrun
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11

+ 0
- 14
configs/sunos5-v8-static View File

@@ -1,14 +0,0 @@
# Configuration for SunOS 5

include $(TOP)/configs/default

CONFIG_NAME = sunos5-v8-static

MKLIB_OPTIONS = -static

# Compiler and flags
CC = cc
CXX = CC
CFLAGS = -xarch=v8 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DPTHREADS
CXXFLAGS = -xarch=v8 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DPTHREADS


+ 0
- 20
configs/sunos5-v9 View File

@@ -1,20 +0,0 @@
# Configuration for SunOS 5, SPARC V9

include $(TOP)/configs/default

CONFIG_NAME = sunos5-v9

MKLIB_OPTIONS = -cplusplus

LIB_DIR = lib64

# Compiler and flags
CC = cc
CXX = CC
CFLAGS = -xarch=v9 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DPTHREADS
CXXFLAGS = -xarch=v9 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DPTHREADS

GL_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -lX11 -lXext -lXmu -lXi -lm -lpthread
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCstd -lCrun
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11


+ 0
- 32
configs/sunos5-v9-cc-g++ View File

@@ -1,32 +0,0 @@
# Configuration for SunOS 5, SPARC V9 and cc/g++ (for C and C++ sources)

include $(TOP)/configs/default

CONFIG_NAME = sunos5-v9-cc-g++

MKLIB_OPTIONS = -cplusplus

LIB_DIR = lib64

# Compiler and flags
CC = cc
CXX = g++

CXX_WARN_FLAGS = -Wall
CXX_PIC_FLAGS = -fPIC
CXX_OPT_FLAGS = -O3 -m64 -mcpu=ultrasparc -mv8plus -mvis -g -fomit-frame-pointer -pipe
CXX_ARCH_FLAGS = -m64


CXXFLAGS = $(CXX_WARN_FLAGS) $(CXX_OPT_FLAGS) $(CXX_PIC_FLAGS) $(CXX_ARCH_FLAGS) $(DEFINES) \
-I/usr/openwin/include

# Work around aliasing bugs - developers should comment this out
CXXFLAGS += -fno-strict-aliasing

CFLAGS = -xarch=v9 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DPTHREADS
#CXXFLAGS = -xarch=v9 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DPTHREADS

GL_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -lX11 -lXext -lXmu -lXi -lm -lpthread
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCstd -lCrun
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/openwin/lib -lXt -lX11

+ 0
- 16
configs/sunos5-v9-static View File

@@ -1,16 +0,0 @@
# Configuration for SunOS 5, SPARC V9, static libs

include $(TOP)/configs/default

CONFIG_NAME = sunos5-v9-static

MKLIB_OPTIONS = -static -cplusplus

LIB_DIR = lib64

# Compiler and flags
CC = cc
CXX = CC
CFLAGS = -xarch=v9 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DPTHREADS
CXXFLAGS = -xarch=v9 -KPIC -O -I/usr/openwin/include -I/usr/dt/include -DPTHREADS


+ 0
- 22
configs/ultrix-gcc View File

@@ -1,22 +0,0 @@
# Configuration for Ultrix, with gcc

include $(TOP)/configs/default

CONFIG_NAME = ultrix-gcc

# Compiler and flags
CC = gcc
CXX = g++
CFLAGS = -pedantic -O2
CXXFLAGS = -pedantic -O2
MKLIB_OPTIONS = -static

# Work around aliasing bugs - developers should comment this out
CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

GL_LIB_NAME = libGL.a
GLU_LIB_NAME = libGLU.a
GLW_LIB_NAME = libGLw.a
OSMESA_LIB_NAME = libOSMesa.a


Loading…
Cancel
Save