blob: 49df37f80aab13c48993aea7bdfdb90849d2b073 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
include $(top_srcdir)/misc/Makefile.common
# -fomit-frame-pointer is always needed. it might cause debug to not
# work, but at least it compiles.
AM_CFLAGS = $(LIBFFMPEG_CFLAGS) -I$(top_srcdir)/src/libffmpeg/libavutil -fomit-frame-pointer
# CFLAGS is here to filter out -funroll-loops because it causes bad
# behavior of libavcodec
CFLAGS := `echo @CFLAGS@ | sed -e 's/-funroll-loops//g'`
# Avoid "can't find register" failures with -O1 and higher
dsputil_mmx.o dsputil_mmx.lo: CFLAGS=`echo @CFLAGS@ | sed -e 's/-funroll-loops//g; s/-O[0-9]/-Os/g'`
ASFLAGS =
noinst_LTLIBRARIES = libavcodec_mmx.la
libavcodec_mmx_src = \
cputest.c \
dsputil_mmx.c \
fdct_mmx.c \
fft_sse.c \
idct_mmx.c \
idct_mmx_xvid.c \
motion_est_mmx.c \
mpegvideo_mmx.c \
simple_idct_mmx.c \
vp3dsp_mmx.c \
vp3dsp_sse2.c
libavcodec_mmx_dummy = libavcodec_mmx_dummy.c
EXTRA_DIST = \
$(libavcodec_mmx_dummy) \
$(libavcodec_mmx_src) \
dsputil_h264_template_mmx.c \
h264dsp_mmx.c \
mpegvideo_mmx_template.c
if HAVE_FFMMX
mmx_modules = $(libavcodec_mmx_src)
endif
libavcodec_mmx_la_SOURCES = $(mmx_modules) $(libavcodec_mmx_dummy)
noinst_HEADERS = dsputil_mmx_avg.h dsputil_mmx_rnd.h mmx.h
|