Mercurial > libavutil.hg
annotate Makefile @ 436:2fc7d825b16f libavutil
Add Makefile rules for test programs.
author | diego |
---|---|
date | Sun, 27 Jan 2008 22:39:30 +0000 |
parents | 00b366335a60 |
children | 8a1687cc6f5b |
rev | line source |
---|---|
267
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
1 include ../config.mak |
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
2 |
381 | 3 OBJS = adler32.o \ |
4 aes.o \ | |
5 base64.o \ | |
6 crc.o \ | |
393 | 7 des.o \ |
385 | 8 fifo.o \ |
381 | 9 intfloat_readwrite.o \ |
10 lls.o \ | |
11 log.o \ | |
12 lzo.o \ | |
13 mathematics.o \ | |
14 md5.o \ | |
15 mem.o \ | |
16 random.o \ | |
17 rational.o \ | |
384 | 18 rc4.o \ |
406 | 19 sha1.o \ |
381 | 20 string.o \ |
21 tree.o \ | |
267
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
22 |
381 | 23 HEADERS = adler32.h \ |
24 avstring.h \ | |
25 avutil.h \ | |
26 base64.h \ | |
27 common.h \ | |
421 | 28 crc.h \ |
381 | 29 fifo.h \ |
30 intfloat_readwrite.h \ | |
31 log.h \ | |
32 lzo.h \ | |
33 mathematics.h \ | |
34 md5.h \ | |
35 mem.h \ | |
36 random.h \ | |
37 rational.h \ | |
406 | 38 sha1.h |
267
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
39 |
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
40 NAME=avutil |
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
41 LIBVERSION=$(LAVUVERSION) |
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
42 LIBMAJOR=$(LAVUMAJOR) |
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
43 |
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
44 include ../common.mak |
436 | 45 |
46 TESTS = $(addsuffix -test$(EXESUF), adler32 aes crc des lls md5 sha1 softfloat tree) | |
47 | |
48 tests: $(TESTS) | |
49 | |
50 %-test$(EXESUF): %.c $(LIBNAME) | |
51 $(CC) $(CFLAGS) $(LDFLAGS) -DTEST -o $@ $^ $(EXTRALIBS) | |
52 | |
53 lzo-test$(EXESUF): lzo.c $(LIBNAME) | |
54 $(CC) $(CFLAGS) $(LDFLAGS) -DTEST -o $@ $^ $(EXTRALIBS) -llzo2 | |
55 | |
56 clean:: | |
57 rm -f $(TESTS) lzo-test$(EXESUF) | |
58 | |
59 .PHONY: tests |