summaryrefslogtreecommitdiff
path: root/src/xvmc/Makefile.am
blob: d8c539e46e4a75ac6663231a9fb39f57cfdfb32d (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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
if XVMC
lib_LTLIBRARIES=libI810XvMC.la libIntelXvMC.la
endif

SUBDIRS = shader
libI810XvMC_la_SOURCES = I810XvMC.c \
			 I810XvMC.h

libI810XvMC_la_CFLAGS = @WARN_CFLAGS@ @XORG_CFLAGS@ @DRM_CFLAGS@ @DRI_CFLAGS@ \
	-I$(top_srcdir)/src -DTRUE=1 -DFALSE=0
libI810XvMC_la_LDFLAGS = -version-number 1:0:0
libI810XvMC_la_LIBADD = @DRI_LIBS@ @DRM_LIBS@ @XVMCLIB_LIBS@

libIntelXvMC_la_SOURCES = intel_xvmc.c \
        intel_xvmc.h                   \
        intel_xvmc_dump.c              \
        i915_structs.h                 \
        i915_program.h                 \
        i915_xvmc.c                    \
        i915_xvmc.h                    \
        i965_xvmc.c                    \
        i965_xvmc.h                    \
        xvmc_vld.c                     \
        xvmc_vld.h                     \
        intel_batchbuffer.c            \
        intel_batchbuffer.h            \
        xf86dri.c                      \
        xf86dri.h                      \
        xf86dristr.h

libIntelXvMC_la_CFLAGS = @XORG_CFLAGS@ @DRM_CFLAGS@ @DRI_CFLAGS@ \
	@XVMCLIB_CFLAGS@ -I$(top_srcdir)/src -DTRUE=1 -DFALSE=0
libIntelXvMC_la_LDFLAGS = -version-number 1:0:0
libIntelXvMC_la_LIBADD = @DRI_LIBS@ @DRM_LIBS@ @XVMCLIB_LIBS@ @XEXT_LIBS@ -lpthread

INTEL_G4A =                         \
        dual_prime_igd.g4a              \
        field_backward_igd.g4a          \
        field_f_b_igd.g4a               \
        field_forward_igd.g4a           \
        frame_backward_igd.g4a          \
        frame_f_b_igd.g4a               \
        frame_forward_igd.g4a           \
        dual_prime.g4a              \
        field_backward.g4a          \
        field_f_b.g4a               \
        field_forward.g4a           \
        frame_backward.g4a          \
        frame_f_b.g4a               \
        frame_forward.g4a           \
        ipicture.g4a                \
        null.g4a

INTEL_G4I =                                      \
        addidct.g4i                              \
        block_clear.g4i                          \
        read_frame_x0y0_y.g4i                    \
        read_frame_x0y1_y.g4i                    \
        read_frame_x1y0_y.g4i                    \
        read_frame_x1y1_y.g4i                    \
        read_frame_x0y0_uv.g4i                   \
        read_frame_x0y1_uv.g4i                   \
        read_frame_x1y0_uv.g4i                   \
        read_frame_x1y1_uv.g4i                   \
        read_frame_x0y0_y_igd.g4i                    \
        read_frame_x0y1_y_igd.g4i                    \
        read_frame_x1y0_y_igd.g4i                    \
        read_frame_x1y1_y_igd.g4i                    \
        read_frame_x0y0_uv_igd.g4i                   \
        read_frame_x0y1_uv_igd.g4i                   \
        read_frame_x1y0_uv_igd.g4i                   \
        read_frame_x1y1_uv_igd.g4i                   \
        motion_frame_y.g4i                       \
        motion_frame_uv.g4i                      \
        read_field_x0y0_y.g4i                    \
        read_field_x0y1_y.g4i                    \
        read_field_x1y0_y.g4i                    \
        read_field_x1y1_y.g4i                    \
        read_field_x0y0_uv.g4i                   \
        read_field_x0y1_uv.g4i                   \
        read_field_x1y0_uv.g4i                   \
        read_field_x1y1_uv.g4i                   \
        read_field_x0y0_y_igd.g4i                    \
        read_field_x0y1_y_igd.g4i                    \
        read_field_x1y0_y_igd.g4i                    \
        read_field_x1y1_y_igd.g4i                    \
        read_field_x0y0_uv_igd.g4i                   \
        read_field_x0y1_uv_igd.g4i                   \
        read_field_x1y0_uv_igd.g4i                   \
        read_field_x1y1_uv_igd.g4i                   \
        motion_field_y.g4i                       \
        motion_field_uv.g4i

INTEL_G4B =                         \
        dual_prime.g4b              \
        field_backward.g4b          \
        field_f_b.g4b               \
        field_forward.g4b           \
        frame_backward.g4b          \
        frame_f_b.g4b               \
        frame_forward.g4b           \
        dual_prime_igd.g4b              \
        field_backward_igd.g4b          \
        field_f_b_igd.g4b               \
        field_forward_igd.g4b           \
        frame_backward_igd.g4b          \
        frame_f_b_igd.g4b               \
        frame_forward_igd.g4b           \
        ipicture.g4b                \
        null.g4b

EXTRA_DIST =            \
        $(INTEL_G4A)    \
        $(INTEL_G4I)    \
        $(INTEL_G4B)    

if HAVE_GEN4ASM

SUFFIXES = .g4a .g4b
.g4a.g4b:
	m4 $*.g4a > $*.g4m && intel-gen4asm -o $@ $*.g4m && rm $*.g4m

$(INTEL_G4B): $(INTEL_G4I)

BUILT_SOURCES= $(INTEL_G4B)

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