# HG changeset patch # User diego # Date 1164480960 0 # Node ID 36046375aacd4a6885c3c5b6d963fabeed678af8 # Parent e57ac78dc8e735b3dfd3ec566443a4b8dfabad65 Don't compile libvo.a unless MPlayer is enabled. diff -r e57ac78dc8e7 -r 36046375aacd libvo/Makefile --- 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 $@ $^