Revert "build: Remove redundant config.mak includes from subdirectory Makefiles."
[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           dict.h                                                        \
31           opt.h                                                         \
32           parseutils.h                                                  \
33           pixdesc.h                                                     \
34           pixfmt.h                                                      \
35           random_seed.h                                                 \
36           rational.h                                                    \
37           samplefmt.h                                                   \
38           sha.h                                                         \
39
40 BUILT_HEADERS = avconfig.h
41
42 OBJS = adler32.o                                                        \
43        aes.o                                                            \
44        audioconvert.o                                                   \
45        avstring.o                                                       \
46        base64.o                                                         \
47        cpu.o                                                            \
48        crc.o                                                            \
49        des.o                                                            \
50        error.o                                                          \
51        eval.o                                                           \
52        fifo.o                                                           \
53        file.o                                                           \
54        imgutils.o                                                       \
55        intfloat_readwrite.o                                             \
56        inverse.o                                                        \
57        lfg.o                                                            \
58        lls.o                                                            \
59        log.o                                                            \
60        lzo.o                                                            \
61        mathematics.o                                                    \
62        md5.o                                                            \
63        mem.o                                                            \
64        dict.o                                                           \
65        opt.o                                                            \
66        parseutils.o                                                     \
67        pixdesc.o                                                        \
68        random_seed.o                                                    \
69        rational.o                                                       \
70        rc4.o                                                            \
71        samplefmt.o                                                      \
72        sha.o                                                            \
73        tree.o                                                           \
74        utils.o                                                          \
75
76 OBJS-$(ARCH_ARM) += arm/cpu.o
77 OBJS-$(ARCH_PPC) += ppc/cpu.o
78 OBJS-$(ARCH_X86) += x86/cpu.o
79
80 TESTPROGS = adler32 aes base64 cpu crc des eval lls md5 pca sha tree
81 TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
82
83 DIRS = arm bfin sh4 x86
84
85 ARCH_HEADERS = bswap.h intmath.h intreadwrite.h timer.h
86
87 include $(SUBDIR)../subdir.mak
88
89 $(SUBDIR)lzo-test$(EXESUF): ELIBS = -llzo2