summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/i386/Makefile.am
blob: 58fa8c47e2ab510d18b2e2548fbb6484f4ee827b (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
##
## Process this file with automake to produce Makefile.in
##

# we must not use CFLAGS here, gcc optimizations produce
# bad code if we do so.
AM_CFLAGS = $(LIBFFMPEG_CFLAGS)
# CFLAGS is here to filter out -funroll-loops because it causes bad
# behavior of libavcodec
CFLAGS = `echo @CFLAGS@ | sed -e 's/-funroll-loops//g'`

ASFLAGS =

LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic

noinst_LTLIBRARIES = libavcodec_mmx.la

libavcodec_mmx_src = \
	cputest.c \
	dsputil_mmx.c \
	fdct_mmx.c \
	fft_sse.c \
	idct_mmx.c \
	motion_est_mmx.c \
	mpegvideo_mmx.c \
	simple_idct_mmx.c

libavcodec_mmx_dummy = libavcodec_mmx_dummy.c

EXTRA_DIST = \
	$(libavcodec_mmx_dummy) \
	$(libavcodec_mmx_src) \
	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

.s.lo:
	$(ASCOMPILE) -o $@ `test -f $< || echo '$(srcdir)/'`$<

debug:
	@$(MAKE) CFLAGS="$(DEBUG_CFLAGS) $(LIBFFMPEG_CFLAGS)"

install-debug: debug
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

mostlyclean-generic:
	-rm -f *~ \#* .*~ .\#*

maintainer-clean-generic:
	-@echo "This command is intended for maintainers to use;"
	-@echo "it deletes files that may require special tools to rebuild."
	-rm -f Makefile.in