Makefile 12 KB
Newer Older
1 2
include $(SUBDIR)../config.mak

3 4
NAME = avutil

5
HEADERS = adler32.h                                                     \
6
          aes.h                                                         \
7
          attributes.h                                                  \
8
          audio_fifo.h                                                  \
9
          audioconvert.h                                                \
10
          avassert.h                                                    \
11 12 13
          avstring.h                                                    \
          avutil.h                                                      \
          base64.h                                                      \
14
          blowfish.h                                                    \
15
          bprint.h                                                      \
16
          bswap.h                                                       \
17
          buffer.h                                                      \
18
          channel_layout.h                                              \
19
          common.h                                                      \
20
          cpu.h                                                         \
21
          crc.h                                                         \
22
          display.h                                                     \
23
          downmix_info.h                                                \
24
          error.h                                                       \
25
          eval.h                                                        \
26
          fifo.h                                                        \
27
          file.h                                                        \
28
          frame.h                                                       \
29
          hash.h                                                        \
30
          hmac.h                                                        \
31
          imgutils.h                                                    \
32
          intfloat.h                                                    \
33
          intfloat_readwrite.h                                          \
34
          intreadwrite.h                                                \
Ramiro Polla's avatar
Ramiro Polla committed
35
          lfg.h                                                         \
36
          log.h                                                         \
37
          macros.h                                                      \
38 39 40
          mathematics.h                                                 \
          md5.h                                                         \
          mem.h                                                         \
41
          murmur3.h                                                     \
42
          dict.h                                                        \
43
          old_pix_fmts.h                                                \
44
          opt.h                                                         \
45
          parseutils.h                                                  \
46
          pixdesc.h                                                     \
47
          pixfmt.h                                                      \
48
          random_seed.h                                                 \
49
          replaygain.h                                                  \
50
          rational.h                                                    \
James Almer's avatar
James Almer committed
51
          ripemd.h                                                      \
52
          samplefmt.h                                                   \
53
          sha.h                                                         \
54
          sha512.h                                                      \
55
          stereo3d.h                                                    \
56
          threadmessage.h                                               \
57
          time.h                                                        \
58
          timecode.h                                                    \
59
          timestamp.h                                                   \
60
          version.h                                                     \
61
          xtea.h                                                        \
62

63 64
HEADERS-$(CONFIG_LZO)                   += lzo.h

65 66
HEADERS-$(CONFIG_OPENCL)                += opencl.h

67 68 69 70 71
ARCH_HEADERS = bswap.h                                                  \
               intmath.h                                                \
               intreadwrite.h                                           \
               timer.h                                                  \

72 73
BUILT_HEADERS = avconfig.h                                              \
                ffversion.h
74

75 76
OBJS = adler32.o                                                        \
       aes.o                                                            \
77
       atomic.o                                                         \
78
       audio_fifo.o                                                     \
79
       avstring.o                                                       \
80
       base64.o                                                         \
81
       blowfish.o                                                       \
82
       bprint.o                                                         \
83
       buffer.o                                                         \
84
       channel_layout.o                                                 \
85
       cpu.o                                                            \
86 87
       crc.o                                                            \
       des.o                                                            \
88
       display.o                                                        \
89
       downmix_info.o                                                   \
90
       error.o                                                          \
91
       eval.o                                                           \
92
       fifo.o                                                           \
93
       file.o                                                           \
94
       file_open.o                                                      \
95
       float_dsp.o                                                      \
96
       fixed_dsp.o                                                      \
97
       frame.o                                                          \
98
       hash.o                                                           \
99
       hmac.o                                                           \
100
       imgutils.o                                                       \
101
       intfloat_readwrite.o                                             \
102
       intmath.o                                                        \
103
       lfg.o                                                            \
104
       lls1.o                                                           \
105
       lls2.o                                                           \
106
       log.o                                                            \
107
       log2_tab.o                                                       \
108 109 110
       mathematics.o                                                    \
       md5.o                                                            \
       mem.o                                                            \
111
       murmur3.o                                                        \
112
       dict.o                                                           \
113
       opt.o                                                            \
114
       parseutils.o                                                     \
115
       pixdesc.o                                                        \
116
       random_seed.o                                                    \
117 118
       rational.o                                                       \
       rc4.o                                                            \
James Almer's avatar
James Almer committed
119
       ripemd.o                                                         \
120
       samplefmt.o                                                      \
121
       sha.o                                                            \
122
       sha512.o                                                         \
123
       stereo3d.o                                                       \
124
       threadmessage.o                                                  \
125
       time.o                                                           \
126
       timecode.o                                                       \
127 128
       tree.o                                                           \
       utils.o                                                          \
129
       xga_font_data.o                                                  \
130
       xtea.o                                                           \
131

132
OBJS-$(CONFIG_LZO)                      += lzo.o
133
OBJS-$(CONFIG_OPENCL)                   += opencl.o opencl_internal.o
134

135
OBJS += $(COMPAT_OBJS:%=../compat/%)
136

137 138 139
# Windows resource file
SLIBOBJS-$(HAVE_GNU_WINDRES)            += avutilres.o

140 141
SKIPHEADERS          = old_pix_fmts.h

142
SKIPHEADERS-$(HAVE_ATOMICS_GCC)        += atomic_gcc.h
143 144
SKIPHEADERS-$(HAVE_ATOMICS_SUNCC)      += atomic_suncc.h
SKIPHEADERS-$(HAVE_ATOMICS_WIN32)      += atomic_win32.h
145
SKIPHEADERS-$(CONFIG_OPENCL)           += opencl.h
146

147 148
TESTPROGS = adler32                                                     \
            aes                                                         \
149
            atomic                                                      \
150 151
            avstring                                                    \
            base64                                                      \
152
            blowfish                                                    \
153
            bprint                                                      \
154 155 156
            cpu                                                         \
            crc                                                         \
            des                                                         \
157
            error                                                       \
158
            eval                                                        \
159
            file                                                        \
160
            fifo                                                        \
161
            float_dsp                                                   \
162
            hmac                                                        \
163
            lfg                                                         \
164
            lls1                                                        \
165
            lls2                                                        \
166
            log                                                         \
167
            md5                                                         \
168
            murmur3                                                     \
169
            opt                                                         \
170
            pca                                                         \
171
            parseutils                                                  \
172
            pixdesc                                                     \
173 174
            random_seed                                                 \
            rational                                                    \
James Almer's avatar
James Almer committed
175
            ripemd                                                      \
176
            sha                                                         \
177
            sha512                                                      \
178
            tree                                                        \
179
            utf8                                                        \
180
            xtea                                                        \
181

182
TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
183

184 185 186 187
TOOLS = crypto_bench ffhash ffeval ffescape

tools/crypto_bench$(EXESUF): ELIBS += $(if $(VERSUS),$(subst +, -l,+$(VERSUS)),)
tools/crypto_bench$(EXESUF): CFLAGS += -DUSE_EXT_LIBS=0$(if $(VERSUS),$(subst +,+USE_,+$(VERSUS)),)
188

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