From 917d57bc25b59c834d7864fcfc2bc9f249618296 Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 25 Nov 2006 18:56:00 +0000 Subject: Don't compile libvo.a unless MPlayer is enabled. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21245 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libvo') diff --git a/libvo/Makefile b/libvo/Makefile index 201d405602..959e0d3aea 100644 --- a/libvo/Makefile +++ b/libvo/Makefile @@ -4,6 +4,11 @@ include ../config.mak LIBNAME = libvo.a LIBNAME2 = libosd.a +LIBS =$(LIBNAME2) +ifeq ($(MPLAYER),yes) +LIBS+=$(LIBNAME) +endif + SRCS=aspect.c \ geometry.c \ spuenc.c \ @@ -56,7 +61,7 @@ CFLAGS = $(INCLUDE) $(OPTFLAGS) .m.o: $(CC) -c $(CFLAGS) -o $@ $< -all: $(LIBNAME) $(LIBNAME2) +all: $(LIBS) $(LIBNAME): $(OBJS) $(AR) r $@ $^ -- cgit v1.2.3