Makefile 5.12 KB
Newer Older
Måns Rullgård's avatar
Måns Rullgård committed
1
include $(SUBDIR)../config.mak
2

3 4
NAME = avutil

5
HEADERS = adler32.h                                                     \
6
          aes.h                                                         \
7
          attributes.h                                                  \
8
          audioconvert.h                                                \
9
          avassert.h                                                    \
10 11 12
          avstring.h                                                    \
          avutil.h                                                      \
          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                                                \
Ramiro Polla's avatar
Ramiro Polla committed
24
          lfg.h                                                         \
25 26 27 28 29
          log.h                                                         \
          lzo.h                                                         \
          mathematics.h                                                 \
          md5.h                                                         \
          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 40
BUILT_HEADERS = avconfig.h

41 42
OBJS = adler32.o                                                        \
       aes.o                                                            \
43
       audioconvert.o                                                   \
44
       avstring.o                                                       \
45
       base64.o                                                         \
46
       cpu.o                                                            \
47 48
       crc.o                                                            \
       des.o                                                            \
Stefano Sabatini's avatar
Stefano Sabatini committed
49
       error.o                                                          \
50
       eval.o                                                           \
51
       fifo.o                                                           \
52
       file.o                                                           \
53
       imgutils.o                                                       \
54
       intfloat_readwrite.o                                             \
55
       inverse.o                                                        \
56 57 58 59 60 61 62
       lfg.o                                                            \
       lls.o                                                            \
       log.o                                                            \
       lzo.o                                                            \
       mathematics.o                                                    \
       md5.o                                                            \
       mem.o                                                            \
63
       opt.o                                                            \
64
       parseutils.o                                                     \
65
       pixdesc.o                                                        \
66
       random_seed.o                                                    \
67 68
       rational.o                                                       \
       rc4.o                                                            \
69
       samplefmt.o                                                      \
70
       sha.o                                                            \
71 72
       tree.o                                                           \
       utils.o                                                          \
73

Måns Rullgård's avatar
Måns Rullgård committed
74 75 76 77
OBJS-$(ARCH_ARM) += arm/cpu.o
OBJS-$(ARCH_PPC) += ppc/cpu.o
OBJS-$(ARCH_X86) += x86/cpu.o

78
TESTPROGS = adler32 aes base64 cpu crc des lls md5 pca sha tree
79
TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
80

81 82
DIRS = arm bfin sh4 x86

83 84
ARCH_HEADERS = bswap.h intmath.h intreadwrite.h timer.h

Måns Rullgård's avatar
Måns Rullgård committed
85
include $(SUBDIR)../subdir.mak
86

87
$(SUBDIR)lzo-test$(EXESUF): ELIBS = -llzo2