diff options
Diffstat (limited to 'xc/extras/Mesa/WIN32/RULES/lib.fxmesa32')
-rw-r--r-- | xc/extras/Mesa/WIN32/RULES/lib.fxmesa32 | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/xc/extras/Mesa/WIN32/RULES/lib.fxmesa32 b/xc/extras/Mesa/WIN32/RULES/lib.fxmesa32 new file mode 100644 index 000000000..2fc97c0a2 --- /dev/null +++ b/xc/extras/Mesa/WIN32/RULES/lib.fxmesa32 @@ -0,0 +1,41 @@ + +!IF "$(STATIC_MESA)" == "1" +!ERROR lib.$(LIBBASE) : This file require STATIC_MESA be set to 0. +!ENDIF + +!IF "$(GLIDE2SDK)" == "" +!ERROR lib.$(LIBBASE) : 'GLIDE2SDK' environment var not set, can't find Glide SDK +!ENDIF + +LIBCOMMENTS=Requires Glide 2.x Runtime for 3Dfx Voodoo Graphics, Voodoo Rush, or Voodoo2. + +!INCLUDE .\rules\lib.mesa.core + +USE_CRTDLL=1 + +SRCALT2 = .\$(MESAROOT)\src\FX +SRCALT3 = .\$(MESAROOT)\src\OSmesa + +DEFFILE = res\fxmesa32.def +RCFILE = res\fxmesa32.rc + +CPPOPTS = $(CPPOPTS) /DFX /DFX_V2 /DFX_SILENT /DMESA_FX_DDRAW /DBUILD_GL32 /I$(GLIDE2SDK)\src\include + +SRCFILES = $(MESA_CORE)\ + fxapi.c fxclip.c fxcva.c fxdd.c fxddspan.c fxddtex.c fxfastpath.c fxpipeline.c\ + fxrender.c fxsetup.c fxtexman.c fxtrifuncs.c fxvsetup.c fxwgl.c fxglidew.c\ + OSmesa.c + +!IF "$(NASM)" != "" + +SRCALT4 = .\$(MESAROOT)\src\X86 + +SRCFILES = $(SRCFILES) x86.c x86a.S common_x86.c common_x86asm.S mmx_blend.S 3dnow.c 3dnow_norm_raw.S\ + 3dnow_xform_masked1.S 3dnow_xform_masked2.S 3dnow_xform_masked3.S 3dnow_xform_masked4.S\ + 3dnow_xform_raw1.S 3dnow_xform_raw2.S 3dnow_xform_raw3.S 3dnow_xform_raw4.S\ + +!ENDIF + +DLLLIBS = $(GLIDE2SDK)\src\lib\win32\glide2x.lib ole32.lib dxguid.lib +DLLBASE = OpenGL32 +OBJDIR_R = $(MESAROOT)\lib\FX |