summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa/src/X86/Makefile.am
blob: ffabb1fbf409ceaacd964f3a898d4fe278757a61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
## Process this file with automake to produce Makefile.in

#AUTOMAKE_OPTIONS = no-dependencies



x86_files = \
	assyntax.h \
	common_x86.c \
	common_x86_asm.S \
	common_x86_asm.h \
	common_x86_features.h \
	glapi_x86.S \
	x86.c \
	x86.h \
	x86_cliptest.S \
	clip_args.h \
	x86_vertex.S \
	x86_xform_masked2.S \
	xform_args.h \
	x86_xform_masked3.S \
	x86_xform_masked4.S \
	x86_xform_raw2.S \
	x86_xform_raw3.S \
	x86_xform_raw4.S

x3dnow_files = \
	3dnow.c \
	3dnow.h \
	3dnow_norm_raw.S \
	3dnow_xform_masked1.S \
	3dnow_xform_masked2.S \
	3dnow_xform_masked3.S \
	3dnow_xform_masked4.S \
	3dnow_xform_raw1.S \
	3dnow_xform_raw2.S \
	3dnow_xform_raw3.S \
	3dnow_xform_raw4.S \
	3dnow_vertex.S

katmai_files = \
	katmai.c \
	katmai.h \
	katmai_norm_raw.S \
	katmai_xform_raw1.S \
	katmai_xform_masked1.S \
	katmai_xform_raw2.S \
	katmai_xform_masked2.S \
	katmai_xform_raw3.S \
	katmai_xform_masked3.S \
	katmai_xform_raw4.S \
	katmai_xform_masked4.S \
	katmai_vertex.S

mmx_files = mmx.h mmx_blend.S

if HAVE_3DNOW
x3dnow_sources = $(x3dnow_files)
CFLAGS_3DNOW = -DUSE_3DNOW_ASM
endif

if HAVE_SSE
katmai_sources = $(katmai_files)
CFLAGS_KATMAI = -DUSE_KATMAI_ASM
endif

if HAVE_MMX
mmx_sources = $(mmx_files)
CFLAGS_MMX = -DUSE_MMX_ASM
endif

if HAVE_X86
# Build a libtool convenience library.
noinst_LTLIBRARIES = libMesaX86.la
x86_sources = $(x86_files)
CFLAGS_X86 = -DUSE_X86_ASM
endif

libMesaX86_la_SOURCES = $(x86_sources) $(mmx_sources) $(x3dnow_sources) $(katmai_sources)

INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src $(CFLAGS_X86) $(CFLAGS_MMX) $(CFLAGS_3DNOW) $(CFLAGS_KATMAI)

EXTRA_DIST = $(x3dnow_files) $(mmx_files) $(katmai_files)