summaryrefslogtreecommitdiff
path: root/libavcodec/Makefile
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2001-08-13 21:45:36 +0000
committerFabrice Bellard <fabrice@bellard.org>2001-08-13 21:45:36 +0000
commit3d03c0a24ec27fb7e5387012e170dce00535c110 (patch)
treeb6101194d5b5625ea5d10b286117bb1df0b43945 /libavcodec/Makefile
parentbdc4796fae585a2316a0d201d287fd6493b838ba (diff)
arm optimizations
Originally committed as revision 82 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/Makefile')
-rw-r--r--libavcodec/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index d2be0e760c..8738ddd32a 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -31,6 +31,12 @@ OBJS += i386/fdctdata.o i386/cputest.o \
i386/idct_mmx.o
endif
+# armv4l specific stuff
+ifeq ($(TARGET_ARCH_ARMV4L),yes)
+ASM_OBJS += armv4l/jrevdct_arm.o
+OBJS += armv4l/dsputil_arm.o
+endif
+
SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s)
LIB= libavcodec.a
@@ -48,6 +54,9 @@ dsputil.o: dsputil.c dsputil.h
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
+%.o: %.S
+ $(CC) $(CFLAGS) -c -o $@ $<
+
%.o: %.s
nasm -f elf -o $@ $<
@@ -59,6 +68,7 @@ depend:
clean:
rm -f *.o *~ *.a i386/*.o i386/*~ \
+ armv4l/*.o armv4l/*~ \
libac3/*.o libac3/*~ \
mpglib/*.o mpglib/*~ \
apiexample $(TESTS)