[MPlayer-cvslog] r19891 - in trunk/TOOLS/realcodecs: . 14_4.sh 28_8.sh HOWTO Makefile cook.sh drv2.sh drv3.sh drv4.sh rv30.sh sipr.sh

diego subversion at mplayerhq.hu
Mon Sep 18 16:27:35 CEST 2006


Author: diego
Date: Mon Sep 18 16:27:35 2006
New Revision: 19891

Added:
   trunk/TOOLS/realcodecs/Makefile
Removed:
   trunk/TOOLS/realcodecs/14_4.sh
   trunk/TOOLS/realcodecs/28_8.sh
   trunk/TOOLS/realcodecs/cook.sh
   trunk/TOOLS/realcodecs/drv2.sh
   trunk/TOOLS/realcodecs/drv3.sh
   trunk/TOOLS/realcodecs/drv4.sh
   trunk/TOOLS/realcodecs/rv30.sh
   trunk/TOOLS/realcodecs/sipr.sh
Modified:
   trunk/TOOLS/realcodecs/   (props changed)
   trunk/TOOLS/realcodecs/HOWTO

Log:
Replace silly compilation shell scripts by a simple Makefile.


Modified: trunk/TOOLS/realcodecs/HOWTO
==============================================================================
--- trunk/TOOLS/realcodecs/HOWTO	(original)
+++ trunk/TOOLS/realcodecs/HOWTO	Mon Sep 18 16:27:35 2006
@@ -1,6 +1,6 @@
 HOW TO get these capturers/wrappers to work:
 
 - set the path to the codecs in the C file
-- compile it with the script
+- run make
 - the orig. codecs are prepended by a "real" -> e.g. realcook.so.6.0
 - the capturer get the old name, e.g. cook.so.6.0

Added: trunk/TOOLS/realcodecs/Makefile
==============================================================================
--- (empty file)
+++ trunk/TOOLS/realcodecs/Makefile	Mon Sep 18 16:27:35 2006
@@ -0,0 +1,13 @@
+SRCS = 14_4.c 28_8.c cook.c drv2.c drv3.c drv4.c ra.c rv30.c sipr.c
+TARGETS = $(SRCS:.c=.so.6.0)
+
+%.o: %.c
+	cc -c $< -g
+
+%.so.6.0: %.o
+	ld -shared -o $@ $< -ldl -lc
+
+all: $(TARGETS)
+
+clean:
+	rm -f *.so.6.0



More information about the MPlayer-cvslog mailing list