On 6/19/06, Lubomir Marinov <[EMAIL PROTECTED]> wrote:
make \
X11_INCLUDES='-DDEFAULT_DRIVER_DIR="\"/usr/X11R7/lib/dri\""
-I/usr/X11R7/include' \
EXTRA_LIB_PATH=-L/usr/X11R7/lib \
DRI_DIRS=r200 \
linux-dri-x86
X11_INCLUDES is pretty straightforward but it also defines
DEFAULT_DRIVER_DIR because I'm unable to specify a value for DEFINES
without discarding the other values in it. Otherwise one has to change
src/glx/x11/dri_glx.c which I don't want to do because I have to do it
after each update from CVS.
I've been shoving extra flags into OPT_FLAGS. With /usr as my
XORG_PREFIX, I've been using
make linux-dri-x86 \
OPT_FLAGS="$CFLAGS -DDEFAULT_DRIVER_DIR=\\\"/usr/lib/X11/modules/dri\\\"" \
PIC_FLAGS="-fPIC" \
X11_INCLUDES="" EXTRA_LIB_PATH=""
PIC_FLAGS is probably unnecessary. It's worth a discussion, but it
may not be worth the extra effort.
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page