Mercurial > mplayer.hg
diff Makefile @ 16165:a9f7eff9e437
Support new static libavcodec (depends on libavutil).
author | al |
---|---|
date | Mon, 01 Aug 2005 20:16:56 +0000 |
parents | 087142ef3a2d |
children | ca701176fe03 |
line wrap: on
line diff
--- a/Makefile Mon Aug 01 18:52:20 2005 +0000 +++ b/Makefile Mon Aug 01 20:16:56 2005 +0000 @@ -8,6 +8,14 @@ PRG_CFG = codec-cfg +LIBAV_INC = +ifeq ($(CONFIG_LIBAVUTIL),yes) +LIBAV_INC += -I./libavutil +endif +ifeq ($(CONFIG_LIBAVCODEC),yes) +LIBAV_INC += -I./libavcodec +endif + # Do not strip the binaries at installation ifeq ($(STRIPBINARIES),yes) INSTALLSTRIP = -s @@ -129,6 +137,7 @@ $(SDL_INC) \ $(X11_INC) \ $(XVID_INC) \ + $(LIBAV_INC) \ #CFLAGS += -Wall @@ -292,6 +301,9 @@ loader/dmo/libDMO_Filter.a: $(MAKE) -C loader/dmo +libavutil/libavutil.a: + $(MAKE) -C libavutil LIBPREF=lib LIBSUF=.a + libavcodec/libavcodec.a: $(MAKE) -C libavcodec LIBPREF=lib LIBSUF=.a