comparison 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
comparison
equal deleted inserted replaced
622:a1e54c24f221 623:92e99e506920
65 OBJS += alpha/dsputil_alpha.o alpha/mpegvideo_alpha.o alpha/motion_est_alpha.o 65 OBJS += alpha/dsputil_alpha.o alpha/mpegvideo_alpha.o alpha/motion_est_alpha.o
66 ASM_OBJS += alpha/dsputil_alpha_asm.o 66 ASM_OBJS += alpha/dsputil_alpha_asm.o
67 CFLAGS += -Wa,-mpca56 -finline-limit=8000 -fforce-addr -freduce-all-givs 67 CFLAGS += -Wa,-mpca56 -finline-limit=8000 -fforce-addr -freduce-all-givs
68 endif 68 endif
69 69
70 ifeq ($(TARGET_ARCH_POWERPC),yes)
71 CFLAGS += -faltivec
72 OBJS += ppc/dsputil_altivec.o
73 endif
74
70 SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) 75 SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S)
71 OBJS := $(OBJS) $(ASM_OBJS) 76 OBJS := $(OBJS) $(ASM_OBJS)
72 77
73 LIB= libavcodec.a 78 LIB= libavcodec.a
74 ifeq ($(BUILD_SHARED),yes) 79 ifeq ($(BUILD_SHARED),yes)
104 clean: 109 clean:
105 rm -f *.o *~ .depend $(LIB) $(SLIB) *.so i386/*.o i386/*~ \ 110 rm -f *.o *~ .depend $(LIB) $(SLIB) *.so i386/*.o i386/*~ \
106 armv4l/*.o armv4l/*~ \ 111 armv4l/*.o armv4l/*~ \
107 mlib/*.o mlib/*~ \ 112 mlib/*.o mlib/*~ \
108 alpha/*.o alpha/*~ \ 113 alpha/*.o alpha/*~ \
114 ppc/*.o ppc/*~ \
109 liba52/*.o liba52/*~ \ 115 liba52/*.o liba52/*~ \
110 apiexample $(TESTS) 116 apiexample $(TESTS)
111 117
112 distclean: clean 118 distclean: clean
113 rm -f Makefile.bak .depend 119 rm -f Makefile.bak .depend