# HG changeset patch # User diego # Date 1158589655 0 # Node ID 7f9b2b26e90542b10d95b8e9ffafe71bcc143e8d # Parent 7725b85ada9ff72ce4d43df75734a130c936b058 Replace silly compilation shell scripts by a simple Makefile. diff -r 7725b85ada9f -r 7f9b2b26e905 TOOLS/realcodecs/14_4.sh --- a/TOOLS/realcodecs/14_4.sh Mon Sep 18 14:24:16 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -rm 14_4.so.6.0 -gcc -c 14_4.c -g -ld -shared -o 14_4.so.6.0 14_4.o -ldl -lc - \ No newline at end of file diff -r 7725b85ada9f -r 7f9b2b26e905 TOOLS/realcodecs/28_8.sh --- a/TOOLS/realcodecs/28_8.sh Mon Sep 18 14:24:16 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -rm 28_8.so.6.0 -gcc -c 28_8.c -g -ld -shared -o 28_8.so.6.0 28_8.o -ldl -lc - \ No newline at end of file diff -r 7725b85ada9f -r 7f9b2b26e905 TOOLS/realcodecs/HOWTO --- a/TOOLS/realcodecs/HOWTO Mon Sep 18 14:24:16 2006 +0000 +++ b/TOOLS/realcodecs/HOWTO Mon Sep 18 14:27:35 2006 +0000 @@ -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 diff -r 7725b85ada9f -r 7f9b2b26e905 TOOLS/realcodecs/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TOOLS/realcodecs/Makefile Mon Sep 18 14:27:35 2006 +0000 @@ -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 diff -r 7725b85ada9f -r 7f9b2b26e905 TOOLS/realcodecs/cook.sh --- a/TOOLS/realcodecs/cook.sh Mon Sep 18 14:24:16 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -rm cook.so.6.0 -gcc -c cook.c -g -ld -shared -o cook.so.6.0 cook.o -ldl -lc - \ No newline at end of file diff -r 7725b85ada9f -r 7f9b2b26e905 TOOLS/realcodecs/drv2.sh --- a/TOOLS/realcodecs/drv2.sh Mon Sep 18 14:24:16 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -rm drv2.so.6.0 -gcc -c drv2.c -g && -ld -shared -o drv2.so.6.0 drv2.o -ldl -lc diff -r 7725b85ada9f -r 7f9b2b26e905 TOOLS/realcodecs/drv3.sh --- a/TOOLS/realcodecs/drv3.sh Mon Sep 18 14:24:16 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -rm drv3.so.6.0 -gcc -c drv3.c -g && -ld -shared -o drv3.so.6.0 drv3.o -ldl -lc diff -r 7725b85ada9f -r 7f9b2b26e905 TOOLS/realcodecs/drv4.sh --- a/TOOLS/realcodecs/drv4.sh Mon Sep 18 14:24:16 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -rm drv4.so.6.0 -gcc -c drv4.c -g && -ld -shared -o drv4.so.6.0 drv4.o -ldl -lc diff -r 7725b85ada9f -r 7f9b2b26e905 TOOLS/realcodecs/rv30.sh --- a/TOOLS/realcodecs/rv30.sh Mon Sep 18 14:24:16 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -rm rv30.so.6.0 -gcc -c rv30.c -g -ld -shared -o rv30.so.6.0 rv30.o -ldl -lc diff -r 7725b85ada9f -r 7f9b2b26e905 TOOLS/realcodecs/sipr.sh --- a/TOOLS/realcodecs/sipr.sh Mon Sep 18 14:24:16 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -rm sipr.so.6.0 -gcc -c sipr.c -g -ld -shared -o sipr.so.6.0 sipr.o -ldl -lc - \ No newline at end of file