Makefile 12.3 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
          cast5.h                                                       \
19
          channel_layout.h                                              \
20
          common.h                                                      \
21
          cpu.h                                                         \
22
          crc.h                                                         \
23
          display.h                                                     \
24
          downmix_info.h                                                \
25
          error.h                                                       \
26
          eval.h                                                        \
27
          fifo.h                                                        \
28
          file.h                                                        \
29
          frame.h                                                       \
30
          hash.h                                                        \
31
          hmac.h                                                        \
32
          imgutils.h                                                    \
33
          intfloat.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
          motion_vector.h                                               \
42
          murmur3.h                                                     \
43
          dict.h                                                        \
44
          old_pix_fmts.h                                                \
45
          opt.h                                                         \
46
          parseutils.h                                                  \
47
          pixdesc.h                                                     \
48
          pixelutils.h                                                  \
49
          pixfmt.h                                                      \
50
          random_seed.h                                                 \
51
          replaygain.h                                                  \
52
          rational.h                                                    \
James Almer's avatar
James Almer committed
53
          ripemd.h                                                      \
54
          samplefmt.h                                                   \
55
          sha.h                                                         \
56
          sha512.h                                                      \
57
          stereo3d.h                                                    \
58
          threadmessage.h                                               \
59
          time.h                                                        \
60
          timecode.h                                                    \
61
          timestamp.h                                                   \
62
          version.h                                                     \
63
          xtea.h                                                        \
64

65 66
HEADERS-$(CONFIG_LZO)                   += lzo.h

67 68
HEADERS-$(CONFIG_OPENCL)                += opencl.h

69 70 71 72 73
ARCH_HEADERS = bswap.h                                                  \
               intmath.h                                                \
               intreadwrite.h                                           \
               timer.h                                                  \

74 75
BUILT_HEADERS = avconfig.h                                              \
                ffversion.h
76

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

134
OBJS-$(CONFIG_LZO)                      += lzo.o
135
OBJS-$(CONFIG_OPENCL)                   += opencl.o opencl_internal.o
136

137
OBJS += $(COMPAT_OBJS:%=../compat/%)
138

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

142 143
SKIPHEADERS          = old_pix_fmts.h

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

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

187
TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
188

189 190 191 192
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)),)
193

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