diff options
author | Brian Paul <[email protected]> | 2003-06-10 21:47:59 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-06-10 21:47:59 +0000 |
commit | de5496d2a6a3138ec5924026de5ef5afe92419cc (patch) | |
tree | faf304157d760742b0e94188068e5ae40a59d5eb /src/mesa/sparc | |
parent | 5f3439916b74ed792ad12d1e614a2a5bc0a94b3a (diff) |
Further makefile clean-up, concentrated on the x86 assembly files.
Diffstat (limited to 'src/mesa/sparc')
-rw-r--r-- | src/mesa/sparc/sparc.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/mesa/sparc/sparc.c b/src/mesa/sparc/sparc.c index 043b8fb31d8..1eb4b922e5a 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 */ } + + + |