summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-25 18:56:00 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-25 18:56:00 +0000
commit917d57bc25b59c834d7864fcfc2bc9f249618296 (patch)
tree668321968806d1681e842092f30aee2bec54b34f /libvo
parent7cce9019a77e0571f347eb18cbf2667e40c85d9b (diff)
downloadmpv-917d57bc25b59c834d7864fcfc2bc9f249618296.tar.bz2
mpv-917d57bc25b59c834d7864fcfc2bc9f249618296.tar.xz
Don't compile libvo.a unless MPlayer is enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21245 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/Makefile7
1 files changed, 6 insertions, 1 deletions
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 $@ $^