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