build: move inclusion of subdir.mak to main subdir loop
[libav.git] / libavutil / Makefile
1 NAME = avutil
2
3 HEADERS = adler32.h \
4 aes.h \
5 attributes.h \
6 audioconvert.h \
7 avassert.h \
8 avstring.h \
9 avutil.h \
10 base64.h \
11 bswap.h \
12 common.h \
13 cpu.h \
14 crc.h \
15 error.h \
16 eval.h \
17 fifo.h \
18 file.h \
19 imgutils.h \
20 intfloat_readwrite.h \
21 intreadwrite.h \
22 lfg.h \
23 log.h \
24 lzo.h \
25 mathematics.h \
26 md5.h \
27 mem.h \
28 dict.h \
29 opt.h \
30 parseutils.h \
31 pixdesc.h \
32 pixfmt.h \
33 random_seed.h \
34 rational.h \
35 samplefmt.h \
36 sha.h \
37
38 BUILT_HEADERS = avconfig.h
39
40 OBJS = adler32.o \
41 aes.o \
42 audioconvert.o \
43 avstring.o \
44 base64.o \
45 cpu.o \
46 crc.o \
47 des.o \
48 error.o \
49 eval.o \
50 fifo.o \
51 file.o \
52 imgutils.o \
53 intfloat_readwrite.o \
54 inverse.o \
55 lfg.o \
56 lls.o \
57 log.o \
58 lzo.o \
59 mathematics.o \
60 md5.o \
61 mem.o \
62 dict.o \
63 opt.o \
64 parseutils.o \
65 pixdesc.o \
66 random_seed.o \
67 rational.o \
68 rc4.o \
69 samplefmt.o \
70 sha.o \
71 tree.o \
72 utils.o \
73
74 OBJS-$(ARCH_ARM) += arm/cpu.o
75 OBJS-$(ARCH_PPC) += ppc/cpu.o
76 OBJS-$(ARCH_X86) += x86/cpu.o
77
78 TESTPROGS = adler32 aes avstring base64 cpu crc des eval file fifo lfg lls \
79 md5 opt parseutils rational sha tree
80 TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
81
82 DIRS = arm bfin sh4 x86
83
84 ARCH_HEADERS = bswap.h intmath.h intreadwrite.h timer.h
85
86 $(SUBDIR)lzo-test$(EXESUF): ELIBS = -llzo2