summaryrefslogtreecommitdiff
path: root/src/render_program/Makefile.am
blob: 5229ef522a3354d710ec15cd15a7fe7c86c73b6a (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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
INTEL_G4A =				\
	exa_sf.g4a 			\
	exa_sf_mask.g4a 		\
	exa_wm_src_affine.g4a 		\
	exa_wm_src_projective.g4a 	\
	exa_wm_src_sample_argb.g4a 	\
	exa_wm_src_sample_a.g4a 	\
	exa_wm_src_sample_planar.g4a 	\
	exa_wm_mask_affine.g4a 		\
	exa_wm_mask_projective.g4a 	\
	exa_wm_mask_sample_argb.g4a 	\
	exa_wm_mask_sample_a.g4a 	\
	exa_wm_noca.g4a			\
	exa_wm_ca.g4a			\
	exa_wm_ca_srcalpha.g4a		\
	exa_wm_write.g4a 		\
	exa_wm_yuv_rgb.g4a		\
	exa_wm_xy.g4a

INTEL_G4I =				\
	exa_wm.g4i			\
	exa_wm_affine.g4i		\
	exa_wm_projective.g4i

INTEL_G4B = 				\
	exa_sf.g4b 			\
	exa_sf_mask.g4b 		\
	exa_wm_src_affine.g4b 		\
	exa_wm_src_projective.g4b 	\
	exa_wm_src_sample_argb.g4b 	\
	exa_wm_src_sample_a.g4b 	\
	exa_wm_src_sample_planar.g4b 	\
	exa_wm_mask_affine.g4b 		\
	exa_wm_mask_projective.g4b 	\
	exa_wm_mask_sample_argb.g4b 	\
	exa_wm_mask_sample_a.g4b 	\
	exa_wm_noca.g4b			\
	exa_wm_ca.g4b			\
	exa_wm_ca_srcalpha.g4b		\
	exa_wm_write.g4b 		\
	exa_wm_yuv_rgb.g4b		\
	exa_wm_xy.g4b


INTEL_G4B_GEN5 = 				\
	exa_sf.g4b.gen5 			\
	exa_sf_mask.g4b.gen5 			\
	exa_wm_src_affine.g4b.gen5 		\
	exa_wm_src_projective.g4b.gen5 		\
	exa_wm_src_sample_argb.g4b.gen5 	\
	exa_wm_src_sample_a.g4b.gen5 		\
	exa_wm_src_sample_planar.g4b.gen5 	\
	exa_wm_mask_affine.g4b.gen5 		\
	exa_wm_mask_projective.g4b.gen5 	\
	exa_wm_mask_sample_argb.g4b.gen5 	\
	exa_wm_mask_sample_a.g4b.gen5 		\
	exa_wm_noca.g4b.gen5			\
	exa_wm_ca.g4b.gen5			\
	exa_wm_ca_srcalpha.g4b.gen5		\
	exa_wm_write.g4b.gen5 			\
	exa_wm_yuv_rgb.g4b.gen5			\
	exa_wm_xy.g4b.gen5

INTEL_G6A =				\
	exa_wm_src_affine.g6a 		\
	exa_wm_src_sample_argb.g6a 	\
	exa_wm_src_sample_planar.g6a 	\
	exa_wm_write.g6a 		\
	exa_wm_yuv_rgb.g6a

INTEL_G6B =				\
	exa_wm_src_affine.g6b 		\
	exa_wm_src_sample_argb.g6b 	\
	exa_wm_src_sample_planar.g6b 	\
	exa_wm_write.g6b 		\
	exa_wm_yuv_rgb.g6b

EXTRA_DIST = 		\
	$(INTEL_G4A)	\
	$(INTEL_G4I)	\
	$(INTEL_G4B)	\
	$(INTEL_G4B_GEN5)\
	$(INTEL_G6A)	\
	$(INTEL_G6B)

if HAVE_GEN4ASM

SUFFIXES = .g4a .g4b .g6a .g6b
.g4a.g4b:
	m4 -I$(srcdir) -s $< > $*.g4m && intel-gen4asm -o $@ $*.g4m && intel-gen4asm -g 5 -o $@.gen5 $*.g4m && rm $*.g4m

.g6a.g6b:
	m4 -I$(srcdir) -s $< > $*.g6m && intel-gen4asm -g 6 -o $@ $*.g6m && rm $*.g6m

$(INTEL_G4B): $(INTEL_G4I)
$(INTEL_G6B): $(INTEL_G4I)

BUILT_SOURCES= $(INTEL_G4B) $(INTEL_G6B)

clean-local:
	-rm -f $(INTEL_G4B) $(INTEL_G4B_GEN5)
	-rm -f $(INTEL_G6B)
endif