diff options
Diffstat (limited to 'xc/lib/GL/mesa/src/X86/Imakefile')
-rw-r--r-- | xc/lib/GL/mesa/src/X86/Imakefile | 59 |
1 files changed, 32 insertions, 27 deletions
diff --git a/xc/lib/GL/mesa/src/X86/Imakefile b/xc/lib/GL/mesa/src/X86/Imakefile index 3ca61bd0d..799a7b9c1 100644 --- a/xc/lib/GL/mesa/src/X86/Imakefile +++ b/xc/lib/GL/mesa/src/X86/Imakefile @@ -30,9 +30,10 @@ ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL DEFINES = $(ALLOC_DEFINES) GlxDefines $(MESA_ASM_DEFINES) INCLUDES = -I$(INCLUDESRC) -I$(EXTINCSRC) -I$(MESASRCDIR)/src \ - -I$(MESASRCDIR)/src/X86 + -I$(MESASRCDIR)/src/X86 \ + -I../../../include - SRCS = $(MESA_ASM_SRCS) + SRCS = $(MESA_ASM_SRCS) gen_matypes.c OBJS = $(MESA_ASM_OBJS) #include <Library.tmpl> @@ -48,41 +49,45 @@ ObjectFromAsmSource(common_x86_asm, NullParameter) ObjectFromAsmSource(x86_cliptest, NullParameter) ObjectFromAsmSource(x86_vertex, NullParameter) -ObjectFromAsmSource(x86_xform_masked2, NullParameter) -ObjectFromAsmSource(x86_xform_masked3, NullParameter) -ObjectFromAsmSource(x86_xform_masked4, NullParameter) -ObjectFromAsmSource(x86_xform_raw2, NullParameter) -ObjectFromAsmSource(x86_xform_raw3, NullParameter) -ObjectFromAsmSource(x86_xform_raw4, NullParameter) +ObjectFromAsmSource(x86_xform2, NullParameter) +ObjectFromAsmSource(x86_xform3, NullParameter) +ObjectFromAsmSource(x86_xform4, NullParameter) #if MesaUseMMX ObjectFromAsmSource(mmx_blend, NullParameter) #endif #if MesaUse3DNow -ObjectFromAsmSource(3dnow_norm_raw, NullParameter) +ObjectFromAsmSource(3dnow_normal, NullParameter) ObjectFromAsmSource(3dnow_vertex, NullParameter) -ObjectFromAsmSource(3dnow_xform_masked1, NullParameter) -ObjectFromAsmSource(3dnow_xform_masked2, NullParameter) -ObjectFromAsmSource(3dnow_xform_masked3, NullParameter) -ObjectFromAsmSource(3dnow_xform_masked4, NullParameter) -ObjectFromAsmSource(3dnow_xform_raw1, NullParameter) -ObjectFromAsmSource(3dnow_xform_raw2, NullParameter) -ObjectFromAsmSource(3dnow_xform_raw3, NullParameter) -ObjectFromAsmSource(3dnow_xform_raw4, NullParameter) +ObjectFromAsmSource(3dnow_xform1, NullParameter) +ObjectFromAsmSource(3dnow_xform2, NullParameter) +ObjectFromAsmSource(3dnow_xform3, NullParameter) +ObjectFromAsmSource(3dnow_xform4, NullParameter) #endif #if MesaUseKatmai -ObjectFromAsmSource(katmai_norm_raw, NullParameter) -ObjectFromAsmSource(katmai_vertex, NullParameter) -ObjectFromAsmSource(katmai_xform_masked1, NullParameter) -ObjectFromAsmSource(katmai_xform_masked2, NullParameter) -ObjectFromAsmSource(katmai_xform_masked3, NullParameter) -ObjectFromAsmSource(katmai_xform_masked4, NullParameter) -ObjectFromAsmSource(katmai_xform_raw1, NullParameter) -ObjectFromAsmSource(katmai_xform_raw2, NullParameter) -ObjectFromAsmSource(katmai_xform_raw3, NullParameter) -ObjectFromAsmSource(katmai_xform_raw4, NullParameter) +ObjectFromAsmSource(sse_normal, NullParameter) +ObjectFromAsmSource(sse_vertex, NullParameter) +ObjectFromAsmSource(sse_xform1, NullParameter) +ObjectFromAsmSource(sse_xform2, NullParameter) +ObjectFromAsmSource(sse_xform3, NullParameter) +ObjectFromAsmSource(sse_xform4, NullParameter) #endif +LinkSourceFile(gen_matypes.c, $(MESASRCDIR)/src/X86) + +MATYPES = ./gen_matypes + +matypes.h: gen_matypes.c + RemoveFiles($@ ProgramTargetName(gen_matypes)) + -HostLinkRule(ProgramTargetName(gen_matypes),$(CFLAGS) $(LOCAL_LDFLAGS),gen_matypes.c,$(LDLIBS)) + RunProgram(MATYPES,> matypes_h) + $(MV) matypes_h $@ + RemoveFiles(ProgramTargetName(gen_matypes)) + +includes:: matypes.h + +depend:: matypes.h + DependTarget() |