diff Makefile @ 3:1bdbd869c1f0 libavcodec

added CONFIG_AC3, CONFIG_MPGLIB, CONFIG_DECODERS and CONFIG_ENCODERS (Arpi: don't forget to put CONFIG_DECODERS in mplayer)
author glantau
date Mon, 23 Jul 2001 20:58:31 +0000
parents 2e2c46c87460
children 1b4461b5a7fb
line wrap: on
line diff
--- a/Makefile	Mon Jul 23 20:06:54 2001 +0000
+++ b/Makefile	Mon Jul 23 20:58:31 2001 +0000
@@ -10,14 +10,18 @@
 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 @@
 
 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