Index: configs/linux-dri-ppc =================================================================== RCS file: /cvs/mesa/Mesa/configs/linux-dri-ppc,v retrieving revision 1.3 diff -p -u -r1.3 linux-dri-ppc --- configs/linux-dri-ppc 19 Aug 2005 20:20:03 -0000 1.3 +++ configs/linux-dri-ppc 7 Dec 2005 16:10:56 -0000 @@ -8,7 +8,8 @@ CONFIG_NAME = linux-dri-ppc OPT_FLAGS = -Os -mcpu=603 PIC_FLAGS = -fPIC ASM_FLAGS = -DUSE_PPC_ASM -DUSE_VMX_ASM +ASM_API = $(PPC_API) ASM_SOURCES = $(PPC_SOURCES) # Build only the drivers for cards that exist on PowerPC. At some point MGA Index: src/mesa/sources =================================================================== RCS file: /cvs/mesa/Mesa/src/mesa/sources,v retrieving revision 1.55 diff -p -u -r1.55 sources --- src/mesa/sources 19 Nov 2005 15:36:28 -0000 1.55 +++ src/mesa/sources 7 Dec 2005 16:10:57 -0000 @@ -246,6 +246,9 @@ SPARC_SOURCES = \ SPARC_API = \ sparc/glapi_sparc.S +PPC_API = \ + ppc/glapi_ppc.S + COMMON_DRIVER_SOURCES = \ drivers/common/driverfuncs.c Index: src/mesa/main/dispatch.c =================================================================== RCS file: /cvs/mesa/Mesa/src/mesa/main/dispatch.c,v retrieving revision 1.37 diff -p -u -r1.37 dispatch.c --- src/mesa/main/dispatch.c 18 Jul 2005 12:31:27 -0000 1.37 +++ src/mesa/main/dispatch.c 7 Dec 2005 16:11:07 -0000 @@ -45,7 +45,7 @@ #include "glthread.h" -#if !(defined(USE_X86_ASM) || defined(USE_X86_64_ASM) || defined(USE_SPARC_ASM)) +#if !(defined(USE_X86_ASM) || defined(USE_X86_64_ASM) || defined(USE_SPARC_ASM) || defined(USE_PPC_ASM)) #if defined(WIN32) #define KEYWORD1 GLAPI ? src/mesa/glapi/gl_ppc_asm.py ? src/mesa/glapi/gl_ppc_asm.py Index: src/mesa/glapi/Makefile =================================================================== RCS file: /cvs/mesa/Mesa/src/mesa/glapi/Makefile,v retrieving revision 1.13 diff -p -u -r1.13 Makefile --- src/mesa/glapi/Makefile 9 Aug 2005 18:54:12 -0000 1.13 +++ src/mesa/glapi/Makefile 7 Dec 2005 16:35:51 -0000 @@ -11,6 +11,7 @@ OUTPUTS = glprocs.h glapitemp.h glapioff ../main/enums.c \ ../x86/glapi_x86.S \ ../x86-64/glapi_x86-64.S \ + ../ppc/glapi_ppc.S \ ../drivers/dri/common/extension_helper.h \ ../../glx/x11/indirect.c \ ../../glx/x11/indirect.h \ @@ -47,6 +48,9 @@ dispatch.h: $(COMMON) gl_table.py ../x86-64/glapi_x86-64.S: $(COMMON) gl_x86-64_asm.py $(PYTHON2) $(PYTHON_FLAGS) gl_x86-64_asm.py > ../x86-64/glapi_x86-64.S +../ppc/glapi_ppc.S: $(COMMON) gl_ppc_asm.py + $(PYTHON2) $(PYTHON_FLAGS) gl_ppc_asm.py > ../ppc/glapi_ppc.S + ../drivers/dri/common/extension_helper.h: $(COMMON) extension_helper.py $(PYTHON2) $(PYTHON_FLAGS) extension_helper.py > ../drivers/dri/common/extension_helper.h