summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
authorGareth Hughes <gareth@valinux.com>2001-03-29 03:41:39 +0000
committerGareth Hughes <gareth@valinux.com>2001-03-29 03:41:39 +0000
commit8e48a232fe48e4b6855cecb1d02363fb142365ae (patch)
tree16a1a587f9eb9f975a644536ad507f069dcb0d0f /src/mesa/main
parentc41edfb7c4d5445f95c057184ccb002d9fc40061 (diff)
Make generation of matypes.h more transparent.
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/Makefile.X1110
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mesa/main/Makefile.X11 b/src/mesa/main/Makefile.X11
index beee04ae76..c514e927f0 100644
--- a/src/mesa/main/Makefile.X11
+++ b/src/mesa/main/Makefile.X11
@@ -1,4 +1,4 @@
-# $Id: Makefile.X11,v 1.49 2001/03/28 20:44:43 gareth Exp $
+# $Id: Makefile.X11,v 1.50 2001/03/29 03:41:40 gareth Exp $
# Mesa 3-D graphics library
# Version: 3.5
@@ -188,8 +188,7 @@ ASM_SOURCES =
ADDITIONAL_OBJ =
-OBJECTS = $(GEN_SOURCES) \
- $(ASM_SOURCES:.S=.o) \
+OBJECTS = $(ASM_SOURCES:.S=.o) \
$(CORE_SOURCES:.c=.o) \
$(DRIVER_SOURCES:.c=.o) \
$(ADDITIONAL_OBJ)
@@ -278,6 +277,7 @@ X86/x86.o: X86/x86.c
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
X86/common_x86.o: X86/common_x86.c
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
+X86/common_x86_asm.o: X86/common_x86_asm.S X86/matypes.h
X86/3dnow.o: X86/3dnow.c
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
X86/katmai.o: X86/katmai.c
@@ -285,7 +285,9 @@ X86/katmai.o: X86/katmai.c
X86/matypes.h: mtypes.h tnl/t_context.h X86/gen_matypes.c
$(CC) -I. -I$(INCDIR) $(CFLAGS) X86/gen_matypes.c -o X86/gen_matypes
./X86/gen_matypes > X86/matypes.h
- rm -f X86/gen_matypes
+ rm -f X86/gen_matypes X86/*.o
+
+$(ASM_SOURCES): X86/matypes.h
GGI/ggimesa.o: GGI/ggimesa.c
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@