From 0bfbbc13906c4ca2c8d28aa22803a2594a9634b1 Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Fri, 31 Aug 2001 14:32:24 +0000 Subject: Add mediaLib acceleration for UltarSPARCs to ffmpeg's libavcodec CVS patchset: 531 CVS date: 2001/08/31 14:32:24 --- src/libffmpeg/libavcodec/Makefile.am | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/libffmpeg/libavcodec/Makefile.am') diff --git a/src/libffmpeg/libavcodec/Makefile.am b/src/libffmpeg/libavcodec/Makefile.am index 21a6452be..7a428a106 100644 --- a/src/libffmpeg/libavcodec/Makefile.am +++ b/src/libffmpeg/libavcodec/Makefile.am @@ -4,7 +4,7 @@ #CFLAGS = -D_FILE_OFFSET_BITS=64 @GLOBAL_CFLAGS@ -DCONFIG_DECODERS -DHAVE_AV_CONFIG_H -CFLAGS = @GLOBAL_CFLAGS@ -DCONFIG_DECODERS -DHAVE_AV_CONFIG_H +CFLAGS = @GLOBAL_CFLAGS@ @LIBFFMPEG_CFLAGS@ -DCONFIG_DECODERS -DHAVE_AV_CONFIG_H LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic @@ -15,11 +15,15 @@ mmx_modules = mpegvideo_mmx.c sad_mmx.s dsputil_mmx.c idct_mmx.c #mmx_modules = mpegvideo_mmx.c sad_mmx.s endif +if HAVE_MLIB +mlib_modules = dsputil_mlib.c idct_mlib.c +endif + libavcodec_la_SOURCES = dsputil.c fdctref.c jfdctfst.c mpeg12.c \ utils.c rv10.c h263.c jrevdct.c \ common.c h263dec.c msmpeg4.c \ mpegvideo.c mjpeg.c motion_est.c \ - $(mmx_modules) + $(mmx_modules) $(mlib_modules) noinst_HEADERS = avcodec.h dsputil.h mpegvideo.h dsputil_mmx_avg.h\ @@ -27,7 +31,7 @@ noinst_HEADERS = avcodec.h dsputil.h mpegvideo.h dsputil_mmx_avg.h\ mpeg12data.h debug: - @$(MAKE) CFLAGS="@DEBUG_CFLAGS@ -DCONFIG_DECODERS -DHAVE_AV_CONFIG_H" + @$(MAKE) CFLAGS="@DEBUG_CFLAGS@ @LIBFFMPEG_CFLAGS@ -DCONFIG_DECODERS -DHAVE_AV_CONFIG_H" install-debug: debug @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -- cgit v1.2.3