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