From de5496d2a6a3138ec5924026de5ef5afe92419cc Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 10 Jun 2003 21:47:59 +0000 Subject: Further makefile clean-up, concentrated on the x86 assembly files. --- src/mesa/sparc/sparc.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/mesa/sparc/sparc.c') diff --git a/src/mesa/sparc/sparc.c b/src/mesa/sparc/sparc.c index 043b8fb31d..1eb4b922e5 100644 --- a/src/mesa/sparc/sparc.c +++ b/src/mesa/sparc/sparc.c @@ -1,5 +1,3 @@ -/* $Id: sparc.c,v 1.9 2003/02/08 15:43:39 brianp Exp $ */ - /* * Mesa 3-D graphics library * Version: 5.1 @@ -29,6 +27,8 @@ */ +#ifdef USE_SPARC_ASM + #include "context.h" #include "math/m_xform.h" #include "tnl/t_context.h" @@ -151,8 +151,12 @@ extern unsigned int _mesa_sparc_glapi_begin; extern unsigned int _mesa_sparc_glapi_end; extern void __glapi_sparc_icache_flush(unsigned int *); +#endif /* USE_SPARC_ASM */ + + void _mesa_init_sparc_glapi_relocs(void) { +#ifdef USE_SPARC_ASM unsigned int *insn_ptr, *end_ptr; unsigned long disp_addr; @@ -176,4 +180,8 @@ void _mesa_init_sparc_glapi_relocs(void) insn_ptr += 5; #endif } +#endif /* USE_SPARC_ASM */ } + + + -- cgit v1.2.3