changeset 21229:36046375aacd

Don't compile libvo.a unless MPlayer is enabled.
author diego
date Sat, 25 Nov 2006 18:56:00 +0000
parents e57ac78dc8e7
children ec4092ce08fe
files libvo/Makefile
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/Makefile	Sat Nov 25 18:45:03 2006 +0000
+++ b/libvo/Makefile	Sat Nov 25 18:56:00 2006 +0000
@@ -4,6 +4,11 @@
 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 @@
 .m.o:
 	$(CC) -c $(CFLAGS) -o $@ $<
 
-all:    $(LIBNAME) $(LIBNAME2)
+all:    $(LIBS)
 
 $(LIBNAME): $(OBJS)
 	$(AR) r $@ $^