[MPlayer-cvslog] r21245 - trunk/libvo/Makefile

diego subversion at mplayerhq.hu
Sat Nov 25 19:56:00 CET 2006


Author: diego
Date: Sat Nov 25 19:56:00 2006
New Revision: 21245

Modified:
   trunk/libvo/Makefile

Log:
Don't compile libvo.a unless MPlayer is enabled.


Modified: trunk/libvo/Makefile
==============================================================================
--- trunk/libvo/Makefile	(original)
+++ trunk/libvo/Makefile	Sat Nov 25 19:56:00 2006
@@ -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 $@ $^



More information about the MPlayer-cvslog mailing list