summaryrefslogtreecommitdiffstats
path: root/libmpeg2/Makefile
blob: 40bc6c635b9d9a383e1d1454367310b34d9a6540 (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

LIBNAME = libmpeg2.a

include ../config.mak

SRCS	= alloc.c \
	  cpu_accel.c\
	  cpu_state.c \
	  decode.c \
	  header.c \
	  idct.c \
	  motion_comp.c \
	  slice.c \

CFLAGS = -I../libvo -DMPG12PLAY

ifeq ($(TARGET_MMX),yes)
SRCS += idct_mmx.c motion_comp_mmx.c
endif

ifeq ($(TARGET_ALTIVEC),yes)
SRCS += motion_comp_altivec.c idct_altivec.c
endif

ifeq ($(TARGET_VIS),yes)
SRCS += motion_comp_vis.c
endif

ifeq ($(TARGET_ARCH_ALPHA),yes)
SRCS += idct_alpha.c motion_comp_alpha.c
endif

include ../mpcommon.mak