0b15357c57aa1c66524a4d954dbe37dcce410960
[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../math \
15 -I../glapi \
16 -I../tnl
17
18
19 default: matypes.h
20
21 clean:
22 rm -f matypes.h gen_matypes
23
24
25 # need some special rules here, unfortunately
26 matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes.c
27 $(CC) $(INCLUDE_DIRS) $(CFLAGS) gen_matypes.c -o gen_matypes
28 ./gen_matypes > matypes.h
29
30 common_x86_asm.o: matypes.h
31 3dnow_normal.o: matypes.h
32 3dnow_xform1.o: matypes.h
33 3dnow_xform2.o: matypes.h
34 3dnow_xform3.o: matypes.h
35 3dnow_xform4.o: matypes.h
36 mmx_blend.o: matypes.h
37 sse_normal.o: matypes.h
38 sse_xform1.o: matypes.h
39 sse_xform2.o: matypes.h
40 sse_xform3.o: matypes.h
41 sse_xform4.o: matypes.h
42 x86_cliptest.o: matypes.h
43 x86_xform2.o: matypes.h
44 x86_xform3.o: matypes.h
45 x86_xform4.o: matypes.h
46