summaryrefslogtreecommitdiff
path: root/src/xvmc/Makefile.am
blob: e3a6f7d059503847355223108ce43d977b5351e6 (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
if XVMC
lib_LTLIBRARIES=libI810XvMC.la libIntelXvMC.la

libI810XvMC_la_SOURCES = I810XvMC.c \
			 I810XvMC.h

libI810XvMC_la_CFLAGS = @WARN_CFLAGS@ @XORG_CFLAGS@ @DRI_CFLAGS@ \
	-I$(top_srcdir)/src -DTRUE=1 -DFALSE=0
libI810XvMC_la_LDFLAGS = -version-number 1:0:0
libI810XvMC_la_LIBADD = @DRI_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                    \
        intel_batchbuffer.c            \
        intel_batchbuffer.h            \
        xf86dri.c                      \
        xf86dri.h                      \
        xf86dristr.h

libIntelXvMC_la_CFLAGS = @XORG_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@

INTEL_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                   \
        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                   \
        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           \
        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
endif