Fix build of eval-test program
[ffmpeg.git] / libavutil / Makefile
1 include $(SUBDIR)../config.mak
2
3 NAME = avutil
4
5 HEADERS = adler32.h                                                     \
6           aes.h                                                         \
7           attributes.h                                                  \
8           audioconvert.h                                                \
9           avassert.h                                                    \
10           avstring.h                                                    \
11           avutil.h                                                      \
12           base64.h                                                      \
13           bswap.h                                                       \
14           common.h                                                      \
15           cpu.h                                                         \
16           crc.h                                                         \
17           error.h                                                       \
18           eval.h                                                        \
19           fifo.h                                                        \
20           file.h                                                        \
21           imgutils.h                                                    \
22           intfloat_readwrite.h                                          \
23           intreadwrite.h                                                \
24           lfg.h                                                         \
25           log.h                                                         \
26           lzo.h                                                         \
27           mathematics.h                                                 \
28           md5.h                                                         \
29           mem.h                                                         \
30           opt.h                                                         \
31           parseutils.h                                                  \
32           pixdesc.h                                                     \
33           pixfmt.h                                                      \
34           random_seed.h                                                 \
35           rational.h                                                    \
36           samplefmt.h                                                   \
37           sha.h                                                         \
38
39 BUILT_HEADERS = avconfig.h
40
41 OBJS = adler32.o                                                        \
42        aes.o                                                            \
43        audioconvert.o                                                   \
44        avstring.o                                                       \
45        base64.o                                                         \
46        cpu.o                                                            \
47        crc.o                                                            \
48        des.o                                                            \
49        error.o                                                          \
50        eval.o                                                           \
51        fifo.o                                                           \
52        file.o                                                           \
53        imgutils.o                                                       \
54        intfloat_readwrite.o                                             \
55        inverse.o                                                        \
56        lfg.o                                                            \
57        lls.o                                                            \
58        log.o                                                            \
59        lzo.o                                                            \
60        mathematics.o                                                    \
61        md5.o                                                            \
62        mem.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 base64 cpu crc des eval lls md5 pca sha tree
79 TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
80
81 DIRS = arm bfin sh4 x86
82
83 ARCH_HEADERS = bswap.h intmath.h intreadwrite.h timer.h
84
85 include $(SUBDIR)../subdir.mak
86
87 $(SUBDIR)lzo-test$(EXESUF): ELIBS = -llzo2