6 SRCS
= alloc.c cpu_accel.c cpu_state.c decode.c header.c idct.c motion_comp.c slice.c
9 INCLUDE
= -I.
-I..
/libvo
-I..
$(EXTRA_INC
)
10 CFLAGS
= $(OPTFLAGS
) $(INCLUDE
) -DMPG12PLAY
12 ifeq ($(TARGET_ARCH_X86
),yes
)
13 SRCS
+= idct_mmx.c motion_comp_mmx.c
16 ifeq ($(TARGET_ARCH_X86_64
),yes
)
17 SRCS
+= idct_mmx.c motion_comp_mmx.c
20 ifeq ($(TARGET_ALTIVEC
),yes
)
21 SRCS
+= motion_comp_altivec.c idct_altivec.c
24 ifeq ($(TARGET_VIS
),yes
)
25 SRCS
+= motion_comp_vis.c
28 ifeq ($(TARGET_ARCH_ALPHA
),yes
)
29 SRCS
+= idct_alpha.c motion_comp_alpha.c
37 $(CC
) -c
$(CFLAGS
) -o
$@
$<
40 $(AR
) r
$(LIBNAME
) $(OBJS
)
49 rm -f Makefile.bak
*.o
*.a
*~ .depend
54 $(CC
) -MM
$(CFLAGS
) $(SRCS
) 1>.depend
57 # include dependency files if they exist
59 ifneq ($(wildcard .depend
),)