diff -u -r -N Mesa-4.0.1/src/MesaGL.bpf Mesa-4.0.1.bc5/src/MesaGL.bpf
--- Mesa-4.0.1/src/MesaGL.bpf	Thu Jan  1 01:00:00 1970
+++ Mesa-4.0.1.bc5/src/MesaGL.bpf	Sat Feb  9 13:35:38 2002
@@ -0,0 +1,132 @@
+//---------------------------------------------------------------------------
+
+#include <vcl.h>
+#pragma hdrstop
+USEUNIT("accum.c");
+USEUNIT("api_arrayelt.c");
+USEUNIT("api_eval.c");
+USEUNIT("api_loopback.c");
+USEUNIT("api_noop.c");
+USEUNIT("api_validate.c");
+USEUNIT("attrib.c");
+USEUNIT("blend.c");
+USEUNIT("buffers.c");
+USEUNIT("clip.c");
+USEUNIT("colortab.c");
+USEUNIT("config.c");
+USEUNIT("context.c");
+USEUNIT("convolve.c");
+USEUNIT("debug.c");
+USEUNIT("depth.c");
+USEUNIT("dispatch.c");
+USEUNIT("dlist.c");
+USEUNIT("drawpix.c");
+USEUNIT("enable.c");
+USEUNIT("enums.c");
+USEUNIT("eval.c");
+USEUNIT("extensions.c");
+USEUNIT("feedback.c");
+USEUNIT("fog.c");
+USEUNIT("get.c");
+USEUNIT("glapi.c");
+USEUNIT("glthread.c");
+USEUNIT("hash.c");
+USEUNIT("highpc.c");
+USEUNIT("hint.c");
+USEUNIT("histogram.c");
+USEUNIT("image.c");
+USEUNIT("imports.c");
+USEUNIT("light.c");
+USEUNIT("lines.c");
+USEUNIT("lowpc.c");
+USEUNIT("matrix.c");
+USEUNIT("mem.c");
+USEUNIT("mmath.c");
+USEUNIT("pixel.c");
+USEUNIT("points.c");
+USEUNIT("polygon.c");
+USEUNIT("rastpos.c");
+USEUNIT("state.c");
+USEUNIT("stencil.c");
+USEUNIT("texformat.c");
+USEUNIT("teximage.c");
+USEUNIT("texobj.c");
+USEUNIT("texstate.c");
+USEUNIT("texstore.c");
+USEUNIT("texutil.c");
+USEUNIT("varray.c");
+USEUNIT("vtxfmt.c");
+USEUNIT("swrast_setup\ss_context.c");
+USEUNIT("swrast_setup\ss_triangle.c");
+USEUNIT("swrast_setup\ss_vb.c");
+USEUNIT("array_cache\ac_context.c");
+USEUNIT("array_cache\ac_import.c");
+USEUNIT("math\m_debug_clip.c");
+USEUNIT("math\m_debug_norm.c");
+USEUNIT("math\m_debug_vertex.c");
+USEUNIT("math\m_debug_xform.c");
+USEUNIT("math\m_eval.c");
+USEUNIT("math\m_matrix.c");
+USEUNIT("math\m_translate.c");
+USEUNIT("math\m_vector.c");
+USEUNIT("math\m_vertices.c");
+USEUNIT("math\m_xform.c");
+USEUNIT("swrast\s_aaline.c");
+USEUNIT("swrast\s_aatriangle.c");
+USEUNIT("swrast\s_accum.c");
+USEUNIT("swrast\s_alpha.c");
+USEUNIT("swrast\s_alphabuf.c");
+USEUNIT("swrast\s_bitmap.c");
+USEUNIT("swrast\s_blend.c");
+USEUNIT("swrast\s_buffers.c");
+USEUNIT("swrast\s_context.c");
+USEUNIT("swrast\s_copypix.c");
+USEUNIT("swrast\s_depth.c");
+USEUNIT("swrast\s_drawpix.c");
+USEUNIT("swrast\s_feedback.c");
+USEUNIT("swrast\s_fog.c");
+USEUNIT("swrast\s_histogram.c");
+USEUNIT("swrast\s_imaging.c");
+USEUNIT("swrast\s_lines.c");
+USEUNIT("swrast\s_logic.c");
+USEUNIT("swrast\s_masking.c");
+USEUNIT("swrast\s_pb.c");
+USEUNIT("swrast\s_pixeltex.c");
+USEUNIT("swrast\s_points.c");
+USEUNIT("swrast\s_readpix.c");
+USEUNIT("swrast\s_scissor.c");
+USEUNIT("swrast\s_span.c");
+USEUNIT("swrast\s_stencil.c");
+USEUNIT("swrast\s_texstore.c");
+USEUNIT("swrast\s_texture.c");
+USEUNIT("swrast\s_triangle.c");
+USEUNIT("swrast\s_zoom.c");
+USEUNIT("Windows\wmesa.c");
+USEUNIT("Windows\wgl.c");
+USEUNIT("tnl\t_array_api.c");
+USEUNIT("tnl\t_array_import.c");
+USEUNIT("tnl\t_context.c");
+USEUNIT("tnl\t_eval_api.c");
+USEUNIT("tnl\t_imm_alloc.c");
+USEUNIT("tnl\t_imm_api.c");
+USEUNIT("tnl\t_imm_debug.c");
+USEUNIT("tnl\t_imm_dlist.c");
+USEUNIT("tnl\t_imm_elt.c");
+USEUNIT("tnl\t_imm_eval.c");
+USEUNIT("tnl\t_imm_exec.c");
+USEUNIT("tnl\t_imm_fixup.c");
+USEUNIT("tnl\t_pipeline.c");
+USEUNIT("tnl\t_vb_fog.c");
+USEUNIT("tnl\t_vb_light.c");
+USEUNIT("tnl\t_vb_normals.c");
+USEUNIT("tnl\t_vb_points.c");
+USEUNIT("tnl\t_vb_render.c");
+USEUNIT("tnl\t_vb_texgen.c");
+USEUNIT("tnl\t_vb_texmat.c");
+USEUNIT("tnl\t_vb_vertex.c");
+USEUNIT("OSmesa\osmesa.c");
+//---------------------------------------------------------------------------
+#define Library
+
+// To add a file to the library use the Project menu 'Add to Project'.
+
diff -u -r -N Mesa-4.0.1/src/MesaGL.bpr Mesa-4.0.1.bc5/src/MesaGL.bpr
--- Mesa-4.0.1/src/MesaGL.bpr	Thu Jan  1 01:00:00 1970
+++ Mesa-4.0.1.bc5/src/MesaGL.bpr	Sat Feb  9 16:44:10 2002
@@ -0,0 +1,157 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!-- C++Builder XML Project -->
+<PROJECT>
+  <MACROS>
+    <VERSION value="BCB.05.03"/>
+    <PROJECT value="MesaGL.lib"/>
+    <OBJFILES value="accum.obj api_arrayelt.obj api_eval.obj api_loopback.obj api_noop.obj 
+      api_validate.obj attrib.obj blend.obj buffers.obj clip.obj colortab.obj 
+      config.obj context.obj convolve.obj debug.obj depth.obj dispatch.obj 
+      dlist.obj drawpix.obj enable.obj enums.obj eval.obj extensions.obj 
+      feedback.obj fog.obj get.obj glapi.obj glthread.obj hash.obj highpc.obj 
+      hint.obj histogram.obj image.obj imports.obj light.obj lines.obj lowpc.obj 
+      matrix.obj mem.obj mmath.obj pixel.obj points.obj polygon.obj rastpos.obj 
+      state.obj stencil.obj texformat.obj teximage.obj texobj.obj texstate.obj 
+      texstore.obj texutil.obj varray.obj vtxfmt.obj swrast_setup\ss_context.obj 
+      swrast_setup\ss_triangle.obj swrast_setup\ss_vb.obj 
+      array_cache\ac_context.obj array_cache\ac_import.obj math\m_debug_clip.obj 
+      math\m_debug_norm.obj math\m_debug_vertex.obj math\m_debug_xform.obj 
+      math\m_eval.obj math\m_matrix.obj math\m_translate.obj math\m_vector.obj 
+      math\m_vertices.obj math\m_xform.obj swrast\s_aaline.obj 
+      swrast\s_aatriangle.obj swrast\s_accum.obj swrast\s_alpha.obj 
+      swrast\s_alphabuf.obj swrast\s_bitmap.obj swrast\s_blend.obj 
+      swrast\s_buffers.obj swrast\s_context.obj swrast\s_copypix.obj 
+      swrast\s_depth.obj swrast\s_drawpix.obj swrast\s_feedback.obj 
+      swrast\s_fog.obj swrast\s_histogram.obj swrast\s_imaging.obj 
+      swrast\s_lines.obj swrast\s_logic.obj swrast\s_masking.obj swrast\s_pb.obj 
+      swrast\s_pixeltex.obj swrast\s_points.obj swrast\s_readpix.obj 
+      swrast\s_scissor.obj swrast\s_span.obj swrast\s_stencil.obj 
+      swrast\s_texstore.obj swrast\s_texture.obj swrast\s_triangle.obj 
+      swrast\s_zoom.obj Windows\wmesa.obj Windows\wgl.obj tnl\t_array_api.obj 
+      tnl\t_array_import.obj tnl\t_context.obj tnl\t_eval_api.obj 
+      tnl\t_imm_alloc.obj tnl\t_imm_api.obj tnl\t_imm_debug.obj 
+      tnl\t_imm_dlist.obj tnl\t_imm_elt.obj tnl\t_imm_eval.obj 
+      tnl\t_imm_exec.obj tnl\t_imm_fixup.obj tnl\t_pipeline.obj tnl\t_vb_fog.obj 
+      tnl\t_vb_light.obj tnl\t_vb_normals.obj tnl\t_vb_points.obj 
+      tnl\t_vb_render.obj tnl\t_vb_texgen.obj tnl\t_vb_texmat.obj 
+      tnl\t_vb_vertex.obj OSmesa\osmesa.obj"/>
+    <RESFILES value=""/>
+    <IDLFILES value=""/>
+    <IDLGENFILES value=""/>
+    <DEFFILE value=""/>
+    <RESDEPEN value="$(RESFILES)"/>
+    <LIBFILES value=""/>
+    <LIBRARIES value=""/>
+    <PACKAGES value=""/>
+    <PATHCPP value=".;swrast_setup;array_cache;math;swrast;Windows;tnl;OSmesa"/>
+    <PATHPAS value=".;"/>
+    <PATHRC value=".;"/>
+    <PATHASM value=".;"/>
+    <LINKER value="TLib"/>
+    <USERDEFINES value="_DEBUG;_OPENGL32_;BUILD_GL32;NO_PARALLEL;NO_STEREO"/>
+    <SYSDEFINES value="_RTLDLL;NO_STRICT"/>
+    <MAINSOURCE value="MesaGL.bpf"/>
+    <INCLUDEPATH value="OSmesa;tnl;Windows;math;array_cache;swrast_setup;swrast;$(BCB)\include;$(BCB)\include\vcl;..\include"/>
+    <LIBPATH value="OSmesa;tnl;Windows;math;array_cache;swrast_setup;swrast;$(BCB)\lib\obj;$(BCB)\lib"/>
+    <WARNINGS value="-w-par"/>
+    <LISTFILE value=""/>
+  </MACROS>
+  <OPTIONS>
+    <IDLCFLAGS value="-IOSmesa -Itnl -IWindows -Imath -Iarray_cache -Iswrast_setup -Iswrast 
+      -I$(BCB)\include -I$(BCB)\include\vcl -I..\include -src_suffix cpp 
+      -D_DEBUG -D_OPENGL32_ -DBUILD_GL32 -DNO_PARALLEL -DNO_STEREO -boa"/>
+    <CFLAG1 value="-O2 -H=$(BCB)\lib\vcl50.csm -Hc -w- -Vx -Ve -x- -RT- -X- -r- -a8 -5 -b- -k 
+      -y -v -vi- -c -tW -tWM"/>
+    <PFLAGS value="-$YD -$W -$O- -v -JPHNE -M"/>
+    <AFLAGS value="/mx /w2 /zd"/>
+    <LFLAGS value="/P256 /E /C"/>
+  </OPTIONS>
+  <LINKER>
+    <ALLOBJ value="$(OBJFILES)"/>
+    <ALLLIB value=""/>
+  </LINKER>
+  <IDEOPTIONS>
+[Version Info]
+IncludeVerInfo=0
+AutoIncBuild=0
+MajorVer=1
+MinorVer=0
+Release=0
+Build=0
+Debug=0
+PreRelease=0
+Special=0
+Private=0
+DLL=0
+Locale=1051
+CodePage=1250
+
+[Version Info Keys]
+CompanyName=
+FileDescription=
+FileVersion=1.0.0.0
+InternalName=
+LegalCopyright=
+LegalTrademarks=
+OriginalFilename=
+ProductName=
+ProductVersion=1.0.0.0
+Comments=
+
+[HistoryLists\hlIncludePath]
+Count=4
+Item0=OSmesa;tnl;Windows;math;array_cache;swrast_setup;swrast;$(BCB)\include;$(BCB)\include\vcl;..\include
+Item1=Windows;math;array_cache;swrast_setup;swrast;$(BCB)\include;$(BCB)\include\vcl;..\include
+Item2=$(BCB)\include;$(BCB)\include\vcl;..\include
+Item3=$(BCB)\include;$(BCB)\include\vcl
+
+[HistoryLists\hlLibraryPath]
+Count=3
+Item0=OSmesa;tnl;Windows;math;array_cache;swrast_setup;swrast;$(BCB)\lib\obj;$(BCB)\lib
+Item1=Windows;math;array_cache;swrast_setup;swrast;$(BCB)\lib\obj;$(BCB)\lib
+Item2=$(BCB)\lib\obj;$(BCB)\lib
+
+[HistoryLists\hlDebugSourcePath]
+Count=1
+Item0=$(BCB)\source\vcl
+
+[HistoryLists\hlConditionals]
+Count=2
+Item0=_DEBUG;_OPENGL32_;BUILD_GL32;NO_PARALLEL;NO_STEREO
+Item1=_DEBUG
+
+[HistoryLists\hlTlibPageSize]
+Count=6
+Item0=0x0100
+Item1=0x00100
+Item2=0x0080
+Item3=0x0040
+Item4=0x0020
+Item5=0x0010
+
+[Debugging]
+DebugSourceDirs=$(BCB)\source\vcl
+
+[Parameters]
+RunParams=
+HostApplication=
+RemoteHost=
+RemotePath=
+RemoteDebug=0
+
+[Compiler]
+ShowInfoMsgs=0
+LinkDebugVcl=0
+LinkCGLIB=0
+
+[CORBA]
+AddServerUnit=1
+AddClientUnit=1
+PrecompiledHeaders=1
+
+[Language]
+ActiveLang=
+ProjectLang=
+RootDir=
+  </IDEOPTIONS>
+</PROJECT>
\ No newline at end of file
diff -u -r -N Mesa-4.0.1/src/MesaGL.mak Mesa-4.0.1.bc5/src/MesaGL.mak
--- Mesa-4.0.1/src/MesaGL.mak	Thu Jan  1 01:00:00 1970
+++ Mesa-4.0.1.bc5/src/MesaGL.mak	Sat Feb  9 15:57:42 2002
@@ -0,0 +1,224 @@
+# ---------------------------------------------------------------------------
+!if !$d(BCB)
+BCB = $(MAKEDIR)\..
+!endif
+
+# ---------------------------------------------------------------------------
+# IDE SECTION
+# ---------------------------------------------------------------------------
+# The following section of the project makefile is managed by the BCB IDE.
+# It is recommended to use the IDE to change any of the values in this
+# section.
+# ---------------------------------------------------------------------------
+
+VERSION = BCB.05.03
+# ---------------------------------------------------------------------------
+PROJECT = MesaGL.lib
+OBJFILES = accum.obj api_arrayelt.obj api_eval.obj api_loopback.obj api_noop.obj \
+    api_validate.obj attrib.obj blend.obj buffers.obj clip.obj colortab.obj \
+    config.obj context.obj convolve.obj debug.obj depth.obj dispatch.obj \
+    dlist.obj drawpix.obj enable.obj enums.obj eval.obj extensions.obj \
+    feedback.obj fog.obj get.obj glapi.obj glthread.obj hash.obj highpc.obj \
+    hint.obj histogram.obj image.obj imports.obj light.obj lines.obj lowpc.obj \
+    matrix.obj mem.obj mmath.obj pixel.obj points.obj polygon.obj rastpos.obj \
+    state.obj stencil.obj texformat.obj teximage.obj texobj.obj texstate.obj \
+    texstore.obj texutil.obj varray.obj vtxfmt.obj swrast_setup\ss_context.obj \
+    swrast_setup\ss_triangle.obj swrast_setup\ss_vb.obj \
+    array_cache\ac_context.obj array_cache\ac_import.obj math\m_debug_clip.obj \
+    math\m_debug_norm.obj math\m_debug_vertex.obj math\m_debug_xform.obj \
+    math\m_eval.obj math\m_matrix.obj math\m_translate.obj math\m_vector.obj \
+    math\m_vertices.obj math\m_xform.obj swrast\s_aaline.obj \
+    swrast\s_aatriangle.obj swrast\s_accum.obj swrast\s_alpha.obj \
+    swrast\s_alphabuf.obj swrast\s_bitmap.obj swrast\s_blend.obj \
+    swrast\s_buffers.obj swrast\s_context.obj swrast\s_copypix.obj \
+    swrast\s_depth.obj swrast\s_drawpix.obj swrast\s_feedback.obj \
+    swrast\s_fog.obj swrast\s_histogram.obj swrast\s_imaging.obj \
+    swrast\s_lines.obj swrast\s_logic.obj swrast\s_masking.obj swrast\s_pb.obj \
+    swrast\s_pixeltex.obj swrast\s_points.obj swrast\s_readpix.obj \
+    swrast\s_scissor.obj swrast\s_span.obj swrast\s_stencil.obj \
+    swrast\s_texstore.obj swrast\s_texture.obj swrast\s_triangle.obj \
+    swrast\s_zoom.obj Windows\wmesa.obj Windows\wgl.obj tnl\t_array_api.obj \
+    tnl\t_array_import.obj tnl\t_context.obj tnl\t_eval_api.obj \
+    tnl\t_imm_alloc.obj tnl\t_imm_api.obj tnl\t_imm_debug.obj \
+    tnl\t_imm_dlist.obj tnl\t_imm_elt.obj tnl\t_imm_eval.obj \
+    tnl\t_imm_exec.obj tnl\t_imm_fixup.obj tnl\t_pipeline.obj tnl\t_vb_fog.obj \
+    tnl\t_vb_light.obj tnl\t_vb_normals.obj tnl\t_vb_points.obj \
+    tnl\t_vb_render.obj tnl\t_vb_texgen.obj tnl\t_vb_texmat.obj \
+    tnl\t_vb_vertex.obj OSmesa\osmesa.obj
+RESFILES = 
+MAINSOURCE = MesaGL.bpf
+RESDEPEN = $(RESFILES)
+LIBFILES = 
+IDLFILES = 
+IDLGENFILES = 
+LIBRARIES = 
+PACKAGES = 
+SPARELIBS = 
+DEFFILE = 
+# ---------------------------------------------------------------------------
+PATHCPP = .;swrast_setup;array_cache;math;swrast;Windows;tnl;OSmesa
+PATHASM = .;
+PATHPAS = .;
+PATHRC = .;
+LINKER = TLib
+DEBUGLIBPATH = 
+RELEASELIBPATH = 
+USERDEFINES = _DEBUG;_OPENGL32_;BUILD_GL32;NO_PARALLEL;NO_STEREO
+SYSDEFINES = _RTLDLL;NO_STRICT
+INCLUDEPATH = OSmesa;tnl;Windows;math;array_cache;swrast_setup;swrast;$(BCB)\include;$(BCB)\include\vcl;..\include
+LIBPATH = OSmesa;tnl;Windows;math;array_cache;swrast_setup;swrast;$(BCB)\lib\obj;$(BCB)\lib
+WARNINGS = -w-par
+LISTFILE = 
+# ---------------------------------------------------------------------------
+CFLAG1 = -O2 -H=$(BCB)\lib\vcl50.csm -Hc -w- -Vx -Ve -x- -RT- -X- -r- -a8 -5 -b- -k \
+    -y -v -vi- -c -tW -tWM
+IDLCFLAGS = -IOSmesa -Itnl -IWindows -Imath -Iarray_cache -Iswrast_setup -Iswrast \
+    -I$(BCB)\include -I$(BCB)\include\vcl -I..\include -src_suffix cpp \
+    -D_DEBUG -D_OPENGL32_ -DBUILD_GL32 -DNO_PARALLEL -DNO_STEREO -boa
+PFLAGS = -$YD -$W -$O- -v -JPHNE -M
+RFLAGS = 
+AFLAGS = /mx /w2 /zd
+LFLAGS = /P256 /E /C
+# ---------------------------------------------------------------------------
+ALLOBJ = $(OBJFILES)
+ALLRES = 
+ALLLIB = 
+# ---------------------------------------------------------------------------
+!ifdef IDEOPTIONS
+
+[Version Info]
+IncludeVerInfo=0
+AutoIncBuild=0
+MajorVer=1
+MinorVer=0
+Release=0
+Build=0
+Debug=0
+PreRelease=0
+Special=0
+Private=0
+DLL=0
+
+[Version Info Keys]
+CompanyName=
+FileDescription=
+FileVersion=1.0.0.0
+InternalName=
+LegalCopyright=
+LegalTrademarks=
+OriginalFilename=
+ProductName=
+ProductVersion=1.0.0.0
+Comments=
+
+[Debugging]
+DebugSourceDirs=$(BCB)\source\vcl
+
+!endif
+
+
+
+
+
+# ---------------------------------------------------------------------------
+# MAKE SECTION
+# ---------------------------------------------------------------------------
+# This section of the project file is not used by the BCB IDE.  It is for
+# the benefit of building from the command-line using the MAKE utility.
+# ---------------------------------------------------------------------------
+
+.autodepend
+# ---------------------------------------------------------------------------
+!if "$(USERDEFINES)" != ""
+AUSERDEFINES = -d$(USERDEFINES:;= -d)
+!else
+AUSERDEFINES =
+!endif
+
+!if !$d(BCC32)
+BCC32 = bcc32
+!endif
+
+!if !$d(CPP32)
+CPP32 = cpp32
+!endif
+
+!if !$d(DCC32)
+DCC32 = dcc32
+!endif
+
+!if !$d(TASM32)
+TASM32 = tasm32
+!endif
+
+!if !$d(LINKER)
+LINKER = TLib
+!endif
+
+!if !$d(BRCC32)
+BRCC32 = brcc32
+!endif
+
+
+# ---------------------------------------------------------------------------
+!if $d(PATHCPP)
+.PATH.CPP = $(PATHCPP)
+.PATH.C   = $(PATHCPP)
+!endif
+
+!if $d(PATHPAS)
+.PATH.PAS = $(PATHPAS)
+!endif
+
+!if $d(PATHASM)
+.PATH.ASM = $(PATHASM)
+!endif
+
+!if $d(PATHRC)
+.PATH.RC  = $(PATHRC)
+!endif
+# ---------------------------------------------------------------------------
+!if "$(LISTFILE)" ==  ""
+COMMA =
+!else
+COMMA = ,
+!endif
+
+$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
+    $(BCB)\BIN\$(LINKER) /u $@ @&&!
+    $(LFLAGS) $? $(COMMA) $(LISTFILE)
+
+!
+    copy $@ $(BCB)\lib 
+    mkdir $(BCB)\include\GL
+    copy ..\include\GL\* $(BCB)\include\GL
+
+# ---------------------------------------------------------------------------
+.pas.hpp:
+    $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
+
+.pas.obj:
+    $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
+
+.cpp.obj:
+    $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
+
+.c.obj:
+    $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
+
+.c.i:
+    $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
+
+.cpp.i:
+    $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
+
+.asm.obj:
+    $(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
+
+.rc.res:
+    $(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
+# ---------------------------------------------------------------------------
+
+
+
+
diff -u -r -N Mesa-4.0.1/src/Windows/wmesa.c Mesa-4.0.1.bc5/src/Windows/wmesa.c
--- Mesa-4.0.1/src/Windows/wmesa.c	Mon Nov 26 14:46:20 2001
+++ Mesa-4.0.1.bc5/src/Windows/wmesa.c	Sat Feb  9 16:45:14 2002
@@ -100,7 +100,7 @@
 
 #ifdef COMPILE_SETPIXEL
 
-__forceinline void wmSetPixel(PWMC pwc, int iScanLine, int iPixel, BYTE r, BYTE g, BYTE b)
+__inline void wmSetPixel(PWMC pwc, int iScanLine, int iPixel, BYTE r, BYTE g, BYTE b)
 {
 	pwc->wmSetPixel(pwc,iScanLine,iPixel,r,g,b);
 }
diff -u -r -N Mesa-4.0.1/src/math/m_vertices.c Mesa-4.0.1.bc5/src/math/m_vertices.c
--- Mesa-4.0.1/src/math/m_vertices.c	Mon Mar 12 01:48:41 2001
+++ Mesa-4.0.1.bc5/src/math/m_vertices.c	Sat Feb  9 16:41:16 2002
@@ -172,7 +172,7 @@
 					    GLfloat *lastVertex,
 					    const GLfloat *m,
 					    GLuint stride,
-					    const GLubyte clipmask[] )
+					    const GLubyte *clipmask )
 {
    const GLfloat sx = m[0], sy = m[5], sz = m[10];
    const GLfloat tx = m[12], ty = m[13], tz = m[14];
diff -u -r -N Mesa-4.0.1/src/swrast/s_stencil.c Mesa-4.0.1.bc5/src/swrast/s_stencil.c
--- Mesa-4.0.1/src/swrast/s_stencil.c	Sun Jun 10 05:48:21 2001
+++ Mesa-4.0.1.bc5/src/swrast/s_stencil.c	Sat Feb  9 16:41:52 2002
@@ -1062,7 +1062,7 @@
  */
 void
 _mesa_write_stencil_span( GLcontext *ctx, GLint n, GLint x, GLint y,
-                          const GLstencil stencil[] )
+                          const GLstencil *stencil )
 {
    SWcontext *swrast = SWRAST_CONTEXT(ctx);
    if (y < 0 || y >= ctx->DrawBuffer->Height ||
diff -u -r -N Mesa-4.0.1/src/swrast_setup/ss_vb.c Mesa-4.0.1.bc5/src/swrast_setup/ss_vb.c
--- Mesa-4.0.1/src/swrast_setup/ss_vb.c	Wed Jul 18 05:56:40 2001
+++ Mesa-4.0.1.bc5/src/swrast_setup/ss_vb.c	Sat Feb  9 16:40:56 2002
@@ -308,7 +308,7 @@
 		GLboolean force_boundary )
 {
    fprintf(stderr, "swrast_setup: invalid interp function\n");
-   (void) (ctx && t && edst && eout && ein && force_boundary);
+   (void) (ctx && (int)t && edst && eout && ein && force_boundary);
 }
 
 static void 
