From: Daniel Borca Date: Thu, 23 Oct 2003 13:57:31 +0000 (+0000) Subject: entrypoints... again X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c0d83cd054bd6d90f0707812787bef1752863fa1;p=mesa.git entrypoints... again --- diff --git a/src/mesa/Makefile.wfx b/src/mesa/Makefile.wfx index 942de089135..edcbce3e1cf 100644 --- a/src/mesa/Makefile.wfx +++ b/src/mesa/Makefile.wfx @@ -49,7 +49,7 @@ GLIDE3SDK = $(BUILDROOT)\glide3 GLIDE3LIB = $(GLIDE3SDK)\lib\glide3x.lib TEXUS2LIB = #$(GLIDE3SDK)\lib\texus2.lib LIBDIR = $(BUILDROOT)\lib -GL_DLL = Mesa.dll +GL_DLL = OpenGL32.dll HAVE_X86 = 1 HAVE_MMX = 1 @@ -403,10 +403,12 @@ $(LIBDIR)\x86.lib: x86\matypes.h $(X86_OBJS) $(RC) -Fo$@ $(INCS) $(FLAGS) -D__WIN32__ $< # [dBorca] Hack alert: -# use standard API, to work around Win32 @x names -# also glapi_x86.S is protected against __WIN32__ -main\dispatch.obj: main\dispatch.c - $(CC) $(CFLAGS) $(FLAGS) $(INCS) -UUSE_X86_ASM main\dispatch.c /Fo$*.obj +# glapi_x86.S needs some adjustments +# in order to generate correct entrypoints +x86/glapi_x86.o: x86/glapi_x86.S + $(CC) $(CFLAGS) $(FLAGS) $(INCS) $< -DSTDCALL_API -DNASM_ASSEMBLER -EP > $*.i + $(AS) $(ASFLAGS) $(INCS) $*.i -o $*.obj + $(RM) $*.i ################################# # cleanup rules