New Makefile system
[mesa.git] / src / mesa / x86 / Makefile
1 # src/mesa/x86/Makefile
2
3 TOP = ../../..
4
5 include $(TOP)/configs/current
6
7
8
9 INCLUDE_DIRS = \
10 -I$(TOP)/include/GL \
11 -I$(TOP)/include \
12 -I.. \
13 -I../main \
14 -I../glapi \
15 -I../tnl
16
17
18 default: matypes.h
19
20
21 # need some special rules here, unfortunately
22 matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes.c
23 $(CC) $(INCLUDE_DIRS) $(CFLAGS) gen_matypes.c -o gen_matypes
24 ./gen_matypes > matypes.h
25
26 common_x86_asm.o: matypes.h
27 3dnow_normal.o: matypes.h
28 3dnow_xform1.o: matypes.h
29 3dnow_xform2.o: matypes.h
30 3dnow_xform3.o: matypes.h
31 3dnow_xform4.o: matypes.h
32 mmx_blend.o: matypes.h
33 sse_normal.o: matypes.h
34 sse_xform1.o: matypes.h
35 sse_xform2.o: matypes.h
36 sse_xform3.o: matypes.h
37 sse_xform4.o: matypes.h
38 x86_cliptest.o: matypes.h
39 x86_xform2.o: matypes.h
40 x86_xform3.o: matypes.h
41 x86_xform4.o: matypes.h
42