2007-02-28 03:40:23 +00:00
|
|
|
include ../config.mak
|
|
|
|
|
2007-08-30 23:11:24 +00:00
|
|
|
OBJS = adler32.o \
|
|
|
|
aes.o \
|
|
|
|
base64.o \
|
|
|
|
crc.o \
|
2007-10-19 09:31:41 +00:00
|
|
|
des.o \
|
2007-08-30 23:11:24 +00:00
|
|
|
fifo.o \
|
2007-10-14 09:29:59 +00:00
|
|
|
intfloat_readwrite.o \
|
2007-08-30 23:11:24 +00:00
|
|
|
lls.o \
|
|
|
|
log.o \
|
|
|
|
lzo.o \
|
|
|
|
mathematics.o \
|
|
|
|
md5.o \
|
|
|
|
mem.o \
|
|
|
|
random.o \
|
|
|
|
rational.o \
|
2007-10-13 10:42:11 +00:00
|
|
|
rc4.o \
|
2007-12-12 20:58:41 +00:00
|
|
|
sha1.o \
|
2007-08-30 23:11:24 +00:00
|
|
|
string.o \
|
|
|
|
tree.o \
|
2007-02-28 03:40:23 +00:00
|
|
|
|
2007-08-30 23:11:24 +00:00
|
|
|
HEADERS = adler32.h \
|
|
|
|
avstring.h \
|
|
|
|
avutil.h \
|
|
|
|
base64.h \
|
|
|
|
common.h \
|
2008-01-04 23:47:10 +00:00
|
|
|
crc.h \
|
2007-08-30 23:11:24 +00:00
|
|
|
fifo.h \
|
|
|
|
intfloat_readwrite.h \
|
|
|
|
log.h \
|
|
|
|
lzo.h \
|
|
|
|
mathematics.h \
|
|
|
|
md5.h \
|
|
|
|
mem.h \
|
|
|
|
random.h \
|
|
|
|
rational.h \
|
2007-12-12 20:58:41 +00:00
|
|
|
sha1.h
|
2007-02-28 03:40:23 +00:00
|
|
|
|
|
|
|
NAME=avutil
|
|
|
|
LIBVERSION=$(LAVUVERSION)
|
|
|
|
LIBMAJOR=$(LAVUMAJOR)
|
|
|
|
|
|
|
|
include ../common.mak
|
2008-01-27 22:39:30 +00:00
|
|
|
|
|
|
|
TESTS = $(addsuffix -test$(EXESUF), adler32 aes crc des lls md5 sha1 softfloat tree)
|
|
|
|
|
|
|
|
tests: $(TESTS)
|
|
|
|
|
|
|
|
%-test$(EXESUF): %.c $(LIBNAME)
|
|
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -DTEST -o $@ $^ $(EXTRALIBS)
|
|
|
|
|
|
|
|
lzo-test$(EXESUF): lzo.c $(LIBNAME)
|
|
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -DTEST -o $@ $^ $(EXTRALIBS) -llzo2
|
|
|
|
|
|
|
|
clean::
|
|
|
|
rm -f $(TESTS) lzo-test$(EXESUF)
|
|
|
|
|
|
|
|
.PHONY: tests
|