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