Mercurial > mplayer.hg
diff Makefile @ 21111:22f13d04b180
Move FFmpeg library dependencies into the Makefile just like everything else.
author | diego |
---|---|
date | Tue, 21 Nov 2006 12:49:46 +0000 |
parents | 76f8d2c50d4c |
children | 2b762f7a3bd8 |
line wrap: on
line diff
--- a/Makefile Tue Nov 21 12:16:12 2006 +0000 +++ b/Makefile Tue Nov 21 12:49:46 2006 +0000 @@ -63,9 +63,6 @@ libswscale/libswscale.a \ libvo/libosd.a \ osdep/libosdep.a \ - $(AV_LIB) \ - $(EXTRA_LIB)\ - $(EXTRALIBS) \ LIBS_MPLAYER = libvo/libvo.a \ libao2/libao2.a \ @@ -97,6 +94,22 @@ libvo \ libaf \ +ifeq ($(CONFIG_LIBAVFORMAT),yes) +COMMON_LIBS += libavformat/libavformat.a +PARTS += libavformat +endif +ifeq ($(CONFIG_LIBAVCODEC),yes) +COMMON_LIBS += libavcodec/libavcodec.a +PARTS += libavcodec +endif +ifeq ($(CONFIG_LIBAVUTIL),yes) +COMMON_LIBS += libavutil/libavutil.a +PARTS += libavutil +endif +ifeq ($(CONFIG_LIBPOSTPROC),yes) +COMMON_LIBS += libpostproc/libpostproc.a +PARTS += libpostproc +endif ifeq ($(WIN32DLL),yes) COMMON_LIBS += loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a PARTS += loader loader/dshow loader/dmo @@ -154,6 +167,9 @@ OBJS_MPLAYER += osdep/mplayer-rc.o endif +COMMON_LIBS += $(EXTRA_LIB)\ + $(EXTRALIBS) \ + ifeq ($(MPLAYER),yes) ALL_PRG = mplayer$(EXESUF) endif