summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/Makefile.am
blob: 915f13530dd21e112f4014f2a7533b1d402ab6dd (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
##
## Process this file with automake to produce Makefile.in
##

#CFLAGS = -D_FILE_OFFSET_BITS=64 @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

noinst_LTLIBRARIES = libavcodec.la

if HAVE_FFMMX
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

EXTRA_DIST = mpegvideo_mmx.c sad_mmx.s dsputil_mmx.c idct_mmx.c \
	dsputil_mlib.c idct_mlib.c

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) $(mlib_modules)


noinst_HEADERS = avcodec.h    dsputil.h   mpegvideo.h   dsputil_mmx_avg.h\
		 common.h     h263data.h  mpeg4data.h   msmpeg4data.h \
		 mpeg12data.h

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

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