diff Makefile @ 623:92e99e506920 libavcodec

first cut at altivec support on darwin patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
author michaelni
date Wed, 28 Aug 2002 13:14:36 +0000
parents c0005de2be59
children bb6a69f9d409
line wrap: on
line diff
--- a/Makefile	Wed Aug 28 12:23:12 2002 +0000
+++ b/Makefile	Wed Aug 28 13:14:36 2002 +0000
@@ -67,6 +67,11 @@
 CFLAGS += -Wa,-mpca56 -finline-limit=8000 -fforce-addr -freduce-all-givs
 endif
 
+ifeq ($(TARGET_ARCH_POWERPC),yes)
+CFLAGS += -faltivec
+OBJS += ppc/dsputil_altivec.o
+endif
+
 SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S)
 OBJS := $(OBJS) $(ASM_OBJS)
 
@@ -106,6 +111,7 @@
 	   armv4l/*.o armv4l/*~ \
 	   mlib/*.o mlib/*~ \
 	   alpha/*.o alpha/*~ \
+	   ppc/*.o ppc/*~ \
 	   liba52/*.o liba52/*~ \
 	   apiexample $(TESTS)