Mercurial > mplayer.hg
diff libmpcodecs/Makefile @ 16165:a9f7eff9e437
Support new static libavcodec (depends on libavutil).
author | al |
---|---|
date | Mon, 01 Aug 2005 20:16:56 +0000 |
parents | 087142ef3a2d |
children | ae5caba38b89 |
line wrap: on
line diff
--- a/libmpcodecs/Makefile Mon Aug 01 18:52:20 2005 +0000 +++ b/libmpcodecs/Makefile Mon Aug 01 20:16:56 2005 +0000 @@ -183,7 +183,12 @@ ENCODER_SRCS += ae_lame.c endif +LIBAV_INC = +ifeq ($(CONFIG_LIBAVUTIL),yes) +LIBAV_INC += -I../libavutil +endif ifeq ($(CONFIG_LIBAVCODEC),yes) +LIBAV_INC += -I../libavcodec ENCODER_SRCS += ae_lavc.c endif @@ -201,7 +206,7 @@ SRCS2=$(ENCODER_SRCS) OBJS2=$(SRCS2:.c=.o) -CFLAGS = $(OPTFLAGS) -I. -Inative -I.. -I../libmpdemux -I../loader $(EXTRA_INC) $(X264_INC) -D_GNU_SOURCE +CFLAGS = $(OPTFLAGS) -I. -Inative -I.. -I../libmpdemux -I../loader $(LIBAV_INC) $(EXTRA_INC) $(X264_INC) -D_GNU_SOURCE .SUFFIXES: .c .o