summaryrefslogtreecommitdiff
path: root/libavcodec/Makefile
diff options
context:
space:
mode:
authorGuillaume Poirier <gpoirier@mplayerhq.hu>2005-11-21 20:03:35 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2005-11-21 20:03:35 +0000
commit348e52c91ded1c242eeaaa05c20dac335d030853 (patch)
treedbc036a6b4ecf8cc8867423a74f3fd917d974d9f /libavcodec/Makefile
parent31a78b718beb4cd5e73be90c3db5c7ea1eddb2f0 (diff)
Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
Original thread: Date: Nov 20, 2005 9:25 PM Subject: [PATCH] make dvdsub encoder depend on config variables Originally committed as revision 4709 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/Makefile')
-rw-r--r--libavcodec/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 2426391082..225e340438 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -18,7 +18,7 @@ OBJS= bitstream.o utils.o mem.o allcodecs.o \
fft.o mdct.o raw.o golomb.o cabac.o\
dpcm.o adx.o faandct.o parser.o g726.o \
vp3dsp.o h264idct.o rangecoder.o pnm.o h263.o msmpeg4.o h263dec.o \
- dvdsub.o dvbsub.o dvbsubdec.o dvdsubenc.o opt.o
+ opt.o
ifeq ($(CONFIG_AASC_DECODER),yes)
OBJS+= aasc.o
@@ -38,6 +38,18 @@ endif
ifeq ($(CONFIG_CYUV_DECODER),yes)
OBJS+= cyuv.o
endif
+ifeq ($(CONFIG_DVBSUB_DECODER),yes)
+ OBJS+= dvbsubdec.o
+endif
+ifeq ($(CONFIG_DVBSUB_ENCODER),yes)
+ OBJS+= dvbsub.o
+endif
+ifeq ($(CONFIG_DVDSUB_DECODER),yes)
+ OBJS+= dvdsub.o
+endif
+ifeq ($(CONFIG_DVDSUB_ENCODER),yes)
+ OBJS+= dvdsubenc.o
+endif
ifneq ($(CONFIG_DVVIDEO_DECODER)$(CONFIG_DVVIDEO_ENCODER),)
OBJS+= dv.o
endif