aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/Makefile
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2001-07-23 20:58:31 +0000
committerFabrice Bellard <fabrice@bellard.org>2001-07-23 20:58:31 +0000
commitd771bcae33d7503796235d2199186a821582cd09 (patch)
tree6c6e9ac97e768ea0f61212663f51d12c888d0793 /libavcodec/Makefile
parent980fc7b83458fe6bbd58910813ba7ad3faf6cf76 (diff)
downloadffmpeg-d771bcae33d7503796235d2199186a821582cd09.tar.gz
added CONFIG_AC3, CONFIG_MPGLIB, CONFIG_DECODERS and CONFIG_ENCODERS (Arpi: don't forget to put CONFIG_DECODERS in mplayer)
Originally committed as revision 9 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/Makefile')
-rw-r--r--libavcodec/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index e6dbe85bec..3c79f403f8 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -10,14 +10,18 @@ OBJS= common.o utils.o mpegvideo.o h263.o jrevdct.o jfdctfst.o \
ASM_OBJS=
# currently using libac3 for ac3 decoding
+ifeq ($(CONFIG_AC3),yes)
OBJS+= ac3dec.o \
libac3/bit_allocate.o libac3/bitstream.o libac3/downmix.o \
libac3/imdct.o libac3/parse.o
+endif
# currently using mpglib for mpeg audio decoding
+ifeq ($(CONFIG_MPGLIB),yes)
OBJS+= mpegaudiodec.o \
mpglib/layer1.o mpglib/layer2.o mpglib/layer3.o \
mpglib/dct64_i386.o mpglib/decode_i386.o mpglib/tabinit.o
+endif
# i386 mmx specific stuff
ifeq ($(TARGET_MMX),yes)
@@ -71,3 +75,10 @@ imgresample-test: imgresample.c
dct-test: dct-test.o jfdctfst.o i386/fdct_mmx.o i386/fdctdata.o fdctref.o
$(CC) -o $@ $^
+
+#
+# include dependency files if they exist
+#
+ifneq ($(wildcard .depend),)
+include .depend
+endif