diff options
author | Brian Foley <bfoley@compsoc.nuigalway.ie> | 2002-08-28 13:14:36 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-08-28 13:14:36 +0000 |
commit | 59925ef2044e3ba2b5be49a35d37929550e3d6bc (patch) | |
tree | 97c7de71ccfd22da770139d0ed750b8c95597300 /libavcodec/Makefile | |
parent | 68bd11f5de271a1a674f196a9e8ca2e7fe40ab6e (diff) | |
download | ffmpeg-59925ef2044e3ba2b5be49a35d37929550e3d6bc.tar.gz |
first cut at altivec support on darwin patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
Originally committed as revision 875 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/Makefile')
-rw-r--r-- | libavcodec/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 2d3b490018..2c4c69db60 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -67,6 +67,11 @@ ASM_OBJS += alpha/dsputil_alpha_asm.o 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 @@ clean: armv4l/*.o armv4l/*~ \ mlib/*.o mlib/*~ \ alpha/*.o alpha/*~ \ + ppc/*.o ppc/*~ \ liba52/*.o liba52/*~ \ apiexample $(TESTS) |