glapi: Move to src/mapi/.
[mesa.git] / src / mesa / x86 / Makefile
1 # src/mesa/x86/Makefile
2
3 TOP = ../../..
4 include $(TOP)/configs/current
5
6
7 INCLUDE_DIRS = \
8 -I$(TOP)/include/GL \
9 -I$(TOP)/include \
10 -I$(TOP)/src/mapi \
11 -I.. \
12 -I../main \
13 -I../math \
14 -I../tnl
15
16
17 default: gen_matypes matypes.h
18
19 clean:
20 -rm -f matypes.h gen_matypes
21
22
23 gen_matypes: gen_matypes.c
24 $(HOST_CC) $(ARCH_FLAGS) $(INCLUDE_DIRS) $(HOST_CFLAGS) gen_matypes.c -o gen_matypes
25
26 # need some special rules here, unfortunately
27 matypes.h: ../main/mtypes.h ../tnl/t_context.h 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