Mercurial > mplayer.hg
changeset 17538:bb1ab9250f05
Build muxers only when MEncoder is enabled.
author | diego |
---|---|
date | Mon, 06 Feb 2006 16:04:17 +0000 |
parents | 7276f4623d2a |
children | c692a99ea1bd |
files | libmpdemux/Makefile |
diffstat | 1 files changed, 9 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/Makefile Sun Feb 05 14:53:08 2006 +0000 +++ b/libmpdemux/Makefile Mon Feb 06 16:04:17 2006 +0000 @@ -101,7 +101,7 @@ endif # Muxers -SRCS += muxer.c \ +MUXERS = muxer.c \ muxer_avi.c \ muxer_mpeg.c \ muxer_rawaudio.c \ @@ -116,12 +116,12 @@ endif ifeq ($(CONFIG_LIBAVFORMAT),yes) LIBAV_INC += -I../libavformat -SRCS += demux_lavf.c \ - muxer_lavf.c +SRCS += demux_lavf.c +MUXERS += muxer_lavf.c endif ifeq ($(CONFIG_LIBAVFORMAT_SO),yes) -SRCS += demux_lavf.c \ - muxer_lavf.c +SRCS += demux_lavf.c +MUXERS += muxer_lavf.c endif ifeq ($(MPLAYER_NETWORK),yes) @@ -152,6 +152,10 @@ SRCS += dvb_tune.c endif +ifeq ($(MENCODER),yes) +SRCS += $(MUXERS) +endif + OBJS = $(SRCS:.c=.o) OBJS += $(CPLUSPLUSSRCS:.cpp=.o) INCLUDE = -I.. -I../loader $(CSS_INC) $(EXTRA_INC) $(LIBAV_INC)