From c5a9cfcef973152269def75b2a94936de36c5661 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 18 Sep 2006 14:27:35 +0000 Subject: Replace silly compilation shell scripts by a simple Makefile. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19891 b3059339-0415-0410-9bf9-f77b7e298cf2 --- TOOLS/realcodecs/14_4.sh | 4 ---- TOOLS/realcodecs/28_8.sh | 4 ---- TOOLS/realcodecs/HOWTO | 2 +- TOOLS/realcodecs/Makefile | 13 +++++++++++++ TOOLS/realcodecs/cook.sh | 4 ---- TOOLS/realcodecs/drv2.sh | 3 --- TOOLS/realcodecs/drv3.sh | 3 --- TOOLS/realcodecs/drv4.sh | 3 --- TOOLS/realcodecs/rv30.sh | 3 --- TOOLS/realcodecs/sipr.sh | 4 ---- 10 files changed, 14 insertions(+), 29 deletions(-) delete mode 100755 TOOLS/realcodecs/14_4.sh delete mode 100755 TOOLS/realcodecs/28_8.sh create mode 100644 TOOLS/realcodecs/Makefile delete mode 100755 TOOLS/realcodecs/cook.sh delete mode 100755 TOOLS/realcodecs/drv2.sh delete mode 100755 TOOLS/realcodecs/drv3.sh delete mode 100755 TOOLS/realcodecs/drv4.sh delete mode 100755 TOOLS/realcodecs/rv30.sh delete mode 100755 TOOLS/realcodecs/sipr.sh (limited to 'TOOLS') diff --git a/TOOLS/realcodecs/14_4.sh b/TOOLS/realcodecs/14_4.sh deleted file mode 100755 index 662dd01e7a..0000000000 --- a/TOOLS/realcodecs/14_4.sh +++ /dev/null @@ -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 --git a/TOOLS/realcodecs/28_8.sh b/TOOLS/realcodecs/28_8.sh deleted file mode 100755 index abb6c589ad..0000000000 --- a/TOOLS/realcodecs/28_8.sh +++ /dev/null @@ -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 --git a/TOOLS/realcodecs/HOWTO b/TOOLS/realcodecs/HOWTO index f7d1ca4936..ec6ede132a 100644 --- a/TOOLS/realcodecs/HOWTO +++ b/TOOLS/realcodecs/HOWTO @@ -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 --git a/TOOLS/realcodecs/Makefile b/TOOLS/realcodecs/Makefile new file mode 100644 index 0000000000..3327754c38 --- /dev/null +++ b/TOOLS/realcodecs/Makefile @@ -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 --git a/TOOLS/realcodecs/cook.sh b/TOOLS/realcodecs/cook.sh deleted file mode 100755 index 52010ea811..0000000000 --- a/TOOLS/realcodecs/cook.sh +++ /dev/null @@ -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 --git a/TOOLS/realcodecs/drv2.sh b/TOOLS/realcodecs/drv2.sh deleted file mode 100755 index a62d9d3c27..0000000000 --- a/TOOLS/realcodecs/drv2.sh +++ /dev/null @@ -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 --git a/TOOLS/realcodecs/drv3.sh b/TOOLS/realcodecs/drv3.sh deleted file mode 100755 index 3668d1587c..0000000000 --- a/TOOLS/realcodecs/drv3.sh +++ /dev/null @@ -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 --git a/TOOLS/realcodecs/drv4.sh b/TOOLS/realcodecs/drv4.sh deleted file mode 100755 index 9d07ec90fc..0000000000 --- a/TOOLS/realcodecs/drv4.sh +++ /dev/null @@ -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 --git a/TOOLS/realcodecs/rv30.sh b/TOOLS/realcodecs/rv30.sh deleted file mode 100755 index 840b47b39e..0000000000 --- a/TOOLS/realcodecs/rv30.sh +++ /dev/null @@ -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 --git a/TOOLS/realcodecs/sipr.sh b/TOOLS/realcodecs/sipr.sh deleted file mode 100755 index 22768012a3..0000000000 --- a/TOOLS/realcodecs/sipr.sh +++ /dev/null @@ -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 -- cgit v1.2.3