# HG changeset patch # User diego # Date 1174862168 0 # Node ID 5908689f34ded1e2c9f9d7ebe6c46377e963e2df # Parent 714a39ce043b05c7140edd499879d055b3249fa7 Use the top-level TOOLS Makefile to build the Real codecs wrappers. diff -r 714a39ce043b -r 5908689f34de TOOLS/Makefile --- 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) diff -r 714a39ce043b -r 5908689f34de TOOLS/realcodecs/Makefile --- 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)