Mercurial > mplayer.hg
comparison libmpeg2/Makefile @ 13118:23971209fd32
more TARGET_* conditionals
author | henry |
---|---|
date | Tue, 24 Aug 2004 17:24:31 +0000 |
parents | adb93ef6b07f |
children | cbadd7b190b2 |
comparison
equal
deleted
inserted
replaced
13117:9bba611637fb | 13118:23971209fd32 |
---|---|
1 | 1 |
2 LIBNAME = libmpeg2.a | 2 LIBNAME = libmpeg2.a |
3 | 3 |
4 include ../config.mak | 4 include ../config.mak |
5 | 5 |
6 SRCS = alloc.c cpu_accel.c cpu_state.c decode.c header.c idct.c idct_alpha.c idct_mmx.c motion_comp.c motion_comp_alpha.c motion_comp_mmx.c slice.c | 6 SRCS = alloc.c cpu_accel.c cpu_state.c decode.c header.c idct.c motion_comp.c slice.c |
7 | 7 |
8 OBJS = $(SRCS:.c=.o) | 8 OBJS = $(SRCS:.c=.o) |
9 INCLUDE = -I. -I../libvo -I.. $(EXTRA_INC) | 9 INCLUDE = -I. -I../libvo -I.. $(EXTRA_INC) |
10 CFLAGS = $(OPTFLAGS) $(INCLUDE) -DMPG12PLAY | 10 CFLAGS = $(OPTFLAGS) $(INCLUDE) -DMPG12PLAY |
11 | |
12 ifeq ($(TARGET_ARCH_X86),yes) | |
13 SRCS += idct_mmx.c motion_comp_mmx.c | |
14 endif | |
15 | |
16 ifeq ($(TARGET_ARCH_X86_64),yes) | |
17 SRCS += idct_mmx.c motion_comp_mmx.c | |
18 endif | |
11 | 19 |
12 ifeq ($(TARGET_ALTIVEC),yes) | 20 ifeq ($(TARGET_ALTIVEC),yes) |
13 SRCS += motion_comp_altivec.c idct_altivec.c | 21 SRCS += motion_comp_altivec.c idct_altivec.c |
14 endif | 22 endif |
15 | 23 |
16 ifeq ($(TARGET_VIS),yes) | 24 ifeq ($(TARGET_VIS),yes) |
17 SRCS += motion_comp_vis.c | 25 SRCS += motion_comp_vis.c |
26 endif | |
27 | |
28 ifeq ($(TARGET_ARCH_ALPHA),yes) | |
29 SRCS += idct_alpha.c motion_comp_alpha.c | |
18 endif | 30 endif |
19 | 31 |
20 .SUFFIXES: .c .o | 32 .SUFFIXES: .c .o |
21 | 33 |
22 # .PHONY: all clean | 34 # .PHONY: all clean |