]> git.sesse.net Git - ffmpeg/blob - libavutil/Makefile
avformat/avio: Add Metacube support
[ffmpeg] / libavutil / Makefile
1 NAME = avutil
2 DESC = FFmpeg utility library
3
4 HEADERS = adler32.h                                                     \
5           aes.h                                                         \
6           aes_ctr.h                                                     \
7           attributes.h                                                  \
8           audio_fifo.h                                                  \
9           avassert.h                                                    \
10           avstring.h                                                    \
11           avutil.h                                                      \
12           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           des.h                                                         \
24           detection_bbox.h                                              \
25           dict.h                                                        \
26           display.h                                                     \
27           dovi_meta.h                                                   \
28           downmix_info.h                                                \
29           encryption_info.h                                             \
30           error.h                                                       \
31           eval.h                                                        \
32           fifo.h                                                        \
33           file.h                                                        \
34           frame.h                                                       \
35           hash.h                                                        \
36           hdr_dynamic_metadata.h                                        \
37           hmac.h                                                        \
38           hwcontext.h                                                   \
39           hwcontext_cuda.h                                              \
40           hwcontext_d3d11va.h                                           \
41           hwcontext_drm.h                                               \
42           hwcontext_dxva2.h                                             \
43           hwcontext_qsv.h                                               \
44           hwcontext_mediacodec.h                                        \
45           hwcontext_opencl.h                                            \
46           hwcontext_vaapi.h                                             \
47           hwcontext_videotoolbox.h                                      \
48           hwcontext_vdpau.h                                             \
49           hwcontext_vulkan.h                                            \
50           imgutils.h                                                    \
51           intfloat.h                                                    \
52           intreadwrite.h                                                \
53           lfg.h                                                         \
54           log.h                                                         \
55           macros.h                                                      \
56           mathematics.h                                                 \
57           mastering_display_metadata.h                                  \
58           md5.h                                                         \
59           mem.h                                                         \
60           motion_vector.h                                               \
61           murmur3.h                                                     \
62           opt.h                                                         \
63           parseutils.h                                                  \
64           pixdesc.h                                                     \
65           pixelutils.h                                                  \
66           pixfmt.h                                                      \
67           random_seed.h                                                 \
68           rc4.h                                                         \
69           rational.h                                                    \
70           replaygain.h                                                  \
71           ripemd.h                                                      \
72           samplefmt.h                                                   \
73           sha.h                                                         \
74           sha512.h                                                      \
75           spherical.h                                                   \
76           stereo3d.h                                                    \
77           threadmessage.h                                               \
78           time.h                                                        \
79           timecode.h                                                    \
80           timestamp.h                                                   \
81           tree.h                                                        \
82           twofish.h                                                     \
83           version.h                                                     \
84           video_enc_params.h                                            \
85           xtea.h                                                        \
86           tea.h                                                         \
87           tx.h                                                          \
88           film_grain_params.h                                           \
89
90 HEADERS-$(CONFIG_LZO)                   += lzo.h
91
92 ARCH_HEADERS = bswap.h                                                  \
93                intmath.h                                                \
94                intreadwrite.h                                           \
95                timer.h                                                  \
96
97 BUILT_HEADERS = avconfig.h                                              \
98                 ffversion.h
99
100 OBJS = adler32.o                                                        \
101        aes.o                                                            \
102        aes_ctr.o                                                        \
103        audio_fifo.o                                                     \
104        avstring.o                                                       \
105        avsscanf.o                                                       \
106        base64.o                                                         \
107        blowfish.o                                                       \
108        bprint.o                                                         \
109        buffer.o                                                         \
110        cast5.o                                                          \
111        camellia.o                                                       \
112        channel_layout.o                                                 \
113        color_utils.o                                                    \
114        cpu.o                                                            \
115        crc.o                                                            \
116        des.o                                                            \
117        detection_bbox.o                                                 \
118        dict.o                                                           \
119        display.o                                                        \
120        dovi_meta.o                                                      \
121        downmix_info.o                                                   \
122        encryption_info.o                                                \
123        error.o                                                          \
124        eval.o                                                           \
125        fifo.o                                                           \
126        file.o                                                           \
127        file_open.o                                                      \
128        float_dsp.o                                                      \
129        fixed_dsp.o                                                      \
130        frame.o                                                          \
131        hash.o                                                           \
132        hdr_dynamic_metadata.o                                           \
133        hmac.o                                                           \
134        hwcontext.o                                                      \
135        imgutils.o                                                       \
136        integer.o                                                        \
137        intmath.o                                                        \
138        lfg.o                                                            \
139        lls.o                                                            \
140        log.o                                                            \
141        log2_tab.o                                                       \
142        mathematics.o                                                    \
143        mastering_display_metadata.o                                     \
144        md5.o                                                            \
145        mem.o                                                            \
146        murmur3.o                                                        \
147        opt.o                                                            \
148        parseutils.o                                                     \
149        pixdesc.o                                                        \
150        pixelutils.o                                                     \
151        random_seed.o                                                    \
152        rational.o                                                       \
153        reverse.o                                                        \
154        rc4.o                                                            \
155        ripemd.o                                                         \
156        samplefmt.o                                                      \
157        sha.o                                                            \
158        sha512.o                                                         \
159        slicethread.o                                                    \
160        spherical.o                                                      \
161        stereo3d.o                                                       \
162        threadmessage.o                                                  \
163        time.o                                                           \
164        timecode.o                                                       \
165        tree.o                                                           \
166        twofish.o                                                        \
167        utils.o                                                          \
168        xga_font_data.o                                                  \
169        xtea.o                                                           \
170        tea.o                                                            \
171        tx.o                                                             \
172        tx_float.o                                                       \
173        tx_double.o                                                      \
174        tx_int32.o                                                       \
175        video_enc_params.o                                               \
176        film_grain_params.o                                              \
177
178
179 OBJS-$(CONFIG_CUDA)                     += hwcontext_cuda.o
180 OBJS-$(CONFIG_D3D11VA)                  += hwcontext_d3d11va.o
181 OBJS-$(CONFIG_DXVA2)                    += hwcontext_dxva2.o
182 OBJS-$(CONFIG_LIBDRM)                   += hwcontext_drm.o
183 OBJS-$(CONFIG_LZO)                      += lzo.o
184 OBJS-$(CONFIG_MEDIACODEC)               += hwcontext_mediacodec.o
185 OBJS-$(CONFIG_OPENCL)                   += hwcontext_opencl.o
186 OBJS-$(CONFIG_QSV)                      += hwcontext_qsv.o
187 OBJS-$(CONFIG_VAAPI)                    += hwcontext_vaapi.o
188 OBJS-$(CONFIG_VIDEOTOOLBOX)             += hwcontext_videotoolbox.o
189 OBJS-$(CONFIG_VDPAU)                    += hwcontext_vdpau.o
190 OBJS-$(CONFIG_VULKAN)                   += hwcontext_vulkan.o
191
192 OBJS += $(COMPAT_OBJS:%=../compat/%)
193
194 # Windows resource file
195 SLIBOBJS-$(HAVE_GNU_WINDRES)            += avutilres.o
196
197 SKIPHEADERS-$(HAVE_CUDA_H)             += hwcontext_cuda.h
198 SKIPHEADERS-$(CONFIG_CUDA)             += hwcontext_cuda_internal.h     \
199                                           cuda_check.h
200 SKIPHEADERS-$(CONFIG_D3D11VA)          += hwcontext_d3d11va.h
201 SKIPHEADERS-$(CONFIG_DXVA2)            += hwcontext_dxva2.h
202 SKIPHEADERS-$(CONFIG_QSV)              += hwcontext_qsv.h
203 SKIPHEADERS-$(CONFIG_OPENCL)           += hwcontext_opencl.h
204 SKIPHEADERS-$(CONFIG_VAAPI)            += hwcontext_vaapi.h
205 SKIPHEADERS-$(CONFIG_VIDEOTOOLBOX)     += hwcontext_videotoolbox.h
206 SKIPHEADERS-$(CONFIG_VDPAU)            += hwcontext_vdpau.h
207 SKIPHEADERS-$(CONFIG_VULKAN)           += hwcontext_vulkan.h
208
209 TESTPROGS = adler32                                                     \
210             aes                                                         \
211             aes_ctr                                                     \
212             audio_fifo                                                  \
213             avstring                                                    \
214             base64                                                      \
215             blowfish                                                    \
216             bprint                                                      \
217             cast5                                                       \
218             camellia                                                    \
219             color_utils                                                 \
220             cpu                                                         \
221             crc                                                         \
222             des                                                         \
223             dict                                                        \
224             display                                                     \
225             encryption_info                                             \
226             error                                                       \
227             eval                                                        \
228             file                                                        \
229             fifo                                                        \
230             hash                                                        \
231             hmac                                                        \
232             hwdevice                                                    \
233             integer                                                     \
234             imgutils                                                    \
235             lfg                                                         \
236             lls                                                         \
237             log                                                         \
238             md5                                                         \
239             murmur3                                                     \
240             opt                                                         \
241             pca                                                         \
242             parseutils                                                  \
243             pixdesc                                                     \
244             pixelutils                                                  \
245             pixfmt_best                                                 \
246             random_seed                                                 \
247             rational                                                    \
248             ripemd                                                      \
249             sha                                                         \
250             sha512                                                      \
251             softfloat                                                   \
252             tree                                                        \
253             twofish                                                     \
254             utf8                                                        \
255             xtea                                                        \
256             tea                                                         \
257
258 TESTPROGS-$(HAVE_THREADS)            += cpu_init
259 TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
260
261 TOOLS = crypto_bench ffhash ffeval ffescape
262
263 tools/crypto_bench$(EXESUF): ELIBS += $(if $(VERSUS),$(subst +, -l,+$(VERSUS)),)
264 tools/crypto_bench$(EXESUF): CFLAGS += -DUSE_EXT_LIBS=0$(if $(VERSUS),$(subst +,+USE_,+$(VERSUS)),)
265
266 $(SUBDIR)tests/lzo$(EXESUF): ELIBS = -llzo2