Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Andraž Levstik (a7098e2ed0b606f7831245f869ed0eb5d528ec89)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Andraž Levstik <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Andraž Levstik (a7098e2ed0b606f7831245f869ed0eb5d528ec89)
  • Date: Sun, 25 Jan 2009 14:12:24 -0600

GIT changes to master grimoire by Andraž Levstik <ruskie AT codemages.net>:

x11-libs/dri/BUILD | 26 ---------
x11-libs/dri/CONFIGURE | 133
-------------------------------------------------
x11-libs/dri/DEPENDS | 1
x11-libs/dri/DETAILS | 13 ----
x11-libs/dri/HISTORY | 13 ++++
x11-libs/dri/INSTALL | 27 ---------
x11-libs/dri/PREPARE | 16 -----
x11-libs/dri/PRE_BUILD | 14 -----
x11-libs/dri/PROVIDES | 1
x11-libs/dri/TRIGGERS | 1
x11-libs/dri/host.def | 100 ------------------------------------
x11-libs/dri/linux-dri | 54 -------------------
12 files changed, 18 insertions(+), 381 deletions(-)

New commits:
commit 63efd14a7e41bb0296e35b137bed7aae1fd99f19
Author: Andraž Levstik <ruskie AT codemages.net>
Commit: Andraž Levstik <ruskie AT codemages.net>

dri: finally killed this... in a month it will be removed as well

diff --git a/x11-libs/dri/BUILD b/x11-libs/dri/BUILD
index e79c0d0..27ba77d 100755
--- a/x11-libs/dri/BUILD
+++ b/x11-libs/dri/BUILD
@@ -1,25 +1 @@
-cd $SOURCE_DIRECTORY/xc-Trunk/ &&
-make World PROJECTROOT=$INSTALL_ROOT/usr/X11R6 &&
-
-cd $SOURCE_DIRECTORY/Mesa-Trunk/ &&
-if [ "`find ${ARCH_SPECS} -type f -name ${ARCHITECTURE} | awk -F/
'{print$6;}'`" == "ia32" ]
-then
- make linux-dri-x86
-elif [ "`find ${ARCH_SPECS} -type f -name ${ARCHITECTURE} | awk -F/
'{print$6;}'`" == "ppc" ]
-then
- make linux-dri-ppc
-elif [ "`find ${ARCH_SPECS} -type f -name ${ARCHITECTURE} | awk -F/
'{print$6;}'`" == "amd64" ]
-then
- make linux-dri-x86_64
-else
- make linux-dri
-fi &&
-
-
-if [ "`uname -r | cut -c-3`" == "2.6" ]; then
- cd $SOURCE_DIRECTORY/drm-Trunk/linux-core
-else
- cd $SOURCE_DIRECTORY/drm-Trunk/linux
-fi &&
-
-make
+true
diff --git a/x11-libs/dri/CONFIGURE b/x11-libs/dri/CONFIGURE
deleted file mode 100755
index ada4f05..0000000
--- a/x11-libs/dri/CONFIGURE
+++ /dev/null
@@ -1,133 +0,0 @@
-if [ "`find ${ARCH_SPECS} -type f -name ${ARCHITECTURE} | awk -F/
'{print$6;}'`" == "ia32" ]
-then
-#ask the use for the nice drivers
- echo "First some questions about base drivers... 2D stuff..."
-
- config_query_option X11_ATI_DRIVER_IA32 "Do you want support for ATI
cards" n "ati" ""
- config_query_option X11_TDFX_DRIVER_IA32 "Do you want support for 3DfX" n
"tdfx" ""
- config_query_option X11_I810_DRIVER_IA32 "Do you want support for Intel
810" n "i810" ""
- config_query_option X11_MGA_DRIVER_IA32 "Do you want support for Matrox
cards" n "mga" ""
- config_query_option X11_SIS_DRIVER_IA32 "Do you want support for SIS
cards" n "sis" ""
- config_query_option X11_GLINT_DRIVER_IA32 "Do you want support for glint"
n "glint" ""
- config_query_option X11_VGA_DRIVER_IA32 "Do you want basic vga support" n
"vga" ""
- config_query_option X11_SAVAGE_DRIVER_IA32 "Do you want Savage support" n
"savage" ""
-
-#ask the use for the nice dri drivers
- echo "Now for the 3D stuff"
- if [ "${X11_ATI_DRIVER_IA32}" == "ati" ] ; then
- config_query_option DRI_DRIVER_RADEON "Support for radeon\(7000-7500\)" n
"radeon" ""
- config_query_option DRI_DRIVER_R200 "Support for radeon\(8500-9200\)" n
"r200" ""
- config_query_option DRI_DRIVER_R128 "Support for rage\(128\)" n "r128" ""
- config_query_option DRI_DRIVER_MACH64 "Support for mach64" n "mach64" ""
- fi
- if [ "${X11_MGA_DRIVER_IA32}" == "mga" ] ; then
- config_query_option DRI_DRIVER_MGA "Support for
Matrox\(G200,G400,G450,G550\)" n "mga" ""
- fi
- if [ "${X11_I810_DRIVER_IA32}" == "i810" ] ; then
- config_query_option DRI_DRIVER_I830 "Support for Intel 915" n "i915" ""
- fi
- if [ "${X11_SIS_DRIVER_IA32}" == "sis" ] ; then
- config_query_option DRI_DRIVER_SIS "Support for SIS" n "sis" ""
- fi
- if [ "${X11_TDFX_DRIVER_IA32}" == "tdfx" ] ; then
- config_query_option DRI_DRIVER_TDFX "Support for 3DfX" n "tdfx" ""
- fi
- if [ "{$X11_SAVAGE_DRIVER_IA32}" == "savage" ] ; then
- config_query_option DRI_DRIVER_SAVAGE "Support for Savage" n "savage" ""
- fi
- config_query_option DRI_DRIVER_GAMMA "Support for 3DLabs Oxygen GMX2000"
n "gamma" ""
- config_query_option DRI_DRIVER_FFB "Support for ffb" n "ffb" ""
-
-elif [ "`find ${ARCH_SPECS} -type f -name ${ARCHITECTURE} | awk -F/
'{print$6;}'`" == "ppc" ]
-then
- echo "First some questions about base drivers... 2D stuff..."
- config_query_option X11_ATI_DRIVER_PPC "Do you want support for ATI
cards" n "ati" ""
-
- echo "Now for the 3D stuff"
- if [ "${X11_ATI_DRIVER_PPC}" == "ati" ] ; then
- config_query_option DRI_DRIVER_RADEON "Support for radeon\(7000-7500\)" n
"radeon" ""
- config_query_option DRI_DRIVER_R200 "Support for radeon\(8500-9200\)" n
"r200" ""
- config_query_option DRI_DRIVER_R128 "Support for rage\(128\)" n "r128" ""
- fi
-
-elif [ "`find ${ARCH_SPECS} -type f -name ${ARCHITECTURE} | awk -F/
'{print$6;}'`" == "amd64" ]
-then
-#ask the use for the nice drivers
- echo "First some questions about base drivers... 2D stuff..."
-
- config_query_option X11_ATI_DRIVER_AMD64 "Do you want support for ATI
cards" n "ati" ""
- config_query_option X11_TDFX_DRIVER_AMD64 "Do you want support for 3DfX"
n "tdfx" ""
- config_query_option X11_I810_DRIVER_AMD64 "Do you want support for Intel
810" n "i810" ""
- config_query_option X11_MGA_DRIVER_AMD64 "Do you want support for Matrox
cards" n "mga" ""
- config_query_option X11_SIS_DRIVER_AMD64 "Do you want support for SIS
cards" n "sis" ""
- config_query_option X11_GLINT_DRIVER_AMD64 "Do you want support for
glint" n "glint" ""
- config_query_option X11_VGA_DRIVER_AMD64 "Do you want basic vga support"
n "vga" ""
-
-#ask the use for the nice dri drivers
- echo "Now for the 3D stuff"
-
- if [ "{$X11_ATI_DRIVER_AMD64}" == "ati" ] ; then
- config_query_option DRI_DRIVER_RADEON "Support for radeon\(7000-7500\)" n
"radeon" ""
- config_query_option DRI_DRIVER_R200 "Support for radeon\(8500-9200\)" n
"r200" ""
- config_query_option DRI_DRIVER_R128 "Support for rage\(128\)" n "r128" ""
- fi
- if [ "${X11_MGA_DRIVER_AMD64}" == "mga" ] ; then
- config_query_option DRI_DRIVER_MGA "Support for
Matrox\(G200,G400,G450,G550\)" n "mga" ""
- fi
- if [ "${X11_I810_DRIVER_AMD64}" == "i810" ] ; then
- config_query_option DRI_DRIVER_I830 "Support for Intel 915" n "i915" ""
- fi
- if [ "${X11_SIS_DRIVER_AMD64}" == "sis" ] ; then
- config_query_option DRI_DRIVER_SIS "Support for SIS" n "sis" ""
- fi
- if [ "${X11_TDFX_DRIVER_AMD64}" == "tdfx" ] ; then
- config_query_option DRI_DRIVER_TDFX "Support for 3DfX" n "tdfx" ""
- fi
-
- config_query_option DRI_DRIVER_GAMMA "Support for 3DLabs Oxygen GMX2000"
n "gamma" ""
-#OTHER
-else
-
- echo "First some questions about base drivers... 2D stuff..."
-
- config_query_option X11_ATI_DRIVER_OTHER "Do you want support for ATI
cards" n "ati" ""
- config_query_option X11_TDFX_DRIVER_OTHER "Do you want support for 3DfX"
n "tdfx" ""
- config_query_option X11_MGA_DRIVER_OTHER "Do you want support for Matrox
cards" n "mga" ""
- config_query_option X11_GLINT_DRIVER_OTHER "Do you want support for
glint" n "glint" ""
- config_query_option X11_VGA_DRIVER_OTHER "Do you want basic vga support"
n "vga" ""
-
-#ask the use for the nice dri drivers
- echo "Now for the 3D stuff"
-
- if [ "$X11_ATI_DRIVER_OTHER" == "ati" ] ; then
- config_query_option DRI_DRIVER_RADEON "Support for radeon\(7000-7500\)" n
"radeon" ""
- config_query_option DRI_DRIVER_R200 "Support for radeon\(8500-9200\)" n
"r200" ""
- config_query_option DRI_DRIVER_R128 "Support for rage\(128\)" n "r128" ""
- config_query_option DRI_DRIVER_MACH64 "Support for mach64" n "mach64" ""
- fi
- if [ "$X11_MGA_DRIVER_OTHER" == "mga" ] ; then
- config_query_option DRI_DRIVER_MGA "Support for
Matrox\(G200,G400,G450,G550\)" n "mga" ""
- fi
- if [ "$X11_TDFX_DRIVER_OTHER" == "tdfx" ] ; then
- config_query_option DRI_DRIVER_TDFX "Support for 3DfX" n "tdfx" ""
- fi
-
- config_query_option DRI_DRIVER_FFB "Support for ffb" n "ffb"
- config_query_option DRI_DRIVER_GAMMA "Support for 3DLabs Oxygen GMX2000"
n "gamma" ""
-
-fi &&
-
-
-X11_DRIVER_IA32="${X11_ATI_DRIVER_IA32} ${X11_TDFX_DRIVER_IA32}
${X11_I810_DRIVER_IA32} ${X11_MGA_DRIVER_IA32} ${X11_SIS_DRIVER_IA32}
${X11_GLINT_DRIVER_IA32} ${X11_VGA_DRIVER_IA32} ${X11_SAVAGE_DRIVER_IA32}" &&
-X11_DRIVER_PPC="${X11_ATI_DRIVER_PPC}" &&
-X11_DRIVER_AMD64="${X11_ATI_DRIVER_AMD64} ${X11_TDFX_DRIVER_AMD64}
${X11_I810_DRIVER_AMD64} ${X11_MGA_DRIVER_AMD64} ${X11_SIS_DRIVER_AMD64}
${X11_GLINT_DRIVER_AMD64} ${X11_VGA_DRIVER_AMD64}" &&
-X11_DRIVER_OTHER="${X11_ATI_DRIVER_OTHER} ${X11_TDFX_DRIVER_OTHER}
${X11_MGA_DRIVER_OTHER} ${X11_GLINT_DRIVER_OTHER} ${X11_VGA_DRIVER_OTHER}" &&
-
-X11_DRIVER="${X11_DRIVER_IA32} ${X11_DRIVER_PPC} ${X11_DRIVER_AMD64}
${X11_DRIVER_OTHER}" &&
-DRI_DRIVER="${DRI_DRIVER_RADEON} ${DRI_DRIVER_R200} ${DRI_DRIVER_R128}
${DRI_DRIVER_MGA} ${DRI_DRIVER_SIS} ${DRI_DRIVER_TDFX} ${DRI_DRIVER_I830}
${DRI_DRIVER_SAVAGE} ${DRI_DRIVER_FFB} ${DRI_DRIVER_MACH64}" &&
-
-persistent_add X11_DRIVER DRI_DRIVER &&
-
-echo "Dri-Driver: ${DRI_DRIVER}" &&
-echo "X11-Driver: ${X11_DRIVER}"
-
diff --git a/x11-libs/dri/DEPENDS b/x11-libs/dri/DEPENDS
deleted file mode 100755
index 8a3e79b..0000000
--- a/x11-libs/dri/DEPENDS
+++ /dev/null
@@ -1 +0,0 @@
-depends xorg-server
diff --git a/x11-libs/dri/DETAILS b/x11-libs/dri/DETAILS
index 8573146..b8fd8b5 100755
--- a/x11-libs/dri/DETAILS
+++ b/x11-libs/dri/DETAILS
@@ -1,19 +1,8 @@
SPELL=dri
- VERSION=Trunk
- SOURCE=xc-$VERSION.tar.bz2
- SOURCE2=Mesa-$VERSION.tar.bz2
- SOURCE3=drm-$VERSION.tar.bz2
+ VERSION=DEAD
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
- SOURCE_URL[0]=cvs://:pserver:anoncvs AT dri.freedesktop.org:/cvs/xorg:xc
- SOURCE2_URL[0]=cvs://:pserver:anonymous AT dri.freedesktop.org:/cvs/mesa:Mesa
- SOURCE3_URL[0]=cvs://:pserver:anonymous AT dri.freedesktop.org:/cvs/dri:drm
- SOURCE_IGNORE=volatile
- SOURCE2_IGNORE=volatile
- SOURCE3_IGNORE=volatile
WEB_SITE=http://dri.sourceforge.net/
- FORCE_DOWNLOAD=on
ENTERED=20040311
- UPDATED=20040515
LICENSE[0]=GPL
KEYWORDS="x11 libs"
SHORT="DRI - Direct Rendering Infrastructure with Mesa 6.x"
diff --git a/x11-libs/dri/HISTORY b/x11-libs/dri/HISTORY
index 92b3d9a..35afede 100644
--- a/x11-libs/dri/HISTORY
+++ b/x11-libs/dri/HISTORY
@@ -1,3 +1,16 @@
+2009-01-25 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
+ * BUILD: trued
+ * INSTALL: trued
+ * PRE_BUILD: trued
+ * TRIGGERS: dispel_self when cast...
+ * CONFIGURE: removed
+ * DEPENDS: removed
+ * PREPARE: removed
+ * PROVIDES: removed
+ * host.def: removed
+ * linux-dri: removed
+ * DETAILS: dead spell
+
2008-03-18 Eric Sandall <sandalle AT sourcemage.org>
* DEPENDS: Switch X11-SERVER to the one and only xorg-server

diff --git a/x11-libs/dri/INSTALL b/x11-libs/dri/INSTALL
index 4336054..27ba77d 100755
--- a/x11-libs/dri/INSTALL
+++ b/x11-libs/dri/INSTALL
@@ -1,26 +1 @@
-#GENERATE BACKUP
-mv ${INSTALL_ROOT}/usr/X11R6/lib/modules
${INSTALL_ROOT}/usr/X11R6/lib/modules.old &&
-mkdir -p ${INSTALL_ROOT}/usr/X11R6/lib/modules &&
-
-#INSTALL
-cd $SOURCE_DIRECTORY/xc-Trunk &&
-make install PROJECTROOT=${INSTALL_ROOT}/usr/X11R6 &&
-
-cd $SOURCE_DIRECTORY/Mesa-Trunk/lib &&
-mkdir -p ${INSTALL_ROOT}/usr/X11R6/lib/modules/dri/ &&
-cp *_dri.so ${INSTALL_ROOT}/usr/X11R6/lib/modules/dri/ &&
-
-#
-# Let's install the proper modules
-#
-mkdir -p $INSTALL_ROOT/lib/modules/`uname -r`/kernel/drivers/char/drm &&
-
-if [ "`uname -r | cut -c-3`" == "2.6" ]; then
- cp $SOURCE_DIRECTORY/drm-Trunk/linux-core/*.ko \
- $INSTALL_ROOT/lib/modules/`uname -r`/kernel/drivers/char/drm/
-else
- cp $SOURCE_DIRECTORY/drm-Trunk/linux/*.o \
- $INSTALL_ROOT/lib/modules/`uname -r`/kernel/drivers/char/drm/
-fi &&
-
-depmod -a
+true
diff --git a/x11-libs/dri/PREPARE b/x11-libs/dri/PREPARE
deleted file mode 100755
index 9e3da87..0000000
--- a/x11-libs/dri/PREPARE
+++ /dev/null
@@ -1,16 +0,0 @@
-echo "This spell is a development version, bleeding edge stuff..." &&
-echo "If you feel secure at casting cvs or other cvs-like sources" &&
-echo "then answer yes to the following question to cast the spell" &&
-echo " !!!***THIS SPELL MAY DAMAGE YOUR INSTALLATION***!!! " &&
-query "Do you wish to cast this spell after you have been informed of the
danger" "n" || return 1 &&
-
-if [ "$( gunzip -c /proc/config.gz | grep 'CONFIG_DRM=y' )" ]; then
- echo "Sorry you have DRM support builtin recompile your kernel and
remove since this spell makes it's own."
- return 1
-elif [ "$( grep 'CONFIG_DRM=y' /etc/sorcery/local/kernel.config )" ]; then
- echo "Sorry you have DRM support builtin recompile your kernel and
remove since this spell makes it's own."
- return 1
-elif [ "$( grep 'CONFIG_DRM=y' /usr/src/linux/.config )" ]; then
- echo "Sorry you have DRM support builtin recompile your kernel and
remove since this spell makes it's own."
- return 1
-fi
diff --git a/x11-libs/dri/PRE_BUILD b/x11-libs/dri/PRE_BUILD
index 540bc99..27ba77d 100755
--- a/x11-libs/dri/PRE_BUILD
+++ b/x11-libs/dri/PRE_BUILD
@@ -1,13 +1 @@
-mk_source_dir ${SOURCE_DIRECTORY} &&
-cd ${SOURCE_DIRECTORY} &&
-unpack_file &&
-unpack_file 2 &&
-unpack_file 3 &&
-
-cp -f ${SCRIPT_DIRECTORY}/host.def
${SOURCE_DIRECTORY}/xc-Trunk/config/cf/host.def
-cp -f ${SCRIPT_DIRECTORY}/linux-dri
${SOURCE_DIRECTORY}/Mesa-Trunk/configs/linux-dri
-sedit "s:\(#define XF86CardDrivers\).*:\1 ${X11_DRIVER}:"
${SOURCE_DIRECTORY}/xc-Trunk/config/cf/host.def &&
-sedit "s:\(DRI_DIRS = dri_client \).*:\1 ${DRI_DRIVER}:"
${SOURCE_DIRECTORY}/Mesa-Trunk/configs/linux-dri &&
-sedit "s:\(OPT_FLAGS = \).*:\1 ${CFLAGS}:"
${SOURCE_DIRECTORY}/Mesa-Trunk/configs/linux-dri &&
-echo ${CFLAGS} &&
-echo "DRM_SOURCE_PATH = ${SOURCE_DIRECTORY}/drm-Trunk" >>
${SOURCE_DIRECTORY}/Mesa-Trunk/configs/linux-dri
+true
diff --git a/x11-libs/dri/PROVIDES b/x11-libs/dri/PROVIDES
deleted file mode 100755
index 3fc56f6..0000000
--- a/x11-libs/dri/PROVIDES
+++ /dev/null
@@ -1 +0,0 @@
-OPENGL
diff --git a/x11-libs/dri/TRIGGERS b/x11-libs/dri/TRIGGERS
new file mode 100755
index 0000000..9d6c5a3
--- /dev/null
+++ b/x11-libs/dri/TRIGGERS
@@ -0,0 +1 @@
+on_cast dri dispel_self
diff --git a/x11-libs/dri/host.def b/x11-libs/dri/host.def
deleted file mode 100644
index 1f7298c..0000000
--- a/x11-libs/dri/host.def
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
-# Instructions:
-# This is minimal build of X.Org XServer. You need to have X already
-# installed, `*-devel' packages may also be neccesary. I usualle have
-# my server instaled in `/opt/xorg' but you can changed that.
-#
-# In order to build:
-# $ cd /opt
-# $ mkdir xorg
-# $ cd xorg
-# $ lndidr /usr/X11R6
-# $ cd ${xorgsrcdir}
-# $ make World
-# $ make install
-#
-# Change modules path in xorg.conf to point to `/opt/xorg/lib/modules'
-# and start tart server using `startx -- /opt/bin/Xorg'
-#
-# For debug you can change `DoLoadableServer' to `No', all modules
-# will be built into the main server binary.
-#
-*/
-
-
-#define XorgCustomVersion "Minimal DRI build"
-
-#define ProjectRoot /usr/X11R6
-#define UserLibDir /usr/X11R6/lib
-#define NothingOutsideProjectRoot YES
-
-#define DefaultGcc2i386Opt -O0
-#define LibraryCDebugFlags -O0
-#define GccWarningOptions -Wall -Wpointer-arith
-Wstrict-prototypes\
- -Wmissing-prototypes
-Wmissing-declarations\
- -Wredundant-decls -Wnested-externs
-Wundef
-#define DefaultCCOptions -ansi -pedantic GccWarningOptions
-pipe -g
-
-#define XF86CardDrivers ati
-#define DriDrivers r200 radeon
-#define XInputDrivers mouse keyboard
-
-#define BuildXF86DRI YES
-#define BuildGLXLibrary YES
-#define BuildXDriInfo NO
-
-#define XdmxServer NO
-#define XnestServer NO
-#define XVirtualFramebufferServer NO
-
-#define NormalLibGlx NO
-/* Optionally turn these on for debugging */
-/* #define GlxBuiltInTdfx YES */
-/* #define GlxBuiltInI810 YES */
-/* #define GlxBuiltInMga YES */
-/* #define GlxBuiltInR128 YES */
-/* #define GlxBuiltInRadeon YES */
-#define DoLoadableServer NO
-
-
-/*
- * Do not change anything below or build may fail.
- */
-
-#define BuildServersOnly YES
-#define BuildXFree86ConfigTools NO
-#define BuildXprint NO
-#define XprtServer NO
-
-#define BuildFonts NO
-#define SharedLibFont NO
-
-#define BuildLibraries NO
-#define BuildLibrariesForXServers NO
-#define BuildLibrariesForConfigTools NO
-
-#define BuildXdmcpLib YES
-#define BuildXftLib NO
-#define BuildXft1Lib NO
-
-#define BuildXF86VidModeLibrary NO
-#define BuildXvLibrary NO
-#define BuildXvMCLibrary NO
-#define BuildXInputLib NO
-#define BuildFontconfigLibrary NO
-#define BuildGLwLibrary NO
-#define BuildGLULibrary NO
-#define BuildRenderLibrary NO
-#define BuildXcursorLibrary NO
-
-#define BuildXIE NO
-#define BuildPexExt NO
-
-#define XF86AFB NO
-#if DoLoadableServer
-# undef XF1Bpp
-# undef XF4Bpp
-
-# define XF1Bpp NO
-# define XF4Bpp NO
-#endif
diff --git a/x11-libs/dri/linux-dri b/x11-libs/dri/linux-dri
deleted file mode 100644
index 6d13bc9..0000000
--- a/x11-libs/dri/linux-dri
+++ /dev/null
@@ -1,54 +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
-
-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 \
- -DDRI_NEW_INTERFACE_ONLY -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1
-
-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
-GLUT_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB)
-lX11 -lXmu -lXt -lXi -lm
-GLW_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(LIB_DIR) -l$(GL_LIB) -lXt -lX11
-
-
-# Directories
-SRC_DIRS = glx/x11 mesa glu glut/glx glw
-DRIVER_DIRS = dri
-PROGRAM_DIRS =
-WINDOW_SYSTEM=dri
-
-# ffb and gamma are missing because they have not been converted to use the
new
-# interface.
-DRI_DIRS = dri_client



  • [SM-Commit] GIT changes to master grimoire by Andraž Levstik (a7098e2ed0b606f7831245f869ed0eb5d528ec89), Andraž Levstik, 01/25/2009

Archive powered by MHonArc 2.6.24.

Top of Page