changeset 22806:5908689f34de

Use the top-level TOOLS Makefile to build the Real codecs wrappers.
author diego
date Sun, 25 Mar 2007 22:36:08 +0000
parents 714a39ce043b
children 499738cca90b
files TOOLS/Makefile TOOLS/realcodecs/Makefile
diffstat 2 files changed, 10 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/Makefile	Sun Mar 25 19:25:11 2007 +0000
+++ b/TOOLS/Makefile	Sun Mar 25 22:36:08 2007 +0000
@@ -49,7 +49,17 @@
 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)
--- a/TOOLS/realcodecs/Makefile	Sun Mar 25 19:25:11 2007 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-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 $(TARGETS)