[MPlayer-cvslog] r22824 - in trunk/TOOLS: Makefile realcodecs/Makefile

diego subversion at mplayerhq.hu
Mon Mar 26 00:36:08 CEST 2007


Author: diego
Date: Mon Mar 26 00:36:08 2007
New Revision: 22824

Removed:
   trunk/TOOLS/realcodecs/Makefile
Modified:
   trunk/TOOLS/Makefile

Log:
Use the top-level TOOLS Makefile to build the Real codecs wrappers.


Modified: trunk/TOOLS/Makefile
==============================================================================
--- trunk/TOOLS/Makefile	(original)
+++ trunk/TOOLS/Makefile	Mon Mar 26 00:36:08 2007
@@ -49,7 +49,17 @@ bmovl-test$(EXESUF): bmovl-test.c
 vfw2menc$(EXESUF): vfw2menc.c
 	$(CC) $< -o $@ -lwinmm -lole32
 
+REAL_SRCS    = $(wildcard realcodecs/*.c)
+REAL_TARGETS = $(REAL_SRCS:.c=.so.6.0)
+
+realcodecs: $(REAL_TARGETS)
+realcodecs: CFLAGS += -g
+
+%.so.6.0: %.o
+	ld -shared -o $@ $< -ldl -lc
+
 clean distclean:
 	rm -f $(OBJS)
 	rm -f fastmem-* fastmem2-* fastmemcpybench
 	rm -f cpuinfo$(EXESUF) bmovl-test$(EXESUF) vfw2menc$(EXESUF)
+	rm -f $(REAL_TARGETS)



More information about the MPlayer-cvslog mailing list