Makefile 12.9 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
          avassert.h                                                    \
10 11 12
          avstring.h                                                    \
          avutil.h                                                      \
          base64.h                                                      \
13
          blowfish.h                                                    \
14
          bprint.h                                                      \
15
          bswap.h                                                       \
16
          buffer.h                                                      \
17
          cast5.h                                                       \
18
          camellia.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
          opt.h                                                         \
45
          parseutils.h                                                  \
46
          pixdesc.h                                                     \
47
          pixelutils.h                                                  \
48
          pixfmt.h                                                      \
49
          random_seed.h                                                 \
50
          replaygain.h                                                  \
51
          rational.h                                                    \
James Almer's avatar
James Almer committed
52
          ripemd.h                                                      \
53
          samplefmt.h                                                   \
54
          sha.h                                                         \
55
          sha512.h                                                      \
56
          stereo3d.h                                                    \
57
          threadmessage.h                                               \
58
          time.h                                                        \
59
          timecode.h                                                    \
60
          timestamp.h                                                   \
61
          twofish.h                                                     \
62
          version.h                                                     \
63
          xtea.h                                                        \
64
          tea.h                                                         \
65

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

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

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

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

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

139 140
OBJS-$(!HAVE_ATOMICS_NATIVE)            += atomic.o                     \

141
OBJS-$(CONFIG_LZO)                      += lzo.o
142
OBJS-$(CONFIG_OPENCL)                   += opencl.o opencl_internal.o
143

144
OBJS += $(COMPAT_OBJS:%=../compat/%)
145

146 147 148
# Windows resource file
SLIBOBJS-$(HAVE_GNU_WINDRES)            += avutilres.o

149
SKIPHEADERS-$(HAVE_ATOMICS_GCC)        += atomic_gcc.h
150 151
SKIPHEADERS-$(HAVE_ATOMICS_SUNCC)      += atomic_suncc.h
SKIPHEADERS-$(HAVE_ATOMICS_WIN32)      += atomic_win32.h
152
SKIPHEADERS-$(CONFIG_OPENCL)           += opencl.h
153

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

195
TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
196

197 198 199 200
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)),)
201

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