[MPlayer-cvslog] CVS: main/libmpcodecs Makefile,1.159,1.160

Diego Biurrun CVS syncmail at mplayerhq.hu
Wed Feb 1 00:45:48 CET 2006


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv20328/libmpcodecs

Modified Files:
	Makefile 
Log Message:
Only compile libmpencoders if MEncoder has been enabled.


Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/Makefile,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -r1.159 -r1.160
--- Makefile	31 Jan 2006 23:36:12 -0000	1.159
+++ Makefile	31 Jan 2006 23:45:46 -0000	1.160
@@ -4,6 +4,11 @@
 LIBNAME = libmpcodecs.a
 LIBNAME2 = libmpencoders.a
 
+LIBS =$(LIBNAME)
+ifeq ($(MENCODER),yes)
+LIBS+=$(LIBNAME2)
+endif
+
 AUDIO_SRCS_LIB=ad_hwac3.c \
                ad_liba52.c \
                ad_mp3lib.c \
@@ -276,7 +281,7 @@
 .c.o:
 	$(CC) -c $(CFLAGS) -o $@ $<
 
-all:    $(LIBNAME) $(LIBNAME2)
+all:    $(LIBS)
 
 $(LIBNAME):     $(OBJS)
 	$(AR) r $(LIBNAME) $(OBJS)




More information about the MPlayer-cvslog mailing list