Mercurial > mplayer.hg
changeset 17524:cc6cf286e337
Only compile libmpencoders if MEncoder has been enabled.
author | diego |
---|---|
date | Tue, 31 Jan 2006 23:45:46 +0000 |
parents | f0e7712385dc |
children | 5dda8f0e4381 |
files | libmpcodecs/Makefile |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/Makefile Tue Jan 31 23:36:12 2006 +0000 +++ b/libmpcodecs/Makefile Tue Jan 31 23:45:46 2006 +0000 @@ -4,6 +4,11 @@ LIBNAME = libmpcodecs.a LIBNAME2 = libmpencoders.a +LIBS =$(LIBNAME) +ifeq ($(MENCODER),yes) +LIBS+=$(LIBNAME2) +endif + AUDIO_SRCS_LIB=ad_hwac3.c \ ad_liba52.c \ ad_mp3lib.c \ @@ -276,7 +281,7 @@ .c.o: $(CC) -c $(CFLAGS) -o $@ $< -all: $(LIBNAME) $(LIBNAME2) +all: $(LIBS) $(LIBNAME): $(OBJS) $(AR) r $(LIBNAME) $(OBJS)